From 39791e03e1c888f0f7efb029a58561987a8c1b51 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Sun, 28 Dec 2008 05:03:34 +0000 Subject: [PATCH] (Goto Address mode): Rename from Goto-address. Refer to goto-address-mode instead of goto-address. --- doc/emacs/misc.texi | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi index 18c7ecfb6f3..4c3cdb4392d 100644 --- a/doc/emacs/misc.texi +++ b/doc/emacs/misc.texi @@ -2551,7 +2551,7 @@ fashion. @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 @@ Packages with facilities for following URLs should always go through 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 -- 2.39.2