diff options
| author | Michael Albinus | 2015-04-08 11:52:12 +0200 |
|---|---|---|
| committer | Michael Albinus | 2015-04-08 11:52:12 +0200 |
| commit | 74079cd58ba81b3ec81d44b474ad66ea2c99272d (patch) | |
| tree | 33ca2980fb0d86fddd7325fa2e368bae53819ad4 | |
| parent | b3f2874de2b6e31df34a7515aa09e10f01e9b8a6 (diff) | |
| parent | 1ba357e30518fdcc0b870870152f5434cb2540ba (diff) | |
| download | emacs-74079cd58ba81b3ec81d44b474ad66ea2c99272d.tar.gz emacs-74079cd58ba81b3ec81d44b474ad66ea2c99272d.zip | |
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
| -rw-r--r-- | doc/man/ebrowse.1 | 2 | ||||
| -rw-r--r-- | doc/man/emacs.1.in | 14 | ||||
| -rw-r--r-- | doc/man/emacsclient.1 | 32 | ||||
| -rw-r--r-- | doc/man/etags.1 | 10 | ||||
| -rw-r--r-- | doc/misc/eshell.texi | 10 | ||||
| -rw-r--r-- | etc/PROBLEMS | 62 | ||||
| -rw-r--r-- | lisp/ffap.el | 2 | ||||
| -rw-r--r-- | lisp/files.el | 24 | ||||
| -rw-r--r-- | lisp/misearch.el | 7 | ||||
| -rw-r--r-- | lisp/progmodes/cc-fonts.el | 45 |
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 |
| 18 | The program follows the usual GNU command line syntax, with long | 18 | The program follows the usual GNU command line syntax, with long |
| 19 | options starting with two dashes (`-'). | 19 | options starting with two dashes ("\-"). |
| 20 | .TP | 20 | .TP |
| 21 | .B \-a, \-\-append | 21 | .B \-a, \-\-append |
| 22 | append output to existing file | 22 | append 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 |
| 252 | Override color mode for character terminals; | 252 | Override color mode for character terminals; |
| 253 | .I mode | 253 | .I mode |
| 254 | defaults to `auto', and can also be `never', `auto', `always', | 254 | defaults to "auto", and can also be "never", "auto", "always", |
| 255 | or a mode name like `ansi8'. | 255 | or 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" |
| 258 | Set the | 258 | Set the |
| @@ -420,8 +420,8 @@ The value can be one of | |||
| 420 | .IR fullwidth , | 420 | .IR fullwidth , |
| 421 | or | 421 | or |
| 422 | .IR fullheight , | 422 | .IR fullheight , |
| 423 | which correspond to the command-line options `\-fs', `\-mm', `\-fw', | 423 | which correspond to the command-line options "\-fs", "\-mm", "\-fw", |
| 424 | and `\-fh', respectively. | 424 | and "\-fh", respectively. |
| 425 | Note that this applies to the initial frame only. | 425 | Note 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 ) |
| 484 | Gamma correction for colors, equivalent to the frame parameter | 484 | Gamma 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 ) |
| 488 | The scroll bar width in pixels, equivalent to the frame parameter | 488 | The 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 ) |
| 492 | Font name for pop-up menu items, in non-toolkit versions of | 492 | Font 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 | |||
| 583 | bugs and fixes. | 583 | bugs and fixes. |
| 584 | But before reporting something as a bug, please try to be sure that | 584 | But before reporting something as a bug, please try to be sure that |
| 585 | it really is a bug, not a misunderstanding or a deliberate feature. | 585 | it really is a bug, not a misunderstanding or a deliberate feature. |
| 586 | We ask you to read the section ``Reporting Bugs'' in the Emacs manual | 586 | We ask you to read the section "Reporting Bugs" in the Emacs manual |
| 587 | for hints on how and when to report bugs. | 587 | for hints on how and when to report bugs. |
| 588 | Also, include the version number of the Emacs you are running in | 588 | Also, 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. | |||
| 31 | For | 31 | For |
| 32 | .B emacsclient | 32 | .B emacsclient |
| 33 | to work, you need an already running Emacs with a server. Within Emacs, | 33 | to work, you need an already running Emacs with a server. Within Emacs, |
| 34 | call the functions `server-start' or `server-mode'. (Your `.emacs' file | 34 | call the functions "server-start" or "server-mode". (Your ".emacs" file |
| 35 | can do this automatically if you add either `(server-start)' or | 35 | can do this automatically if you add either "(server-start)" or |
| 36 | `(server-mode 1)' to it.) | 36 | "(server-mode 1)" to it.) |
| 37 | 37 | ||
| 38 | When you've finished editing the buffer, type `C-x #' | 38 | When 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 | 41 | program telling it to exit. The programs that use |
| 42 | #' also checks for other pending external requests to edit various | 42 | EDITOR wait for the "editor" (actually, |
| 43 | .BR emacsclient ) | ||
| 44 | to exit. "C-x #" also checks for other pending external requests to | ||
| 45 | edit various | ||
| 43 | files, and selects the next such file. | 46 | files, and selects the next such file. |
| 44 | 47 | ||
| 45 | If you set the variable `server-window' to a window or a frame, `C-x | 48 | If 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 |
| 49 | The programs follow the usual GNU command line syntax, with long | 52 | The programs follow the usual GNU command line syntax, with long |
| 50 | options starting with two dashes (`-'). | 53 | options starting with two dashes ("\-"). |
| 51 | .TP | 54 | .TP |
| 52 | .B \-a, \-\-alternate-editor=EDITOR | 55 | .B \-a, \-\-alternate-editor=EDITOR |
| 53 | if the Emacs server is not running, run the specified editor instead. | 56 | if the Emacs server is not running, run the specified editor instead. |
| 54 | This can also be specified via the `ALTERNATE_EDITOR' environment variable. | 57 | This can also be specified via the ALTERNATE_EDITOR environment variable. |
| 55 | If the value of EDITOR is the empty string, run `emacs \-\-daemon' to | 58 | If the value of EDITOR is the empty string, run "emacs \-\-daemon" to |
| 56 | start Emacs in daemon mode, and try to connect to it. | 59 | start 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 |
| 72 | use TCP configuration file FILENAME for communication. | 75 | use TCP configuration file FILENAME for communication. |
| 73 | This can also be specified via the `EMACS_SERVER_FILE' environment variable. | 76 | This 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 |
| 76 | returns | 79 | returns |
| @@ -99,4 +102,3 @@ This manual page was written by Stephane Bortzmeyer <bortzmeyer@debian.org>, | |||
| 99 | for the Debian GNU/Linux system (but may be used by others). | 102 | for the Debian GNU/Linux system (but may be used by others). |
| 100 | .SH COPYING | 103 | .SH COPYING |
| 101 | This manual page is in the public domain. | 104 | This 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 |
| 81 | Tag files written in the format expected by \fBvi\fP contain regular | 81 | Tag files written in the format expected by \fBvi\fP contain regular |
| 82 | expression search instructions; the \fB\-B\fP option writes them using | 82 | expression search instructions; the \fB\-B\fP option writes them using |
| 83 | the delimiter `\|\fB?\fP\|', to search \fIbackwards\fP through files. | 83 | the delimiter "\|\fB?\fP\|", to search \fIbackwards\fP through files. |
| 84 | The default is to use the delimiter `\|\fB/\fP\|', to search \fIforwards\fP | 84 | The default is to use the delimiter "\|\fB/\fP\|", to search \fIforwards\fP |
| 85 | through files. | 85 | through files. |
| 86 | Only \fBctags\fP accepts this option. | 86 | Only \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++. | |||
| 117 | Parse the following files according to the given language. More than | 117 | Parse the following files according to the given language. More than |
| 118 | one such options may be intermixed with filenames. Use \fB\-\-help\fP | 118 | one such options may be intermixed with filenames. Use \fB\-\-help\fP |
| 119 | to get a list of the available languages and their default filename | 119 | to get a list of the available languages and their default filename |
| 120 | extensions. The `auto' language can be used to restore automatic | 120 | extensions. The "auto" language can be used to restore automatic |
| 121 | detection of language based on the file name. The `none' | 121 | detection of language based on the file name. The "none" |
| 122 | language may be used to disable language parsing altogether; only | 122 | language may be used to disable language parsing altogether; only |
| 123 | regexp matching is done in this case (see the \fB\-\-regex\fP option). | 123 | regexp 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 | |||
| 256 | emacs \fBetags\fP is shipped with). | 256 | emacs \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 |
| 260 | Stallman. | 260 | Stallman. |
| 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 | |||
| 654 | commands that are visual only when passed certain options, use | 654 | commands that are visual only when passed certain options, use |
| 655 | @code{eshell-visual-options}. | 655 | @code{eshell-visual-options}. |
| 656 | 656 | ||
| 657 | Caution: Some tools such as Git use the pager @samp{less} by default | ||
| 658 | to paginate their output but call it with its @samp{-F} option. This | ||
| 659 | option causes @samp{less} to echo the output instead of paginating it | ||
| 660 | if the output is less than one page long. This causes undesirable | ||
| 661 | behavior if, e.g., @samp{git diff}, is defined as a visual subcommand. | ||
| 662 | It'll work if the output is big enough and fail if it is less than one | ||
| 663 | page long. If that occurs to you, search for configuration options | ||
| 664 | for calling @samp{less} without the @samp{-F} option. For Git, you | ||
| 665 | can do that using @samp{git config --global core.pager 'less -+F'}. | ||
| 666 | |||
| 657 | @section Redirection | 667 | @section Redirection |
| 658 | Redirection is mostly the same in Eshell as it is in other command | 668 | Redirection is mostly the same in Eshell as it is in other command |
| 659 | shells. The output redirection operators @code{>} and @code{>>} as | 669 | shells. 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 | |||
| 26 | This happens because some X resource specifies a bad font family for | 26 | This happens because some X resource specifies a bad font family for |
| 27 | Emacs to use. The possible places where this specification might be are: | 27 | Emacs 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 | |||
| 35 | fontset that Emacs should use. To fix the problem, you need to find | 38 | fontset that Emacs should use. To fix the problem, you need to find |
| 36 | the problematic line(s) and correct them. | 39 | the problematic line(s) and correct them. |
| 37 | 40 | ||
| 41 | After correcting ~/.Xresources, the new data has to be merged into the | ||
| 42 | X server resources database. Depending on the circumstances, the | ||
| 43 | following 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 | ||
| 40 | This problem often results from compiling Emacs with GCC when GCC was | 49 | This 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 | ||
| 271 | This happens because epop3 redefines the function gethash, which is a | 280 | This happens because epop3 redefines the function gethash, which is a |
| 272 | built-in primitive beginning with Emacs 21.1. We don't have a patch | 281 | built-in primitive beginning with Emacs 21.1. We don't have a patch |
| 273 | for epop3 that fixes this, but perhaps a newer version of epop3 | 282 | for epop3 to fix it, but perhaps a newer version of epop3 corrects that. |
| 274 | corrects 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 | ||
| 508 | To work around the problem, you could either (a) set the variable | 516 | To 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 |
| 510 | invoking `df'; (b) use `df' from the GNU Fileutils package; or | 518 | invoking `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 | |||
| 600 | with a newer version. Emacs compiled with Gtk+ will then use the | 608 | with a newer version. Emacs compiled with Gtk+ will then use the |
| 601 | newer version. In most cases the problem can be temporarily fixed by | 609 | newer version. In most cases the problem can be temporarily fixed by |
| 602 | stopping the application that has the error (it can be Emacs or any | 610 | stopping the application that has the error (it can be Emacs or any |
| 603 | other application), removing ~/.fonts.cache-1, and then start the | 611 | other application), removing ~/.fonts.cache-1, and then starting the |
| 604 | application again. If removing ~/.fonts.cache-1 and restarting | 612 | application again. If removing ~/.fonts.cache-1 and restarting |
| 605 | doesn't help, the application with problem must be recompiled with the | 613 | doesn't help, the application with problem must be recompiled with the |
| 606 | same version of FontConfig as the rest of the system uses. For KDE, | 614 | same 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 | ||
| 702 | This is caused by fonts having a wrong UNDERLINE_POSITION property. | 710 | This is caused by fonts having a wrong UNDERLINE_POSITION property. |
| 703 | Examples are the font 7x13 on XFree prior to version 4.1, or the jmk | 711 | Examples are the 7x13 font on XFree86 prior to version 4.1, or the jmk |
| 704 | neep font from the Debian xfonts-jmk package prior to version 3.0.17. | 712 | neep font from the Debian xfonts-jmk package prior to version 3.0.17. |
| 705 | To circumvent this problem, set x-use-underline-position-properties | 713 | To circumvent this problem, set x-use-underline-position-properties |
| 706 | to nil in your `.emacs'. | 714 | to nil in your `.emacs'. |
| @@ -823,7 +831,7 @@ If all users at your site of a particular keyboard prefer Meta to | |||
| 823 | Compose, you can make the remapping happen automatically by adding the | 831 | Compose, you can make the remapping happen automatically by adding the |
| 824 | xmodmap command to the xdm setup script for that display. | 832 | xmodmap 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 | ||
| 828 | Use the shell command `xset bc' to make the old X Menu package work. | 836 | Use 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 | ||
| 990 | A workaround is to not use `klipper'. An upgrade to the `klipper' that | 998 | A workaround is to not use `klipper'. Upgrading `klipper' to the one |
| 991 | comes with KDE 3.3 or later also solves the problem. | 999 | coming 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 | ||
| 1138 | 5) If copying and killing is slow, try to disable the interaction with the | 1146 | 5) 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 |
| 1202 | the user's ~/.Xdefaults and ~/.Xdefaults-* files. | 1210 | the 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 | ||
| 1207 | One cause of such problems is having (setq term-file-prefix nil) in | 1215 | One cause of such problems is having (setq term-file-prefix nil) in |
| 1208 | your .emacs file. Another cause is a bad value of EMACSLOADPATH in | 1216 | your .emacs file. Another cause is a bad value of EMACSLOADPATH in |
| 1209 | the environment. | 1217 | the 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 | ||
| 1213 | People have reported kernel bugs in certain systems that cause Emacs | 1221 | People have reported kernel bugs in certain systems that cause Emacs |
| 1214 | not to work with X Windows if DISPLAY is set using a host name. But | 1222 | not to work with X if DISPLAY is set using a host name. But |
| 1215 | the problem does not occur if DISPLAY is set to `unix:0.0'. I think | 1223 | the problem does not occur if DISPLAY is set to `unix:0.0'. I think |
| 1216 | the bug has to do with SIGIO or FIONREAD. | 1224 | the 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 | ||
| 1395 | This could mean that the termcap entry you are using for that | 1403 | This could mean that the termcap entry you are using for that |
| 1396 | terminal is wrong, or it could mean that Emacs has a bug handing | 1404 | terminal is wrong, or it could mean that Emacs has a bug handling |
| 1397 | the combination of features specified for that terminal. | 1405 | the combination of features specified for that terminal. |
| 1398 | 1406 | ||
| 1399 | The first step in tracking this down is to record what characters | 1407 | The first step in tracking this down is to record what characters |
| @@ -1612,7 +1620,7 @@ http://debbugs.gnu.org/7791 | |||
| 1612 | The symptoms are: you are accessing a svn repository over SSH. | 1620 | The symptoms are: you are accessing a svn repository over SSH. |
| 1613 | You use vc-annotate on a large (several thousand line) file, and the | 1621 | You use vc-annotate on a large (several thousand line) file, and the |
| 1614 | result is truncated around the 1000 line mark. It works fine with | 1622 | result is truncated around the 1000 line mark. It works fine with |
| 1615 | other access methods (eg http), or from outside Emacs. | 1623 | other access methods (e.g. http), or from outside Emacs. |
| 1616 | 1624 | ||
| 1617 | This may be a similar libc/SSH issue to the one mentioned above for CVS. | 1625 | This may be a similar libc/SSH issue to the one mentioned above for CVS. |
| 1618 | A similar workaround seems to be effective: create a script with the | 1626 | A 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 | |||
| 1714 | produce a modified terminfo entry. | 1722 | produce a modified terminfo entry. |
| 1715 | 1723 | ||
| 1716 | Alternatively, if you want a blinking underscore as your Emacs cursor, | 1724 | Alternatively, if you want a blinking underscore as your Emacs cursor, |
| 1717 | change the "cvvis" capability to send the "\E[?25h\E[?0c" command. | 1725 | set the `visible-cursor' variable to nil in your ~/.emacs: |
| 1726 | (setq visible-cursor nil) | ||
| 1727 | |||
| 1728 | Still 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 | ||
| 1909 | that should read: | 1921 | while 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 | ||
| 2051 | TTY emulation on Windows is undocumented, and programs such as stty | 2063 | TTY emulation on Windows is undocumented, and programs such as stty |
| 2052 | which are used on posix platforms to control tty emulation do not | 2064 | which are used on POSIX platforms to control tty emulation do not |
| 2053 | exist for native windows terminals. | 2065 | exist 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 | ||
| 2063 | This means no redisplay while the File or Font dialog or a pop-up menu | 2075 | This means no redisplay while the File or Font dialog or a pop-up menu |
| 2064 | is displayed. This also means tooltips with help text for pop-up | 2076 | is displayed. This also means tooltips with help text for pop-up |
| 2065 | menus is not displayed at all (except in a TTY session, where the help | 2077 | menus are not displayed at all (except in a TTY session, where the help |
| 2066 | text is shown in the echo area). This is because message handling | 2078 | text is shown in the echo area). This is because message handling |
| 2067 | under Windows is synchronous, so we cannot handle repaint (or any | 2079 | under Windows is synchronous, so we cannot handle repaint (or any |
| 2068 | other) messages while waiting for a system function, which popped up | 2080 | other) messages while waiting for a system function, which popped up |
| @@ -2144,7 +2156,7 @@ daylight savings switchovers by the Windows libraries. | |||
| 2144 | 2156 | ||
| 2145 | Files larger than 4GB cause overflow in the size (represented as a | 2157 | Files larger than 4GB cause overflow in the size (represented as a |
| 2146 | 32-bit integer) reported by `file-attributes'. This affects Dired as | 2158 | 32-bit integer) reported by `file-attributes'. This affects Dired as |
| 2147 | well, since the Windows port uses a Lisp emulation of `ls' that relies | 2159 | well, since the Windows port uses a Lisp emulation of `ls', which relies |
| 2148 | on `file-attributes'. | 2160 | on `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 | ||
| 2335 | The solution is to remove this line from `etc/fstab'. | 2347 | The 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 | ||
| 2366 | This happens because GCC finds an incompatible header regex.h | 2378 | This happens because GCC finds an incompatible regex.h header |
| 2367 | somewhere on the include path, before the version of regex.h supplied | 2379 | somewhere on the include path, before the version of regex.h supplied |
| 2368 | with Emacs. One such incompatible version of regex.h is part of the | 2380 | with Emacs. One such incompatible version of regex.h is part of the |
| 2369 | GnuWin32 Regex package. | 2381 | GnuWin32 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'". |
| 2511 | The causes of this problem are not understood. Using GNU make 3.81 compiled | 2523 | The causes of this problem are not understood. Using GNU make 3.81 compiled |
| 2512 | from source, rather than the Ubuntu version, worked. | 2524 | from source, rather than the Ubuntu version, worked. |
| 2513 | See <URL:http://debbugs.gnu.org/327, <URL:http://debbugs.gnu.org/821>. | 2525 | See <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. | |||
| 2618 | On a system where getpagesize is not a system call, it is defined | 2630 | On a system where getpagesize is not a system call, it is defined |
| 2619 | as a macro. If the definition (in both unex*.c and malloc.c) is wrong, | 2631 | as a macro. If the definition (in both unex*.c and malloc.c) is wrong, |
| 2620 | it can cause problems like this. You might be able to find the correct | 2632 | it can cause problems like this. You might be able to find the correct |
| 2621 | value in the man page for a.out (5). | 2633 | value 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.") | |||
| 92 | The value is nil when the search still is in the initial buffer.") | 92 | The 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. | ||
| 97 | This 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) |