diff options
| author | Juri Linkov | 2020-04-23 02:14:42 +0300 |
|---|---|---|
| committer | Juri Linkov | 2020-04-23 02:14:42 +0300 |
| commit | ba6104d1e8db4e8db2f12acaebf092ef579c6632 (patch) | |
| tree | cffae2df316f1f5469280410b0487e1dc1af5dc2 /doc | |
| parent | 400ff5cd195e81204edd9c69fa1b8bc3cb66b42d (diff) | |
| download | emacs-ba6104d1e8db4e8db2f12acaebf092ef579c6632.tar.gz 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')
| -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 | |||
| 2113 | 2113 | ||
| 2114 | @findex image-mode | 2114 | @findex image-mode |
| 2115 | @findex image-toggle-display | 2115 | @findex image-toggle-display |
| 2116 | @findex image-next-file | ||
| 2117 | @findex image-previous-file | ||
| 2118 | @cindex images, viewing | 2116 | @cindex images, viewing |
| 2119 | Visiting image files automatically selects Image mode. In this | 2117 | Visiting image files automatically selects Image mode. In this |
| 2120 | major mode, you can type @kbd{C-c C-c} (@code{image-toggle-display}) | 2118 | 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 | |||
| 2136 | behavior by using the options @code{image-auto-resize} and | 2134 | behavior by using the options @code{image-auto-resize} and |
| 2137 | @code{image-auto-resize-on-window-resize}. | 2135 | @code{image-auto-resize-on-window-resize}. |
| 2138 | 2136 | ||
| 2137 | @findex image-transform-fit-both | ||
| 2138 | @findex image-transform-set-scale | ||
| 2139 | @findex image-transform-reset | ||
| 2140 | To resize the image manually you can use the command | ||
| 2141 | @code{image-transform-fit-both} bound to @kbd{s b} | ||
| 2142 | that fits the image to both the window height and width. | ||
| 2143 | To scale the image specifying a scale factor, use the command | ||
| 2144 | @code{image-transform-set-scale} bound to @kbd{s s}. | ||
| 2145 | To reset all transformations to the initial state, use | ||
| 2146 | @code{image-transform-reset} bound to @kbd{s 0}. | ||
| 2147 | |||
| 2148 | @findex image-next-file | ||
| 2149 | @findex image-previous-file | ||
| 2139 | You can press @kbd{n} (@code{image-next-file}) and @kbd{p} | 2150 | You can press @kbd{n} (@code{image-next-file}) and @kbd{p} |
| 2140 | (@code{image-previous-file}) to visit the next image file and the | 2151 | (@code{image-previous-file}) to visit the next image file and the |
| 2141 | previous image file in the same directory, respectively. | 2152 | 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 | |||
| 2204 | displaying. GraphicsMagick, ImageMagick and @command{ffmpeg} are | 2215 | displaying. GraphicsMagick, ImageMagick and @command{ffmpeg} are |
| 2205 | currently supported for image conversions. | 2216 | currently supported for image conversions. |
| 2206 | 2217 | ||
| 2207 | |||
| 2208 | @findex thumbs-mode | 2218 | @findex thumbs-mode |
| 2209 | @cindex mode, Thumbs | 2219 | @cindex mode, Thumbs |
| 2210 | The Image-Dired package can also be used to view images as | 2220 | 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; | |||
| 617 | once you specify a slice in DocView, it applies to whichever page you | 617 | once you specify a slice in DocView, it applies to whichever page you |
| 618 | look at. | 618 | look at. |
| 619 | 619 | ||
| 620 | To specify the slice numerically, type @kbd{s s} | 620 | To specify the slice numerically, type @kbd{c s} |
| 621 | (@code{doc-view-set-slice}); then enter the top left pixel position | 621 | (@code{doc-view-set-slice}); then enter the top left pixel position |
| 622 | and the slice's width and height. | 622 | and the slice's width and height. |
| 623 | @c ??? how does this work? | 623 | @c ??? how does this work? |
| 624 | 624 | ||
| 625 | A more convenient graphical way to specify the slice is with @kbd{s | 625 | A more convenient graphical way to specify the slice is with @kbd{c |
| 626 | m} (@code{doc-view-set-slice-using-mouse}), where you use the mouse to | 626 | m} (@code{doc-view-set-slice-using-mouse}), where you use the mouse to |
| 627 | select the slice. Simply press and hold the left mouse button at the | 627 | select the slice. Simply press and hold the left mouse button at the |
| 628 | upper-left corner of the region you want to have in the slice, then | 628 | upper-left corner of the region you want to have in the slice, then |
| @@ -631,10 +631,10 @@ button. | |||
| 631 | 631 | ||
| 632 | The most convenient way is to set the optimal slice by using | 632 | The most convenient way is to set the optimal slice by using |
| 633 | BoundingBox information automatically determined from the document by | 633 | BoundingBox information automatically determined from the document by |
| 634 | typing @kbd{s b} (@code{doc-view-set-slice-from-bounding-box}). | 634 | typing @kbd{c b} (@code{doc-view-set-slice-from-bounding-box}). |
| 635 | 635 | ||
| 636 | @findex doc-view-reset-slice | 636 | @findex doc-view-reset-slice |
| 637 | To cancel the selected slice, type @kbd{s r} | 637 | To cancel the selected slice, type @kbd{c r} |
| 638 | (@code{doc-view-reset-slice}). Then DocView shows the entire page | 638 | (@code{doc-view-reset-slice}). Then DocView shows the entire page |
| 639 | including its entire margins. | 639 | including its entire margins. |
| 640 | 640 | ||