aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorChong Yidong2011-01-02 15:31:19 -0500
committerChong Yidong2011-01-02 15:31:19 -0500
commit7c420169baa7c50428589cca7f8eda71b462eb15 (patch)
treeb556f9e181818bbaf8b5b425844b4ae26e88f537 /doc
parentbb7f5cbcda931661c8dc3311603ac764fa87a639 (diff)
parentd12f22f52cb7bb18b46f5ea8de5d8e8e04733e3f (diff)
downloademacs-7c420169baa7c50428589cca7f8eda71b462eb15.tar.gz
emacs-7c420169baa7c50428589cca7f8eda71b462eb15.zip
Merge changes from emacs-23 branch
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/ChangeLog26
-rw-r--r--doc/emacs/frames.texi14
-rw-r--r--doc/emacs/maintaining.texi4
-rw-r--r--doc/emacs/rmail.texi114
-rw-r--r--doc/emacs/trouble.texi14
-rw-r--r--doc/lispref/ChangeLog9
-rw-r--r--doc/lispref/modes.texi37
-rw-r--r--doc/man/ChangeLog4
-rw-r--r--doc/man/emacsclient.130
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 @@
12011-01-02 Chong Yidong <cyd@stupidchicken.com>
2
3 * rmail.texi (Rmail Display): Edit for grammar and conciseness.
4
52011-01-02 Kenichi Handa <handa@m17n.org>
6
7 * rmail.texi (Rmail Display): Describe new features of Rmail in Info.
8
92011-01-02 Eli Zaretskii <eliz@gnu.org>
10
11 * frames.texi (Cut and Paste): Modify the section's name and text:
12 don't mix "cut/paste" with "kill/yank".
13 (Cut/Paste Other App): Describe the per-session emulation of PRIMARY.
14 (Bug#7702)
15
16 * trouble.texi (Checklist): Mention debug-on-quit. (Bug#7667)
17
182011-01-02 Glenn Morris <rgm@gnu.org>
19
20 * maintaining.texi: Move inclusion of emerge after EDE, so that it
21 matches its position in the menu. (Bug#7674)
22
232011-01-02 Glenn Morris <rgm@gnu.org>
24
25 * trouble.texi (Checklist): Mention not replying via news either.
26
12010-12-30 Tassilo Horn <tassilo@member.fsf.org> 272010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2 28
3 * misc.texi (Document View): Update DocView section with newly 29 * 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.
58@end menu 58@end menu
59 59
60@node Cut and Paste 60@node Cut and Paste
61@section Killing and Yanking on Graphical Displays 61@section Cutting and Pasting on Graphical Displays
62 62
63 This section describes commands for selecting a region, killing, and 63 This section describes commands for selecting a region, cutting, and
64yanking using the mouse. 64pasting using the mouse.
65 65
66@menu 66@menu
67* Mouse Commands:: Moving, cutting, and pasting, with the mouse. 67* Mouse Commands:: Moving, cutting, and pasting, with the mouse.
@@ -248,6 +248,14 @@ has no ``memory'': each time you save something in the primary
248selection, either in Emacs or in another X application, the previous 248selection, either in Emacs or in another X application, the previous
249contents of the primary selection are lost. 249contents of the primary selection are lost.
250 250
251@cindex MS-Windows, and primary selection
252 MS-Windows provides no primary selection, but Emacs emulates it
253within a single Emacs session, by storing the selected text
254internally. Therefore, all the features and commands related to the
255primary selection work on Windows as they do on X, for cutting and
256pasting within the same session, but not across Emacs sessions or with
257other applications.
258
251 Whenever you kill some text using a command such as @kbd{C-w} 259 Whenever you kill some text using a command such as @kbd{C-w}
252(@code{kill-region}), or copy it into the kill ring using a command 260(@code{kill-region}), or copy it into the kill ring using a command
253such as @kbd{M-w} (@code{kill-ring-save}), that text is also saved in 261such 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.
2354@ifnottex 2354@ifnottex
2355@include emerge-xtra.texi 2355@include emerge-xtra.texi
2356@end ifnottex 2356@end ifnottex
2357
2358@ignore
2359 arch-tag: b9d83dfb-82ea-4ff6-bab5-05a3617091fb
2360@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.
1101@node Rmail Display 1101@node Rmail Display
1102@section Display of Messages 1102@section Display of Messages
1103 1103
1104 Rmail reformats the header of each message before displaying it for 1104 This section describes how Rmail displays mail headers,
1105the first time. Reformatting hides uninteresting header fields to 1105@acronym{MIME} sections and attachments, and URLs.
1106reduce clutter. You can use the @kbd{t} command to show the entire
1107header or to repeat the header reformatting operation.
1108 1106
1109@table @kbd 1107@table @kbd
1110@item t 1108@item t
1111Toggle display of complete header (@code{rmail-toggle-header}). 1109Toggle display of complete header (@code{rmail-toggle-header}).
1112@end table 1110@end table
1113 1111
1114@vindex rmail-ignored-headers
1115@vindex rmail-nonignored-headers
1116 Reformatting the header involves deleting most header fields, on the
1117grounds that they are not interesting. The variable
1118@code{rmail-ignored-headers} holds a regular expression that specifies
1119which header fields to hide in this way---if it matches the beginning
1120of a header field, that whole field is hidden. However, the variable
1121@code{rmail-nonignored-headers} provides a further override: a header
1122matching that regular expression is shown even if it matches
1123@code{rmail-ignored-headers} too.
1124
1125@vindex rmail-displayed-headers
1126 As an alternative to the previous two variables, you can set
1127@code{rmail-displayed-headers} instead. If non-@code{nil}, this should
1128be a regular expression specifying which headers to display.
1129
1130@kindex t @r{(Rmail)} 1112@kindex t @r{(Rmail)}
1131@findex rmail-toggle-header 1113@findex rmail-toggle-header
1132 To see the complete, original header, use the @kbd{t} command 1114 Before displaying each message for the first time, Rmail reformats
1133(@code{rmail-toggle-header}). This discards the reformatted headers of 1115its header, hiding uninteresting header fields to reduce clutter. The
1134the current message and displays it with the original header. Repeating 1116@kbd{t} (@code{rmail-toggle-header}) command toggles this, switching
1135@kbd{t} reformats the message again, which shows only the interesting 1117between showing the reformatted header fields and showing the
1136headers according to the current values of the above variables. 1118complete, original header. With a positive prefix argument, the
1137Selecting the message again also reformats it if necessary. 1119command shows the reformatted header; with a zero or negative prefix
1120argument, it shows the full header. Selecting the message again also
1121reformats it if necessary.
1138 1122
1139 When the @kbd{t} command has a prefix argument, a positive argument 1123@vindex rmail-ignored-headers
1140means to show the reformatted header, and a zero or negative argument 1124@vindex rmail-displayed-headers
1141means to show the full header. 1125@vindex rmail-nonignored-headers
1126 The variable @code{rmail-ignored-headers} holds a regular expression
1127specifying the header fields to hide; any matching header line will be
1128hidden. The variable @code{rmail-nonignored-headers} overrides this:
1129any header field matching that regular expression is shown even if it
1130matches @code{rmail-ignored-headers} too. The variable
1131@code{rmail-displayed-headers} is an alternative to these two
1132variables; if non-@code{nil}, this should be a regular expression
1133specifying which headers to display (the default is @code{nil}).
1142 1134
1143@vindex rmail-highlighted-headers 1135@vindex rmail-highlighted-headers
1144 Rmail highlights certain header fields that are especially 1136 Rmail highlights certain header fields that are especially
1145interesting---by default, the @samp{From} and @samp{Subject} fields. 1137interesting---by default, the @samp{From} and @samp{Subject} fields.
1146The variable @code{rmail-highlighted-headers} holds a regular expression 1138This highlighting uses the @code{rmail-highlight} face. The variable
1147that specifies the header fields to highlight; if it matches the 1139@code{rmail-highlighted-headers} holds a regular expression specifying
1148beginning of a header field, that whole field is highlighted. To turn 1140the header fields to highlight; if it matches the beginning of a
1149off this feature, set @code{rmail-highlighted-headers} to @code{nil}. 1141header field, that whole field is highlighted. To disable this
1150Customize the face @code{rmail-highlight} to adjust the style of the 1142feature, set @code{rmail-highlighted-headers} to @code{nil}.
1151highlighting. 1143
1144@cindex MIME messages (Rmail)
1145@vindex rmail-enable-mime
1146 By default, Rmail automatically decodes @acronym{MIME} (Multipurpose
1147Internet Mail Extensions) messages. If the message contains multiple
1148parts (@acronym{MIME} entities), each part is represented by a tagline
1149in the Rmail buffer. The tagline summarizes the part's depth, index,
1150and type, and may also contain a button for handling it, e.g. saving
1151it to a file or displaying it as an image in the Rmail buffer.
1152
1153@table @kbd
1154@findex rmail-mime-toggle-hidden
1155@item @key{RET}
1156Hide or show the @acronym{MIME} part at point
1157(@code{rmail-mime-toggle-hidden}).
1152 1158
1153 You can highlight and activate URLs in incoming messages using 1159@findex rmail-mime-next-item
1154Goto Address mode: 1160@item @key{TAB}
1161Move point to the next @acronym{MIME} part
1162(@code{rmail-mime-next-item}).
1163
1164@findex rmail-mime-previous-item
1165@item @key{BackTab}
1166Move point to the previous @acronym{MIME} part
1167(@code{rmail-mime-previous-item}).
1168
1169@findex rmail-mime
1170@item v
1171@kindex v @r{(Rmail)}
1172Toggle between @acronym{MIME} display and raw message
1173(@code{rmail-mime}).
1174@end table
1175
1176 The @kbd{v} (@code{rmail-mime}) command toggles between the default
1177@acronym{MIME} display described above, and a ``raw'' display showing
1178the undecoded @acronym{MIME} data. With a prefix argument, this
1179command toggles the display of only an entity at point.
1180
1181 To prevent Rmail from handling MIME decoded messages, change the
1182variable @code{rmail-enable-mime} to @code{nil}. When this is the
1183case, the @kbd{v} (@code{rmail-mime}) command instead creates a
1184temporary buffer to display the current @acronym{MIME} message.
1185
1186 You can highlight and activate URLs in the Rmail buffer using Goto
1187Address mode:
1155 1188
1156@c FIXME goto-addr.el commentary says to use goto-address instead. 1189@c FIXME goto-addr.el commentary says to use goto-address instead.
1157@smallexample 1190@smallexample
@@ -1163,13 +1196,6 @@ Then you can browse these URLs by clicking on them with @kbd{Mouse-2}
1163(or @kbd{Mouse-1} quickly) or by moving to one and typing @kbd{C-c 1196(or @kbd{Mouse-1} quickly) or by moving to one and typing @kbd{C-c
1164@key{RET}}. @xref{Goto Address mode, Activating URLs, Activating URLs}. 1197@key{RET}}. @xref{Goto Address mode, Activating URLs, Activating URLs}.
1165 1198
1166@cindex MIME messages (Rmail)
1167@findex rmail-mime
1168@kindex v @r{(Rmail)}
1169 The @kbd{v} (@code{rmail-mime}) command creates a temporary buffer
1170displaying the current MIME message. By default, it displays plain text
1171and multipart messages, and offers buttons to save attachments.
1172
1173@node Rmail Coding 1199@node Rmail Coding
1174@section Rmail and Coding Systems 1200@section Rmail and Coding Systems
1175 1201
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.
630 630
631All mail sent to the @samp{bug-gnu-emacs} mailing list is also 631All mail sent to the @samp{bug-gnu-emacs} mailing list is also
632gatewayed to the @samp{gnu.emacs.bug} newsgroup. The reverse is also 632gatewayed to the @samp{gnu.emacs.bug} newsgroup. The reverse is also
633true, but we ask you not to post bug reports via the newsgroup. It 633true, but we ask you not to post bug reports (or replies) via the
634can make it much harder to contact you if we need to ask for more 634newsgroup. It can make it much harder to contact you if we need to ask
635information, and it does not integrate well with the bug tracker. 635for more information, and it does not integrate well with the bug
636tracker.
636 637
637If your data is more than 500,000 bytes, please don't include it 638If your data is more than 500,000 bytes, please don't include it
638directly in the bug report; instead, offer to send it on request, or 639directly 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
805bug happen again. If you can't make it happen again, at least copy 806bug happen again. If you can't make it happen again, at least copy
806the whole error message. 807the whole error message.
807 808
809@vindex debug-on-quit
810If Emacs appears to be stuck in an infinite loop or in a very long
811operation, typing @kbd{C-g} with the variable @code{debug-on-quit}
812non-@code{nil} will start the Lisp debugger and show a backtrace.
813This backtrace is useful for debugging such long loops, so if you can
814produce it, copy it into the bug report.
815
808@item 816@item
809Check whether any programs you have loaded into the Lisp world, 817Check whether any programs you have loaded into the Lisp world,
810including your @file{.emacs} file, set any variables that may affect the 818including 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 @@
12011-01-02 Eli Zaretskii <eliz@gnu.org>
2
3 * modes.texi (Emulating Mode Line): Fix last change.
4
52011-01-02 Eli Zaretskii <eliz@gnu.org>
6
7 * modes.texi (Emulating Mode Line): Update documentation of
8 format-mode-line according to changes that fixed bug #7587.
9
12010-12-18 Stefan Monnier <monnier@iro.umontreal.ca> 102010-12-18 Stefan Monnier <monnier@iro.umontreal.ca>
2 11
3 * modes.texi (Derived Modes): Mention prog-mode. 12 * 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
2112based on a certain mode-line specification. 2112based on a certain mode-line specification.
2113 2113
2114@defun format-mode-line format &optional face window buffer 2114@defun format-mode-line format &optional face window buffer
2115This function formats a line of text according to @var{format} as if 2115This function formats a line of text according to @var{format} as if it
2116it were generating the mode line for @var{window}, but instead of 2116were generating the mode line for @var{window}, but it also returns the
2117displaying the text in the mode line or the header line, it returns 2117text as a string. The argument @var{window} defaults to the selected
2118the text as a string. The argument @var{window} defaults to the 2118window. If @var{buffer} is non-@code{nil}, all the information used is
2119selected window. If @var{buffer} is non-@code{nil}, all the 2119taken from @var{buffer}; by default, it comes from @var{window}'s
2120information used is taken from @var{buffer}; by default, it comes from 2120buffer.
2121@var{window}'s buffer.
2122 2121
2123The value string normally has text properties that correspond to the 2122The value string normally has text properties that correspond to the
2124faces, keymaps, etc., that the mode line would have. And any character 2123faces, keymaps, etc., that the mode line would have. Any character for
2125for which no @code{face} property is specified gets a default 2124which no @code{face} property is specified by @var{format} gets a
2126value which is usually @var{face}. (If @var{face} is @code{t}, 2125default value determined by @var{face}. If @var{face} is @code{t}, that
2127that stands for either @code{mode-line} if @var{window} is selected, 2126stands for either @code{mode-line} if @var{window} is selected,
2128otherwise @code{mode-line-inactive}. If @var{face} is @code{nil} or 2127otherwise @code{mode-line-inactive}. If @var{face} is @code{nil} or
2129omitted, that stands for no face property.) 2128omitted, that stands for the default face. If @var{face} is an integer,
2129the value returned by this function will have no text properties.
2130 2130
2131However, if @var{face} is an integer, the value has no text properties. 2131You can also specify other valid faces as the value of @var{face}.
2132If specified, that face provides the @code{face} property for characters
2133whose face is not specified by @var{format}.
2134
2135Note that using @code{mode-line}, @code{mode-line-inactive}, or
2136@code{header-line} as @var{face} will actually redisplay the mode line
2137or the header line, respectively, using the current definitions of the
2138corresponding face, in addition to returning the formatted string.
2139(Other faces do not cause redisplay.)
2132 2140
2133For example, @code{(format-mode-line header-line-format)} returns the 2141For example, @code{(format-mode-line header-line-format)} returns the
2134text that would appear in the selected window's header line (@code{""} 2142text that would appear in the selected window's header line (@code{""}
2135if it has no header line). @code{(format-mode-line header-line-format 2143if it has no header line). @code{(format-mode-line header-line-format
2136'header-line)} returns the same text, with each character 2144'header-line)} returns the same text, with each character
2137carrying the face that it will have in the header line itself. 2145carrying the face that it will have in the header line itself, and also
2146redraws the header line.
2138@end defun 2147@end defun
2139 2148
2140@node Imenu 2149@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 @@
12011-01-02 Jari Aalto <jari.aalto@cante.net> (tiny change)
2
3 * emacsclient.1: Arrange options alphabetically (Bug#7620).
4
12010-10-12 Glenn Morris <rgm@gnu.org> 52010-10-12 Glenn Morris <rgm@gnu.org>
2 6
3 * emacs.1: Small fixes. 7 * 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
49The programs follow the usual GNU command line syntax, with long 49The programs follow the usual GNU command line syntax, with long
50options starting with two dashes (`-'). 50options starting with two dashes (`-').
51.TP 51.TP
52.B \-nw, \-t, \-\-tty 52.B \-a, \-\-alternate-editor=EDITOR
53open a new Emacs frame on the current terminal 53if the Emacs server is not running, run the specified editor instead.
54This can also be specified via the `ALTERNATE_EDITOR' environment variable.
55If the value of EDITOR is the empty string, then Emacs is started in
56daemon mode and emacsclient will try to connect to it.
54.TP 57.TP
55.B -c, \-\-create-frame 58.B -c, \-\-create-frame
56create a new frame instead of trying to use the current Emacs frame 59create a new frame instead of trying to use the current Emacs frame
57.TP 60.TP
61.B \-d, \-\-display=DISPLAY
62tell the server to display the files on the given display.
63.TP
58.B \-e, \-\-eval 64.B \-e, \-\-eval
59do not visit files but instead evaluate the arguments as Emacs 65do not visit files but instead evaluate the arguments as Emacs
60Lisp expressions. 66Lisp expressions.
61.TP 67.TP
68.B \-f, \-\-server-file=FILENAME
69use TCP configuration file FILENAME for communication.
70This can also be specified via the `EMACS_SERVER_FILE' environment variable.
71.TP
62.B \-n, \-\-no-wait 72.B \-n, \-\-no-wait
63returns 73returns
64immediately without waiting for you to "finish" the buffer in Emacs. 74immediately without waiting for you to "finish" the buffer in Emacs.
65.TP 75.TP
76.B \-nw, \-t, \-\-tty
77open a new Emacs frame on the current terminal
78.TP
66.B \-s, \-\-socket-name=FILENAME 79.B \-s, \-\-socket-name=FILENAME
67use socket named FILENAME for communication. 80use socket named FILENAME for communication.
68.TP 81.TP
69.B \-f, \-\-server-file=FILENAME
70use TCP configuration file FILENAME for communication.
71This can also be specified via the `EMACS_SERVER_FILE' environment variable.
72.TP
73.B \-a, \-\-alternate-editor=EDITOR
74if the Emacs server is not running, run the specified editor instead.
75This can also be specified via the `ALTERNATE_EDITOR' environment variable.
76If the value of EDITOR is the empty string, then Emacs is started in
77daemon mode and emacsclient will try to connect to it.
78.TP
79.B \-d, \-\-display=DISPLAY
80tell the server to display the files on the given display.
81.TP
82.B \-V, \-\-version 82.B \-V, \-\-version
83print version information and exit 83print version information and exit
84.TP 84.TP