aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2015-04-08 11:52:12 +0200
committerMichael Albinus2015-04-08 11:52:12 +0200
commit74079cd58ba81b3ec81d44b474ad66ea2c99272d (patch)
tree33ca2980fb0d86fddd7325fa2e368bae53819ad4
parentb3f2874de2b6e31df34a7515aa09e10f01e9b8a6 (diff)
parent1ba357e30518fdcc0b870870152f5434cb2540ba (diff)
downloademacs-74079cd58ba81b3ec81d44b474ad66ea2c99272d.tar.gz
emacs-74079cd58ba81b3ec81d44b474ad66ea2c99272d.zip
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
-rw-r--r--doc/man/ebrowse.12
-rw-r--r--doc/man/emacs.1.in14
-rw-r--r--doc/man/emacsclient.132
-rw-r--r--doc/man/etags.110
-rw-r--r--doc/misc/eshell.texi10
-rw-r--r--etc/PROBLEMS62
-rw-r--r--lisp/ffap.el2
-rw-r--r--lisp/files.el24
-rw-r--r--lisp/misearch.el7
-rw-r--r--lisp/progmodes/cc-fonts.el45
10 files changed, 119 insertions, 89 deletions
diff --git a/doc/man/ebrowse.1 b/doc/man/ebrowse.1
index a4f0c790be5..40c82a46482 100644
--- a/doc/man/ebrowse.1
+++ b/doc/man/ebrowse.1
@@ -16,7 +16,7 @@ is used to create the database used by the class browser in Emacs.
16.PP 16.PP
17.SH OPTIONS 17.SH OPTIONS
18The program follows the usual GNU command line syntax, with long 18The program follows the usual GNU command line syntax, with long
19options starting with two dashes (`-'). 19options starting with two dashes ("\-").
20.TP 20.TP
21.B \-a, \-\-append 21.B \-a, \-\-append
22append output to existing file 22append output to existing file
diff --git a/doc/man/emacs.1.in b/doc/man/emacs.1.in
index 259acb9bba8..98322aac810 100644
--- a/doc/man/emacs.1.in
+++ b/doc/man/emacs.1.in
@@ -251,8 +251,8 @@ Set additional X resources.
251.BI "\-\-color\fR,\fP \-\-color=" mode 251.BI "\-\-color\fR,\fP \-\-color=" mode
252Override color mode for character terminals; 252Override color mode for character terminals;
253.I mode 253.I mode
254defaults to `auto', and can also be `never', `auto', `always', 254defaults to "auto", and can also be "never", "auto", "always",
255or a mode name like `ansi8'. 255or a mode name like "ansi8".
256.TP 256.TP
257.BI \-bw " pixels\fR,\fP " \-\-border\-width " pixels" 257.BI \-bw " pixels\fR,\fP " \-\-border\-width " pixels"
258Set the 258Set the
@@ -420,8 +420,8 @@ The value can be one of
420.IR fullwidth , 420.IR fullwidth ,
421or 421or
422.IR fullheight , 422.IR fullheight ,
423which correspond to the command-line options `\-fs', `\-mm', `\-fw', 423which correspond to the command-line options "\-fs", "\-mm", "\-fw",
424and `\-fh', respectively. 424and "\-fh", respectively.
425Note that this applies to the initial frame only. 425Note that this applies to the initial frame only.
426.TP 426.TP
427.BR geometry " (class " Geometry ) 427.BR geometry " (class " Geometry )
@@ -482,11 +482,11 @@ the window will be displayed in reverse video.
482.TP 482.TP
483.BR screenGamma " (class "ScreenGamma ) 483.BR screenGamma " (class "ScreenGamma )
484Gamma correction for colors, equivalent to the frame parameter 484Gamma correction for colors, equivalent to the frame parameter
485`screen\-gamma'. 485"screen\-gamma".
486.TP 486.TP
487.BR scrollBarWidth " (class "ScrollBarWidth ) 487.BR scrollBarWidth " (class "ScrollBarWidth )
488The scroll bar width in pixels, equivalent to the frame parameter 488The scroll bar width in pixels, equivalent to the frame parameter
489`scroll\-bar\-width'. 489"scroll\-bar\-width".
490.TP 490.TP
491.BR selectionFont " (class " SelectionFont ) 491.BR selectionFont " (class " SelectionFont )
492Font name for pop-up menu items, in non-toolkit versions of 492Font name for pop-up menu items, in non-toolkit versions of
@@ -583,7 +583,7 @@ There is a mailing list, @PACKAGE_BUGREPORT@, for reporting Emacs
583bugs and fixes. 583bugs and fixes.
584But before reporting something as a bug, please try to be sure that 584But before reporting something as a bug, please try to be sure that
585it really is a bug, not a misunderstanding or a deliberate feature. 585it really is a bug, not a misunderstanding or a deliberate feature.
586We ask you to read the section ``Reporting Bugs'' in the Emacs manual 586We ask you to read the section "Reporting Bugs" in the Emacs manual
587for hints on how and when to report bugs. 587for hints on how and when to report bugs.
588Also, include the version number of the Emacs you are running in 588Also, include the version number of the Emacs you are running in
589\fIevery\fR bug report that you send in. 589\fIevery\fR bug report that you send in.
diff --git a/doc/man/emacsclient.1 b/doc/man/emacsclient.1
index 6930271e548..e62fe930152 100644
--- a/doc/man/emacsclient.1
+++ b/doc/man/emacsclient.1
@@ -31,28 +31,31 @@ default editor.
31For 31For
32.B emacsclient 32.B emacsclient
33to work, you need an already running Emacs with a server. Within Emacs, 33to work, you need an already running Emacs with a server. Within Emacs,
34call the functions `server-start' or `server-mode'. (Your `.emacs' file 34call the functions "server-start" or "server-mode". (Your ".emacs" file
35can do this automatically if you add either `(server-start)' or 35can do this automatically if you add either "(server-start)" or
36`(server-mode 1)' to it.) 36"(server-mode 1)" to it.)
37 37
38When you've finished editing the buffer, type `C-x #' 38When you've finished editing the buffer, type "C-x #"
39(`server-edit'). This saves the file and sends a message back to the 39("server-edit"). This saves the file and sends a message back to the
40`emacsclient' program telling it to exit. The programs that use 40.B emacsclient
41`EDITOR' wait for the "editor" (actually, `emacsclient') to exit. `C-x 41program telling it to exit. The programs that use
42#' also checks for other pending external requests to edit various 42EDITOR wait for the "editor" (actually,
43.BR emacsclient )
44to exit. "C-x #" also checks for other pending external requests to
45edit various
43files, and selects the next such file. 46files, and selects the next such file.
44 47
45If you set the variable `server-window' to a window or a frame, `C-x 48If you set the variable "server-window" to a window or a frame, "C-x
46#' displays the server buffer in that window or in that frame. 49#" displays the server buffer in that window or in that frame.
47 50
48.SH OPTIONS 51.SH OPTIONS
49The programs follow the usual GNU command line syntax, with long 52The programs follow the usual GNU command line syntax, with long
50options starting with two dashes (`-'). 53options starting with two dashes ("\-").
51.TP 54.TP
52.B \-a, \-\-alternate-editor=EDITOR 55.B \-a, \-\-alternate-editor=EDITOR
53if the Emacs server is not running, run the specified editor instead. 56if the Emacs server is not running, run the specified editor instead.
54This can also be specified via the `ALTERNATE_EDITOR' environment variable. 57This can also be specified via the ALTERNATE_EDITOR environment variable.
55If the value of EDITOR is the empty string, run `emacs \-\-daemon' to 58If the value of EDITOR is the empty string, run "emacs \-\-daemon" to
56start Emacs in daemon mode, and try to connect to it. 59start Emacs in daemon mode, and try to connect to it.
57.TP 60.TP
58.B -c, \-\-create-frame 61.B -c, \-\-create-frame
@@ -70,7 +73,7 @@ Lisp expressions.
70.TP 73.TP
71.B \-f, \-\-server-file=FILENAME 74.B \-f, \-\-server-file=FILENAME
72use TCP configuration file FILENAME for communication. 75use TCP configuration file FILENAME for communication.
73This can also be specified via the `EMACS_SERVER_FILE' environment variable. 76This can also be specified via the EMACS_SERVER_FILE environment variable.
74.TP 77.TP
75.B \-n, \-\-no-wait 78.B \-n, \-\-no-wait
76returns 79returns
@@ -99,4 +102,3 @@ This manual page was written by Stephane Bortzmeyer <bortzmeyer@debian.org>,
99for the Debian GNU/Linux system (but may be used by others). 102for the Debian GNU/Linux system (but may be used by others).
100.SH COPYING 103.SH COPYING
101This manual page is in the public domain. 104This manual page is in the public domain.
102
diff --git a/doc/man/etags.1 b/doc/man/etags.1
index 08db3430d35..245d9b48198 100644
--- a/doc/man/etags.1
+++ b/doc/man/etags.1
@@ -80,8 +80,8 @@ Append to existing tag file. (For \fBvi\fP-format tag files, see also
80.B \-B, \-\-backward\-search 80.B \-B, \-\-backward\-search
81Tag files written in the format expected by \fBvi\fP contain regular 81Tag files written in the format expected by \fBvi\fP contain regular
82expression search instructions; the \fB\-B\fP option writes them using 82expression search instructions; the \fB\-B\fP option writes them using
83the delimiter `\|\fB?\fP\|', to search \fIbackwards\fP through files. 83the delimiter "\|\fB?\fP\|", to search \fIbackwards\fP through files.
84The default is to use the delimiter `\|\fB/\fP\|', to search \fIforwards\fP 84The default is to use the delimiter "\|\fB/\fP\|", to search \fIforwards\fP
85through files. 85through files.
86Only \fBctags\fP accepts this option. 86Only \fBctags\fP accepts this option.
87.TP 87.TP
@@ -117,8 +117,8 @@ final brace of a function or structure definition in C and C++.
117Parse the following files according to the given language. More than 117Parse the following files according to the given language. More than
118one such options may be intermixed with filenames. Use \fB\-\-help\fP 118one such options may be intermixed with filenames. Use \fB\-\-help\fP
119to get a list of the available languages and their default filename 119to get a list of the available languages and their default filename
120extensions. The `auto' language can be used to restore automatic 120extensions. The "auto" language can be used to restore automatic
121detection of language based on the file name. The `none' 121detection of language based on the file name. The "none"
122language may be used to disable language parsing altogether; only 122language may be used to disable language parsing altogether; only
123regexp matching is done in this case (see the \fB\-\-regex\fP option). 123regexp matching is done in this case (see the \fB\-\-regex\fP option).
124.TP 124.TP
@@ -256,7 +256,7 @@ Print the current version of the program (same as the version of the
256emacs \fBetags\fP is shipped with). 256emacs \fBetags\fP is shipped with).
257 257
258.SH "SEE ALSO" 258.SH "SEE ALSO"
259`\|\fBemacs\fP\|' entry in \fBinfo\fP; \fIGNU Emacs Manual\fP, Richard 259"\|\fBemacs\fP\|" entry in \fBinfo\fP; \fIGNU Emacs Manual\fP, Richard
260Stallman. 260Stallman.
261.br 261.br
262.BR cxref ( 1 ), 262.BR cxref ( 1 ),
diff --git a/doc/misc/eshell.texi b/doc/misc/eshell.texi
index 6d57a78d170..4ed894e5a4c 100644
--- a/doc/misc/eshell.texi
+++ b/doc/misc/eshell.texi
@@ -654,6 +654,16 @@ not @samp{git status} -- use @code{eshell-visual-subcommands}; and for
654commands that are visual only when passed certain options, use 654commands that are visual only when passed certain options, use
655@code{eshell-visual-options}. 655@code{eshell-visual-options}.
656 656
657Caution: Some tools such as Git use the pager @samp{less} by default
658to paginate their output but call it with its @samp{-F} option. This
659option causes @samp{less} to echo the output instead of paginating it
660if the output is less than one page long. This causes undesirable
661behavior if, e.g., @samp{git diff}, is defined as a visual subcommand.
662It'll work if the output is big enough and fail if it is less than one
663page long. If that occurs to you, search for configuration options
664for calling @samp{less} without the @samp{-F} option. For Git, you
665can do that using @samp{git config --global core.pager 'less -+F'}.
666
657@section Redirection 667@section Redirection
658Redirection is mostly the same in Eshell as it is in other command 668Redirection is mostly the same in Eshell as it is in other command
659shells. The output redirection operators @code{>} and @code{>>} as 669shells. The output redirection operators @code{>} and @code{>>} as
diff --git a/etc/PROBLEMS b/etc/PROBLEMS
index 87d3ec83700..c618309aca0 100644
--- a/etc/PROBLEMS
+++ b/etc/PROBLEMS
@@ -26,6 +26,9 @@ A typical error message might be something like
26This happens because some X resource specifies a bad font family for 26This happens because some X resource specifies a bad font family for
27Emacs to use. The possible places where this specification might be are: 27Emacs to use. The possible places where this specification might be are:
28 28
29 - in the X server resources database, often initialized from
30 ~/.Xresources (use $ xrdb -query to find out the current state)
31
29 - in your ~/.Xdefaults file 32 - in your ~/.Xdefaults file
30 33
31 - client-side X resource file, such as ~/Emacs or 34 - client-side X resource file, such as ~/Emacs or
@@ -35,6 +38,12 @@ One of these files might have bad or malformed specification of a
35fontset that Emacs should use. To fix the problem, you need to find 38fontset that Emacs should use. To fix the problem, you need to find
36the problematic line(s) and correct them. 39the problematic line(s) and correct them.
37 40
41After correcting ~/.Xresources, the new data has to be merged into the
42X server resources database. Depending on the circumstances, the
43following command may do the trick. See xrdb(1) for more information.
44
45 $ xrdb -merge ~/.Xresources
46
38** Emacs aborts while starting up, only when run without X. 47** Emacs aborts while starting up, only when run without X.
39 48
40This problem often results from compiling Emacs with GCC when GCC was 49This problem often results from compiling Emacs with GCC when GCC was
@@ -270,8 +279,7 @@ The error message might be something like this:
270 279
271This happens because epop3 redefines the function gethash, which is a 280This happens because epop3 redefines the function gethash, which is a
272built-in primitive beginning with Emacs 21.1. We don't have a patch 281built-in primitive beginning with Emacs 21.1. We don't have a patch
273for epop3 that fixes this, but perhaps a newer version of epop3 282for epop3 to fix it, but perhaps a newer version of epop3 corrects that.
274corrects that.
275 283
276*** Buffers from `with-output-to-temp-buffer' get set up in Help mode. 284*** Buffers from `with-output-to-temp-buffer' get set up in Help mode.
277 285
@@ -507,7 +515,7 @@ time. Possible reasons for this include:
507 515
508To work around the problem, you could either (a) set the variable 516To work around the problem, you could either (a) set the variable
509`directory-free-space-program' to nil, and thus prevent Emacs from 517`directory-free-space-program' to nil, and thus prevent Emacs from
510invoking `df'; (b) use `df' from the GNU Fileutils package; or 518invoking `df'; (b) use `df' from the GNU Coreutils package; or
511(c) use CVS, which is Free Software, instead of ClearCase. 519(c) use CVS, which is Free Software, instead of ClearCase.
512 520
513*** ps-print commands fail to find prologue files ps-prin*.ps. 521*** ps-print commands fail to find prologue files ps-prin*.ps.
@@ -600,7 +608,7 @@ For example, XFree86 4.3.0 has one version and Gnome usually comes
600with a newer version. Emacs compiled with Gtk+ will then use the 608with a newer version. Emacs compiled with Gtk+ will then use the
601newer version. In most cases the problem can be temporarily fixed by 609newer version. In most cases the problem can be temporarily fixed by
602stopping the application that has the error (it can be Emacs or any 610stopping the application that has the error (it can be Emacs or any
603other application), removing ~/.fonts.cache-1, and then start the 611other application), removing ~/.fonts.cache-1, and then starting the
604application again. If removing ~/.fonts.cache-1 and restarting 612application again. If removing ~/.fonts.cache-1 and restarting
605doesn't help, the application with problem must be recompiled with the 613doesn't help, the application with problem must be recompiled with the
606same version of FontConfig as the rest of the system uses. For KDE, 614same version of FontConfig as the rest of the system uses. For KDE,
@@ -700,7 +708,7 @@ frame's parameter list, like this:
700** Underlines appear at the wrong position. 708** Underlines appear at the wrong position.
701 709
702This is caused by fonts having a wrong UNDERLINE_POSITION property. 710This is caused by fonts having a wrong UNDERLINE_POSITION property.
703Examples are the font 7x13 on XFree prior to version 4.1, or the jmk 711Examples are the 7x13 font on XFree86 prior to version 4.1, or the jmk
704neep font from the Debian xfonts-jmk package prior to version 3.0.17. 712neep font from the Debian xfonts-jmk package prior to version 3.0.17.
705To circumvent this problem, set x-use-underline-position-properties 713To circumvent this problem, set x-use-underline-position-properties
706to nil in your `.emacs'. 714to nil in your `.emacs'.
@@ -823,7 +831,7 @@ If all users at your site of a particular keyboard prefer Meta to
823Compose, you can make the remapping happen automatically by adding the 831Compose, you can make the remapping happen automatically by adding the
824xmodmap command to the xdm setup script for that display. 832xmodmap command to the xdm setup script for that display.
825 833
826*** Using X Windows, control-shift-leftbutton makes Emacs hang. 834*** Using X Window System, control-shift-leftbutton makes Emacs hang.
827 835
828Use the shell command `xset bc' to make the old X Menu package work. 836Use the shell command `xset bc' to make the old X Menu package work.
829 837
@@ -987,8 +995,8 @@ while, Emacs may print a message:
987 995
988 Timed out waiting for property-notify event 996 Timed out waiting for property-notify event
989 997
990A workaround is to not use `klipper'. An upgrade to the `klipper' that 998A workaround is to not use `klipper'. Upgrading `klipper' to the one
991comes with KDE 3.3 or later also solves the problem. 999coming with KDE 3.3 or later also solves the problem.
992 1000
993*** CDE: Frames may cover dialogs they created when using CDE. 1001*** CDE: Frames may cover dialogs they created when using CDE.
994 1002
@@ -1113,8 +1121,8 @@ be carried out at the same time:
1113 (menu-bar-mode -1) 1121 (menu-bar-mode -1)
1114 (tool-bar-mode -1) 1122 (tool-bar-mode -1)
1115 1123
1116 For still quicker startup, put these X resources in your .Xdefaults 1124 For still quicker startup, put these X resources in your
1117 file: 1125 .Xresources or .Xdefaults file:
1118 1126
1119 Emacs.verticalScrollBars: off 1127 Emacs.verticalScrollBars: off
1120 Emacs.menuBar: off 1128 Emacs.menuBar: off
@@ -1133,7 +1141,7 @@ be carried out at the same time:
1133 -noatomsfile -nowinattr -cheaterrors -cheatevents 1141 -noatomsfile -nowinattr -cheaterrors -cheatevents
1134 Note that the -nograbcmap option is known to cause problems. 1142 Note that the -nograbcmap option is known to cause problems.
1135 For more about lbxproxy, see: 1143 For more about lbxproxy, see:
1136 http://www.xfree86.org/4.3.0/lbxproxy.1.html 1144 http://www.x.org/archive/X11R6.8.0/doc/lbxproxy.1.html
1137 1145
11385) If copying and killing is slow, try to disable the interaction with the 11465) If copying and killing is slow, try to disable the interaction with the
1139 native system's clipboard by adding these lines to your .emacs file: 1147 native system's clipboard by adding these lines to your .emacs file:
@@ -1201,17 +1209,17 @@ To check thoroughly for such resource specifications, use `xrdb
1201-query' to see what resources the X server records, and also look at 1209-query' to see what resources the X server records, and also look at
1202the user's ~/.Xdefaults and ~/.Xdefaults-* files. 1210the user's ~/.Xdefaults and ~/.Xdefaults-* files.
1203 1211
1204*** Emacs running under X Windows does not handle mouse clicks. 1212*** Emacs running under X Window System does not handle mouse clicks.
1205*** `emacs -geometry 80x20' finds a file named `80x20'. 1213*** `emacs -geometry 80x20' finds a file named `80x20'.
1206 1214
1207One cause of such problems is having (setq term-file-prefix nil) in 1215One cause of such problems is having (setq term-file-prefix nil) in
1208your .emacs file. Another cause is a bad value of EMACSLOADPATH in 1216your .emacs file. Another cause is a bad value of EMACSLOADPATH in
1209the environment. 1217the environment.
1210 1218
1211*** X Windows doesn't work if DISPLAY uses a hostname. 1219*** X doesn't work if DISPLAY uses a hostname.
1212 1220
1213People have reported kernel bugs in certain systems that cause Emacs 1221People have reported kernel bugs in certain systems that cause Emacs
1214not to work with X Windows if DISPLAY is set using a host name. But 1222not to work with X if DISPLAY is set using a host name. But
1215the problem does not occur if DISPLAY is set to `unix:0.0'. I think 1223the problem does not occur if DISPLAY is set to `unix:0.0'. I think
1216the bug has to do with SIGIO or FIONREAD. 1224the bug has to do with SIGIO or FIONREAD.
1217 1225
@@ -1393,7 +1401,7 @@ shows how to do this with C-^ and C-\.
1393** Screen is updated wrong, but only on one kind of terminal. 1401** Screen is updated wrong, but only on one kind of terminal.
1394 1402
1395This could mean that the termcap entry you are using for that 1403This could mean that the termcap entry you are using for that
1396terminal is wrong, or it could mean that Emacs has a bug handing 1404terminal is wrong, or it could mean that Emacs has a bug handling
1397the combination of features specified for that terminal. 1405the combination of features specified for that terminal.
1398 1406
1399The first step in tracking this down is to record what characters 1407The first step in tracking this down is to record what characters
@@ -1612,7 +1620,7 @@ http://debbugs.gnu.org/7791
1612The symptoms are: you are accessing a svn repository over SSH. 1620The symptoms are: you are accessing a svn repository over SSH.
1613You use vc-annotate on a large (several thousand line) file, and the 1621You use vc-annotate on a large (several thousand line) file, and the
1614result is truncated around the 1000 line mark. It works fine with 1622result is truncated around the 1000 line mark. It works fine with
1615other access methods (eg http), or from outside Emacs. 1623other access methods (e.g. http), or from outside Emacs.
1616 1624
1617This may be a similar libc/SSH issue to the one mentioned above for CVS. 1625This may be a similar libc/SSH issue to the one mentioned above for CVS.
1618A similar workaround seems to be effective: create a script with the 1626A similar workaround seems to be effective: create a script with the
@@ -1714,7 +1722,11 @@ the sequence "\E[?25h\E[?17;0;64c", and then run "tic linux-term" to
1714produce a modified terminfo entry. 1722produce a modified terminfo entry.
1715 1723
1716Alternatively, if you want a blinking underscore as your Emacs cursor, 1724Alternatively, if you want a blinking underscore as your Emacs cursor,
1717change the "cvvis" capability to send the "\E[?25h\E[?0c" command. 1725set the `visible-cursor' variable to nil in your ~/.emacs:
1726 (setq visible-cursor nil)
1727
1728Still other way is to change the "cvvis" capability to send the
1729"\E[?25h\E[?0c" command.
1718 1730
1719** FreeBSD 1731** FreeBSD
1720 1732
@@ -1906,7 +1918,7 @@ Near the bottom there is a line that reads:
1906 1918
1907 Ctrl<t> <quotedbl> <Y> : "\276" threequarters 1919 Ctrl<t> <quotedbl> <Y> : "\276" threequarters
1908 1920
1909that should read: 1921while it should read:
1910 1922
1911 Ctrl<T> <quotedbl> <Y> : "\276" threequarters 1923 Ctrl<T> <quotedbl> <Y> : "\276" threequarters
1912 1924
@@ -2049,7 +2061,7 @@ rails-mode.
2049** M-x term does not work on MS-Windows. 2061** M-x term does not work on MS-Windows.
2050 2062
2051TTY emulation on Windows is undocumented, and programs such as stty 2063TTY emulation on Windows is undocumented, and programs such as stty
2052which are used on posix platforms to control tty emulation do not 2064which are used on POSIX platforms to control tty emulation do not
2053exist for native windows terminals. 2065exist for native windows terminals.
2054 2066
2055** Using create-fontset-from-ascii-font or the --font startup parameter 2067** Using create-fontset-from-ascii-font or the --font startup parameter
@@ -2062,7 +2074,7 @@ use create-fontset-from-fontset-spec to define a fontset.
2062 2074
2063This means no redisplay while the File or Font dialog or a pop-up menu 2075This means no redisplay while the File or Font dialog or a pop-up menu
2064is displayed. This also means tooltips with help text for pop-up 2076is displayed. This also means tooltips with help text for pop-up
2065menus is not displayed at all (except in a TTY session, where the help 2077menus are not displayed at all (except in a TTY session, where the help
2066text is shown in the echo area). This is because message handling 2078text is shown in the echo area). This is because message handling
2067under Windows is synchronous, so we cannot handle repaint (or any 2079under Windows is synchronous, so we cannot handle repaint (or any
2068other) messages while waiting for a system function, which popped up 2080other) messages while waiting for a system function, which popped up
@@ -2144,7 +2156,7 @@ daylight savings switchovers by the Windows libraries.
2144 2156
2145Files larger than 4GB cause overflow in the size (represented as a 2157Files larger than 4GB cause overflow in the size (represented as a
214632-bit integer) reported by `file-attributes'. This affects Dired as 215832-bit integer) reported by `file-attributes'. This affects Dired as
2147well, since the Windows port uses a Lisp emulation of `ls' that relies 2159well, since the Windows port uses a Lisp emulation of `ls', which relies
2148on `file-attributes'. 2160on `file-attributes'.
2149 2161
2150** Playing sound doesn't support the :data method 2162** Playing sound doesn't support the :data method
@@ -2332,7 +2344,7 @@ you are working on the host called `marvin'. Then an entry in the
2332 2344
2333 marvin:/usr/local/src /usr/local/src ...options.omitted... 2345 marvin:/usr/local/src /usr/local/src ...options.omitted...
2334 2346
2335The solution is to remove this line from `etc/fstab'. 2347The solution is to remove this line from `/etc/fstab'.
2336 2348
2337*** Building a 32-bit executable on a 64-bit GNU/Linux architecture. 2349*** Building a 32-bit executable on a 64-bit GNU/Linux architecture.
2338 2350
@@ -2363,7 +2375,7 @@ The linker error messages look like this:
2363 oo-spd/i386/ctags.o:ctags.c:(.text+0x156e): undefined reference to `_imp__re_set_syntax' 2375 oo-spd/i386/ctags.o:ctags.c:(.text+0x156e): undefined reference to `_imp__re_set_syntax'
2364 collect2: ld returned 1 exit status 2376 collect2: ld returned 1 exit status
2365 2377
2366This happens because GCC finds an incompatible header regex.h 2378This happens because GCC finds an incompatible regex.h header
2367somewhere on the include path, before the version of regex.h supplied 2379somewhere on the include path, before the version of regex.h supplied
2368with Emacs. One such incompatible version of regex.h is part of the 2380with Emacs. One such incompatible version of regex.h is part of the
2369GnuWin32 Regex package. 2381GnuWin32 Regex package.
@@ -2510,7 +2522,7 @@ Compiling the lisp files fails at random places, complaining:
2510"No rule to make target `/path/to/some/lisp.elc'". 2522"No rule to make target `/path/to/some/lisp.elc'".
2511The causes of this problem are not understood. Using GNU make 3.81 compiled 2523The causes of this problem are not understood. Using GNU make 3.81 compiled
2512from source, rather than the Ubuntu version, worked. 2524from source, rather than the Ubuntu version, worked.
2513See <URL:http://debbugs.gnu.org/327, <URL:http://debbugs.gnu.org/821>. 2525See <URL:http://debbugs.gnu.org/327>, <URL:http://debbugs.gnu.org/821>.
2514 2526
2515** Dumping 2527** Dumping
2516 2528
@@ -2618,7 +2630,7 @@ build Emacs in a directory on a local disk.
2618On a system where getpagesize is not a system call, it is defined 2630On a system where getpagesize is not a system call, it is defined
2619as a macro. If the definition (in both unex*.c and malloc.c) is wrong, 2631as a macro. If the definition (in both unex*.c and malloc.c) is wrong,
2620it can cause problems like this. You might be able to find the correct 2632it can cause problems like this. You might be able to find the correct
2621value in the man page for a.out (5). 2633value in the man page for a.out(5).
2622 2634
2623* Problems on legacy systems 2635* Problems on legacy systems
2624 2636
diff --git a/lisp/ffap.el b/lisp/ffap.el
index d4e30a05dcc..452275ab8c2 100644
--- a/lisp/ffap.el
+++ b/lisp/ffap.el
@@ -1004,7 +1004,7 @@ If a given RFC isn't in these then `ffap-rfc-path' is offered."
1004 ;; Slightly controversial decisions: 1004 ;; Slightly controversial decisions:
1005 ;; * strip trailing "@" and ":" 1005 ;; * strip trailing "@" and ":"
1006 ;; * no commas (good for latex) 1006 ;; * no commas (good for latex)
1007 (file "--:\\\\$+<>@-Z_[:alpha:]~*?" "<@" "@>;.,!:") 1007 (file "--:\\\\$\\{\\}+<>@-Z_[:alpha:]~*?" "<@" "@>;.,!:")
1008 ;; An url, or maybe a email/news message-id: 1008 ;; An url, or maybe a email/news message-id:
1009 (url "--:=&?$+@-Z_[:alpha:]~#,%;*()!'" "^[0-9a-zA-Z]" ":;.,!?") 1009 (url "--:=&?$+@-Z_[:alpha:]~#,%;*()!'" "^[0-9a-zA-Z]" ":;.,!?")
1010 ;; Find a string that does *not* contain a colon: 1010 ;; Find a string that does *not* contain a colon:
diff --git a/lisp/files.el b/lisp/files.el
index 0fdf0048ac4..eca52e0ddd3 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -3931,17 +3931,19 @@ the old visited file has been renamed to the new name FILENAME."
3931 (make-local-variable 'backup-inhibited) 3931 (make-local-variable 'backup-inhibited)
3932 (setq backup-inhibited t))) 3932 (setq backup-inhibited t)))
3933 (let ((oauto buffer-auto-save-file-name)) 3933 (let ((oauto buffer-auto-save-file-name))
3934 ;; If auto-save was not already on, turn it on if appropriate. 3934 (cond ((null filename)
3935 (if (not buffer-auto-save-file-name) 3935 (setq buffer-auto-save-file-name nil))
3936 (and buffer-file-name auto-save-default 3936 ((not buffer-auto-save-file-name)
3937 (auto-save-mode t)) 3937 ;; If auto-save was not already on, turn it on if appropriate.
3938 ;; If auto save is on, start using a new name. 3938 (and buffer-file-name auto-save-default (auto-save-mode t)))
3939 ;; We deliberately don't rename or delete the old auto save 3939 (t
3940 ;; for the old visited file name. This is because perhaps 3940 ;; If auto save is on, start using a new name. We
3941 ;; the user wants to save the new state and then compare with the 3941 ;; deliberately don't rename or delete the old auto save
3942 ;; previous state from the auto save file. 3942 ;; for the old visited file name. This is because
3943 (setq buffer-auto-save-file-name 3943 ;; perhaps the user wants to save the new state and then
3944 (make-auto-save-file-name))) 3944 ;; compare with the previous state from the auto save
3945 ;; file.
3946 (setq buffer-auto-save-file-name (make-auto-save-file-name))))
3945 ;; Rename the old auto save file if any. 3947 ;; Rename the old auto save file if any.
3946 (and oauto buffer-auto-save-file-name 3948 (and oauto buffer-auto-save-file-name
3947 (file-exists-p oauto) 3949 (file-exists-p oauto)
diff --git a/lisp/misearch.el b/lisp/misearch.el
index 65969113d93..157b04d8a9e 100644
--- a/lisp/misearch.el
+++ b/lisp/misearch.el
@@ -92,9 +92,12 @@ Isearch starts.")
92The value is nil when the search still is in the initial buffer.") 92The value is nil when the search still is in the initial buffer.")
93 93
94;;;###autoload 94;;;###autoload
95(defvar multi-isearch-buffer-list nil) 95(defvar multi-isearch-buffer-list nil
96 "Sequence of buffers visited by multiple buffers Isearch.
97This is nil if Isearch is not currently searching more than one buffer.")
96;;;###autoload 98;;;###autoload
97(defvar multi-isearch-file-list nil) 99(defvar multi-isearch-file-list nil
100 "Sequence of files visited by multiple file buffers Isearch.")
98 101
99(defvar multi-isearch-orig-search-fun nil) 102(defvar multi-isearch-orig-search-fun nil)
100(defvar multi-isearch-orig-wrap nil) 103(defvar multi-isearch-orig-wrap nil)
diff --git a/lisp/progmodes/cc-fonts.el b/lisp/progmodes/cc-fonts.el
index 9a1273ddcce..44172b05a56 100644
--- a/lisp/progmodes/cc-fonts.el
+++ b/lisp/progmodes/cc-fonts.el
@@ -539,28 +539,29 @@ stuff. Used on level 1 and higher."
539 (let* ((re (c-make-keywords-re nil 539 (let* ((re (c-make-keywords-re nil
540 (c-lang-const c-cpp-include-directives))) 540 (c-lang-const c-cpp-include-directives)))
541 (re-depth (regexp-opt-depth re))) 541 (re-depth (regexp-opt-depth re)))
542 `((,(concat noncontinued-line-end 542 ;; We used to use a font-lock "anchored matcher" here for
543 (c-lang-const c-opt-cpp-prefix) 543 ;; the paren syntax. This failed when the ">" was at EOL,
544 re 544 ;; since `font-lock-fontify-anchored-keywords' terminated
545 (c-lang-const c-syntactic-ws) 545 ;; its loop at EOL without executing our lambda form at
546 "\\(<[^>\n\r]*>?\\)") 546 ;; all.
547 (,(+ ncle-depth re-depth sws-depth 1) 547 `((,(c-make-font-lock-search-function
548 font-lock-string-face) 548 (concat noncontinued-line-end
549 549 (c-lang-const c-opt-cpp-prefix)
550 ;; Use an anchored matcher to put paren syntax 550 re
551 ;; on the brackets. 551 (c-lang-const c-syntactic-ws)
552 (,(byte-compile 552 "\\(<[^>\n\r]*>?\\)")
553 `(lambda (limit) 553 `(,(+ ncle-depth re-depth sws-depth 1)
554 (let ((beg (match-beginning 554 font-lock-string-face t)
555 ,(+ ncle-depth re-depth sws-depth 1))) 555 `((let ((beg (match-beginning
556 (end (1- (match-end ,(+ ncle-depth re-depth 556 ,(+ ncle-depth re-depth sws-depth 1)))
557 sws-depth 1))))) 557 (end (1- (match-end ,(+ ncle-depth re-depth
558 (if (eq (char-after end) ?>) 558 sws-depth 1)))))
559 (progn 559 (if (eq (char-after end) ?>)
560 (c-mark-<-as-paren beg) 560 (progn
561 (c-mark->-as-paren end)) 561 (c-mark-<-as-paren beg)
562 (c-unmark-<->-as-paren beg))) 562 (c-mark->-as-paren end))
563 nil))))))) 563 (c-unmark-<->-as-paren beg)))
564 nil))))))
564 565
565 ;; #define. 566 ;; #define.
566 ,@(when (c-lang-const c-opt-cpp-macro-define) 567 ,@(when (c-lang-const c-opt-cpp-macro-define)