summaryrefslogtreecommitdiff
path: root/doc/emacs
diff options
context:
space:
mode:
authorChong Yidong <cyd@gnu.org>2012-03-31 00:31:24 +0800
committerChong Yidong <cyd@gnu.org>2012-03-31 00:31:24 +0800
commit5319014e4f4453155b1a8159c96c8ef1137e6c45 (patch)
tree26ccb8b85cb48b3ddb941c371e3b7840527e71fb /doc/emacs
parentdc1783452e55eb290eb3a31e763f52c9d08c322f (diff)
downloademacs-5319014e4f4453155b1a8159c96c8ef1137e6c45.tar.gz
Updates for Display chapter of Lisp manual.
* doc/lispref/display.texi (Image Formats): Add imagemagick type. (Image Descriptors): Mention how they are used. (ImageMagick Images): Clarify role of imagemagick-register-types. (Character Display): Don't mention glyph tables. (Display Tables): Use make-glyph-code in example. (Glyphs): Avoid "simple glyph code" terminology. Note that glyph tables are semi-obsolete. De-document create-glyph. (Glyphless Chars): Note that display tables override this. (Bidirectional Display): Copyedits. Introduce "bidirectional reordering" terminology, and use it. * doc/emacs/files.texi (File Conveniences): Clarify Imagemagick discussion. * lisp/image.el (imagemagick-types-inhibit) (imagemagick-register-types): Doc fix.
Diffstat (limited to 'doc/emacs')
-rw-r--r--doc/emacs/ChangeLog4
-rw-r--r--doc/emacs/files.texi38
2 files changed, 27 insertions, 15 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index 56a63b1a0eb..85e3054f293 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,7 @@
+2012-03-30 Chong Yidong <cyd@gnu.org>
+
+ * files.texi (File Conveniences): Clarify Imagemagick discussion.
+
2012-03-22 Glenn Morris <rgm@gnu.org>
* dired.texi (Operating on Files): Fix dired-recursive-copies default.
diff --git a/doc/emacs/files.texi b/doc/emacs/files.texi
index 0d38728f7cf..b0d4e130c67 100644
--- a/doc/emacs/files.texi
+++ b/doc/emacs/files.texi
@@ -1911,27 +1911,35 @@ point. Partial Completion mode offers other features extending
@cindex images, viewing
@cindex image animation
@cindex animated images
- Visiting image files automatically selects Image mode. This major
-mode allows you to toggle between displaying the file as an image in
-the Emacs buffer, and displaying its underlying text representation,
-using the command @kbd{C-c C-c} (@code{image-toggle-display}). This
-works only when Emacs can display the specific image type@footnote{If
-your Emacs was compiled with ImageMagick support, then after using
-@code{imagemagick-register-types}, you can view in Image mode any
-image type that ImageMagick supports; @pxref{ImageMagick Images,,,
-elisp, The Emacs Lisp Reference Manual}}. If the displayed image is wider
+ Visiting image files automatically selects Image mode. In this
+major mode, you can type @kbd{C-c C-c} (@code{image-toggle-display})
+to toggle between displaying the file as an image in the Emacs buffer,
+and displaying its underlying text (or raw byte) representation.
+Displaying the file as an image works only if Emacs is compiled with
+support for displaying such images. If the displayed image is wider
or taller than the frame, the usual point motion keys (@kbd{C-f},
@kbd{C-p}, and so forth) cause different parts of the image to be
-displayed. If the image can be animated, then the command @kbd{RET}
-(@code{image-toggle-animation}), will start (or stop) animating it.
+displayed. If the image can be animated, the command @kbd{RET}
+(@code{image-toggle-animation}) starts or stops the animation.
Animation plays once, unless the option @code{image-animate-loop} is
-non-@code{nil}. Currently, Emacs only supports animated GIF files
-(@pxref{Animated Images,,, elisp, The Emacs Lisp Reference Manual}).
+non-@code{nil}. Currently, Emacs only supports animation in GIF
+files.
+
+@cindex ImageMagick support
+ If your Emacs was compiled with ImageMagick support, it is possible
+to view a much wider variety of image types in Image mode, by
+rendering the images via ImageMagick. However, this feature is
+currently disabled by default. To enable it, add the following line
+to your init file:
+
+@example
+(imagemagick-register-types)
+@end example
@findex thumbs-mode
@findex mode, thumbs
- See also the Image-Dired package (@pxref{Image-Dired}) for viewing
-images as thumbnails.
+ The Image-Dired package can also be used to view images as
+thumbnails. @xref{Image-Dired}.
@node Filesets
@section Filesets