aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2012-05-05 12:32:58 +0800
committerChong Yidong2012-05-05 12:32:58 +0800
commiteceeb5fca618f3bc0743c2388148dd758229c7c9 (patch)
tree314434b14014363326ec7ce2868c3b86af4d97c3
parent248da2f497e8865e8bebb0e3adb9184ab36e95f2 (diff)
parentbe4e7c155b6922dd6105f4be57164210c3441f37 (diff)
downloademacs-eceeb5fca618f3bc0743c2388148dd758229c7c9.tar.gz
emacs-eceeb5fca618f3bc0743c2388148dd758229c7c9.zip
Merge from emacs-24; up to 2012-04-20T05:47:55Z!eliz@gnu.org
-rw-r--r--doc/emacs/ChangeLog41
-rw-r--r--doc/emacs/abbrevs.texi13
-rw-r--r--doc/emacs/arevert-xtra.texi1
-rw-r--r--doc/emacs/buffers.texi21
-rw-r--r--doc/emacs/calendar.texi18
-rw-r--r--doc/emacs/custom.texi10
-rw-r--r--doc/emacs/dired.texi2
-rw-r--r--doc/emacs/fixit.texi9
-rw-r--r--doc/emacs/frames.texi50
-rw-r--r--doc/emacs/maintaining.texi4
-rw-r--r--doc/emacs/modes.texi10
-rw-r--r--doc/emacs/mule.texi11
-rw-r--r--doc/emacs/programs.texi31
-rw-r--r--doc/emacs/rmail.texi4
-rw-r--r--doc/emacs/text.texi34
-rw-r--r--doc/lispintro/ChangeLog9
-rw-r--r--doc/lispintro/emacs-lisp-intro.texi74
-rw-r--r--doc/lispref/ChangeLog21
-rw-r--r--doc/lispref/commands.texi2
-rw-r--r--doc/lispref/elisp.texi2
-rw-r--r--doc/lispref/intro.texi10
-rw-r--r--doc/lispref/lists.texi7
-rw-r--r--doc/lispref/numbers.texi2
-rw-r--r--doc/lispref/objects.texi3
-rw-r--r--doc/lispref/text.texi6
-rw-r--r--etc/refcards/README15
-rw-r--r--lib-src/ChangeLog5
-rw-r--r--lib-src/pop.c8
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/select.el42
-rw-r--r--src/ChangeLog4
-rw-r--r--src/w32font.c7
32 files changed, 284 insertions, 197 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index a6d9ea6a8bc..238a8ebf8cc 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,44 @@
12012-05-05 Glenn Morris <rgm@gnu.org>
2
3 * custom.texi (Customization Groups, Custom Themes, Examining):
4 Improve page breaks.
5
6 * rmail.texi (Rmail Display): Use example rather than smallexample.
7
8 * calendar.texi: Convert inforefs to refs.
9
10 * dired.texi (Dired Enter): Improve page break.
11
12 * abbrevs.texi (Abbrev Concepts): Copyedits.
13
14 * maintaining.texi (Registering, Tag Syntax):
15 Tweak line and page breaks.
16
17 * programs.texi (Programs, Electric C): Copyedits.
18 (Program Modes): Add xref to Fortran.
19 (Left Margin Paren): Remove what was (oddly enough) the only use
20 of defvar in the entire Emacs manual.
21 (Hungry Delete): Remove footnote about ancient Emacs version.
22 (Other C Commands): Use example rather than smallexample.
23
24 * text.texi (Pages, Filling, Foldout, Org Mode, HTML Mode)
25 (Nroff Mode, Enriched Indentation, Table Rows and Columns):
26 Tweak line and page breaks.
27
28 * modes.texi (Major Modes, Minor Modes): Reword to improve page-breaks.
29 (Major Modes): Use example rather than smallexample.
30
31 * mule.texi (Output Coding): Reword to improve page-breaks.
32
33 * frames.texi (Fonts): Tweak line and page breaks.
34 Use example rather than smallexample. Change cross-reference.
35 (Text-Only Mouse): Fix xref.
36
37 * buffers.texi (Buffers, Kill Buffer, Several Buffers)
38 (Indirect Buffers): Tweak line- and page-breaks.
39
40 * fixit.texi (Fixit, Undo): Reword to improve page-breaks.
41
12012-05-04 Glenn Morris <rgm@gnu.org> 422012-05-04 Glenn Morris <rgm@gnu.org>
2 43
3 * Makefile.in (INFO_EXT, INFO_OPTS): New, set by configure. 44 * Makefile.in (INFO_EXT, INFO_OPTS): New, set by configure.
diff --git a/doc/emacs/abbrevs.texi b/doc/emacs/abbrevs.texi
index a8a34e62c1f..d3c914d92b0 100644
--- a/doc/emacs/abbrevs.texi
+++ b/doc/emacs/abbrevs.texi
@@ -37,12 +37,12 @@ Automatic Typing}.
37@node Abbrev Concepts 37@node Abbrev Concepts
38@section Abbrev Concepts 38@section Abbrev Concepts
39 39
40 An @dfn{abbrev} is a word which has been defined to @dfn{expand} into 40 An @dfn{abbrev} is a word that has been defined to @dfn{expand} into
41a specified @dfn{expansion}. When you insert a word-separator character 41a specified @dfn{expansion}. When you insert a word-separator character
42following the abbrev, that expands the abbrev---replacing the abbrev 42following the abbrev, that expands the abbrev---replacing the abbrev
43with its expansion. For example, if @samp{foo} is defined as an abbrev 43with its expansion. For example, if @samp{foo} is defined as an abbrev
44expanding to @samp{find outer otter}, then you can insert @samp{find 44expanding to @samp{find outer otter}, then typing @kbd{f o o .} will
45outer otter.} into the buffer by typing @kbd{f o o .}. 45insert @samp{find outer otter.}.
46 46
47@findex abbrev-mode 47@findex abbrev-mode
48@cindex Abbrev mode 48@cindex Abbrev mode
@@ -61,10 +61,9 @@ mode-specific definitions for different major modes. A mode-specific
61definition for the current major mode overrides a global definition. 61definition for the current major mode overrides a global definition.
62 62
63 You can define abbrevs interactively during the editing session, 63 You can define abbrevs interactively during the editing session,
64irrespective of whether Abbrev mode is enabled. You 64irrespective of whether Abbrev mode is enabled. You can also save
65can also save lists of abbrev definitions in files for use in later 65lists of abbrev definitions in files, which you can the reload for use
66sessions. Some users keep extensive lists of abbrevs that they load 66in later sessions.
67in every session.
68 67
69@node Defining Abbrevs 68@node Defining Abbrevs
70@section Defining Abbrevs 69@section Defining Abbrevs
diff --git a/doc/emacs/arevert-xtra.texi b/doc/emacs/arevert-xtra.texi
index 55d7646542d..5a957b02843 100644
--- a/doc/emacs/arevert-xtra.texi
+++ b/doc/emacs/arevert-xtra.texi
@@ -109,6 +109,7 @@ revert-buffer-function,, Reverting, elisp, the Emacs Lisp Reference Manual}.
109 109
110In addition, it @emph{must} have a @code{buffer-stale-function}. 110In addition, it @emph{must} have a @code{buffer-stale-function}.
111 111
112@c FIXME only defvar in all of doc/emacs!
112@defvar buffer-stale-function 113@defvar buffer-stale-function
113The value of this variable is a function to check whether a non-file 114The value of this variable is a function to check whether a non-file
114buffer needs reverting. This should be a function with one optional 115buffer needs reverting. This should be a function with one optional
diff --git a/doc/emacs/buffers.texi b/doc/emacs/buffers.texi
index 90d5084e3d9..5dd95cc2a6f 100644
--- a/doc/emacs/buffers.texi
+++ b/doc/emacs/buffers.texi
@@ -46,7 +46,7 @@ This is because Emacs tracks buffer positions using that data type.
46For typical 64-bit machines, this maximum buffer size is @math{2^61 - 46For typical 64-bit machines, this maximum buffer size is @math{2^61 -
472} bytes, or about 2 EiB. For typical 32-bit machines, the maximum is 472} bytes, or about 2 EiB. For typical 32-bit machines, the maximum is
48usually @math{2^29 - 2} bytes, or about 512 MiB. Buffer sizes are 48usually @math{2^29 - 2} bytes, or about 512 MiB. Buffer sizes are
49also limited by the amount of memory present in the system. 49also limited by the amount of memory in the system.
50 50
51@menu 51@menu
52* Select Buffer:: Creating a new buffer or reselecting an old one. 52* Select Buffer:: Creating a new buffer or reselecting an old one.
@@ -326,8 +326,8 @@ for a mere hour.
326@cindex Midnight mode 326@cindex Midnight mode
327@vindex midnight-mode 327@vindex midnight-mode
328@vindex midnight-hook 328@vindex midnight-hook
329 You can also have this buffer purging done for you, every day at 329 You can also have this buffer purging done for you, once a day,
330midnight, by enabling Midnight mode. Midnight mode operates each day 330by enabling Midnight mode. Midnight mode operates each day
331at midnight; at that time, it runs @code{clean-buffer-list}, or 331at midnight; at that time, it runs @code{clean-buffer-list}, or
332whichever functions you have placed in the normal hook 332whichever functions you have placed in the normal hook
333@code{midnight-hook} (@pxref{Hooks}). To enable Midnight mode, use 333@code{midnight-hook} (@pxref{Hooks}). To enable Midnight mode, use
@@ -361,7 +361,7 @@ the buffer menu in another window, and selects that window.
361 361
362 The buffer menu is a read-only buffer, and can be changed only 362 The buffer menu is a read-only buffer, and can be changed only
363through the special commands described in this section. The usual 363through the special commands described in this section. The usual
364Emacs cursor motion commands can be used in this buffer. The 364cursor motion commands can be used in this buffer. The
365following commands apply to the buffer described on the current line: 365following commands apply to the buffer described on the current line:
366 366
367@table @kbd 367@table @kbd
@@ -476,13 +476,13 @@ Auto Revert mode applies to the @file{*Buffer List*} buffer only if
476 476
477 An @dfn{indirect buffer} shares the text of some other buffer, which 477 An @dfn{indirect buffer} shares the text of some other buffer, which
478is called the @dfn{base buffer} of the indirect buffer. In some ways it 478is called the @dfn{base buffer} of the indirect buffer. In some ways it
479is the analogue, for buffers, of a symbolic link between files. 479is a buffer analogue of a symbolic link between files.
480 480
481@table @kbd 481@table @kbd
482@findex make-indirect-buffer 482@findex make-indirect-buffer
483@item M-x make-indirect-buffer @key{RET} @var{base-buffer} @key{RET} @var{indirect-name} @key{RET} 483@item M-x make-indirect-buffer @key{RET} @var{base-buffer} @key{RET} @var{indirect-name} @key{RET}
484Create an indirect buffer named @var{indirect-name} whose base buffer 484Create an indirect buffer named @var{indirect-name} with base buffer
485is @var{base-buffer}. 485@var{base-buffer}.
486@findex clone-indirect-buffer 486@findex clone-indirect-buffer
487@item M-x clone-indirect-buffer @key{RET} 487@item M-x clone-indirect-buffer @key{RET}
488Create an indirect buffer that is a twin copy of the current buffer. 488Create an indirect buffer that is a twin copy of the current buffer.
@@ -520,10 +520,9 @@ buffer in another window. These functions run the hook
520@code{clone-indirect-buffer-hook} after creating the indirect buffer. 520@code{clone-indirect-buffer-hook} after creating the indirect buffer.
521 521
522 The more general way to make an indirect buffer is with the command 522 The more general way to make an indirect buffer is with the command
523@kbd{M-x make-indirect-buffer}. It creates an indirect buffer from 523@kbd{M-x make-indirect-buffer}. It creates an indirect buffer
524buffer @var{base-buffer}, under the name @var{indirect-name}. It 524named @var{indirect-name} from a buffer @var{base-buffer}, prompting for
525prompts for both @var{base-buffer} and @var{indirect-name} using the 525both using the minibuffer.
526minibuffer.
527 526
528@node Buffer Convenience 527@node Buffer Convenience
529@section Convenience Features and Customization of Buffer Handling 528@section Convenience Features and Customization of Buffer Handling
diff --git a/doc/emacs/calendar.texi b/doc/emacs/calendar.texi
index a1e98bfcb92..e55d40767f4 100644
--- a/doc/emacs/calendar.texi
+++ b/doc/emacs/calendar.texi
@@ -26,8 +26,8 @@ the calendar, type @kbd{q}.
26 26
27@iftex 27@iftex
28 This chapter describes the basic calendar features. 28 This chapter describes the basic calendar features.
29@inforef{Advanced Calendar/Diary Usage,, emacs-xtra}, for information 29For more advanced topics,
30about more specialized features. 30@pxref{Advanced Calendar/Diary Usage,,, emacs-xtra, Specialized Emacs Features}.
31@end iftex 31@end iftex
32 32
33@menu 33@menu
@@ -489,7 +489,7 @@ window.
489calendar, use the @kbd{x} command. This displays the dates that are 489calendar, use the @kbd{x} command. This displays the dates that are
490holidays in a different face. 490holidays in a different face.
491@iftex 491@iftex
492@inforef{Calendar Customizing, calendar-holiday-marker, emacs-xtra}. 492@xref{Calendar Customizing,,, emacs-xtra, Specialized Emacs Features}.
493@end iftex 493@end iftex
494@ifnottex 494@ifnottex
495@xref{Calendar Customizing, calendar-holiday-marker}. 495@xref{Calendar Customizing, calendar-holiday-marker}.
@@ -1102,7 +1102,7 @@ current date is visible).
1102the @kbd{m} command. This marks the dates that have diary entries in 1102the @kbd{m} command. This marks the dates that have diary entries in
1103a different face. 1103a different face.
1104@iftex 1104@iftex
1105@inforef{Calendar Customizing, diary-entry-marker, emacs-xtra}. 1105@xref{Calendar Customizing,,, emacs-xtra, Specialized Emacs Features}.
1106@end iftex 1106@end iftex
1107@ifnottex 1107@ifnottex
1108@xref{Calendar Customizing, diary-entry-marker}. 1108@xref{Calendar Customizing, diary-entry-marker}.
@@ -1126,7 +1126,7 @@ date, independently of the calendar display, and optionally for the next
1126few days as well; the variable @code{diary-number-of-entries} specifies 1126few days as well; the variable @code{diary-number-of-entries} specifies
1127how many days to include. 1127how many days to include.
1128@iftex 1128@iftex
1129@inforef{Diary Customizing,, emacs-xtra}. 1129@xref{Diary Customizing,,, emacs-xtra, Specialized Emacs Features}.
1130@end iftex 1130@end iftex
1131@ifnottex 1131@ifnottex
1132@xref{Diary Customizing, diary-number-of-entries}. 1132@xref{Diary Customizing, diary-number-of-entries}.
@@ -1270,7 +1270,7 @@ entries. The basic commands are listed here; more sophisticated
1270commands are in the next section (@pxref{Special Diary Entries}). 1270commands are in the next section (@pxref{Special Diary Entries}).
1271Entries can also be based on non-Gregorian calendars. 1271Entries can also be based on non-Gregorian calendars.
1272@iftex 1272@iftex
1273@inforef{Non-Gregorian Diary,, emacs-xtra}. 1273@xref{Non-Gregorian Diary,,, emacs-xtra, Specialized Emacs Features}.
1274@end iftex 1274@end iftex
1275@ifnottex 1275@ifnottex
1276@xref{Non-Gregorian Diary}. 1276@xref{Non-Gregorian Diary}.
@@ -1438,7 +1438,7 @@ specifying the name of a face or a single-character string to use when
1438marking the entry in the calendar. Most generally, sexp diary entries 1438marking the entry in the calendar. Most generally, sexp diary entries
1439can perform arbitrary computations to determine when they apply. 1439can perform arbitrary computations to determine when they apply.
1440@iftex 1440@iftex
1441@inforef{Sexp Diary Entries,, emacs-xtra}. 1441@xref{Sexp Diary Entries,,, emacs-xtra, Specialized Emacs Features}.
1442@end iftex 1442@end iftex
1443@ifnottex 1443@ifnottex
1444@xref{Sexp Diary Entries}. 1444@xref{Sexp Diary Entries}.
@@ -1512,7 +1512,7 @@ display the day's diary buffer, unless you set
1512@code{appt-display-diary} to @code{nil}. The appointments list is 1512@code{appt-display-diary} to @code{nil}. The appointments list is
1513also updated whenever the diary file (or a file it includes; see 1513also updated whenever the diary file (or a file it includes; see
1514@iftex 1514@iftex
1515@inforef{Fancy Diary Display,, emacs-xtra}) 1515@ref{Fancy Diary Display,,, emacs-xtra, Specialized Emacs Features})
1516@end iftex 1516@end iftex
1517@ifnottex 1517@ifnottex
1518@ref{Fancy Diary Display}) 1518@ref{Fancy Diary Display})
@@ -1576,7 +1576,7 @@ and adds the results to an Emacs diary file. For example:
1576You can use an @code{#include} directive to add the import file contents 1576You can use an @code{#include} directive to add the import file contents
1577to the main diary file, if these are different files. 1577to the main diary file, if these are different files.
1578@iftex 1578@iftex
1579@inforef{Fancy Diary Display,, emacs-xtra}. 1579@xref{Fancy Diary Display,,, emacs-xtra, Specialized Emacs Features}.
1580@end iftex 1580@end iftex
1581@ifnottex 1581@ifnottex
1582@xref{Fancy Diary Display}. 1582@xref{Fancy Diary Display}.
diff --git a/doc/emacs/custom.texi b/doc/emacs/custom.texi
index bf2602f8f08..d5a68249ec4 100644
--- a/doc/emacs/custom.texi
+++ b/doc/emacs/custom.texi
@@ -79,7 +79,7 @@ top-level @code{Emacs} group. It looks like this, in part:
79 79
80@c we want the buffer example to all be on one page, but unfortunately 80@c we want the buffer example to all be on one page, but unfortunately
81@c that's quite a bit of text, so force all space to the bottom. 81@c that's quite a bit of text, so force all space to the bottom.
82@page 82@c @page
83@smallexample 83@smallexample
84@group 84@group
85To apply changes, use the Save or Set buttons. 85To apply changes, use the Save or Set buttons.
@@ -628,7 +628,7 @@ theme, its @samp{State} display shows @samp{THEMED} instead of
628@findex disable-theme 628@findex disable-theme
629 You can enable a specific Custom theme in the current Emacs session 629 You can enable a specific Custom theme in the current Emacs session
630by typing @kbd{M-x load-theme}. This prompts for a theme name, loads 630by typing @kbd{M-x load-theme}. This prompts for a theme name, loads
631the theme from the theme file, and enables the theme. If a theme file 631the theme from the theme file, and enables it. If a theme file
632has been loaded before, you can enable the theme without loading its 632has been loaded before, you can enable the theme without loading its
633file by typing @kbd{M-x enable-theme}. To disable a Custom theme, 633file by typing @kbd{M-x enable-theme}. To disable a Custom theme,
634type @kbd{M-x disable-theme}. 634type @kbd{M-x disable-theme}.
@@ -636,7 +636,7 @@ type @kbd{M-x disable-theme}.
636@findex describe-theme 636@findex describe-theme
637 To see a description of a Custom theme, type @kbd{?} on its line in 637 To see a description of a Custom theme, type @kbd{?} on its line in
638the @file{*Custom Themes*} buffer; or type @kbd{M-x describe-theme} 638the @file{*Custom Themes*} buffer; or type @kbd{M-x describe-theme}
639anywhere in Emacs and enter the theme name in the minibuffer. 639anywhere in Emacs and enter the theme name.
640 640
641@node Creating Custom Themes 641@node Creating Custom Themes
642@subsection Creating Custom Themes 642@subsection Creating Custom Themes
@@ -762,7 +762,7 @@ C-h v fill-column @key{RET}
762@noindent 762@noindent
763displays something like this: 763displays something like this:
764 764
765@smallexample 765@example
766fill-column is a variable defined in `C source code'. 766fill-column is a variable defined in `C source code'.
767fill-column's value is 70 767fill-column's value is 70
768Local in buffer custom.texi; global value is 70 768Local in buffer custom.texi; global value is 70
@@ -777,7 +777,7 @@ Documentation:
777Interactively, you can set the buffer local value using C-x f. 777Interactively, you can set the buffer local value using C-x f.
778 778
779You can customize this variable. 779You can customize this variable.
780@end smallexample 780@end example
781 781
782@noindent 782@noindent
783The line that says ``You can customize the variable'' indicates that 783The line that says ``You can customize the variable'' indicates that
diff --git a/doc/emacs/dired.texi b/doc/emacs/dired.texi
index f3a1ae2fc99..0dcded78364 100644
--- a/doc/emacs/dired.texi
+++ b/doc/emacs/dired.texi
@@ -104,7 +104,7 @@ use the @samp{--dired} option.
104@findex dired-other-frame 104@findex dired-other-frame
105@kindex C-x 5 d 105@kindex C-x 5 d
106 To display the Dired buffer in another window, use @kbd{C-x 4 d} 106 To display the Dired buffer in another window, use @kbd{C-x 4 d}
107(@code{dired-other-window}) instead of @kbd{C-x d}. @kbd{C-x 5 d} 107(@code{dired-other-window}). @kbd{C-x 5 d}
108(@code{dired-other-frame}) displays the Dired buffer in a separate 108(@code{dired-other-frame}) displays the Dired buffer in a separate
109frame. 109frame.
110 110
diff --git a/doc/emacs/fixit.texi b/doc/emacs/fixit.texi
index 85fac2b146b..2857e2b1af6 100644
--- a/doc/emacs/fixit.texi
+++ b/doc/emacs/fixit.texi
@@ -8,9 +8,9 @@
8@cindex mistakes, correcting 8@cindex mistakes, correcting
9 9
10 In this chapter we describe commands that are useful when you catch 10 In this chapter we describe commands that are useful when you catch
11a mistake while editing. The most fundamental command for correcting 11a mistake while editing. The most fundamental of these commands is
12erroneous editing is the undo command @kbd{C-/} (which is also bound 12the undo command @kbd{C-/} (also bound to @kbd{C-x u} and @kbd{C-_}).
13to @kbd{C-x u} and @kbd{C-_}). This undoes a single command, or a 13This undoes a single command, or a
14part of a command (as in the case of @code{query-replace}), or several 14part of a command (as in the case of @code{query-replace}), or several
15consecutive character insertions. Consecutive repetitions of 15consecutive character insertions. Consecutive repetitions of
16@kbd{C-/} undo earlier and earlier changes, back to the limit of the 16@kbd{C-/} undo earlier and earlier changes, back to the limit of the
@@ -60,7 +60,6 @@ beginners to remember: @samp{u} stands for ``undo''. It is also bound
60to @kbd{C-_} because typing @kbd{C-/} on some text terminals actually 60to @kbd{C-_} because typing @kbd{C-/} on some text terminals actually
61enters @kbd{C-_}.}. This undoes the most recent change in the buffer, 61enters @kbd{C-_}.}. This undoes the most recent change in the buffer,
62and moves point back to where it was before that change. 62and moves point back to where it was before that change.
63
64 Consecutive repetitions of @kbd{C-/} (or its aliases) undo earlier 63 Consecutive repetitions of @kbd{C-/} (or its aliases) undo earlier
65and earlier changes in the current buffer. If all the recorded 64and earlier changes in the current buffer. If all the recorded
66changes have already been undone, the undo command signals an error. 65changes have already been undone, the undo command signals an error.
@@ -75,7 +74,7 @@ changes you have undone, type @kbd{C-f} or any other command that
75harmlessly breaks the sequence of undoing; then type @kbd{C-/} to undo 74harmlessly breaks the sequence of undoing; then type @kbd{C-/} to undo
76the undo command. 75the undo command.
77 76
78 On the other hand, if you want to resume undoing, without redoing 77 Alternatively, if you want to resume undoing, without redoing
79previous undo commands, use @kbd{M-x undo-only}. This is like 78previous undo commands, use @kbd{M-x undo-only}. This is like
80@code{undo}, but will not redo changes you have just undone. 79@code{undo}, but will not redo changes you have just undone.
81 80
diff --git a/doc/emacs/frames.texi b/doc/emacs/frames.texi
index 7b912ec9722..80a12afeb1b 100644
--- a/doc/emacs/frames.texi
+++ b/doc/emacs/frames.texi
@@ -492,13 +492,13 @@ this for future sessions, click on @samp{Save Options} in the
492@samp{Options} menu. 492@samp{Options} menu.
493 493
494@item 494@item
495Add a line to your init file (@pxref{Init File}), modifying the 495Add a line to your init file, modifying the variable
496variable @code{default-frame-alist} to specify the @code{font} 496@code{default-frame-alist} to specify the @code{font} parameter
497parameter (@pxref{Creating Frames}), like this: 497(@pxref{Frame Parameters}), like this:
498 498
499@smallexample 499@example
500(add-to-list 'default-frame-alist '(font . "DejaVu Sans Mono-10")) 500(add-to-list 'default-frame-alist '(font . "DejaVu Sans Mono-10"))
501@end smallexample 501@end example
502 502
503@cindex X defaults file 503@cindex X defaults file
504@cindex X resources file 504@cindex X resources file
@@ -506,14 +506,14 @@ parameter (@pxref{Creating Frames}), like this:
506Add an @samp{emacs.font} X resource setting to your X resource file, 506Add an @samp{emacs.font} X resource setting to your X resource file,
507like this: 507like this:
508 508
509@smallexample 509@example
510emacs.font: DejaVu Sans Mono-12 510emacs.font: DejaVu Sans Mono-12
511@end smallexample 511@end example
512 512
513@noindent 513@noindent
514You must restart X, or use the @command{xrdb} command, for the X 514You must restart X, or use the @command{xrdb} command, for the X
515resources file to take effect. @xref{Resources}. When specifying a 515resources file to take effect. @xref{Resources}. Do not quote
516font in your X resources file, you should not quote it. 516font names in X resource files.
517 517
518@item 518@item
519If you are running Emacs on the GNOME desktop, you can tell Emacs to 519If you are running Emacs on the GNOME desktop, you can tell Emacs to
@@ -535,9 +535,9 @@ names the font that it's rendered in.
535first is to use a @dfn{Fontconfig pattern}. Fontconfig patterns have 535first is to use a @dfn{Fontconfig pattern}. Fontconfig patterns have
536the following form: 536the following form:
537 537
538@smallexample 538@example
539@var{fontname}[-@var{fontsize}][:@var{name1}=@var{values1}][:@var{name2}=@var{values2}]... 539@var{fontname}[-@var{fontsize}][:@var{name1}=@var{values1}][:@var{name2}=@var{values2}]...
540@end smallexample 540@end example
541 541
542@noindent 542@noindent
543Within this format, any of the elements in braces may be omitted. 543Within this format, any of the elements in braces may be omitted.
@@ -577,13 +577,13 @@ One of @samp{monospace}, @samp{proportional}, @samp{dual-width}, or
577@noindent 577@noindent
578Here are some examples of Fontconfig patterns: 578Here are some examples of Fontconfig patterns:
579 579
580@smallexample 580@example
581Monospace 581Monospace
582Monospace-12 582Monospace-12
583Monospace-12:bold 583Monospace-12:bold
584DejaVu Sans Mono:bold:italic 584DejaVu Sans Mono:bold:italic
585Monospace-12:weight=bold:slant=italic 585Monospace-12:weight=bold:slant=italic
586@end smallexample 586@end example
587 587
588For a more detailed description of Fontconfig patterns, see the 588For a more detailed description of Fontconfig patterns, see the
589Fontconfig manual, which is distributed with Fontconfig and available 589Fontconfig manual, which is distributed with Fontconfig and available
@@ -593,9 +593,9 @@ online at @url{http://fontconfig.org/fontconfig-user.html}.
593 The second way to specify a font is to use a @dfn{GTK font pattern}. 593 The second way to specify a font is to use a @dfn{GTK font pattern}.
594These have the syntax 594These have the syntax
595 595
596@smallexample 596@example
597@var{fontname} [@var{properties}] [@var{fontsize}] 597@var{fontname} [@var{properties}] [@var{fontsize}]
598@end smallexample 598@end example
599 599
600@noindent 600@noindent
601where @var{fontname} is the family name, @var{properties} is a list of 601where @var{fontname} is the family name, @var{properties} is a list of
@@ -619,10 +619,10 @@ omitted, a default width is used.
619@noindent 619@noindent
620Here are some examples of GTK font patterns: 620Here are some examples of GTK font patterns:
621 621
622@smallexample 622@example
623Monospace 12 623Monospace 12
624Monospace Bold Italic 12 624Monospace Bold Italic 12
625@end smallexample 625@end example
626 626
627@cindex XLFD 627@cindex XLFD
628@cindex X Logical Font Description 628@cindex X Logical Font Description
@@ -631,9 +631,9 @@ Logical Font Description}). This is the traditional method for
631specifying fonts under X. Each XLFD consists of fourteen words or 631specifying fonts under X. Each XLFD consists of fourteen words or
632numbers, separated by dashes, like this: 632numbers, separated by dashes, like this:
633 633
634@smallexample 634@example
635-misc-fixed-medium-r-semicondensed--13-*-*-*-c-60-iso8859-1 635-misc-fixed-medium-r-semicondensed--13-*-*-*-c-60-iso8859-1
636@end smallexample 636@end example
637 637
638@noindent 638@noindent
639A wildcard character (@samp{*}) in an XLFD matches any sequence of 639A wildcard character (@samp{*}) in an XLFD matches any sequence of
@@ -644,10 +644,10 @@ results, supply all 14 dashes and use wildcards only within a field.
644Case is insignificant in an XLFD. The syntax for an XLFD is as 644Case is insignificant in an XLFD. The syntax for an XLFD is as
645follows: 645follows:
646 646
647@smallexample 647@example
648-@var{maker}-@var{family}-@var{weight}-@var{slant}-@var{widthtype}-@var{style}@dots{} 648-@var{maker}-@var{family}-@var{weight}-@var{slant}-@var{widthtype}-@var{style}@dots{}
649@dots{}-@var{pixels}-@var{height}-@var{horiz}-@var{vert}-@var{spacing}-@var{width}-@var{registry}-@var{encoding} 649@dots{}-@var{pixels}-@var{height}-@var{horiz}-@var{vert}-@var{spacing}-@var{width}-@var{registry}-@var{encoding}
650@end smallexample 650@end example
651 651
652@noindent 652@noindent
653The entries have the following meanings: 653The entries have the following meanings:
@@ -706,9 +706,9 @@ nickname''. Certain fonts have shorter nicknames, which you can use
706instead of a normal font specification. For instance, @samp{6x13} is 706instead of a normal font specification. For instance, @samp{6x13} is
707equivalent to 707equivalent to
708 708
709@smallexample 709@example
710-misc-fixed-medium-r-semicondensed--13-*-*-*-c-60-iso8859-1 710-misc-fixed-medium-r-semicondensed--13-*-*-*-c-60-iso8859-1
711@end smallexample 711@end example
712 712
713@cindex client-side fonts 713@cindex client-side fonts
714@cindex server-side fonts 714@cindex server-side fonts
@@ -1160,9 +1160,9 @@ enable mouse support. You must have the gpm server installed and
1160running on your system in order for this to work. 1160running on your system in order for this to work.
1161 1161
1162@iftex 1162@iftex
1163@pxref{MS-DOS Mouse,,,emacs-xtra,Specialized Emacs Features}, 1163@xref{MS-DOS Mouse,,,emacs-xtra,Specialized Emacs Features},
1164@end iftex 1164@end iftex
1165@ifnottex 1165@ifnottex
1166@pxref{MS-DOS Mouse}, 1166@xref{MS-DOS Mouse},
1167@end ifnottex 1167@end ifnottex
1168for information about mouse support on MS-DOS. 1168for information about mouse support on MS-DOS.
diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi
index 72583f25c8b..b0ee5bd5f2f 100644
--- a/doc/emacs/maintaining.texi
+++ b/doc/emacs/maintaining.texi
@@ -711,7 +711,7 @@ commit can include both file additions and edits to existing files.
711 711
712 On a locking-based version control system (@pxref{VCS Merging}), 712 On a locking-based version control system (@pxref{VCS Merging}),
713registering a file leaves it unlocked and read-only. Type @kbd{C-x v 713registering a file leaves it unlocked and read-only. Type @kbd{C-x v
714v} if you wish to start editing it. 714v} to start editing it.
715 715
716@node Old Revisions 716@node Old Revisions
717@subsection Examining And Comparing Old Revisions 717@subsection Examining And Comparing Old Revisions
@@ -1729,7 +1729,7 @@ find-tag @key{RET} bidule @key{RET}} will just search for any tag
1729@code{bidule}. 1729@code{bidule}.
1730 1730
1731@item 1731@item
1732In assembler code, labels appearing at the beginning of a line, 1732In assembler code, labels appearing at the start of a line,
1733followed by a colon, are tags. 1733followed by a colon, are tags.
1734 1734
1735@item 1735@item
diff --git a/doc/emacs/modes.texi b/doc/emacs/modes.texi
index 52ecd37fcf2..a48299768a8 100644
--- a/doc/emacs/modes.texi
+++ b/doc/emacs/modes.texi
@@ -65,8 +65,7 @@ process (@pxref{Interactive Shell}).
65first visit a file or create a buffer (@pxref{Choosing Modes}). You 65first visit a file or create a buffer (@pxref{Choosing Modes}). You
66can explicitly select a new major mode by using an @kbd{M-x} command. 66can explicitly select a new major mode by using an @kbd{M-x} command.
67Take the name of the mode and add @code{-mode} to get the name of the 67Take the name of the mode and add @code{-mode} to get the name of the
68command to select that mode. Thus, you can enter Lisp mode with 68command to select that mode (e.g., @kbd{M-x lisp-mode} enters Lisp mode).
69@kbd{M-x lisp-mode}.
70 69
71@vindex major-mode 70@vindex major-mode
72 The value of the buffer-local variable @code{major-mode} is a symbol 71 The value of the buffer-local variable @code{major-mode} is a symbol
@@ -81,9 +80,9 @@ change this default value via the Customization interface (@pxref{Easy
81Customization}), or by adding a line like this to your init file 80Customization}), or by adding a line like this to your init file
82(@pxref{Init File}): 81(@pxref{Init File}):
83 82
84@smallexample 83@example
85(setq-default major-mode 'text-mode) 84(setq-default major-mode 'text-mode)
86@end smallexample 85@end example
87 86
88@noindent 87@noindent
89If the default value of @code{major-mode} is @code{nil}, the major 88If the default value of @code{major-mode} is @code{nil}, the major
@@ -216,8 +215,7 @@ in individual buffers. @xref{Faces}.
216@findex linum-mode 215@findex linum-mode
217@cindex Linum mode 216@cindex Linum mode
218@item 217@item
219Linum mode displays each line's line number in the window's left 218Linum mode displays each line's line number in the window's left margin.
220margin. Its mode command is @code{linum-mode}.
221 219
222@item 220@item
223Outline minor mode provides similar facilities to the major mode 221Outline minor mode provides similar facilities to the major mode
diff --git a/doc/emacs/mule.texi b/doc/emacs/mule.texi
index cffcb7573ff..b0b35bf14b5 100644
--- a/doc/emacs/mule.texi
+++ b/doc/emacs/mule.texi
@@ -991,12 +991,11 @@ and asks you to choose one of those coding systems.
991behaves a bit differently. It additionally checks whether the 991behaves a bit differently. It additionally checks whether the
992@c What determines this? 992@c What determines this?
993most-preferred coding system is recommended for use in MIME messages; 993most-preferred coding system is recommended for use in MIME messages;
994if not, Emacs tells you that the most-preferred coding system is not 994if not, it informs you of this fact and prompts you for another coding
995recommended and prompts you for another coding system. This is so you 995system. This is so you won't inadvertently send a message encoded in
996won't inadvertently send a message encoded in a way that your 996a way that your recipient's mail software will have difficulty
997recipient's mail software will have difficulty decoding. (You can 997decoding. (You can still use an unsuitable coding system if you enter
998still use an unsuitable coding system if you type its name in response 998its name at the prompt.)
999to the question.)
1000 999
1001@c It seems that select-message-coding-system does this. 1000@c It seems that select-message-coding-system does this.
1002@c Both sendmail.el and smptmail.el call it; i.e. smtpmail.el still 1001@c Both sendmail.el and smptmail.el call it; i.e. smtpmail.el still
diff --git a/doc/emacs/programs.texi b/doc/emacs/programs.texi
index 23f808b93ea..b7f21e8a93c 100644
--- a/doc/emacs/programs.texi
+++ b/doc/emacs/programs.texi
@@ -9,7 +9,7 @@
9@cindex program editing 9@cindex program editing
10 10
11 This chapter describes Emacs features for facilitating editing 11 This chapter describes Emacs features for facilitating editing
12programs. Some of these features can: 12programs. Some of the things these features can do are:
13 13
14@itemize @bullet 14@itemize @bullet
15@item 15@item
@@ -128,8 +128,7 @@ IDL/Pike/AWK (@pxref{Top, , CC Mode, ccmode, CC Mode}), and IDLWAVE
128@ifnotinfo 128@ifnotinfo
129 The Emacs distribution contains Info manuals for the major modes for 129 The Emacs distribution contains Info manuals for the major modes for
130Ada, C/C++/Objective C/Java/Corba IDL/Pike/AWK, and IDLWAVE. For 130Ada, C/C++/Objective C/Java/Corba IDL/Pike/AWK, and IDLWAVE. For
131Fortran mode, see the ``Fortran'' section in the Info version of the 131Fortran mode, @pxref{Fortran,,, emacs-xtra, Specialized Emacs Features}.
132Emacs manual, which is not included in this printed version.
133@end ifnotinfo 132@end ifnotinfo
134 133
135@node Defuns 134@node Defuns
@@ -186,15 +185,13 @@ delimiter from starting a defun. Here's an example:
186highlights confusing opening delimiters (those that ought to be 185highlights confusing opening delimiters (those that ought to be
187quoted) in bold red. 186quoted) in bold red.
188 187
188@vindex open-paren-in-column-0-is-defun-start
189 If you need to override this convention, you can do so by setting 189 If you need to override this convention, you can do so by setting
190this user option: 190the variable @code{open-paren-in-column-0-is-defun-start}.
191
192@defvar open-paren-in-column-0-is-defun-start
193If this user option is set to @code{t} (the default), opening 191If this user option is set to @code{t} (the default), opening
194parentheses or braces at column zero always start defuns. When it's 192parentheses or braces at column zero always start defuns. When it is
195@code{nil}, defuns are found by searching for parens or braces at the 193@code{nil}, defuns are found by searching for parens or braces at the
196outermost level. 194outermost level.
197@end defvar
198 195
199 Usually, you should leave this option at its default value of 196 Usually, you should leave this option at its default value of
200@code{t}. If your buffer contains parentheses or braces in column 197@code{t}. If your buffer contains parentheses or braces in column
@@ -1553,8 +1550,8 @@ after the mode name:
1553@kindex C-c C-l @r{(C mode)} 1550@kindex C-c C-l @r{(C mode)}
1554@findex c-toggle-electric-state 1551@findex c-toggle-electric-state
1555Toggle electric action (@code{c-toggle-electric-state}). With a 1552Toggle electric action (@code{c-toggle-electric-state}). With a
1556prefix argument, this command enables electric action if the argument 1553positive prefix argument, this command enables electric action, with a
1557is positive, disables it if it is negative. 1554negative one it disables it.
1558@end table 1555@end table
1559 1556
1560 Electric characters insert newlines only when, in addition to the 1557 Electric characters insert newlines only when, in addition to the
@@ -1591,8 +1588,7 @@ preprocessor commands.
1591@findex c-hungry-delete-backwards 1588@findex c-hungry-delete-backwards
1592@kindex C-c C-@key{DEL} (C Mode) 1589@kindex C-c C-@key{DEL} (C Mode)
1593@kindex C-c @key{DEL} (C Mode) 1590@kindex C-c @key{DEL} (C Mode)
1594@code{c-hungry-delete-backwards}---Delete the entire block of whitespace 1591Delete the entire block of whitespace preceding point (@code{c-hungry-delete-backwards}).
1595preceding point.
1596 1592
1597@item C-c C-d 1593@item C-c C-d
1598@itemx C-c C-@key{DELETE} 1594@itemx C-c C-@key{DELETE}
@@ -1601,8 +1597,7 @@ preceding point.
1601@kindex C-c C-d (C Mode) 1597@kindex C-c C-d (C Mode)
1602@kindex C-c C-@key{DELETE} (C Mode) 1598@kindex C-c C-@key{DELETE} (C Mode)
1603@kindex C-c @key{DELETE} (C Mode) 1599@kindex C-c @key{DELETE} (C Mode)
1604@code{c-hungry-delete-forward}---Delete the entire block of whitespace 1600Delete the entire block of whitespace after point (@code{c-hungry-delete-forward}).
1605following point.
1606@end table 1601@end table
1607 1602
1608 As an alternative to the above commands, you can enable @dfn{hungry 1603 As an alternative to the above commands, you can enable @dfn{hungry
@@ -1615,9 +1610,7 @@ preceding whitespace, not just one space, and a single @kbd{C-c C-d}
1615@item M-x c-toggle-hungry-state 1610@item M-x c-toggle-hungry-state
1616@findex c-toggle-hungry-state 1611@findex c-toggle-hungry-state
1617Toggle the hungry-delete feature 1612Toggle the hungry-delete feature
1618(@code{c-toggle-hungry-state})@footnote{This command had the binding 1613(@code{c-toggle-hungry-state}). With a prefix argument,
1619@kbd{C-c C-d} in earlier versions of Emacs. @kbd{C-c C-d} is now
1620bound to @code{c-hungry-delete-forward}.}. With a prefix argument,
1621this command turns the hungry-delete feature on if the argument is 1614this command turns the hungry-delete feature on if the argument is
1622positive, and off if it is negative. 1615positive, and off if it is negative.
1623@end table 1616@end table
@@ -1656,11 +1649,11 @@ needs a binding to be useful. The following code will bind it to
1656@kbd{C-j}. We use @code{c-initialization-hook} here to make sure 1649@kbd{C-j}. We use @code{c-initialization-hook} here to make sure
1657the keymap is loaded before we try to change it. 1650the keymap is loaded before we try to change it.
1658 1651
1659@smallexample 1652@example
1660(defun my-bind-clb () 1653(defun my-bind-clb ()
1661 (define-key c-mode-base-map "\C-j" 'c-context-line-break)) 1654 (define-key c-mode-base-map "\C-j" 'c-context-line-break))
1662(add-hook 'c-initialization-hook 'my-bind-clb) 1655(add-hook 'c-initialization-hook 'my-bind-clb)
1663@end smallexample 1656@end example
1664 1657
1665@item C-M-h 1658@item C-M-h
1666Put mark at the end of a function definition, and put point at the 1659Put mark at the end of a function definition, and put point at the
diff --git a/doc/emacs/rmail.texi b/doc/emacs/rmail.texi
index 6221bbac1a8..3938712a5e9 100644
--- a/doc/emacs/rmail.texi
+++ b/doc/emacs/rmail.texi
@@ -1232,9 +1232,9 @@ rmail-epa-decrypt} to decrypt it, using the EasyPG library
1232Address mode: 1232Address mode:
1233 1233
1234@c FIXME goto-addr.el commentary says to use goto-address instead. 1234@c FIXME goto-addr.el commentary says to use goto-address instead.
1235@smallexample 1235@example
1236(add-hook 'rmail-show-message-hook 'goto-address-mode) 1236(add-hook 'rmail-show-message-hook 'goto-address-mode)
1237@end smallexample 1237@end example
1238 1238
1239@noindent 1239@noindent
1240Then you can browse these URLs by clicking on them with @kbd{Mouse-2} 1240Then you can browse these URLs by clicking on them with @kbd{Mouse-2}
diff --git a/doc/emacs/text.texi b/doc/emacs/text.texi
index e56b00e2723..90f4732079b 100644
--- a/doc/emacs/text.texi
+++ b/doc/emacs/text.texi
@@ -379,8 +379,8 @@ delimited once again. The reason @kbd{C-x C-p} includes only the
379following page delimiter in the region is to ensure that. 379following page delimiter in the region is to ensure that.
380 380
381 A numeric argument to @kbd{C-x C-p} specifies which page to go to, 381 A numeric argument to @kbd{C-x C-p} specifies which page to go to,
382relative to the current one. Zero means the current page. One means 382relative to the current one. Zero means the current page, one
383the next page, and @minus{}1 means the previous one. 383the next page, and @minus{}1 the previous one.
384 384
385@kindex C-x l 385@kindex C-x l
386@findex count-lines-page 386@findex count-lines-page
@@ -412,7 +412,7 @@ beginning of a line.
412specified width. Emacs does filling in two ways. In Auto Fill mode, 412specified width. Emacs does filling in two ways. In Auto Fill mode,
413inserting text with self-inserting characters also automatically fills 413inserting text with self-inserting characters also automatically fills
414it. There are also explicit fill commands that you can use when editing 414it. There are also explicit fill commands that you can use when editing
415text leaves it unfilled. 415text.
416 416
417@menu 417@menu
418* Auto Fill:: Auto Fill mode breaks long lines automatically. 418* Auto Fill:: Auto Fill mode breaks long lines automatically.
@@ -1240,6 +1240,7 @@ quad click: exit all folds and hide text.
1240@end itemize 1240@end itemize
1241@end table 1241@end table
1242 1242
1243@c FIXME not marked as a user variable
1243@vindex foldout-mouse-modifiers 1244@vindex foldout-mouse-modifiers
1244 You can specify different modifier keys (instead of 1245 You can specify different modifier keys (instead of
1245@kbd{Control-Meta-}) by setting @code{foldout-mouse-modifiers}; but if 1246@kbd{Control-Meta-}) by setting @code{foldout-mouse-modifiers}; but if
@@ -1248,7 +1249,7 @@ it in order for this to take effect.
1248 1249
1249 To use the Foldout package, you can type @kbd{M-x load-library 1250 To use the Foldout package, you can type @kbd{M-x load-library
1250@key{RET} foldout @key{RET}}; or you can arrange for to do that 1251@key{RET} foldout @key{RET}}; or you can arrange for to do that
1251automatically by putting this in your init file (@pxref{Init File}): 1252automatically by putting the following in your init file:
1252 1253
1253@example 1254@example
1254(eval-after-load "outline" '(require 'foldout)) 1255(eval-after-load "outline" '(require 'foldout))
@@ -1307,8 +1308,8 @@ with @kbd{M-<left>} (@code{org-metaleft}) and @kbd{M-<right>}
1307if invoked on a body line. 1308if invoked on a body line.
1308 1309
1309 The following subsections give basic instructions for using Org mode 1310 The following subsections give basic instructions for using Org mode
1310as an organizer and as an authoring system. @xref{Top,The Org Mode 1311as an organizer and as an authoring system. For details, @pxref{Top,
1311Manual,,org, The Org Manual}, for details. 1312The Org Mode Manual, Introduction, org, The Org Manual}.
1312 1313
1313@menu 1314@menu
1314* Org Organizer:: Managing TODO lists and agendas. 1315* Org Organizer:: Managing TODO lists and agendas.
@@ -1886,8 +1887,8 @@ the tag at point.
1886@kindex C-c / @r{(SGML mode)} 1887@kindex C-c / @r{(SGML mode)}
1887@findex sgml-close-tag 1888@findex sgml-close-tag
1888Insert a close tag for the innermost unterminated tag 1889Insert a close tag for the innermost unterminated tag
1889(@code{sgml-close-tag}). If called from within a tag or a comment, 1890(@code{sgml-close-tag}). If called within a tag or a comment,
1890close this element instead of inserting a close tag. 1891close it instead of inserting a close tag.
1891 1892
1892@item C-c 8 1893@item C-c 8
1893@kindex C-c 8 @r{(SGML mode)} 1894@kindex C-c 8 @r{(SGML mode)}
@@ -1948,10 +1949,10 @@ always insert explicit closing tags as well.
1948@cindex nroff 1949@cindex nroff
1949@findex nroff-mode 1950@findex nroff-mode
1950@vindex nroff-mode-hook 1951@vindex nroff-mode-hook
1951 Nroff mode is a major mode derived from Text mode, which is 1952 Nroff mode, a major mode derived from Text mode, is
1952specialized for editing nroff files (e.g.@: Unix man pages). Type 1953specialized for editing nroff files (e.g.@: Unix man pages). Type
1953@kbd{M-x nroff-mode} to enter this mode. Entering Nroff mode runs the 1954@kbd{M-x nroff-mode} to enter this mode. Entering Nroff mode runs the
1954hook @code{text-mode-hook}, followed by @code{nroff-mode-hook} 1955hook @code{text-mode-hook}, then @code{nroff-mode-hook}
1955(@pxref{Hooks}). 1956(@pxref{Hooks}).
1956 1957
1957 In Nroff mode, nroff command lines are treated as paragraph 1958 In Nroff mode, nroff command lines are treated as paragraph
@@ -2209,7 +2210,7 @@ for the right or left margin of a paragraph or a part of a paragraph.
2209These margins also affect fill commands such as @kbd{M-q} 2210These margins also affect fill commands such as @kbd{M-q}
2210(@pxref{Filling}). 2211(@pxref{Filling}).
2211 2212
2212 The Indentation submenu of Text Properties provides four commands 2213 The Indentation submenu of Text Properties offers commands
2213for specifying indentation: 2214for specifying indentation:
2214 2215
2215@table @code 2216@table @code
@@ -2292,10 +2293,9 @@ commands do nothing on text with this setting. You can, however,
2292still indent the left margin. 2293still indent the left margin.
2293@end table 2294@end table
2294 2295
2296@vindex default-justification
2295 You can also specify justification styles using the Justification 2297 You can also specify justification styles using the Justification
2296submenu in the Text Properties menu. 2298submenu in the Text Properties menu.
2297
2298@vindex default-justification
2299 The default justification style is specified by the per-buffer 2299 The default justification style is specified by the per-buffer
2300variable @code{default-justification}. Its value should be one of the 2300variable @code{default-justification}. Its value should be one of the
2301symbols @code{left}, @code{right}, @code{full}, @code{center}, or 2301symbols @code{left}, @code{right}, @code{full}, @code{center}, or
@@ -2578,10 +2578,12 @@ to @code{nil}.
2578@findex table-insert-row 2578@findex table-insert-row
2579 @kbd{M-x table-insert-row} inserts a row of cells before the current 2579 @kbd{M-x table-insert-row} inserts a row of cells before the current
2580table row. The current row, together with point, is pushed down past 2580table row. The current row, together with point, is pushed down past
2581the new row. To insert rows after the last row at the bottom of a 2581the new row. To insert a row after the last row at the bottom of a
2582table, invoke this command with point below the table, just below the 2582table, invoke this command with point below the table, just below the
2583bottom edge. A numeric prefix argument specifies the number of rows 2583bottom edge. You can insert more than one row at a time by using a
2584to insert. 2584numeric prefix argument.
2585
2586@c A numeric prefix argument specifies the number of rows to insert.
2585 2587
2586@findex table-insert-column 2588@findex table-insert-column
2587 Similarly, @kbd{M-x table-insert-column} inserts a column of cells 2589 Similarly, @kbd{M-x table-insert-column} inserts a column of cells
diff --git a/doc/lispintro/ChangeLog b/doc/lispintro/ChangeLog
index 40ec77a5151..1191b0de919 100644
--- a/doc/lispintro/ChangeLog
+++ b/doc/lispintro/ChangeLog
@@ -1,3 +1,12 @@
12012-05-05 Glenn Morris <rgm@gnu.org>
2
3 * emacs-lisp-intro.texi (Making Errors): Don't mention Emacs 20.
4 (Void Function, Wrong Type of Argument, Recursion with list)
5 (Simple Extension): Assume a non-ancient Emacs.
6 (Void Variable, Switching Buffers): Improve page breaks.
7
8 * emacs-lisp-intro.texi: Update GNU Press contact details.
9
12012-05-04 Glenn Morris <rgm@gnu.org> 102012-05-04 Glenn Morris <rgm@gnu.org>
2 11
3 * Makefile.in (INFO_EXT, INFO_OPTS): New, set by configure. 12 * Makefile.in (INFO_EXT, INFO_OPTS): New, set by configure.
diff --git a/doc/lispintro/emacs-lisp-intro.texi b/doc/lispintro/emacs-lisp-intro.texi
index b2b30978144..1c9cd213830 100644
--- a/doc/lispintro/emacs-lisp-intro.texi
+++ b/doc/lispintro/emacs-lisp-intro.texi
@@ -234,27 +234,27 @@ Copyright @copyright{} 1990-1995, 1997, 2001-2012 Free Software Foundation, Inc.
234@iftex 234@iftex
235Published by the:@* 235Published by the:@*
236 236
237GNU Press, @hfill @uref{http://www.gnupress.org}@* 237GNU Press, @hfill @uref{http://www.fsf.org/campaigns/gnu-press/}@*
238a division of the @hfill General: @email{press@@gnu.org}@* 238a division of the @hfill email: @email{sales@@fsf.org}@*
239Free Software Foundation, Inc. @hfill Orders:@w{ } @email{sales@@gnu.org}@* 239Free Software Foundation, Inc. @hfill Tel: +1 (617) 542-5942@*
24051 Franklin Street, Fifth Floor @hfill Tel: +1 (617) 542-5942@* 24051 Franklin Street, Fifth Floor @hfill Fax: +1 (617) 542-2652@*
241Boston, MA 02110-1301 USA @hfill Fax: +1 (617) 542-2652@* 241Boston, MA 02110-1301 USA
242@end iftex 242@end iftex
243 243
244@ifnottex 244@ifnottex
245Published by the: 245Published by the:
246 246
247@example 247@example
248GNU Press, Website: http://www.gnupress.org 248GNU Press, http://www.fsf.org/campaigns/gnu-press/
249a division of the General: press@@gnu.org 249a division of the email: sales@@fsf.org
250Free Software Foundation, Inc. Orders: sales@@gnu.org 250Free Software Foundation, Inc. Tel: +1 (617) 542-5942
25151 Franklin Street, Fifth Floor Tel: +1 (617) 542-5942 25151 Franklin Street, Fifth Floor Fax: +1 (617) 542-2652
252Boston, MA 02110-1301 USA Fax: +1 (617) 542-2652 252Boston, MA 02110-1301 USA
253@end example 253@end example
254@end ifnottex 254@end ifnottex
255 255
256@sp 1 256@sp 1
257@c Printed copies are available for $30 each.@* 257@c Printed copies are available from @uref{http://shop.fsf.org/} for $35 each.@*
258ISBN 1-882114-43-4 258ISBN 1-882114-43-4
259 259
260Permission is granted to copy, distribute and/or modify this document 260Permission is granted to copy, distribute and/or modify this document
@@ -1426,6 +1426,7 @@ C-e}:
1426(this is an unquoted list) 1426(this is an unquoted list)
1427@end smallexample 1427@end smallexample
1428 1428
1429@ignore
1429@noindent 1430@noindent
1430What you see depends on which version of Emacs you are running. GNU 1431What you see depends on which version of Emacs you are running. GNU
1431Emacs version 22 provides more information than version 20 and before. 1432Emacs version 22 provides more information than version 20 and before.
@@ -1436,6 +1437,10 @@ earlier, version 20 result.
1436@noindent 1437@noindent
1437In GNU Emacs version 22, a @file{*Backtrace*} window will open up and 1438In GNU Emacs version 22, a @file{*Backtrace*} window will open up and
1438you will see the following in it: 1439you will see the following in it:
1440@end ignore
1441
1442A @file{*Backtrace*} window will open up and you should see the
1443following in it:
1439 1444
1440@smallexample 1445@smallexample
1441@group 1446@group
@@ -1514,19 +1519,24 @@ evaluating @code{(+ 2 2)}, we can infer that the symbol @code{+} must
1514have a set of instructions for the computer to obey and those 1519have a set of instructions for the computer to obey and those
1515instructions must be to add the numbers that follow the @code{+}. 1520instructions must be to add the numbers that follow the @code{+}.
1516 1521
1517@need 1250 1522It is possible to prevent Emacs entering the debugger in cases like
1518In GNU Emacs version 20, and in earlier versions, you will see only 1523this. We do not explain how to do that here, but we will mention what
1519one line of error message; it will appear in the echo area and look 1524the result looks like, because you may encounter a similar situation
1520like this: 1525if there is a bug in some Emacs code that you are using. In such
1526cases, you will see only one line of error message; it will appear in
1527the echo area and look like this:
1521 1528
1522@smallexample 1529@smallexample
1523Symbol's function definition is void:@: this 1530Symbol's function definition is void:@: this
1524@end smallexample 1531@end smallexample
1525 1532
1526@noindent 1533@noindent
1534@ignore
1527(Also, your terminal may beep at you---some do, some don't; and others 1535(Also, your terminal may beep at you---some do, some don't; and others
1528blink. This is just a device to get your attention.) The message goes 1536blink. This is just a device to get your attention.)
1529away as soon as you type another key, even just to move the cursor. 1537@end ignore
1538The message goes away as soon as you type a key, even just to
1539move the cursor.
1530 1540
1531We know the meaning of the word @samp{Symbol}. It refers to the first 1541We know the meaning of the word @samp{Symbol}. It refers to the first
1532atom of the list, the word @samp{this}. The word @samp{function} 1542atom of the list, the word @samp{this}. The word @samp{function}
@@ -1862,8 +1872,7 @@ Try evaluating this:
1862 1872
1863@need 1250 1873@need 1250
1864@noindent 1874@noindent
1865In GNU Emacs version 22, you will create a @file{*Backtrace*} buffer 1875You will create a @file{*Backtrace*} buffer that says:
1866that says:
1867 1876
1868@smallexample 1877@smallexample
1869@group 1878@group
@@ -1929,7 +1938,7 @@ Debugger entered--Lisp error: (void-variable +)
1929@end smallexample 1938@end smallexample
1930 1939
1931@noindent 1940@noindent
1932(As with the other times we entered the debugger, you can quit by 1941(Again, you can quit the debugger by
1933typing @kbd{q} in the @file{*Backtrace*} buffer.) 1942typing @kbd{q} in the @file{*Backtrace*} buffer.)
1934 1943
1935This backtrace is different from the very first error message we saw, 1944This backtrace is different from the very first error message we saw,
@@ -1943,7 +1952,7 @@ interpreter to evaluate the @code{+} and look for the value of the
1943variable instead of the function definition. We did this by placing the 1952variable instead of the function definition. We did this by placing the
1944cursor right after the symbol rather than after the parenthesis of the 1953cursor right after the symbol rather than after the parenthesis of the
1945enclosing list as we did before. As a consequence, the Lisp interpreter 1954enclosing list as we did before. As a consequence, the Lisp interpreter
1946evaluated the preceding s-expression, which in this case was the 1955evaluated the preceding s-expression, which in this case was
1947@code{+} by itself. 1956@code{+} by itself.
1948 1957
1949Since @code{+} does not have a value bound to it, just the function 1958Since @code{+} does not have a value bound to it, just the function
@@ -2183,8 +2192,7 @@ is that @code{+} has tried to add the 2 to the value returned by
2183could not carry out its addition. 2192could not carry out its addition.
2184 2193
2185@need 1250 2194@need 1250
2186In GNU Emacs version 22, you will create and enter a 2195You will create and enter a @file{*Backtrace*} buffer that says:
2187@file{*Backtrace*} buffer that says:
2188 2196
2189@noindent 2197@noindent
2190@smallexample 2198@smallexample
@@ -2912,7 +2920,7 @@ rather, to save typing, you probably only typed @kbd{RET} if the
2912default buffer was @file{*scratch*}, or if it was different, then you 2920default buffer was @file{*scratch*}, or if it was different, then you
2913typed just part of the name, such as @code{*sc}, pressed your 2921typed just part of the name, such as @code{*sc}, pressed your
2914@kbd{TAB} key to cause it to expand to the full name, and then typed 2922@kbd{TAB} key to cause it to expand to the full name, and then typed
2915your @kbd{RET} key.} when prompted in the minibuffer for the name of 2923@kbd{RET}.} when prompted in the minibuffer for the name of
2916the buffer to which you wanted to switch. The keystrokes, @kbd{C-x 2924the buffer to which you wanted to switch. The keystrokes, @kbd{C-x
2917b}, cause the Lisp interpreter to evaluate the interactive function 2925b}, cause the Lisp interpreter to evaluate the interactive function
2918@code{switch-to-buffer}. As we said before, this is how Emacs works: 2926@code{switch-to-buffer}. As we said before, this is how Emacs works:
@@ -2922,10 +2930,7 @@ different keystrokes call or run different functions. For example,
2922 2930
2923By writing @code{switch-to-buffer} in an expression, and giving it a 2931By writing @code{switch-to-buffer} in an expression, and giving it a
2924buffer to switch to, we can switch buffers just the way @kbd{C-x b} 2932buffer to switch to, we can switch buffers just the way @kbd{C-x b}
2925does. 2933does:
2926
2927@need 1000
2928Here is the Lisp expression:
2929 2934
2930@smallexample 2935@smallexample
2931(switch-to-buffer (other-buffer)) 2936(switch-to-buffer (other-buffer))
@@ -7722,6 +7727,7 @@ retrieved. @xref{Yanking, , Yanking Text Back}.
7722@section @code{zap-to-char} 7727@section @code{zap-to-char}
7723@findex zap-to-char 7728@findex zap-to-char
7724 7729
7730@c FIXME remove obsolete stuff
7725The @code{zap-to-char} function changed little between GNU Emacs 7731The @code{zap-to-char} function changed little between GNU Emacs
7726version 19 and GNU Emacs version 22. However, @code{zap-to-char} 7732version 19 and GNU Emacs version 22. However, @code{zap-to-char}
7727calls another function, @code{kill-region}, which enjoyed a major 7733calls another function, @code{kill-region}, which enjoyed a major
@@ -11508,9 +11514,10 @@ The example of a @code{while} loop that printed the elements of a list
11508of numbers can be written recursively. Here is the code, including 11514of numbers can be written recursively. Here is the code, including
11509an expression to set the value of the variable @code{animals} to a list. 11515an expression to set the value of the variable @code{animals} to a list.
11510 11516
11511If you are using GNU Emacs 20 or before, this example must be copied 11517If you are reading this in Info in Emacs, you can evaluate this
11512to the @file{*scratch*} buffer and each expression must be evaluated 11518expression directly in Info. Otherwise, you must copy the example
11513there. Use @kbd{C-u C-x C-e} to evaluate the 11519to the @file{*scratch*} buffer and evaluate each expression there.
11520Use @kbd{C-u C-x C-e} to evaluate the
11514@code{(print-elements-recursively animals)} expression so that the 11521@code{(print-elements-recursively animals)} expression so that the
11515results are printed in the buffer; otherwise the Lisp interpreter will 11522results are printed in the buffer; otherwise the Lisp interpreter will
11516try to squeeze the results into the one line of the echo area. 11523try to squeeze the results into the one line of the echo area.
@@ -11519,9 +11526,6 @@ Also, place your cursor immediately after the last closing parenthesis
11519of the @code{print-elements-recursively} function, before the comment. 11526of the @code{print-elements-recursively} function, before the comment.
11520Otherwise, the Lisp interpreter will try to evaluate the comment. 11527Otherwise, the Lisp interpreter will try to evaluate the comment.
11521 11528
11522If you are using a more recent version of Emacs, you can evaluate this
11523expression directly in Info.
11524
11525@findex print-elements-recursively 11529@findex print-elements-recursively
11526@smallexample 11530@smallexample
11527@group 11531@group
@@ -17949,7 +17953,7 @@ the following conditional:
17949@end group 17953@end group
17950@end smallexample 17954@end smallexample
17951 17955
17952For example, in contrast to version 20, more recent versions blink 17956For example, recent versions blink
17953their cursors by default. I hate such blinking, as well as other 17957their cursors by default. I hate such blinking, as well as other
17954features, so I placed the following in my @file{.emacs} 17958features, so I placed the following in my @file{.emacs}
17955file@footnote{When I start instances of Emacs that do not load my 17959file@footnote{When I start instances of Emacs that do not load my
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 77f47cdaae4..2d1134c6a89 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,24 @@
12012-05-05 Glenn Morris <rgm@gnu.org>
2
3 * objects.texi (Process Type, Overlay Type): Tweak page-breaks.
4
5 * intro.texi (Caveats): Copyedit.
6 (Lisp History): Convert inforef to xref.
7 (Lisp History, Printing Notation, Version Info): Improve page-breaks.
8
9 * text.texi (Auto Filling): Don't mention Emacs 19.
10
11 * commands.texi (Event Input Misc): Don't mention unread-command-char.
12 * numbers.texi (Predicates on Numbers): Don't mention Emacs 18.
13
14 * elisp.texi (DATE): Forgot to change the month in 2012-04-21 change.
15
162012-05-04 Glenn Morris <rgm@gnu.org>
17
18 * lists.texi (List-related Predicates, List Variables):
19 Tweak page-breaks.
20 (Sets And Lists): Convert inforef to xref.
21
12012-05-04 Glenn Morris <rgm@gnu.org> 222012-05-04 Glenn Morris <rgm@gnu.org>
2 23
3 * Makefile.in (INFO_EXT, INFO_OPTS): New, set by configure. 24 * Makefile.in (INFO_EXT, INFO_OPTS): New, set by configure.
diff --git a/doc/lispref/commands.texi b/doc/lispref/commands.texi
index dea838462bb..50c345b5b15 100644
--- a/doc/lispref/commands.texi
+++ b/doc/lispref/commands.texi
@@ -2703,6 +2703,7 @@ This function converts the string or vector @var{key} to a list of
2703individual events, which you can put in @code{unread-command-events}. 2703individual events, which you can put in @code{unread-command-events}.
2704@end defun 2704@end defun
2705 2705
2706@ignore
2706@defvar unread-command-char 2707@defvar unread-command-char
2707This variable holds a character to be read as command input. 2708This variable holds a character to be read as command input.
2708A value of -1 means ``empty''. 2709A value of -1 means ``empty''.
@@ -2711,6 +2712,7 @@ This variable is mostly obsolete now that you can use
2711@code{unread-command-events} instead; it exists only to support programs 2712@code{unread-command-events} instead; it exists only to support programs
2712written for Emacs versions 18 and earlier. 2713written for Emacs versions 18 and earlier.
2713@end defvar 2714@end defvar
2715@end ignore
2714 2716
2715@defun input-pending-p 2717@defun input-pending-p
2716@cindex waiting for command key input 2718@cindex waiting for command key input
diff --git a/doc/lispref/elisp.texi b/doc/lispref/elisp.texi
index cbec93c4f6c..5e0356ff1ff 100644
--- a/doc/lispref/elisp.texi
+++ b/doc/lispref/elisp.texi
@@ -9,7 +9,7 @@
9@c (See comments for EDITION in emacs.texi) 9@c (See comments for EDITION in emacs.texi)
10@set VERSION 3.1 10@set VERSION 3.1
11@include emacsver.texi 11@include emacsver.texi
12@set DATE July 2012 12@set DATE May 2012
13 13
14@c in general, keep the following line commented out, unless doing a 14@c in general, keep the following line commented out, unless doing a
15@c copy of this manual that will be published. The manual should go 15@c copy of this manual that will be published. The manual should go
diff --git a/doc/lispref/intro.texi b/doc/lispref/intro.texi
index 698bc8c125b..282d01c3504 100644
--- a/doc/lispref/intro.texi
+++ b/doc/lispref/intro.texi
@@ -73,7 +73,7 @@ real-life example for a function or group of functions, please make an
73effort to write it up and send it in. Please reference any comments to 73effort to write it up and send it in. Please reference any comments to
74the chapter name, section name, and function name, as appropriate, since 74the chapter name, section name, and function name, as appropriate, since
75page numbers and chapter and section numbers will change and we may have 75page numbers and chapter and section numbers will change and we may have
76trouble finding the text you are talking about. Also state the number 76trouble finding the text you are talking about. Also state the version
77of the edition you are criticizing. 77of the edition you are criticizing.
78@end iftex 78@end iftex
79@ifnottex 79@ifnottex
@@ -120,10 +120,10 @@ worry about it; this manual is self-contained.
120 120
121@pindex cl 121@pindex cl
122 A certain amount of Common Lisp emulation is available via the 122 A certain amount of Common Lisp emulation is available via the
123@file{cl} library. @inforef{Top, Overview, cl}. 123@file{cl} library. @xref{Top,, Overview, cl, Common Lisp Extensions}.
124 124
125 Emacs Lisp is not at all influenced by Scheme; but the GNU project has 125 Emacs Lisp is not at all influenced by Scheme; but the GNU project has
126an implementation of Scheme, called Guile. We use Guile in all new GNU 126an implementation of Scheme, called Guile. We use it in all new GNU
127software that calls for extensibility. 127software that calls for extensibility.
128 128
129@node Conventions 129@node Conventions
@@ -257,7 +257,7 @@ displayed in the echo area.
257 257
258 Examples in this manual indicate printed text with @samp{@print{}}, 258 Examples in this manual indicate printed text with @samp{@print{}},
259irrespective of where that text goes. The value returned by 259irrespective of where that text goes. The value returned by
260evaluating the form (here @code{bar}) follows on a separate line with 260evaluating the form follows on a separate line with
261@samp{@result{}}. 261@samp{@result{}}.
262 262
263@example 263@example
@@ -510,8 +510,6 @@ numeric components, such as @code{"22.0.91.1"}, indicates an
510unreleased test version. 510unreleased test version.
511@end defvar 511@end defvar
512 512
513 The following two variables have existed since Emacs version 19.23:
514
515@defvar emacs-major-version 513@defvar emacs-major-version
516The major version number of Emacs, as an integer. For Emacs version 514The major version number of Emacs, as an integer. For Emacs version
51723.1, the value is 23. 51523.1, the value is 23.
diff --git a/doc/lispref/lists.texi b/doc/lispref/lists.texi
index 423bc7b6d8a..82a796c6700 100644
--- a/doc/lispref/lists.texi
+++ b/doc/lispref/lists.texi
@@ -87,7 +87,7 @@ structure made out of cons cells as a @dfn{list structure}.
87whether it is a cons cell or is a list, or whether it is the 87whether it is a cons cell or is a list, or whether it is the
88distinguished object @code{nil}. (Many of these predicates can be 88distinguished object @code{nil}. (Many of these predicates can be
89defined in terms of the others, but they are used so often that it is 89defined in terms of the others, but they are used so often that it is
90worth having all of them.) 90worth having them.)
91 91
92@defun consp object 92@defun consp object
93This function returns @code{t} if @var{object} is a cons cell, @code{nil} 93This function returns @code{t} if @var{object} is a cons cell, @code{nil}
@@ -763,8 +763,7 @@ if it already has one; otherwise, it is equivalent to @code{nil}.
763 763
764The argument @var{symbol} is not implicitly quoted; 764The argument @var{symbol} is not implicitly quoted;
765@code{add-to-ordered-list} is an ordinary function, like @code{set} 765@code{add-to-ordered-list} is an ordinary function, like @code{set}
766and unlike @code{setq}. Quote the argument yourself if that is what 766and unlike @code{setq}. Quote the argument yourself if necessary.
767you want.
768 767
769The ordering information is stored in a hash table on @var{symbol}'s 768The ordering information is stored in a hash table on @var{symbol}'s
770@code{list-order} property. 769@code{list-order} property.
@@ -1269,7 +1268,7 @@ functions for sets include @code{memq} and @code{delq}, and their
1269@b{Common Lisp note:} Common Lisp has functions @code{union} (which 1268@b{Common Lisp note:} Common Lisp has functions @code{union} (which
1270avoids duplicate elements) and @code{intersection} for set operations. 1269avoids duplicate elements) and @code{intersection} for set operations.
1271Although standard GNU Emacs Lisp does not have them, the @file{cl} 1270Although standard GNU Emacs Lisp does not have them, the @file{cl}
1272library provides versions. @inforef{Top, Overview, cl}. 1271library provides versions. @xref{Top,, Overview, cl, Common Lisp Extensions}.
1273@end quotation 1272@end quotation
1274 1273
1275@defun memq object list 1274@defun memq object list
diff --git a/doc/lispref/numbers.texi b/doc/lispref/numbers.texi
index 02d306b3f75..f19dea69036 100644
--- a/doc/lispref/numbers.texi
+++ b/doc/lispref/numbers.texi
@@ -267,8 +267,6 @@ its argument. See also @code{integer-or-marker-p} and
267@defun floatp object 267@defun floatp object
268This predicate tests whether its argument is a floating point 268This predicate tests whether its argument is a floating point
269number and returns @code{t} if so, @code{nil} otherwise. 269number and returns @code{t} if so, @code{nil} otherwise.
270
271@code{floatp} does not exist in Emacs versions 18 and earlier.
272@end defun 270@end defun
273 271
274@defun integerp object 272@defun integerp object
diff --git a/doc/lispref/objects.texi b/doc/lispref/objects.texi
index b49d2bc05fe..f43b8d803f5 100644
--- a/doc/lispref/objects.texi
+++ b/doc/lispref/objects.texi
@@ -1567,7 +1567,6 @@ runs in a process of this sort. However, in Emacs Lisp, a process is a
1567Lisp object that designates a subprocess created by the Emacs process. 1567Lisp object that designates a subprocess created by the Emacs process.
1568Programs such as shells, GDB, ftp, and compilers, running in 1568Programs such as shells, GDB, ftp, and compilers, running in
1569subprocesses of Emacs, extend the capabilities of Emacs. 1569subprocesses of Emacs, extend the capabilities of Emacs.
1570
1571 An Emacs subprocess takes textual input from Emacs and returns textual 1570 An Emacs subprocess takes textual input from Emacs and returns textual
1572output to Emacs for further manipulation. Emacs can also send signals 1571output to Emacs for further manipulation. Emacs can also send signals
1573to the subprocess. 1572to the subprocess.
@@ -1631,7 +1630,7 @@ buffer temporarily in a different display style. Overlays have no read
1631syntax, and print in hash notation, giving the buffer name and range of 1630syntax, and print in hash notation, giving the buffer name and range of
1632positions. 1631positions.
1633 1632
1634 @xref{Overlays}, for how to create and use overlays. 1633 @xref{Overlays}, for information on how you can create and use overlays.
1635 1634
1636@node Font Type 1635@node Font Type
1637@subsection Font Type 1636@subsection Font Type
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi
index 1178c294892..09ea37a96ba 100644
--- a/doc/lispref/text.texi
+++ b/doc/lispref/text.texi
@@ -1799,12 +1799,6 @@ special is done in that case.
1799The value of @code{auto-fill-function} is @code{do-auto-fill} when 1799The value of @code{auto-fill-function} is @code{do-auto-fill} when
1800Auto-Fill mode is enabled. That is a function whose sole purpose is to 1800Auto-Fill mode is enabled. That is a function whose sole purpose is to
1801implement the usual strategy for breaking a line. 1801implement the usual strategy for breaking a line.
1802
1803@quotation
1804In older Emacs versions, this variable was named @code{auto-fill-hook},
1805but since it is not called with the standard convention for hooks, it
1806was renamed to @code{auto-fill-function} in version 19.
1807@end quotation
1808@end defvar 1802@end defvar
1809 1803
1810@defvar normal-auto-fill-function 1804@defvar normal-auto-fill-function
diff --git a/etc/refcards/README b/etc/refcards/README
index a1fa2f063b5..0372826416e 100644
--- a/etc/refcards/README
+++ b/etc/refcards/README
@@ -1,8 +1,11 @@
1Some of the *.tex files need special versions of TeX to typeset them. 1To generate these refcards, you need to install the TeX document
2The files cs-*.tex and sk-*.tex need csTeX, a special version of TeX 2production system. For example, http://www.tug.org/texlive/ .
3tailored to typesetting Czech and Slovak documents. We provide 3
4generated files for these documents, so that you could print them 4All modern GNU/Linux distributions provide TeX packages, so the
5without installing the modified TeX versions. 5easiest way is just to install those. Your distribution may have
6split some of the files needed to process non-English output into
7separate, optional packages such as: texlive-lang-cyrillic,
8texlive-lang-czechslovak, texlive-lang-german, and texlive-lang-polish.
6 9
7 10
8COPYRIGHT AND LICENSE INFORMATION FOR IMAGE FILES 11COPYRIGHT AND LICENSE INFORMATION FOR IMAGE FILES
@@ -12,5 +15,5 @@ it is reproduced here for convenience.
12 15
13File: gnus-logo.eps, gnus-logo.pdf 16File: gnus-logo.eps, gnus-logo.pdf
14 Author: Luis Fernandes <elf@ee.ryerson.ca> 17 Author: Luis Fernandes <elf@ee.ryerson.ca>
15 Copyright (C) 2001-2012 Free Software Foundation, Inc. 18 Copyright (C) 2001-2012 Free Software Foundation, Inc.
16 License: GNU General Public License version 3 or later (see COPYING) 19 License: GNU General Public License version 3 or later (see COPYING)
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index 79c4e0e10cb..cf7494cb5d5 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,3 +1,8 @@
12012-05-05 Jim Meyering <meyering@redhat.com>
2
3 * lib-src/pop.c (pop_stat, pop_list, pop_multi_first, pop_last):
4 NUL-terminate the error buffer (Bug#11372).
5
12012-05-02 Juanma Barranquero <lekktu@gmail.com> 62012-05-02 Juanma Barranquero <lekktu@gmail.com>
2 7
3 * emacsclient.c (min): Undef before redefining it. 8 * emacsclient.c (min): Undef before redefining it.
diff --git a/lib-src/pop.c b/lib-src/pop.c
index 37494d17a44..c4c7f2b4e2f 100644
--- a/lib-src/pop.c
+++ b/lib-src/pop.c
@@ -346,6 +346,7 @@ pop_stat (popserver server, int *count, int *size)
346 if (0 == strncmp (fromserver, "-ERR", 4)) 346 if (0 == strncmp (fromserver, "-ERR", 4))
347 { 347 {
348 strncpy (pop_error, fromserver, ERROR_MAX); 348 strncpy (pop_error, fromserver, ERROR_MAX);
349 pop_error[ERROR_MAX-1] = '\0';
349 } 350 }
350 else 351 else
351 { 352 {
@@ -447,7 +448,10 @@ pop_list (popserver server, int message, int **IDs, int **sizes)
447 if (strncmp (fromserver, "+OK ", 4)) 448 if (strncmp (fromserver, "+OK ", 4))
448 { 449 {
449 if (! strncmp (fromserver, "-ERR", 4)) 450 if (! strncmp (fromserver, "-ERR", 4))
450 strncpy (pop_error, fromserver, ERROR_MAX); 451 {
452 strncpy (pop_error, fromserver, ERROR_MAX);
453 pop_error[ERROR_MAX-1] = '\0';
454 }
451 else 455 else
452 { 456 {
453 strcpy (pop_error, 457 strcpy (pop_error,
@@ -687,6 +691,7 @@ pop_multi_first (popserver server, const char *command, char **response)
687 if (0 == strncmp (*response, "-ERR", 4)) 691 if (0 == strncmp (*response, "-ERR", 4))
688 { 692 {
689 strncpy (pop_error, *response, ERROR_MAX); 693 strncpy (pop_error, *response, ERROR_MAX);
694 pop_error[ERROR_MAX-1] = '\0';
690 return (-1); 695 return (-1);
691 } 696 }
692 else if (0 == strncmp (*response, "+OK", 3)) 697 else if (0 == strncmp (*response, "+OK", 3))
@@ -860,6 +865,7 @@ pop_last (popserver server)
860 if (! strncmp (fromserver, "-ERR", 4)) 865 if (! strncmp (fromserver, "-ERR", 4))
861 { 866 {
862 strncpy (pop_error, fromserver, ERROR_MAX); 867 strncpy (pop_error, fromserver, ERROR_MAX);
868 pop_error[ERROR_MAX-1] = '\0';
863 return (-1); 869 return (-1);
864 } 870 }
865 else if (strncmp (fromserver, "+OK ", 4)) 871 else if (strncmp (fromserver, "+OK ", 4))
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index fcefb166ecb..76d3e2482c3 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12012-05-04 Chong Yidong <cyd@gnu.org>
2
3 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
4 Nextstep.
5
12012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change) 62012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
2 7
3 * files.el (file-auto-mode-skip): New var. 8 * files.el (file-auto-mode-skip): New var.
diff --git a/lisp/select.el b/lisp/select.el
index 3948fcc5456..d3153a0ce0e 100644
--- a/lisp/select.el
+++ b/lisp/select.el
@@ -228,24 +228,30 @@ two markers or an overlay. Otherwise, it is nil."
228 ;; But avoid modifying the string if it's a buffer name etc. 228 ;; But avoid modifying the string if it's a buffer name etc.
229 (unless can-modify (setq str (substring str 0))) 229 (unless can-modify (setq str (substring str 0)))
230 (remove-text-properties 0 (length str) '(composition nil) str) 230 (remove-text-properties 0 (length str) '(composition nil) str)
231 ;; TEXT is a polymorphic target. Select the actual type 231 ;; For X selections, TEXT is a polymorphic target; choose
232 ;; from `UTF8_STRING', `COMPOUND_TEXT', `STRING', and 232 ;; the actual type from `UTF8_STRING', `COMPOUND_TEXT',
233 ;; `C_STRING'. 233 ;; `STRING', and `C_STRING'. On Nextstep, always use UTF-8
234 (if (eq type 'TEXT) 234 ;; (see ns_string_to_pasteboard_internal in nsselect.m).
235 (if (not (multibyte-string-p str)) 235 (when (eq type 'TEXT)
236 (setq type 'C_STRING) 236 (cond
237 (let (non-latin-1 non-unicode eight-bit) 237 ((featurep 'ns)
238 (mapc #'(lambda (x) 238 (setq type 'UTF8_STRING))
239 (if (>= x #x100) 239 ((not (multibyte-string-p str))
240 (if (< x #x110000) 240 (setq type 'C_STRING))
241 (setq non-latin-1 t) 241 (t
242 (if (< x #x3FFF80) 242 (let (non-latin-1 non-unicode eight-bit)
243 (setq non-unicode t) 243 (mapc #'(lambda (x)
244 (setq eight-bit t))))) 244 (if (>= x #x100)
245 str) 245 (if (< x #x110000)
246 (setq type (if non-unicode 'COMPOUND_TEXT 246 (setq non-latin-1 t)
247 (if non-latin-1 'UTF8_STRING 247 (if (< x #x3FFF80)
248 (if eight-bit 'C_STRING 'STRING))))))) 248 (setq non-unicode t)
249 (setq eight-bit t)))))
250 str)
251 (setq type (if non-unicode 'COMPOUND_TEXT
252 (if non-latin-1 'UTF8_STRING
253 (if eight-bit 'C_STRING
254 'STRING))))))))
249 (cond 255 (cond
250 ((eq type 'UTF8_STRING) 256 ((eq type 'UTF8_STRING)
251 (if (or (not coding) 257 (if (or (not coding)
diff --git a/src/ChangeLog b/src/ChangeLog
index 8063c8d8166..a4d7bb64919 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12012-05-05 Jim Meyering <meyering@redhat.com>
2
3 * w32font.c (fill_in_logfont): NUL-terminate a string (Bug#11372).
4
12012-05-04 Stefan Monnier <monnier@iro.umontreal.ca> 52012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2 6
3 * data.c (PUT_ERROR): New macro. 7 * data.c (PUT_ERROR): New macro.
diff --git a/src/w32font.c b/src/w32font.c
index dab9f4c61b4..8badace9635 100644
--- a/src/w32font.c
+++ b/src/w32font.c
@@ -2045,8 +2045,11 @@ fill_in_logfont (FRAME_PTR f, LOGFONT *logfont, Lisp_Object font_spec)
2045 /* Font families are interned, but allow for strings also in case of 2045 /* Font families are interned, but allow for strings also in case of
2046 user input. */ 2046 user input. */
2047 else if (SYMBOLP (tmp)) 2047 else if (SYMBOLP (tmp))
2048 strncpy (logfont->lfFaceName, 2048 {
2049 SDATA (ENCODE_SYSTEM (SYMBOL_NAME (tmp))), LF_FACESIZE); 2049 strncpy (logfont->lfFaceName,
2050 SDATA (ENCODE_SYSTEM (SYMBOL_NAME (tmp))), LF_FACESIZE);
2051 logfont->lfFaceName[LF_FACESIZE-1] = '\0';
2052 }
2050 } 2053 }
2051 2054
2052 tmp = AREF (font_spec, FONT_ADSTYLE_INDEX); 2055 tmp = AREF (font_spec, FONT_ADSTYLE_INDEX);