Previous: Goto-address, Up: Hyperlinking
FFAP mode replaces certain key bindings for finding files, including
C-x C-f, with commands that provide more sensitive defaults.
These commands behave like the ordinary ones when given a prefix
argument. Otherwise, they get the default file name or URL from the
text around point. If what is found in the buffer has the form of a
URL rather than a file name, the commands use browse-url
to
view it.
This feature is useful for following references in mail or news
buffers, README files, MANIFEST files, and so on. The
‘ffap’ package's commentary available via C-h p under the
‘files’ keyword and the ffap
Custom group provide details.
You can turn on FFAP minor mode by calling ffap-bindings
to
make the following key bindings and to install hooks for using
ffap
in Rmail, Gnus and VM article buffers.
find-file-at-point
).
ffap-read-only
, analogous to find-file-read-only
.
ffap-alternate-file
, analogous to find-alternate-file
.
dired-at-point
).
ffap-list-directory
, analogous to list-directory
.
ffap-other-window
, analogous to find-file-other-window
.
ffap-read-only-other-window
, analogous to
find-file-read-only-other-window
.
ffap-dired-other-window
, analogous to dired-other-window
.
ffap-other-frame
, analogous to find-file-other-frame
.
ffap-read-only-other-frame
, analogous to
find-file-read-only-other-frame
.
ffap-dired-other-frame
, analogous to dired-other-frame
.
ffap-at-mouse
finds the file guessed from text around the position
of a mouse click.
ffap-menu
).