diff options
| author | Glenn Morris | 2013-02-24 11:45:17 -0800 |
|---|---|---|
| committer | Glenn Morris | 2013-02-24 11:45:17 -0800 |
| commit | 1abfd3e85fa9b340699430cd9e15dd9f0073bdbe (patch) | |
| tree | 7e5b3bef0d0813f0627af5da403440708b212be2 | |
| parent | 4b9f0b67dae95106356e2cd7c7f03622702026f2 (diff) | |
| parent | c0c2eb8295bb99b6ac0bbf8c1e06b60220074a5b (diff) | |
| download | emacs-1abfd3e85fa9b340699430cd9e15dd9f0073bdbe.tar.gz emacs-1abfd3e85fa9b340699430cd9e15dd9f0073bdbe.zip | |
Merge from emacs-24; up to 2012-12-22T19:09:52Z!rgm@gnu.org
| -rw-r--r-- | doc/lispref/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/lispref/files.texi | 3 | ||||
| -rw-r--r-- | doc/misc/ChangeLog | 7 | ||||
| -rw-r--r-- | doc/misc/tramp.texi | 33 | ||||
| -rw-r--r-- | etc/TODO | 2 | ||||
| -rw-r--r-- | src/ChangeLog | 14 | ||||
| -rw-r--r-- | src/filelock.c | 2 | ||||
| -rw-r--r-- | src/xdisp.c | 1 |
8 files changed, 48 insertions, 18 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 355d0b57be5..c4f45d02a05 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2013-02-24 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * files.texi (Magic File Names): Improve wording and indexing. | ||
| 4 | |||
| 1 | 2013-02-21 Glenn Morris <rgm@gnu.org> | 5 | 2013-02-21 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * display.texi (Multi-Frame Images): Minor rephrasing. | 7 | * display.texi (Multi-Frame Images): Minor rephrasing. |
diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi index be44590f2ec..971e38f20b7 100644 --- a/doc/lispref/files.texi +++ b/doc/lispref/files.texi | |||
| @@ -2681,7 +2681,7 @@ no prefix argument is given, and @code{nil} otherwise. | |||
| 2681 | 2681 | ||
| 2682 | You can implement special handling for certain file names. This is | 2682 | You can implement special handling for certain file names. This is |
| 2683 | called making those names @dfn{magic}. The principal use for this | 2683 | called making those names @dfn{magic}. The principal use for this |
| 2684 | feature is in implementing remote file names (@pxref{Remote Files,, | 2684 | feature is in implementing access to remote files (@pxref{Remote Files,, |
| 2685 | Remote Files, emacs, The GNU Emacs Manual}). | 2685 | Remote Files, emacs, The GNU Emacs Manual}). |
| 2686 | 2686 | ||
| 2687 | To define a kind of magic file name, you must supply a regular | 2687 | To define a kind of magic file name, you must supply a regular |
| @@ -2689,6 +2689,7 @@ expression to define the class of names (all those that match the | |||
| 2689 | regular expression), plus a handler that implements all the primitive | 2689 | regular expression), plus a handler that implements all the primitive |
| 2690 | Emacs file operations for file names that match. | 2690 | Emacs file operations for file names that match. |
| 2691 | 2691 | ||
| 2692 | @cindex file handler | ||
| 2692 | @vindex file-name-handler-alist | 2693 | @vindex file-name-handler-alist |
| 2693 | The variable @code{file-name-handler-alist} holds a list of handlers, | 2694 | The variable @code{file-name-handler-alist} holds a list of handlers, |
| 2694 | together with regular expressions that determine when to apply each | 2695 | together with regular expressions that determine when to apply each |
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index 9a4f4c10610..632f06d22b1 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2013-02-24 Michael Albinus <michael.albinus@gmx.de> | ||
| 2 | |||
| 3 | Port Tramp documentation to Texinfo 5.0. | ||
| 4 | * tramp.texi (top) [xxx, yyy, trampfn]: Remove superfluous @c. | ||
| 5 | (Filename Syntax): Do not use @trampfn{} in @item. | ||
| 6 | (Filename completion): Use @columnfractions in @multitable. | ||
| 7 | |||
| 1 | 2013-02-22 Glenn Morris <rgm@gnu.org> | 8 | 2013-02-22 Glenn Morris <rgm@gnu.org> |
| 2 | 9 | ||
| 3 | * flymake.texi (Syntax check statuses): Fix multitable continued rows. | 10 | * flymake.texi (Syntax check statuses): Fix multitable continued rows. |
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi index f1dac493054..00b5e1e8dc1 100644 --- a/doc/misc/tramp.texi +++ b/doc/misc/tramp.texi | |||
| @@ -20,20 +20,23 @@ | |||
| 20 | @c xxx and yyy are auxiliary macros in order to omit leading and | 20 | @c xxx and yyy are auxiliary macros in order to omit leading and |
| 21 | @c trailing whitespace. Not very elegant, but I don't know it better. | 21 | @c trailing whitespace. Not very elegant, but I don't know it better. |
| 22 | 22 | ||
| 23 | @macro xxx {one}@c | 23 | @macro xxx {one} |
| 24 | @set \one\@c | 24 | @set \one\ |
| 25 | @end macro | 25 | @end macro |
| 26 | 26 | ||
| 27 | @macro yyy {one, two}@c | 27 | @macro yyy {one, two} |
| 28 | @xxx{x\one\}@c | 28 | @xxx{x\one\}@c |
| 29 | @ifclear x@c | 29 | @ifclear x |
| 30 | \one\@w{}\two\@c | 30 | \one\@w{}\two\@c |
| 31 | @end ifclear | 31 | @end ifclear |
| 32 | @clear x\one\@c | 32 | @clear x\one\ |
| 33 | @end macro | 33 | @end macro |
| 34 | 34 | ||
| 35 | @macro trampfn {method, user, host, localname}@c | 35 | @macro trampfn {method, user, host, localname} |
| 36 | @value{prefix}@yyy{\method\,@value{postfixhop}}@yyy{\user\,@@}\host\@value{postfix}\localname\@c | 36 | @value{prefix}@c |
| 37 | @yyy{\method\,@value{postfixhop}}@c | ||
| 38 | @yyy{\user\,@@}@c | ||
| 39 | \host\@value{postfix}\localname\ | ||
| 37 | @end macro | 40 | @end macro |
| 38 | 41 | ||
| 39 | @copying | 42 | @copying |
| @@ -2323,25 +2326,25 @@ using the default method. @xref{Default Method}. | |||
| 2323 | Some examples of @value{tramp} filenames are shown below. | 2326 | Some examples of @value{tramp} filenames are shown below. |
| 2324 | 2327 | ||
| 2325 | @table @file | 2328 | @table @file |
| 2326 | @item @trampfn{, , melancholia, .emacs} | 2329 | @item @value{prefix}melancholia@value{postfix}.emacs |
| 2327 | Edit the file @file{.emacs} in your home directory on the machine | 2330 | Edit the file @file{.emacs} in your home directory on the machine |
| 2328 | @code{melancholia}. | 2331 | @code{melancholia}. |
| 2329 | 2332 | ||
| 2330 | @item @trampfn{, , melancholia.danann.net, .emacs} | 2333 | @item @value{prefix}melancholia.danann.net@value{postfix}.emacs |
| 2331 | This edits the same file, using the fully qualified domain name of | 2334 | This edits the same file, using the fully qualified domain name of |
| 2332 | the machine. | 2335 | the machine. |
| 2333 | 2336 | ||
| 2334 | @item @trampfn{, , melancholia, ~/.emacs} | 2337 | @item @value{prefix}melancholia@value{postfix}~/.emacs |
| 2335 | This also edits the same file; the @file{~} is expanded to your | 2338 | This also edits the same file; the @file{~} is expanded to your |
| 2336 | home directory on the remote machine, just like it is locally. | 2339 | home directory on the remote machine, just like it is locally. |
| 2337 | 2340 | ||
| 2338 | @item @trampfn{, , melancholia, ~daniel/.emacs} | 2341 | @item @value{prefix}melancholia@value{postfix}~daniel/.emacs |
| 2339 | This edits the file @file{.emacs} in the home directory of the user | 2342 | This edits the file @file{.emacs} in the home directory of the user |
| 2340 | @code{daniel} on the machine @code{melancholia}. The @file{~<user>} | 2343 | @code{daniel} on the machine @code{melancholia}. The @file{~<user>} |
| 2341 | construct is expanded to the home directory of that user on the remote | 2344 | construct is expanded to the home directory of that user on the remote |
| 2342 | machine. | 2345 | machine. |
| 2343 | 2346 | ||
| 2344 | @item @trampfn{, , melancholia, /etc/squid.conf} | 2347 | @item @value{prefix}melancholia@value{postfix}/etc/squid.conf |
| 2345 | This edits the file @file{/etc/squid.conf} on the machine | 2348 | This edits the file @file{/etc/squid.conf} on the machine |
| 2346 | @code{melancholia}. | 2349 | @code{melancholia}. |
| 2347 | 2350 | ||
| @@ -2453,7 +2456,8 @@ If you, for example, type @kbd{C-x C-f @value{prefix}t | |||
| 2453 | @key{TAB}}, @value{tramp} might give you as result the choice for | 2456 | @key{TAB}}, @value{tramp} might give you as result the choice for |
| 2454 | 2457 | ||
| 2455 | @example | 2458 | @example |
| 2456 | @multitable {@trampfn{telnet, , melancholia.danann.net,}} {@trampfn{telnet, , 192.168.0.1,}} | 2459 | @c @multitable {@trampfn{telnet, , melancholia.danann.net,}} {@trampfn{telnet, , 192.168.0.1,}} |
| 2460 | @multitable @columnfractions .5 .5 | ||
| 2457 | @ifset emacs | 2461 | @ifset emacs |
| 2458 | @item @value{prefixhop}telnet@value{postfixhop} @tab tmp/ | 2462 | @item @value{prefixhop}telnet@value{postfixhop} @tab tmp/ |
| 2459 | @item @value{prefixhop}toto@value{postfix} @tab | 2463 | @item @value{prefixhop}toto@value{postfix} @tab |
| @@ -2480,7 +2484,8 @@ Next @kbd{@key{TAB}} brings you all machine names @value{tramp} detects in | |||
| 2480 | your @file{/etc/hosts} file, let's say | 2484 | your @file{/etc/hosts} file, let's say |
| 2481 | 2485 | ||
| 2482 | @example | 2486 | @example |
| 2483 | @multitable {@trampfn{telnet, , melancholia.danann.net,}} {@trampfn{telnet, , 192.168.0.1,}} | 2487 | @multitable @columnfractions .5 .5 |
| 2488 | @c @multitable {@trampfn{telnet, , melancholia.danann.net,}} {@trampfn{telnet, , 192.168.0.1,}} | ||
| 2484 | @item @trampfn{telnet, , 127.0.0.1,} @tab @trampfn{telnet, , 192.168.0.1,} | 2489 | @item @trampfn{telnet, , 127.0.0.1,} @tab @trampfn{telnet, , 192.168.0.1,} |
| 2485 | @item @trampfn{telnet, , @value{ipv6prefix}::1@value{ipv6postfix},} @tab @trampfn{telnet, , localhost,} | 2490 | @item @trampfn{telnet, , @value{ipv6prefix}::1@value{ipv6postfix},} @tab @trampfn{telnet, , localhost,} |
| 2486 | @item @trampfn{telnet, , melancholia.danann.net,} @tab @trampfn{telnet, , melancholia,} | 2491 | @item @trampfn{telnet, , melancholia.danann.net,} @tab @trampfn{telnet, , melancholia,} |
| @@ -107,8 +107,6 @@ for users to customize. | |||
| 107 | ** Distribute a bar cursor of width > 1 evenly between the two glyphs | 107 | ** Distribute a bar cursor of width > 1 evenly between the two glyphs |
| 108 | on each side of the bar (what to do at the edges?). | 108 | on each side of the bar (what to do at the edges?). |
| 109 | 109 | ||
| 110 | ** buffer-offer-save should be a permanent local. | ||
| 111 | |||
| 112 | ** revert-buffer should eliminate overlays and the mark. | 110 | ** revert-buffer should eliminate overlays and the mark. |
| 113 | For related problems consult the thread starting with | 111 | For related problems consult the thread starting with |
| 114 | http://lists.gnu.org/archive/html/emacs-devel/2005-11/msg01346.html | 112 | http://lists.gnu.org/archive/html/emacs-devel/2005-11/msg01346.html |
diff --git a/src/ChangeLog b/src/ChangeLog index cc8cb84831a..8d3fc1e56fb 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,17 @@ | |||
| 1 | 2013-02-24 Andreas Schwab <schwab@linux-m68k.org> | ||
| 2 | |||
| 3 | * xdisp.c (set_message): Only check for debug-on-message if STRING | ||
| 4 | is a string. (Bug#13797) | ||
| 5 | |||
| 6 | 2013-02-24 Paul Eggert <eggert@cs.ucla.edu> | ||
| 7 | |||
| 8 | Fix regression introduced by July 10 filelock.c patch. | ||
| 9 | * filelock.c (fill_in_lock_file_name): Fix crash caused by the | ||
| 10 | 2012-07-10 patch to this file. Reported by Eli Zaretskii in | ||
| 11 | <http://lists.gnu.org/archive/html/emacs-devel/2013-02/msg00533.html> | ||
| 12 | and diagnosed by Andreas Schwab in | ||
| 13 | <http://lists.gnu.org/archive/html/emacs-devel/2013-02/msg00534.html>. | ||
| 14 | |||
| 1 | 2013-02-22 Paul Eggert <eggert@cs.ucla.edu> | 15 | 2013-02-22 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 16 | ||
| 3 | Assume C89 or better. | 17 | Assume C89 or better. |
diff --git a/src/filelock.c b/src/filelock.c index 228fe98e8c7..cd2cd2e53a2 100644 --- a/src/filelock.c +++ b/src/filelock.c | |||
| @@ -316,7 +316,7 @@ fill_in_lock_file_name (register char *lockfile, register Lisp_Object fn) | |||
| 316 | p[1] = '.'; | 316 | p[1] = '.'; |
| 317 | p[2] = '#'; | 317 | p[2] = '#'; |
| 318 | 318 | ||
| 319 | p = p + length + 2; | 319 | p = lockfile + length + 2; |
| 320 | 320 | ||
| 321 | while (lstat (lockfile, &st) == 0 && !S_ISLNK (st.st_mode)) | 321 | while (lstat (lockfile, &st) == 0 && !S_ISLNK (st.st_mode)) |
| 322 | { | 322 | { |
diff --git a/src/xdisp.c b/src/xdisp.c index 6b86fd076a5..f304ad0915c 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -10525,6 +10525,7 @@ set_message (Lisp_Object string) | |||
| 10525 | help_echo_showing_p = 0; | 10525 | help_echo_showing_p = 0; |
| 10526 | 10526 | ||
| 10527 | if (STRINGP (Vdebug_on_message) | 10527 | if (STRINGP (Vdebug_on_message) |
| 10528 | && STRINGP (string) | ||
| 10528 | && fast_string_match (Vdebug_on_message, string) >= 0) | 10529 | && fast_string_match (Vdebug_on_message, string) >= 0) |
| 10529 | call_debugger (list2 (Qerror, string)); | 10530 | call_debugger (list2 (Qerror, string)); |
| 10530 | } | 10531 | } |