diff options
| author | Joakim Verona | 2013-02-25 00:04:21 +0100 |
|---|---|---|
| committer | Joakim Verona | 2013-02-25 00:04:21 +0100 |
| commit | 1b907e3f10d78d2bc58e2c8fd707d29b44498865 (patch) | |
| tree | 82e416df4ee48f894ba183c4d0f854cd050bfa53 | |
| parent | ceb10cfbad146ee9aef6a59a1af45cc39b1edb86 (diff) | |
| parent | 82fcf982c39d5ff821bb7d3353ca973e277e1810 (diff) | |
| download | emacs-1b907e3f10d78d2bc58e2c8fd707d29b44498865.tar.gz emacs-1b907e3f10d78d2bc58e2c8fd707d29b44498865.zip | |
auto upstream
| -rw-r--r-- | ChangeLog | 5 | ||||
| -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-- | lisp/ChangeLog | 9 | ||||
| -rw-r--r-- | lisp/calc/calc-math.el | 8 | ||||
| -rw-r--r-- | lisp/calc/calcalg2.el | 18 | ||||
| -rw-r--r-- | lisp/eshell/em-cmpl.el | 2 | ||||
| -rw-r--r-- | lisp/gnus/gnus-registry.el | 6 | ||||
| -rw-r--r-- | src/ChangeLog | 14 | ||||
| -rw-r--r-- | src/filelock.c | 2 | ||||
| -rw-r--r-- | src/xdisp.c | 1 |
14 files changed, 82 insertions, 32 deletions
| @@ -1,3 +1,8 @@ | |||
| 1 | 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz> | ||
| 2 | |||
| 3 | * lisp/eshell/em-cmpl.el: Corrected "context-related help" | ||
| 4 | keybinding in commentary. | ||
| 5 | |||
| 1 | 2013-02-21 Paul Eggert <eggert@cs.ucla.edu> | 6 | 2013-02-21 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 7 | ||
| 3 | Parallelize documentation builds. | 8 | Parallelize documentation builds. |
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/lisp/ChangeLog b/lisp/ChangeLog index 1897e48d715..d596d4f6fb1 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 1 | 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com> | ||
| 2 | |||
| 3 | * calc/calc-ext.el (math-to-radians-2, math-from-radians-2): | ||
| 4 | Add option to force `pi' to remain symbolic. | ||
| 5 | * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan) | ||
| 6 | (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin) | ||
| 7 | (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the | ||
| 8 | derivatives, when necessary. | ||
| 9 | |||
| 1 | 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl> | 10 | 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl> |
| 2 | 11 | ||
| 3 | * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i. | 12 | * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i. |
diff --git a/lisp/calc/calc-math.el b/lisp/calc/calc-math.el index 94b3f645785..3b845f563a1 100644 --- a/lisp/calc/calc-math.el +++ b/lisp/calc/calc-math.el | |||
| @@ -777,18 +777,18 @@ If this can't be done, return NIL." | |||
| 777 | (math-to-hms a 'rad)) | 777 | (math-to-hms a 'rad)) |
| 778 | (t a))) | 778 | (t a))) |
| 779 | 779 | ||
| 780 | (defun math-to-radians-2 (a) ; [N N] | 780 | (defun math-to-radians-2 (a &optional force-symbolic) ; [N N] |
| 781 | (cond ((eq (car-safe a) 'hms) | 781 | (cond ((eq (car-safe a) 'hms) |
| 782 | (math-from-hms a 'rad)) | 782 | (math-from-hms a 'rad)) |
| 783 | ((memq calc-angle-mode '(deg hms)) | 783 | ((memq calc-angle-mode '(deg hms)) |
| 784 | (if calc-symbolic-mode | 784 | (if (or calc-symbolic-mode force-symbolic) |
| 785 | (math-div (math-mul a '(var pi var-pi)) 180) | 785 | (math-div (math-mul a '(var pi var-pi)) 180) |
| 786 | (math-mul a (math-pi-over-180)))) | 786 | (math-mul a (math-pi-over-180)))) |
| 787 | (t a))) | 787 | (t a))) |
| 788 | 788 | ||
| 789 | (defun math-from-radians-2 (a) ; [N N] | 789 | (defun math-from-radians-2 (a &optional force-symbolic) ; [N N] |
| 790 | (cond ((memq calc-angle-mode '(deg hms)) | 790 | (cond ((memq calc-angle-mode '(deg hms)) |
| 791 | (if calc-symbolic-mode | 791 | (if (or calc-symbolic-mode force-symbolic) |
| 792 | (math-div (math-mul 180 a) '(var pi var-pi)) | 792 | (math-div (math-mul 180 a) '(var pi var-pi)) |
| 793 | (math-div a (math-pi-over-180)))) | 793 | (math-div a (math-pi-over-180)))) |
| 794 | (t a))) | 794 | (t a))) |
diff --git a/lisp/calc/calcalg2.el b/lisp/calc/calcalg2.el index 58a82bcf143..cd962e7dbed 100644 --- a/lisp/calc/calcalg2.el +++ b/lisp/calc/calcalg2.el | |||
| @@ -401,18 +401,18 @@ | |||
| 401 | 401 | ||
| 402 | (put 'calcFunc-sin\' 'math-derivative-1 | 402 | (put 'calcFunc-sin\' 'math-derivative-1 |
| 403 | (function (lambda (u) (math-to-radians-2 (math-normalize | 403 | (function (lambda (u) (math-to-radians-2 (math-normalize |
| 404 | (list 'calcFunc-cos u)))))) | 404 | (list 'calcFunc-cos u)) t)))) |
| 405 | 405 | ||
| 406 | (put 'calcFunc-cos\' 'math-derivative-1 | 406 | (put 'calcFunc-cos\' 'math-derivative-1 |
| 407 | (function (lambda (u) (math-neg (math-to-radians-2 | 407 | (function (lambda (u) (math-neg (math-to-radians-2 |
| 408 | (math-normalize | 408 | (math-normalize |
| 409 | (list 'calcFunc-sin u))))))) | 409 | (list 'calcFunc-sin u)) t))))) |
| 410 | 410 | ||
| 411 | (put 'calcFunc-tan\' 'math-derivative-1 | 411 | (put 'calcFunc-tan\' 'math-derivative-1 |
| 412 | (function (lambda (u) (math-to-radians-2 | 412 | (function (lambda (u) (math-to-radians-2 |
| 413 | (math-sqr | 413 | (math-sqr |
| 414 | (math-normalize | 414 | (math-normalize |
| 415 | (list 'calcFunc-sec u))))))) | 415 | (list 'calcFunc-sec u))) t)))) |
| 416 | 416 | ||
| 417 | (put 'calcFunc-sec\' 'math-derivative-1 | 417 | (put 'calcFunc-sec\' 'math-derivative-1 |
| 418 | (function (lambda (u) (math-to-radians-2 | 418 | (function (lambda (u) (math-to-radians-2 |
| @@ -420,7 +420,7 @@ | |||
| 420 | (math-normalize | 420 | (math-normalize |
| 421 | (list 'calcFunc-sec u)) | 421 | (list 'calcFunc-sec u)) |
| 422 | (math-normalize | 422 | (math-normalize |
| 423 | (list 'calcFunc-tan u))))))) | 423 | (list 'calcFunc-tan u))) t)))) |
| 424 | 424 | ||
| 425 | (put 'calcFunc-csc\' 'math-derivative-1 | 425 | (put 'calcFunc-csc\' 'math-derivative-1 |
| 426 | (function (lambda (u) (math-neg | 426 | (function (lambda (u) (math-neg |
| @@ -429,32 +429,32 @@ | |||
| 429 | (math-normalize | 429 | (math-normalize |
| 430 | (list 'calcFunc-csc u)) | 430 | (list 'calcFunc-csc u)) |
| 431 | (math-normalize | 431 | (math-normalize |
| 432 | (list 'calcFunc-cot u)))))))) | 432 | (list 'calcFunc-cot u))) t))))) |
| 433 | 433 | ||
| 434 | (put 'calcFunc-cot\' 'math-derivative-1 | 434 | (put 'calcFunc-cot\' 'math-derivative-1 |
| 435 | (function (lambda (u) (math-neg | 435 | (function (lambda (u) (math-neg |
| 436 | (math-to-radians-2 | 436 | (math-to-radians-2 |
| 437 | (math-sqr | 437 | (math-sqr |
| 438 | (math-normalize | 438 | (math-normalize |
| 439 | (list 'calcFunc-csc u)))))))) | 439 | (list 'calcFunc-csc u))) t))))) |
| 440 | 440 | ||
| 441 | (put 'calcFunc-arcsin\' 'math-derivative-1 | 441 | (put 'calcFunc-arcsin\' 'math-derivative-1 |
| 442 | (function (lambda (u) | 442 | (function (lambda (u) |
| 443 | (math-from-radians-2 | 443 | (math-from-radians-2 |
| 444 | (math-div 1 (math-normalize | 444 | (math-div 1 (math-normalize |
| 445 | (list 'calcFunc-sqrt | 445 | (list 'calcFunc-sqrt |
| 446 | (math-sub 1 (math-sqr u))))))))) | 446 | (math-sub 1 (math-sqr u))))) t)))) |
| 447 | 447 | ||
| 448 | (put 'calcFunc-arccos\' 'math-derivative-1 | 448 | (put 'calcFunc-arccos\' 'math-derivative-1 |
| 449 | (function (lambda (u) | 449 | (function (lambda (u) |
| 450 | (math-from-radians-2 | 450 | (math-from-radians-2 |
| 451 | (math-div -1 (math-normalize | 451 | (math-div -1 (math-normalize |
| 452 | (list 'calcFunc-sqrt | 452 | (list 'calcFunc-sqrt |
| 453 | (math-sub 1 (math-sqr u))))))))) | 453 | (math-sub 1 (math-sqr u))))) t)))) |
| 454 | 454 | ||
| 455 | (put 'calcFunc-arctan\' 'math-derivative-1 | 455 | (put 'calcFunc-arctan\' 'math-derivative-1 |
| 456 | (function (lambda (u) (math-from-radians-2 | 456 | (function (lambda (u) (math-from-radians-2 |
| 457 | (math-div 1 (math-add 1 (math-sqr u))))))) | 457 | (math-div 1 (math-add 1 (math-sqr u))) t)))) |
| 458 | 458 | ||
| 459 | (put 'calcFunc-sinh\' 'math-derivative-1 | 459 | (put 'calcFunc-sinh\' 'math-derivative-1 |
| 460 | (function (lambda (u) (math-normalize (list 'calcFunc-cosh u))))) | 460 | (function (lambda (u) (math-normalize (list 'calcFunc-cosh u))))) |
diff --git a/lisp/eshell/em-cmpl.el b/lisp/eshell/em-cmpl.el index 8520a9c83d2..91311deffcf 100644 --- a/lisp/eshell/em-cmpl.el +++ b/lisp/eshell/em-cmpl.el | |||
| @@ -63,7 +63,7 @@ | |||
| 63 | ;; The list of possible completions can be viewed at any point by | 63 | ;; The list of possible completions can be viewed at any point by |
| 64 | ;; pressing <M-?>. | 64 | ;; pressing <M-?>. |
| 65 | ;; | 65 | ;; |
| 66 | ;; Finally, context-related help can be accessed by pressing <C-c i>. | 66 | ;; Finally, context-related help can be accessed by pressing <C-c M-h>. |
| 67 | ;; This only works well if the completion function has provided Eshell | 67 | ;; This only works well if the completion function has provided Eshell |
| 68 | ;; with sufficient pointers to locate the relevant help text. | 68 | ;; with sufficient pointers to locate the relevant help text. |
| 69 | 69 | ||
diff --git a/lisp/gnus/gnus-registry.el b/lisp/gnus/gnus-registry.el index d4764c08fde..5a7dfd82d28 100644 --- a/lisp/gnus/gnus-registry.el +++ b/lisp/gnus/gnus-registry.el | |||
| @@ -87,6 +87,12 @@ | |||
| 87 | (require 'easymenu) | 87 | (require 'easymenu) |
| 88 | (require 'registry) | 88 | (require 'registry) |
| 89 | 89 | ||
| 90 | ;; Silence XEmacs byte compiler, which will otherwise complain about | ||
| 91 | ;; call to `eieio-persistent-read'. | ||
| 92 | (when (featurep 'xemacs) | ||
| 93 | (byte-compiler-options | ||
| 94 | (warnings (- callargs)))) | ||
| 95 | |||
| 90 | (defvar gnus-adaptive-word-syntax-table) | 96 | (defvar gnus-adaptive-word-syntax-table) |
| 91 | 97 | ||
| 92 | (defvar gnus-registry-dirty t | 98 | (defvar gnus-registry-dirty t |
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 7a329c5421b..83e3a06d21d 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -10579,6 +10579,7 @@ set_message (Lisp_Object string) | |||
| 10579 | help_echo_showing_p = 0; | 10579 | help_echo_showing_p = 0; |
| 10580 | 10580 | ||
| 10581 | if (STRINGP (Vdebug_on_message) | 10581 | if (STRINGP (Vdebug_on_message) |
| 10582 | && STRINGP (string) | ||
| 10582 | && fast_string_match (Vdebug_on_message, string) >= 0) | 10583 | && fast_string_match (Vdebug_on_message, string) >= 0) |
| 10583 | call_debugger (list2 (Qerror, string)); | 10584 | call_debugger (list2 (Qerror, string)); |
| 10584 | } | 10585 | } |