Mercurial > emacs
comparison man/misc.texi @ 89909:68c22ea6027c
Sync to HEAD
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Fri, 16 Apr 2004 12:51:06 +0000 |
parents | 375f2633d815 |
children | 59dcbfe97385 |
comparison
equal
deleted
inserted
replaced
89908:ee1402f7b568 | 89909:68c22ea6027c |
---|---|
524 (@code{comint-dynamic-list-filename-completions}). | 524 (@code{comint-dynamic-list-filename-completions}). |
525 | 525 |
526 @item C-d | 526 @item C-d |
527 @kindex C-d @r{(Shell mode)} | 527 @kindex C-d @r{(Shell mode)} |
528 @findex comint-delchar-or-maybe-eof | 528 @findex comint-delchar-or-maybe-eof |
529 Either delete a character or send @sc{eof} | 529 Either delete a character or send @acronym{EOF} |
530 (@code{comint-delchar-or-maybe-eof}). Typed at the end of the shell | 530 (@code{comint-delchar-or-maybe-eof}). Typed at the end of the shell |
531 buffer, @kbd{C-d} sends @sc{eof} to the subshell. Typed at any other | 531 buffer, @kbd{C-d} sends @acronym{EOF} to the subshell. Typed at any other |
532 position in the buffer, @kbd{C-d} deletes a character as usual. | 532 position in the buffer, @kbd{C-d} deletes a character as usual. |
533 | 533 |
534 @item C-c C-a | 534 @item C-c C-a |
535 @kindex C-c C-a @r{(Shell mode)} | 535 @kindex C-c C-a @r{(Shell mode)} |
536 @findex comint-bol-or-process-mark | 536 @findex comint-bol-or-process-mark |
1500 printer. Thus, some of the characters in your buffer might not be | 1500 printer. Thus, some of the characters in your buffer might not be |
1501 printable using the fonts built into your printer. You can augment | 1501 printable using the fonts built into your printer. You can augment |
1502 the fonts supplied with the printer with those from the GNU Intlfonts | 1502 the fonts supplied with the printer with those from the GNU Intlfonts |
1503 package, or you can instruct Emacs to use Intlfonts exclusively. The | 1503 package, or you can instruct Emacs to use Intlfonts exclusively. The |
1504 variable @code{ps-multibyte-buffer} controls this: the default value, | 1504 variable @code{ps-multibyte-buffer} controls this: the default value, |
1505 @code{nil}, is appropriate for printing ASCII and Latin-1 | 1505 @code{nil}, is appropriate for printing @acronym{ASCII} and Latin-1 |
1506 characters; a value of @code{non-latin-printer} is for printers which | 1506 characters; a value of @code{non-latin-printer} is for printers which |
1507 have the fonts for ASCII, Latin-1, Japanese, and Korean | 1507 have the fonts for @acronym{ASCII}, Latin-1, Japanese, and Korean |
1508 characters built into them. A value of @code{bdf-font} arranges for | 1508 characters built into them. A value of @code{bdf-font} arranges for |
1509 the BDF fonts from the Intlfonts package to be used for @emph{all} | 1509 the BDF fonts from the Intlfonts package to be used for @emph{all} |
1510 characters. Finally, a value of @code{bdf-font-except-latin} | 1510 characters. Finally, a value of @code{bdf-font-except-latin} |
1511 instructs the printer to use built-in fonts for ASCII and Latin-1 | 1511 instructs the printer to use built-in fonts for @acronym{ASCII} and Latin-1 |
1512 characters, and Intlfonts BDF fonts for the rest. | 1512 characters, and Intlfonts BDF fonts for the rest. |
1513 | 1513 |
1514 @vindex bdf-directory-list | 1514 @vindex bdf-directory-list |
1515 To be able to use the BDF fonts, Emacs needs to know where to find | 1515 To be able to use the BDF fonts, Emacs needs to know where to find |
1516 them. The variable @code{bdf-directory-list} holds the list of | 1516 them. The variable @code{bdf-directory-list} holds the list of |
1529 mark). They divide the text of the region into many @dfn{sort records}, | 1529 mark). They divide the text of the region into many @dfn{sort records}, |
1530 identify a @dfn{sort key} for each record, and then reorder the records | 1530 identify a @dfn{sort key} for each record, and then reorder the records |
1531 into the order determined by the sort keys. The records are ordered so | 1531 into the order determined by the sort keys. The records are ordered so |
1532 that their keys are in alphabetical order, or, for numeric sorting, in | 1532 that their keys are in alphabetical order, or, for numeric sorting, in |
1533 numeric order. In alphabetic sorting, all upper-case letters `A' through | 1533 numeric order. In alphabetic sorting, all upper-case letters `A' through |
1534 `Z' come before lower-case `a', in accord with the ASCII character | 1534 `Z' come before lower-case `a', in accord with the @acronym{ASCII} character |
1535 sequence. | 1535 sequence. |
1536 | 1536 |
1537 The various sort commands differ in how they divide the text into sort | 1537 The various sort commands differ in how they divide the text into sort |
1538 records and in which part of each record is used as the sort key. Most of | 1538 records and in which part of each record is used as the sort key. Most of |
1539 the commands make each line a separate sort record, but some commands use | 1539 the commands make each line a separate sort record, but some commands use |
1873 @cindex restore session | 1873 @cindex restore session |
1874 @cindex remember editing session | 1874 @cindex remember editing session |
1875 @cindex reload files | 1875 @cindex reload files |
1876 @cindex desktop | 1876 @cindex desktop |
1877 | 1877 |
1878 You can use the Desktop library to save the state of Emacs from one | 1878 Use the desktop library to save the state of Emacs from one session |
1879 session to another. Saving the state means that Emacs starts up with | 1879 to another. Once you save the Emacs @dfn{desktop}---the buffers, |
1880 the same set of buffers, major modes, buffer positions, and so on that | 1880 their file names, major modes, buffer positions, and so on---then |
1881 the previous Emacs session had. | 1881 subsequent Emacs sessions reload the saved desktop. |
1882 | 1882 |
1883 @vindex desktop-enable | 1883 @findex desktop-save |
1884 To use Desktop, you should use the Customization buffer (@pxref{Easy | 1884 @vindex desktop-save-mode |
1885 Customization}) to set @code{desktop-enable} to a non-@code{nil} value, | 1885 You can save the desktop manually with the command @kbd{M-x |
1886 or add these lines at the end of your @file{.emacs} file: | 1886 desktop-save}. You can also enable automatical desktop saving when |
1887 you exit Emacs: use the Customization buffer (@pxref{Easy | |
1888 Customization}) to set @code{desktop-save-mode} to @code{t} for future | |
1889 sessions, or add this line in your @file{~/.emacs} file: | |
1887 | 1890 |
1888 @example | 1891 @example |
1889 (desktop-load-default) | 1892 (desktop-save-mode 1) |
1890 (desktop-read) | |
1891 @end example | 1893 @end example |
1892 | 1894 |
1893 @noindent | 1895 @findex desktop-change-dir |
1894 @findex desktop-save | 1896 @findex desktop-revert |
1895 The first time you save the state of the Emacs session, you must do it | 1897 When Emacs starts, it looks for a saved desktop in the current |
1896 manually, with the command @kbd{M-x desktop-save}. Once you have done | 1898 directory. Thus, you can have separate saved desktops in different |
1897 that, exiting Emacs will save the state again---not only the present | 1899 directories, and the starting directory determines which one Emacs |
1898 Emacs session, but also subsequent sessions. You can also save the | 1900 reloads. You can save the current desktop and reload one saved in |
1899 state at any time, without exiting Emacs, by typing @kbd{M-x | 1901 another directory by typing @kbd{M-x desktop-change-dir}. Typing |
1900 desktop-save} again. | 1902 @kbd{M-x desktop-revert} reverts to the desktop previously reloaded. |
1901 | 1903 |
1902 In order for Emacs to recover the state from a previous session, you | 1904 Specify the option @samp{--no-desktop} on the command line when you |
1903 must start it with the same current directory as you used when you | 1905 don't want it to reload any saved desktop. |
1904 started the previous session. This is because @code{desktop-read} looks | 1906 |
1905 in the current directory for the file to read. This means that you can | 1907 @findex desktop-clear |
1906 have separate saved sessions in different directories; the directory in | 1908 @vindex desktop-globals-to-clear |
1907 which you start Emacs will control which saved session to use. | 1909 @vindex desktop-clear-preserve-buffers-regexp |
1908 | 1910 Type @kbd{M-x desktop-clear} to empty the Emacs desktop. This kills |
1909 @vindex desktop-files-not-to-save | 1911 all buffers except for internal ones, and clears the global variables |
1910 The variable @code{desktop-files-not-to-save} controls which files are | 1912 listed in @code{desktop-globals-to-clear}. If you want this to |
1911 excluded from state saving. Its value is a regular expression that | 1913 preserve certain buffers, customize the variable |
1912 matches the files to exclude. By default, remote (ftp-accessed) files | 1914 @code{desktop-clear-preserve-buffers-regexp}, whose value is a regular |
1913 are excluded; this is because visiting them again in the subsequent | 1915 expression matching the names of buffers not to kill. |
1914 session would be slow. If you want to include these files in state | |
1915 saving, set @code{desktop-files-not-to-save} to @code{"^$"}. | |
1916 @xref{Remote Files}. | |
1917 | |
1918 @vindex save-place | |
1919 @cindex Saveplace | |
1920 @findex toggle-save-place | |
1921 The Saveplace library provides a simpler feature that records your | |
1922 position in each file when you kill its buffer (or kill Emacs), and | |
1923 jumps to the same position when you visit the file again (even in | |
1924 another Emacs session). Use @kbd{M-x toggle-save-place} to turn on | |
1925 place-saving in a given file. Customize the option @code{save-place} | |
1926 to turn it on for all files in each session. | |
1927 | 1916 |
1928 @node Recursive Edit, Emulation, Saving Emacs Sessions, Top | 1917 @node Recursive Edit, Emulation, Saving Emacs Sessions, Top |
1929 @section Recursive Editing Levels | 1918 @section Recursive Editing Levels |
1930 @cindex recursive editing level | 1919 @cindex recursive editing level |
1931 @cindex editing level, recursive | 1920 @cindex editing level, recursive |
2181 You can customize Browse-URL's behavior via various options in the | 2170 You can customize Browse-URL's behavior via various options in the |
2182 @code{browse-url} Customize group, particularly | 2171 @code{browse-url} Customize group, particularly |
2183 @code{browse-url-browser-function}. You can invoke actions dependent | 2172 @code{browse-url-browser-function}. You can invoke actions dependent |
2184 on the type of URL by defining @code{browse-url-browser-function} as | 2173 on the type of URL by defining @code{browse-url-browser-function} as |
2185 an association list. The package's commentary available via @kbd{C-h | 2174 an association list. The package's commentary available via @kbd{C-h |
2186 p} provides more information. Packages with facilities for following | 2175 p} under the @samp{hypermedia} keyword provides more information. |
2187 URLs should always go through Browse-URL, so that the customization | 2176 Packages with facilities for following URLs should always go through |
2188 options for Browse-URL will affect all browsing in Emacs. | 2177 Browse-URL, so that the customization options for Browse-URL will |
2178 affect all browsing in Emacs. | |
2189 | 2179 |
2190 @node Goto-address | 2180 @node Goto-address |
2191 @subsection Activating URLs | 2181 @subsection Activating URLs |
2192 @findex goto-address | 2182 @findex goto-address |
2193 @cindex Goto-address | 2183 @cindex Goto-address |
2230 URL rather than a file name, the commands use @code{browse-url} to | 2220 URL rather than a file name, the commands use @code{browse-url} to |
2231 view it. | 2221 view it. |
2232 | 2222 |
2233 This feature is useful for following references in mail or news | 2223 This feature is useful for following references in mail or news |
2234 buffers, @file{README} files, @file{MANIFEST} files, and so on. The | 2224 buffers, @file{README} files, @file{MANIFEST} files, and so on. The |
2235 @samp{ffap} package's commentary available via @kbd{C-h p} and the | 2225 @samp{ffap} package's commentary available via @kbd{C-h p} under the |
2236 @code{ffap} Custom group provide details. | 2226 @samp{files} keyword and the @code{ffap} Custom group provide details. |
2237 | 2227 |
2238 @cindex FFAP minor mode | 2228 @cindex FFAP minor mode |
2239 @findex ffap-mode | 2229 @findex ffap-mode |
2240 You can turn on FFAP minor mode to make the following key bindings | 2230 You can turn on FFAP minor mode by calling @code{ffap-bindings} to |
2241 and to install hooks for using @code{ffap} in Rmail, Gnus and VM | 2231 make the following key bindings and to install hooks for using |
2242 article buffers. | 2232 @code{ffap} in Rmail, Gnus and VM article buffers. |
2243 | 2233 |
2244 @table @kbd | 2234 @table @kbd |
2245 @item C-x C-f @var{filename} @key{RET} | 2235 @item C-x C-f @var{filename} @key{RET} |
2246 @kindex C-x C-f @r{(FFAP)} | 2236 @kindex C-x C-f @r{(FFAP)} |
2247 Find @var{filename}, guessing a default from text around point | 2237 Find @var{filename}, guessing a default from text around point |
2448 When you are feeling strange, type @kbd{M-x yow}. | 2438 When you are feeling strange, type @kbd{M-x yow}. |
2449 | 2439 |
2450 @findex zone | 2440 @findex zone |
2451 The command @kbd{M-x zone} plays games with the display when Emacs is | 2441 The command @kbd{M-x zone} plays games with the display when Emacs is |
2452 idle. | 2442 idle. |
2443 | |
2444 @ignore | |
2445 arch-tag: 8f094220-c0d5-4e9e-af7d-3e0da8187474 | |
2446 @end ignore |