In this section, we introduce some convenient facilities for finding recently-opened files, reading file names from a buffer, and viewing image files.
If you enable Recentf mode, with M-x recentf-mode, the
‘File’ menu includes a submenu containing a list of recently
opened files. M-x recentf-save-list saves the current
recent-file-list to a file, and M-x recentf-edit-list
The M-x ffap command generalizes
find-file with more
powerful heuristic defaults (see FFAP), often based on the text at
point. Partial Completion mode offers other features extending
find-file, which can be used with
See Completion Options.
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 C-c C-c (
works only when Emacs can display the specific image type. If the
displayed image is wider or taller than the frame, the usual point
motion keys (C-f, C-p, and so forth) cause different parts
of the image to be displayed.
See also the Image-Dired package (see Image-Dired) for viewing images as thumbnails.blog comments powered by Disqus