diff options
author | Juri Linkov <juri@linkov.net> | 2020-04-23 02:14:42 +0300 |
---|---|---|
committer | Juri Linkov <juri@linkov.net> | 2020-04-23 02:14:42 +0300 |
commit | ba6104d1e8db4e8db2f12acaebf092ef579c6632 (patch) | |
tree | cffae2df316f1f5469280410b0487e1dc1af5dc2 /doc/emacs | |
parent | 400ff5cd195e81204edd9c69fa1b8bc3cb66b42d (diff) | |
download | emacs-ba6104d1e8db4e8db2f12acaebf092ef579c6632.tar.gz emacs-ba6104d1e8db4e8db2f12acaebf092ef579c6632.tar.bz2 emacs-ba6104d1e8db4e8db2f12acaebf092ef579c6632.zip |
Change doc-view-mode-map prefix key 's' to 'c'.
* doc/emacs/misc.texi (DocView Slicing): Change prefix key 's' to 'c'.
* lisp/doc-view.el (doc-view-mode-map): Change prefix key 's' to 'c'.
* lisp/image-mode.el (image-mode-map): Add image-transform-set-scale to menu.
* doc/emacs/files.texi (Image Mode): Describe commands
image-transform-fit-both, image-transform-set-scale, image-transform-reset.
* etc/NEWS: Rearrange image sections.
https://lists.gnu.org/archive/html/emacs-devel/2020-04/msg01315.html
Diffstat (limited to 'doc/emacs')
-rw-r--r-- | doc/emacs/files.texi | 16 | ||||
-rw-r--r-- | doc/emacs/misc.texi | 8 |
2 files changed, 17 insertions, 7 deletions
diff --git a/doc/emacs/files.texi b/doc/emacs/files.texi index 7318667403f..56ce7fdea19 100644 --- a/doc/emacs/files.texi +++ b/doc/emacs/files.texi @@ -2113,8 +2113,6 @@ point. Partial Completion mode offers other features extending @findex image-mode @findex image-toggle-display -@findex image-next-file -@findex image-previous-file @cindex images, viewing Visiting image files automatically selects Image mode. In this major mode, you can type @kbd{C-c C-c} (@code{image-toggle-display}) @@ -2136,6 +2134,19 @@ window, so this is only necessary if you customize the default behavior by using the options @code{image-auto-resize} and @code{image-auto-resize-on-window-resize}. +@findex image-transform-fit-both +@findex image-transform-set-scale +@findex image-transform-reset +To resize the image manually you can use the command +@code{image-transform-fit-both} bound to @kbd{s b} +that fits the image to both the window height and width. +To scale the image specifying a scale factor, use the command +@code{image-transform-set-scale} bound to @kbd{s s}. +To reset all transformations to the initial state, use +@code{image-transform-reset} bound to @kbd{s 0}. + +@findex image-next-file +@findex image-previous-file You can press @kbd{n} (@code{image-next-file}) and @kbd{p} (@code{image-previous-file}) to visit the next image file and the previous image file in the same directory, respectively. @@ -2204,7 +2215,6 @@ can be used to transform the image in question to @acronym{PNG} before displaying. GraphicsMagick, ImageMagick and @command{ffmpeg} are currently supported for image conversions. - @findex thumbs-mode @cindex mode, Thumbs The Image-Dired package can also be used to view images as diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi index dceb8d3ca5b..47f195d0b20 100644 --- a/doc/emacs/misc.texi +++ b/doc/emacs/misc.texi @@ -617,12 +617,12 @@ of pages to display. A slice is a rectangle within the page area; once you specify a slice in DocView, it applies to whichever page you look at. - To specify the slice numerically, type @kbd{s s} + To specify the slice numerically, type @kbd{c s} (@code{doc-view-set-slice}); then enter the top left pixel position and the slice's width and height. @c ??? how does this work? - A more convenient graphical way to specify the slice is with @kbd{s + A more convenient graphical way to specify the slice is with @kbd{c m} (@code{doc-view-set-slice-using-mouse}), where you use the mouse to select the slice. Simply press and hold the left mouse button at the upper-left corner of the region you want to have in the slice, then @@ -631,10 +631,10 @@ button. The most convenient way is to set the optimal slice by using BoundingBox information automatically determined from the document by -typing @kbd{s b} (@code{doc-view-set-slice-from-bounding-box}). +typing @kbd{c b} (@code{doc-view-set-slice-from-bounding-box}). @findex doc-view-reset-slice - To cancel the selected slice, type @kbd{s r} + To cancel the selected slice, type @kbd{c r} (@code{doc-view-reset-slice}). Then DocView shows the entire page including its entire margins. |