aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love2000-03-31 17:54:44 +0000
committerDave Love2000-03-31 17:54:44 +0000
commit3f724e9a22d622d8acd5a4778f8446d2607c40cb (patch)
tree6672f06ffda55ab7e3ce731eb9ed2b3e7613bca3
parentba075df539edcb7dd3bcd6db4478ee212e76debb (diff)
downloademacs-3f724e9a22d622d8acd5a4778f8446d2607c40cb.tar.gz
emacs-3f724e9a22d622d8acd5a4778f8446d2607c40cb.zip
(Emulation): Mention TPU.
(Hyperlinking): New.
-rw-r--r--man/misc.texi125
1 files changed, 123 insertions, 2 deletions
diff --git a/man/misc.texi b/man/misc.texi
index c80ab066d8b..4d98098e4cf 100644
--- a/man/misc.texi
+++ b/man/misc.texi
@@ -1842,7 +1842,7 @@ new major mode which provides a command to switch back. These
1842approaches give you more flexibility to go back to unfinished tasks in 1842approaches give you more flexibility to go back to unfinished tasks in
1843the order you choose. 1843the order you choose.
1844 1844
1845@node Emulation, Dissociated Press, Recursive Edit, Top 1845@node Emulation, Hyperlinking, Recursive Edit, Top
1846@section Emulation 1846@section Emulation
1847@cindex emulating other editors 1847@cindex emulating other editors
1848@cindex other editors 1848@cindex other editors
@@ -1915,6 +1915,11 @@ and @kbd{S-insert} respectively.
1915The @code{s-region} package provides similar, but less complete, 1915The @code{s-region} package provides similar, but less complete,
1916facilities. 1916facilities.
1917 1917
1918@item TPU (DEC VMS editor)
1919@findex tpu-edt-on
1920@cindex TPU
1921@kbd{M-x tpu-edt-on} turns on emulation of the TPU editor emulating EDT.
1922
1918@item vi (Berkeley editor) 1923@item vi (Berkeley editor)
1919@findex viper-mode 1924@findex viper-mode
1920Viper is the newest emulator for vi. It implements several levels of 1925Viper is the newest emulator for vi. It implements several levels of
@@ -1959,7 +1964,123 @@ not use it.
1959keybindings. 1964keybindings.
1960@end table 1965@end table
1961 1966
1962@node Dissociated Press, Amusements, Emulation, Top 1967@node Hyperlinking, Dissociated Press, Emulation, Top
1968@section Hyperlinking and Navigation Features
1969
1970@cindex hyperlinking
1971@cindex URLs
1972@cindex navigation
1973Various modes documented elsewhere have hypertext features whereby you
1974can follow links, usually with @kbd{mouse-2} or @kbd{RET} on the text of
1975the link. Info mode, Help mode and the Dired-like modes are examples.
1976The Tags facility (@pxref{Tags}) links between source files.
1977
1978Other non-mode-specific facilities are available to follow links from
1979the current buffer in a context-sensitive fashion.
1980
1981@table @asis
1982@item Browse-URL (follow URLs)
1983@cindex World Wide Web
1984@findex browse-url
1985@findex browse-url-at-point
1986@findex browse-url-at-mouse
1987@vindex browse-url-browser-function
1988@cindex Browse-URL
1989@cindex URLs
1990The Browse-URL package provides facilities for following URLs specifying
1991links on the World Wide Web. Usually this works by invoking a web
1992browser, but you can, for instance, invoke @code{compose-mail} from
1993@samp{mailto:} URLs. Packages such as Gnus may make active links from
1994URLs themselves. Otherwise you can use @kbd{M-x browse-url} to follow a
1995link, defaulting to the URL at point. Other commands are available
1996which you might like to bind to keys, such as @code{browse-url-at-point}
1997and @code{browse-url-at-mouse}.
1998
1999You can customize Browse-URL's behaviour via various options in the
2000@samp{browse-url} Customize group, particularly
2001@code{browse-url-browser-function}. You can invoke actions dependent on
2002the type of URL by defining @code{browse-url-browser-function} as an
2003association list. The package's commentary available via @kbd{C-h p}
2004provides more information. Packages with facilities for following URLs
2005generally should use Browse-URL, so customizing the Browse-URL group
2006should be sufficient to determine how they all work.
2007
2008@item Goto-address (activate URLs)
2009@findex goto-address
2010@cindex Goto-address
2011@cindex URLs, activating
2012You can arrange to activate URLs in any buffer with @kbd{M-x
2013goto-address}. It may be useful to add @code{goto-address} to hooks
2014invoked when buffers are displayed in particular modes.
2015@code{rmail-show-message-hook} is the appropriate hook if you use Rmail,
2016or @code{mh-show-mode-hook} if you use MH.
2017
2018@item FFAP (find at point)
2019@findex ffap
2020@findex find-file-at-point
2021@findex ffap
2022@findex ffap-bindings
2023@cindex FFAP
2024The package @samp{ffap} provides functions for finding files and URLs at
2025point. Specifically, @code{find-file-at-point} (abbreviated as
2026@code{ffap}) can be used as as replacement for @kbd{M-x find-file}. A
2027set of default bindings can be set up by the function
2028@code{ffap-bindings}. The package's commentary available via @kbd{C-h
2029p} provides more information.
2030
2031@item Find-func (find function and variable definitions)
2032@findex find-function
2033@findex find-function-on-key
2034@findex find-variable
2035@findex auto-compression-mode
2036@cindex examples of Lisp functions
2037@cindex Lisp examples
2038@cindex Find-func
2039@cindex Lisp definitions
2040@cindex definitions, locating in sources
2041@cindex tags
2042The Find-func package provides convenient facilities for finding the
2043definitions of Emacs Lisp functions and variables. It has a somewhat
2044similar function to the Tags facility (@pxref{Tags}) but uses Emacs's
2045introspective facilities which maintain information about loaded
2046libraries. In contrast to Tags, it only works for functions and
2047variables with definitions which are already loaded but it relates to
2048the code actually running and doesn't require maintaining tags files.
2049
2050You need to have the Lisp source (@samp{.el}) files available on your
2051load path along with the compiled (@samp{.elc}) versions for this to
2052work. The sources may be compressed if you turn on
2053@samp{auto-compression-mode}.
2054
2055The commands available include @kbd{M-x find-function} to find the
2056definition of a named function, @kbd{find-function-on-key} to find the
2057definition of the function bound to a key and @kbd{find-variable} to
2058find a variable's definition. These only work for things defined in
2059Lisp source files, not primitive functions or variables defined
2060primitively in the Emacs layer implemented in C.
2061
2062Find-func is useful for finding examples of how to do things if you want
2063to write an Emacs Lisp extension similar to some existing function.
2064
2065@item Imenu (indexing in a buffer)
2066The Imenu package provides navigation amongst items indexed in the current
2067buffer. @xref{Imenu}.
2068
2069@item Info-lookup (finding documentation of items)
2070@cindex Info
2071@cindex documentation lookup
2072The Info-lookup package provides a major mode-sensitive facility for
2073looking up definitions in Info indexes. @xref{Documentation}.
2074
2075@item Speedbar (navigation bar)
2076@findex speedbar
2077@cindex browser
2078Speedbar maintains a frame in which files, and locations in files are
2079displayed. @xref{Speedbar}.
2080
2081@end table
2082
2083@node Dissociated Press, Amusements, Hyperlinking, Top
1963@section Dissociated Press 2084@section Dissociated Press
1964 2085
1965@findex dissociated-press 2086@findex dissociated-press