diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2011-01-02 15:31:19 -0500 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2011-01-02 15:31:19 -0500 |
commit | 7c420169baa7c50428589cca7f8eda71b462eb15 (patch) | |
tree | b556f9e181818bbaf8b5b425844b4ae26e88f537 /doc | |
parent | bb7f5cbcda931661c8dc3311603ac764fa87a639 (diff) | |
parent | d12f22f52cb7bb18b46f5ea8de5d8e8e04733e3f (diff) | |
download | emacs-7c420169baa7c50428589cca7f8eda71b462eb15.tar.gz |
Merge changes from emacs-23 branch
Diffstat (limited to 'doc')
-rw-r--r-- | doc/emacs/ChangeLog | 26 | ||||
-rw-r--r-- | doc/emacs/frames.texi | 14 | ||||
-rw-r--r-- | doc/emacs/maintaining.texi | 4 | ||||
-rw-r--r-- | doc/emacs/rmail.texi | 114 | ||||
-rw-r--r-- | doc/emacs/trouble.texi | 14 | ||||
-rw-r--r-- | doc/lispref/ChangeLog | 9 | ||||
-rw-r--r-- | doc/lispref/modes.texi | 37 | ||||
-rw-r--r-- | doc/man/ChangeLog | 4 | ||||
-rw-r--r-- | doc/man/emacsclient.1 | 30 |
9 files changed, 169 insertions, 83 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index ba2156bd745..3b751584f6b 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog @@ -1,3 +1,29 @@ +2011-01-02 Chong Yidong <cyd@stupidchicken.com> + + * rmail.texi (Rmail Display): Edit for grammar and conciseness. + +2011-01-02 Kenichi Handa <handa@m17n.org> + + * rmail.texi (Rmail Display): Describe new features of Rmail in Info. + +2011-01-02 Eli Zaretskii <eliz@gnu.org> + + * frames.texi (Cut and Paste): Modify the section's name and text: + don't mix "cut/paste" with "kill/yank". + (Cut/Paste Other App): Describe the per-session emulation of PRIMARY. + (Bug#7702) + + * trouble.texi (Checklist): Mention debug-on-quit. (Bug#7667) + +2011-01-02 Glenn Morris <rgm@gnu.org> + + * maintaining.texi: Move inclusion of emerge after EDE, so that it + matches its position in the menu. (Bug#7674) + +2011-01-02 Glenn Morris <rgm@gnu.org> + + * trouble.texi (Checklist): Mention not replying via news either. + 2010-12-30 Tassilo Horn <tassilo@member.fsf.org> * misc.texi (Document View): Update DocView section with newly diff --git a/doc/emacs/frames.texi b/doc/emacs/frames.texi index df4f0beff9e..0ecf6f68d8c 100644 --- a/doc/emacs/frames.texi +++ b/doc/emacs/frames.texi @@ -58,10 +58,10 @@ so that you can use many of the features described in this chapter. @end menu @node Cut and Paste -@section Killing and Yanking on Graphical Displays +@section Cutting and Pasting on Graphical Displays - This section describes commands for selecting a region, killing, and -yanking using the mouse. + This section describes commands for selecting a region, cutting, and +pasting using the mouse. @menu * Mouse Commands:: Moving, cutting, and pasting, with the mouse. @@ -248,6 +248,14 @@ has no ``memory'': each time you save something in the primary selection, either in Emacs or in another X application, the previous contents of the primary selection are lost. +@cindex MS-Windows, and primary selection + MS-Windows provides no primary selection, but Emacs emulates it +within a single Emacs session, by storing the selected text +internally. Therefore, all the features and commands related to the +primary selection work on Windows as they do on X, for cutting and +pasting within the same session, but not across Emacs sessions or with +other applications. + Whenever you kill some text using a command such as @kbd{C-w} (@code{kill-region}), or copy it into the kill ring using a command such as @kbd{M-w} (@code{kill-ring-save}), that text is also saved in diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi index 8442586ab27..6ae4cf2dd36 100644 --- a/doc/emacs/maintaining.texi +++ b/doc/emacs/maintaining.texi @@ -2354,7 +2354,3 @@ the target should be built. @ifnottex @include emerge-xtra.texi @end ifnottex - -@ignore - arch-tag: b9d83dfb-82ea-4ff6-bab5-05a3617091fb -@end ignore diff --git a/doc/emacs/rmail.texi b/doc/emacs/rmail.texi index ddf68e62bbf..1477a6959c2 100644 --- a/doc/emacs/rmail.texi +++ b/doc/emacs/rmail.texi @@ -1101,57 +1101,90 @@ buffer before sorting it. @node Rmail Display @section Display of Messages - Rmail reformats the header of each message before displaying it for -the first time. Reformatting hides uninteresting header fields to -reduce clutter. You can use the @kbd{t} command to show the entire -header or to repeat the header reformatting operation. + This section describes how Rmail displays mail headers, +@acronym{MIME} sections and attachments, and URLs. @table @kbd @item t Toggle display of complete header (@code{rmail-toggle-header}). @end table -@vindex rmail-ignored-headers -@vindex rmail-nonignored-headers - Reformatting the header involves deleting most header fields, on the -grounds that they are not interesting. The variable -@code{rmail-ignored-headers} holds a regular expression that specifies -which header fields to hide in this way---if it matches the beginning -of a header field, that whole field is hidden. However, the variable -@code{rmail-nonignored-headers} provides a further override: a header -matching that regular expression is shown even if it matches -@code{rmail-ignored-headers} too. - -@vindex rmail-displayed-headers - As an alternative to the previous two variables, you can set -@code{rmail-displayed-headers} instead. If non-@code{nil}, this should -be a regular expression specifying which headers to display. - @kindex t @r{(Rmail)} @findex rmail-toggle-header - To see the complete, original header, use the @kbd{t} command -(@code{rmail-toggle-header}). This discards the reformatted headers of -the current message and displays it with the original header. Repeating -@kbd{t} reformats the message again, which shows only the interesting -headers according to the current values of the above variables. -Selecting the message again also reformats it if necessary. + Before displaying each message for the first time, Rmail reformats +its header, hiding uninteresting header fields to reduce clutter. The +@kbd{t} (@code{rmail-toggle-header}) command toggles this, switching +between showing the reformatted header fields and showing the +complete, original header. With a positive prefix argument, the +command shows the reformatted header; with a zero or negative prefix +argument, it shows the full header. Selecting the message again also +reformats it if necessary. - When the @kbd{t} command has a prefix argument, a positive argument -means to show the reformatted header, and a zero or negative argument -means to show the full header. +@vindex rmail-ignored-headers +@vindex rmail-displayed-headers +@vindex rmail-nonignored-headers + The variable @code{rmail-ignored-headers} holds a regular expression +specifying the header fields to hide; any matching header line will be +hidden. The variable @code{rmail-nonignored-headers} overrides this: +any header field matching that regular expression is shown even if it +matches @code{rmail-ignored-headers} too. The variable +@code{rmail-displayed-headers} is an alternative to these two +variables; if non-@code{nil}, this should be a regular expression +specifying which headers to display (the default is @code{nil}). @vindex rmail-highlighted-headers Rmail highlights certain header fields that are especially interesting---by default, the @samp{From} and @samp{Subject} fields. -The variable @code{rmail-highlighted-headers} holds a regular expression -that specifies the header fields to highlight; if it matches the -beginning of a header field, that whole field is highlighted. To turn -off this feature, set @code{rmail-highlighted-headers} to @code{nil}. -Customize the face @code{rmail-highlight} to adjust the style of the -highlighting. +This highlighting uses the @code{rmail-highlight} face. The variable +@code{rmail-highlighted-headers} holds a regular expression specifying +the header fields to highlight; if it matches the beginning of a +header field, that whole field is highlighted. To disable this +feature, set @code{rmail-highlighted-headers} to @code{nil}. + +@cindex MIME messages (Rmail) +@vindex rmail-enable-mime + By default, Rmail automatically decodes @acronym{MIME} (Multipurpose +Internet Mail Extensions) messages. If the message contains multiple +parts (@acronym{MIME} entities), each part is represented by a tagline +in the Rmail buffer. The tagline summarizes the part's depth, index, +and type, and may also contain a button for handling it, e.g. saving +it to a file or displaying it as an image in the Rmail buffer. + +@table @kbd +@findex rmail-mime-toggle-hidden +@item @key{RET} +Hide or show the @acronym{MIME} part at point +(@code{rmail-mime-toggle-hidden}). - You can highlight and activate URLs in incoming messages using -Goto Address mode: +@findex rmail-mime-next-item +@item @key{TAB} +Move point to the next @acronym{MIME} part +(@code{rmail-mime-next-item}). + +@findex rmail-mime-previous-item +@item @key{BackTab} +Move point to the previous @acronym{MIME} part +(@code{rmail-mime-previous-item}). + +@findex rmail-mime +@item v +@kindex v @r{(Rmail)} +Toggle between @acronym{MIME} display and raw message +(@code{rmail-mime}). +@end table + + The @kbd{v} (@code{rmail-mime}) command toggles between the default +@acronym{MIME} display described above, and a ``raw'' display showing +the undecoded @acronym{MIME} data. With a prefix argument, this +command toggles the display of only an entity at point. + + To prevent Rmail from handling MIME decoded messages, change the +variable @code{rmail-enable-mime} to @code{nil}. When this is the +case, the @kbd{v} (@code{rmail-mime}) command instead creates a +temporary buffer to display the current @acronym{MIME} message. + + You can highlight and activate URLs in the Rmail buffer using Goto +Address mode: @c FIXME goto-addr.el commentary says to use goto-address instead. @smallexample @@ -1163,13 +1196,6 @@ Then you can browse these URLs by clicking on them with @kbd{Mouse-2} (or @kbd{Mouse-1} quickly) or by moving to one and typing @kbd{C-c @key{RET}}. @xref{Goto Address mode, Activating URLs, Activating URLs}. -@cindex MIME messages (Rmail) -@findex rmail-mime -@kindex v @r{(Rmail)} - The @kbd{v} (@code{rmail-mime}) command creates a temporary buffer -displaying the current MIME message. By default, it displays plain text -and multipart messages, and offers buttons to save attachments. - @node Rmail Coding @section Rmail and Coding Systems diff --git a/doc/emacs/trouble.texi b/doc/emacs/trouble.texi index e2b27083243..b8cfd322bd4 100644 --- a/doc/emacs/trouble.texi +++ b/doc/emacs/trouble.texi @@ -630,9 +630,10 @@ you can use. All mail sent to the @samp{bug-gnu-emacs} mailing list is also gatewayed to the @samp{gnu.emacs.bug} newsgroup. The reverse is also -true, but we ask you not to post bug reports via the newsgroup. It -can make it much harder to contact you if we need to ask for more -information, and it does not integrate well with the bug tracker. +true, but we ask you not to post bug reports (or replies) via the +newsgroup. It can make it much harder to contact you if we need to ask +for more information, and it does not integrate well with the bug +tracker. If your data is more than 500,000 bytes, please don't include it directly in the bug report; instead, offer to send it on request, or @@ -805,6 +806,13 @@ This use of the debugger is possible only if you know how to make the bug happen again. If you can't make it happen again, at least copy the whole error message. +@vindex debug-on-quit +If Emacs appears to be stuck in an infinite loop or in a very long +operation, typing @kbd{C-g} with the variable @code{debug-on-quit} +non-@code{nil} will start the Lisp debugger and show a backtrace. +This backtrace is useful for debugging such long loops, so if you can +produce it, copy it into the bug report. + @item Check whether any programs you have loaded into the Lisp world, including your @file{.emacs} file, set any variables that may affect the diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 157c8580b9c..7307d7fab4f 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@ -1,3 +1,12 @@ +2011-01-02 Eli Zaretskii <eliz@gnu.org> + + * modes.texi (Emulating Mode Line): Fix last change. + +2011-01-02 Eli Zaretskii <eliz@gnu.org> + + * modes.texi (Emulating Mode Line): Update documentation of + format-mode-line according to changes that fixed bug #7587. + 2010-12-18 Stefan Monnier <monnier@iro.umontreal.ca> * modes.texi (Derived Modes): Mention prog-mode. diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi index 0f66ebeb6b1..f7e164d9879 100644 --- a/doc/lispref/modes.texi +++ b/doc/lispref/modes.texi @@ -2112,29 +2112,38 @@ the text that would appear in a mode line or header line based on a certain mode-line specification. @defun format-mode-line format &optional face window buffer -This function formats a line of text according to @var{format} as if -it were generating the mode line for @var{window}, but instead of -displaying the text in the mode line or the header line, it returns -the text as a string. The argument @var{window} defaults to the -selected window. If @var{buffer} is non-@code{nil}, all the -information used is taken from @var{buffer}; by default, it comes from -@var{window}'s buffer. +This function formats a line of text according to @var{format} as if it +were generating the mode line for @var{window}, but it also returns the +text as a string. The argument @var{window} defaults to the selected +window. If @var{buffer} is non-@code{nil}, all the information used is +taken from @var{buffer}; by default, it comes from @var{window}'s +buffer. The value string normally has text properties that correspond to the -faces, keymaps, etc., that the mode line would have. And any character -for which no @code{face} property is specified gets a default -value which is usually @var{face}. (If @var{face} is @code{t}, -that stands for either @code{mode-line} if @var{window} is selected, +faces, keymaps, etc., that the mode line would have. Any character for +which no @code{face} property is specified by @var{format} gets a +default value determined by @var{face}. If @var{face} is @code{t}, that +stands for either @code{mode-line} if @var{window} is selected, otherwise @code{mode-line-inactive}. If @var{face} is @code{nil} or -omitted, that stands for no face property.) +omitted, that stands for the default face. If @var{face} is an integer, +the value returned by this function will have no text properties. -However, if @var{face} is an integer, the value has no text properties. +You can also specify other valid faces as the value of @var{face}. +If specified, that face provides the @code{face} property for characters +whose face is not specified by @var{format}. + +Note that using @code{mode-line}, @code{mode-line-inactive}, or +@code{header-line} as @var{face} will actually redisplay the mode line +or the header line, respectively, using the current definitions of the +corresponding face, in addition to returning the formatted string. +(Other faces do not cause redisplay.) For example, @code{(format-mode-line header-line-format)} returns the text that would appear in the selected window's header line (@code{""} if it has no header line). @code{(format-mode-line header-line-format 'header-line)} returns the same text, with each character -carrying the face that it will have in the header line itself. +carrying the face that it will have in the header line itself, and also +redraws the header line. @end defun @node Imenu diff --git a/doc/man/ChangeLog b/doc/man/ChangeLog index f2810be7f97..55e38e33a0a 100644 --- a/doc/man/ChangeLog +++ b/doc/man/ChangeLog @@ -1,3 +1,7 @@ +2011-01-02 Jari Aalto <jari.aalto@cante.net> (tiny change) + + * emacsclient.1: Arrange options alphabetically (Bug#7620). + 2010-10-12 Glenn Morris <rgm@gnu.org> * emacs.1: Small fixes. diff --git a/doc/man/emacsclient.1 b/doc/man/emacsclient.1 index 16bfb73e16b..6af699e036b 100644 --- a/doc/man/emacsclient.1 +++ b/doc/man/emacsclient.1 @@ -49,36 +49,36 @@ If you set the variable `server-window' to a window or a frame, `C-x The programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). .TP -.B \-nw, \-t, \-\-tty -open a new Emacs frame on the current terminal +.B \-a, \-\-alternate-editor=EDITOR +if the Emacs server is not running, run the specified editor instead. +This can also be specified via the `ALTERNATE_EDITOR' environment variable. +If the value of EDITOR is the empty string, then Emacs is started in +daemon mode and emacsclient will try to connect to it. .TP .B -c, \-\-create-frame create a new frame instead of trying to use the current Emacs frame .TP +.B \-d, \-\-display=DISPLAY +tell the server to display the files on the given display. +.TP .B \-e, \-\-eval do not visit files but instead evaluate the arguments as Emacs Lisp expressions. .TP +.B \-f, \-\-server-file=FILENAME +use TCP configuration file FILENAME for communication. +This can also be specified via the `EMACS_SERVER_FILE' environment variable. +.TP .B \-n, \-\-no-wait returns immediately without waiting for you to "finish" the buffer in Emacs. .TP +.B \-nw, \-t, \-\-tty +open a new Emacs frame on the current terminal +.TP .B \-s, \-\-socket-name=FILENAME use socket named FILENAME for communication. .TP -.B \-f, \-\-server-file=FILENAME -use TCP configuration file FILENAME for communication. -This can also be specified via the `EMACS_SERVER_FILE' environment variable. -.TP -.B \-a, \-\-alternate-editor=EDITOR -if the Emacs server is not running, run the specified editor instead. -This can also be specified via the `ALTERNATE_EDITOR' environment variable. -If the value of EDITOR is the empty string, then Emacs is started in -daemon mode and emacsclient will try to connect to it. -.TP -.B \-d, \-\-display=DISPLAY -tell the server to display the files on the given display. -.TP .B \-V, \-\-version print version information and exit .TP |