Mercurial > emacs
changeset 100734:72f33d657eb7
(Goto Address mode): Rename from Goto-address. Refer to
goto-address-mode instead of goto-address.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sun, 28 Dec 2008 05:03:34 +0000 |
parents | 95111c4c05fd |
children | 8ec0632b600c |
files | doc/emacs/misc.texi |
diffstat | 1 files changed, 18 insertions(+), 18 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/emacs/misc.texi Sun Dec 28 05:03:10 2008 +0000 +++ b/doc/emacs/misc.texi Sun Dec 28 05:03:34 2008 +0000 @@ -2551,7 +2551,7 @@ @menu * Browse-URL:: Following URLs. -* Goto-address:: Activating URLs. +* Goto Address mode:: Activating URLs. * FFAP:: Finding files etc. at point. @end menu @@ -2592,31 +2592,31 @@ Browse-URL, so that the customization options for Browse-URL will affect all browsing in Emacs. -@node Goto-address +@node Goto Address mode @subsection Activating URLs -@findex goto-address -@cindex Goto-address +@findex goto-address-mode +@cindex Goto Address mode @cindex URLs, activating @table @kbd -@item M-x goto-address +@item M-x goto-address-mode Activate URLs and e-mail addresses in the current buffer. @end table You can make URLs in the current buffer active with @kbd{M-x -goto-address}. This finds all the URLs in the buffer, and establishes -bindings for @kbd{Mouse-2} and @kbd{C-c @key{RET}} on them. After -activation, if you click on a URL with @kbd{Mouse-2}, or move to a URL -and type @kbd{C-c @key{RET}}, that will display the web page that the URL -specifies. For a @samp{mailto} URL, it sends mail instead, using your -selected mail-composition method (@pxref{Mail Methods}). - - It can be useful to add @code{goto-address} to mode hooks and the -hooks used to display an incoming message. -@code{rmail-show-message-hook} is the appropriate hook for Rmail, and -@code{mh-show-mode-hook} for MH-E. This is not needed for Gnus, -which has a similar feature of its own. - +goto-address-mode}. This minor mode finds all the URLs in the buffer, +highlights them, and turns them into @dfn{buttons}: if you click on a +URL with @kbd{Mouse-1} or @kbd{Mouse-2} (@pxref{Mouse References}), or +move to the URL and type @kbd{C-c @key{RET}}, that displays the web +page that the URL specifies. For a @samp{mailto} URL, it sends mail +instead, using your selected mail-composition method (@pxref{Mail +Methods}). + + It can be useful to add @code{goto-address-mode} to mode hooks and +the hooks used to display an incoming message (e.g., +@code{rmail-show-message-hook} for Rmail, and @code{mh-show-mode-hook} +for MH-E). This is not needed for Gnus, which has a similar feature +of its own. @node FFAP @subsection Finding Files and URLs at Point