From: Juri Linkov Date: Sat, 18 Apr 2020 23:43:06 +0000 (+0300) Subject: Add new node "Image Mode" to Emacs Manual. X-Git-Tag: emacs-27.1-rc1~211 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4df8a6111710a68197451879f2a966ae34a90db8;p=emacs.git Add new node "Image Mode" to Emacs Manual. * doc/emacs/dired.texi (Image-Dired): Add xref to "Image Mode". * doc/emacs/emacs.texi (Top): Add new node "Image Mode" to menu. * doc/emacs/files.texi (Files): Add new node "Image Mode" to menu. (File Conveniences): Split part of node to new node "Image Mode". * doc/emacs/frames.texi (Mouse Commands): Add xref to "Image Mode". * doc/emacs/misc.texi (Embedded WebKit Widgets): Rename xref from "File Conveniences" to "Image Mode". --- diff --git a/doc/emacs/dired.texi b/doc/emacs/dired.texi index fba4389094f..d5144141803 100644 --- a/doc/emacs/dired.texi +++ b/doc/emacs/dired.texi @@ -1416,7 +1416,8 @@ C-c}. Image-Dired is a facility for browsing image files. It provides viewing the images either as thumbnails or in full size, either inside Emacs -or through an external viewer. +or through an external viewer. This is different from Image mode +(@pxref{Image Mode}) for visiting an image file in the Emacs buffer. @kindex C-t d @r{(Image-Dired)} @findex image-dired-display-thumbs diff --git a/doc/emacs/emacs.texi b/doc/emacs/emacs.texi index 6ef4ca63ae7..60f2be9a513 100644 --- a/doc/emacs/emacs.texi +++ b/doc/emacs/emacs.texi @@ -455,7 +455,8 @@ File Handling * Remote Files:: Accessing files on other machines. * Quoted File Names:: Quoting special characters in file names. * File Name Cache:: Completion against a list of files you often use. -* File Conveniences:: Convenience Features for Finding Files. +* File Conveniences:: Convenience features for finding files. +* Image Mode:: Viewing image files. * Filesets:: Handling sets of files. Saving Files diff --git a/doc/emacs/files.texi b/doc/emacs/files.texi index a89b16b3f6d..7d57555ce33 100644 --- a/doc/emacs/files.texi +++ b/doc/emacs/files.texi @@ -38,7 +38,8 @@ on file directories. * Remote Files:: Accessing files on other machines. * Quoted File Names:: Quoting special characters in file names. * File Name Cache:: Completion against a list of files you often use. -* File Conveniences:: Convenience Features for Finding Files. +* File Conveniences:: Convenience features for finding files. +* Image Mode:: Viewing image files. * Filesets:: Handling sets of files. @end menu @@ -2088,8 +2089,7 @@ of the cache with the @code{file-cache-display} command. @section Convenience Features for Finding Files In this section, we introduce some convenient facilities for finding -recently-opened files, reading file names from a buffer, and viewing -image files. +recently-opened files, reading file names from a buffer. @findex recentf-mode @vindex recentf-mode @@ -2108,6 +2108,9 @@ point. Partial Completion mode offers other features extending @code{find-file}, which can be used with @code{ffap}. @xref{Completion Options}. +@node Image Mode +@section Viewing Image Files + @findex image-mode @findex image-toggle-display @findex image-next-file diff --git a/doc/emacs/frames.texi b/doc/emacs/frames.texi index 7a583b96bbd..94218424d37 100644 --- a/doc/emacs/frames.texi +++ b/doc/emacs/frames.texi @@ -227,8 +227,9 @@ left. If you'd like to reverse the direction of horizontal scrolling, customize the variable @code{mouse-wheel-flip-direction} to a non-@code{nil} value. -When the mouse pointer is over an image, scrolling the mouse wheel -with the @key{Ctrl} modifier scales the image under the mouse pointer. +When the mouse pointer is over an image in Image mode, @pxref{Image Mode}, +scrolling the mouse wheel with the @key{Ctrl} modifier scales the image +under the mouse pointer. @node Word and Line Mouse diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi index 294430aa183..a15aa17a66f 100644 --- a/doc/emacs/misc.texi +++ b/doc/emacs/misc.texi @@ -2883,7 +2883,7 @@ if there is an active region (@pxref{Mark}), the default URL comes from the region instead, after removing any whitespace from it. The command then creates a new buffer with the embedded browser showing the specified URL. The buffer is put in the Xwidget-WebKit mode -(similar to Image mode, @pxref{File Conveniences}), which provides +(similar to Image mode, @pxref{Image Mode}), which provides one-key commands for scrolling the widget, changing its size, and reloading it. Type @w{@kbd{C-h b}} in that buffer to see the key bindings. diff --git a/etc/NEWS b/etc/NEWS index 4485bf91650..def1bce29aa 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -3515,6 +3515,10 @@ functions. *** 'image-mode' now uses this library to automatically rotate images according to the orientation in the Exif data, if any. +*** In 'image-mode' the image is resized automatically to fit in window. +The image will resize upon first display and whenever the window's +dimensions change. + --- *** New library image-converter. If you need to view exotic image formats for which Emacs doesn't have