aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2014-05-07 20:41:21 -0700
committerGlenn Morris2014-05-07 20:41:21 -0700
commitfb3f83f5fd9e80347c8b8e36f6eaefbb912fe57b (patch)
treef106c360c3aef01bcacdc77b66b7c5b20261502e
parent1ba38c429fa6ce17568771ef51c8e53b1a72bb94 (diff)
parent606695a67801acfd1792110e4ea3228b50b0117d (diff)
downloademacs-fb3f83f5fd9e80347c8b8e36f6eaefbb912fe57b.tar.gz
emacs-fb3f83f5fd9e80347c8b8e36f6eaefbb912fe57b.zip
Merge from emacs-24; up to 2014-05-08T03:34:20Z!rgm@gnu.org
-rw-r--r--doc/emacs/emacs-xtra.texi2
-rw-r--r--doc/emacs/emacs.texi2
-rw-r--r--doc/lispref/ChangeLog5
-rw-r--r--doc/lispref/elisp.texi2
-rw-r--r--doc/lispref/internals.texi31
-rw-r--r--doc/misc/ChangeLog5
-rw-r--r--doc/misc/ada-mode.texi2
-rw-r--r--doc/misc/auth.texi2
-rw-r--r--doc/misc/autotype.texi2
-rw-r--r--doc/misc/bovine.texi2
-rw-r--r--doc/misc/calc.texi2
-rw-r--r--doc/misc/cc-mode.texi2
-rw-r--r--doc/misc/cl.texi2
-rw-r--r--doc/misc/dbus.texi2
-rw-r--r--doc/misc/dired-x.texi2
-rw-r--r--doc/misc/ebrowse.texi2
-rw-r--r--doc/misc/ede.texi2
-rw-r--r--doc/misc/ediff.texi2
-rw-r--r--doc/misc/edt.texi2
-rw-r--r--doc/misc/eieio.texi2
-rw-r--r--doc/misc/emacs-gnutls.texi2
-rw-r--r--doc/misc/emacs-mime.texi2
-rw-r--r--doc/misc/epa.texi2
-rw-r--r--doc/misc/erc.texi2
-rw-r--r--doc/misc/ert.texi2
-rw-r--r--doc/misc/eshell.texi2
-rw-r--r--doc/misc/eudc.texi2
-rw-r--r--doc/misc/eww.texi2
-rw-r--r--doc/misc/flymake.texi2
-rw-r--r--doc/misc/forms.texi2
-rw-r--r--doc/misc/gnus-coding.texi2
-rw-r--r--doc/misc/gnus.texi2
-rw-r--r--doc/misc/htmlfontify.texi2
-rw-r--r--doc/misc/idlwave.texi2
-rw-r--r--doc/misc/ido.texi2
-rw-r--r--doc/misc/info.texi2
-rw-r--r--doc/misc/mairix-el.texi2
-rw-r--r--doc/misc/message.texi2
-rw-r--r--doc/misc/mh-e.texi2
-rw-r--r--doc/misc/newsticker.texi2
-rw-r--r--doc/misc/nxml-mode.texi2
-rw-r--r--doc/misc/octave-mode.texi2
-rw-r--r--doc/misc/org.texi2
-rw-r--r--doc/misc/pcl-cvs.texi2
-rw-r--r--doc/misc/pgg.texi2
-rw-r--r--doc/misc/rcirc.texi2
-rw-r--r--doc/misc/reftex.texi2
-rw-r--r--doc/misc/remember.texi2
-rw-r--r--doc/misc/sasl.texi2
-rw-r--r--doc/misc/sc.texi2
-rw-r--r--doc/misc/semantic.texi2
-rw-r--r--doc/misc/ses.texi2
-rw-r--r--doc/misc/sieve.texi2
-rw-r--r--doc/misc/smtpmail.texi2
-rw-r--r--doc/misc/speedbar.texi2
-rw-r--r--doc/misc/srecode.texi2
-rw-r--r--doc/misc/todo-mode.texi2
-rw-r--r--doc/misc/tramp.texi9
-rw-r--r--doc/misc/url.texi2
-rw-r--r--doc/misc/vip.texi2
-rw-r--r--doc/misc/viper.texi2
-rw-r--r--doc/misc/widget.texi2
-rw-r--r--doc/misc/wisent.texi2
-rw-r--r--doc/misc/woman.texi2
-rw-r--r--lib-src/ChangeLog2
-rw-r--r--lisp/ChangeLog82
-rw-r--r--lisp/calendar/todo-mode.el3
-rw-r--r--lisp/electric.el3
-rw-r--r--lisp/emacs-lisp/find-gc.el92
-rw-r--r--lisp/emacs-lisp/package.el28
-rw-r--r--lisp/gnus/ChangeLog5
-rw-r--r--lisp/gnus/gnus-fun.el9
-rw-r--r--lisp/help-fns.el10
-rw-r--r--lisp/minibuffer.el60
-rw-r--r--lisp/net/browse-url.el3
-rw-r--r--lisp/net/tramp-sh.el52
-rw-r--r--lisp/progmodes/ruby-mode.el7
-rw-r--r--lisp/xt-mouse.el105
-rw-r--r--src/ChangeLog26
-rw-r--r--src/keyboard.c13
-rw-r--r--src/minibuf.c16
-rw-r--r--src/nsselect.m4
-rw-r--r--src/w32fns.c10
-rw-r--r--test/ChangeLog14
-rw-r--r--test/automated/help-fns.el37
-rw-r--r--test/automated/ruby-mode-tests.el4
-rw-r--r--test/automated/vc-bzr.el12
87 files changed, 513 insertions, 254 deletions
diff --git a/doc/emacs/emacs-xtra.texi b/doc/emacs/emacs-xtra.texi
index aa0683c1c32..817d1c6fd05 100644
--- a/doc/emacs/emacs-xtra.texi
+++ b/doc/emacs/emacs-xtra.texi
@@ -17,7 +17,7 @@ Copyright @copyright{} 2004--2014 Free Software Foundation, Inc.
17Permission is granted to copy, distribute and/or modify this document 17Permission is granted to copy, distribute and/or modify this document
18under the terms of the GNU Free Documentation License, Version 1.3 or 18under the terms of the GNU Free Documentation License, Version 1.3 or
19any later version published by the Free Software Foundation; with no 19any later version published by the Free Software Foundation; with no
20Invariant Sections, with the Front-Cover texts being ``A GNU Manual,'' 20Invariant Sections, with the Front-Cover Texts being ``A GNU Manual,''
21and with the Back-Cover Texts as in (a) below. A copy of the license 21and with the Back-Cover Texts as in (a) below. A copy of the license
22is included in the section entitled ``GNU Free Documentation License''. 22is included in the section entitled ``GNU Free Documentation License''.
23 23
diff --git a/doc/emacs/emacs.texi b/doc/emacs/emacs.texi
index 40a32b5da53..d665a9dedaf 100644
--- a/doc/emacs/emacs.texi
+++ b/doc/emacs/emacs.texi
@@ -33,7 +33,7 @@ Permission is granted to copy, distribute and/or modify this document
33under the terms of the GNU Free Documentation License, Version 1.3 or 33under the terms of the GNU Free Documentation License, Version 1.3 or
34any later version published by the Free Software Foundation; with the 34any later version published by the Free Software Foundation; with the
35Invariant Sections being ``The GNU Manifesto,'' ``Distribution'' and 35Invariant Sections being ``The GNU Manifesto,'' ``Distribution'' and
36``GNU GENERAL PUBLIC LICENSE,'' with the Front-Cover texts being ``A GNU 36``GNU GENERAL PUBLIC LICENSE,'' with the Front-Cover Texts being ``A GNU
37Manual,'' and with the Back-Cover Texts as in (a) below. A copy of the 37Manual,'' and with the Back-Cover Texts as in (a) below. A copy of the
38license is included in the section entitled ``GNU Free Documentation 38license is included in the section entitled ``GNU Free Documentation
39License.'' 39License.''
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 0475635e958..2400c6a8e0a 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,8 @@
12014-05-08 Paul Eggert <eggert@cs.ucla.edu>
2
3 * internals.texi (C Dialect): New section.
4 (C Integer Types): Mention bool_bf.
5
12014-04-30 Stefan Monnier <monnier@iro.umontreal.ca> 62014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
2 7
3 * processes.texi (Filter Functions, Sentinels): Advertise add-function. 8 * processes.texi (Filter Functions, Sentinels): Advertise add-function.
diff --git a/doc/lispref/elisp.texi b/doc/lispref/elisp.texi
index 567cbe0eea7..22df02113f0 100644
--- a/doc/lispref/elisp.texi
+++ b/doc/lispref/elisp.texi
@@ -105,7 +105,7 @@ Permission is granted to copy, distribute and/or modify this document
105under the terms of the GNU Free Documentation License, Version 1.3 or 105under the terms of the GNU Free Documentation License, Version 1.3 or
106any later version published by the Free Software Foundation; with the 106any later version published by the Free Software Foundation; with the
107Invariant Sections being ``GNU General Public License,'' with the 107Invariant Sections being ``GNU General Public License,'' with the
108Front-Cover texts being ``A GNU Manual,'' and with the Back-Cover 108Front-Cover Texts being ``A GNU Manual,'' and with the Back-Cover
109Texts as in (a) below. A copy of the license is included in the 109Texts as in (a) below. A copy of the license is included in the
110section entitled ``GNU Free Documentation License.'' 110section entitled ``GNU Free Documentation License.''
111 111
diff --git a/doc/lispref/internals.texi b/doc/lispref/internals.texi
index f85701f5396..bfc9d491c5e 100644
--- a/doc/lispref/internals.texi
+++ b/doc/lispref/internals.texi
@@ -15,6 +15,7 @@ internal aspects of GNU Emacs that may be of interest to C programmers.
15* Pure Storage:: Kludge to make preloaded Lisp functions shareable. 15* Pure Storage:: Kludge to make preloaded Lisp functions shareable.
16* Garbage Collection:: Reclaiming space for Lisp objects no longer used. 16* Garbage Collection:: Reclaiming space for Lisp objects no longer used.
17* Memory Usage:: Info about total size of Lisp objects made so far. 17* Memory Usage:: Info about total size of Lisp objects made so far.
18* C Dialect:: What C variant Emacs is written in.
18* Writing Emacs Primitives:: Writing C code for Emacs. 19* Writing Emacs Primitives:: Writing C code for Emacs.
19* Object Internals:: Data formats of buffers, windows, processes. 20* Object Internals:: Data formats of buffers, windows, processes.
20* C Integer Types:: How C integer types are used inside Emacs. 21* C Integer Types:: How C integer types are used inside Emacs.
@@ -575,6 +576,20 @@ The total number of strings that have been allocated so far in this
575Emacs session. 576Emacs session.
576@end defvar 577@end defvar
577 578
579@node C Dialect
580@section C Dialect
581@cindex C programming language
582
583The C part of Emacs is portable to C89: C99-specific features such as
584@samp{<stdbool.h>} and @samp{inline} are not used without a check,
585typically at configuration time, and the Emacs build procedure
586provides a substitute implementation if necessary. Some C99 features,
587such as declarations after statements, are too difficult to provide
588substitutes for, so they are avoided entirely.
589
590At some point in the not-too-distant future the base C dialect will
591change from C89 to C99, and eventually it will no doubt change to C11.
592
578@node Writing Emacs Primitives 593@node Writing Emacs Primitives
579@section Writing Emacs Primitives 594@section Writing Emacs Primitives
580@cindex primitive function internals 595@cindex primitive function internals
@@ -1616,12 +1631,6 @@ Prefer @code{intmax_t} for representing values that might be any
1616signed integer value. 1631signed integer value.
1617 1632
1618@item 1633@item
1619In bitfields, prefer @code{unsigned int} or @code{signed int} to
1620@code{int}, as @code{int} is less portable: it might be signed, and
1621might not be. Single-bit bit fields are invariably @code{unsigned
1622int} so that their values are 0 and 1.
1623
1624@item
1625Prefer @code{bool}, @code{false} and @code{true} for booleans. 1634Prefer @code{bool}, @code{false} and @code{true} for booleans.
1626Using @code{bool} can make programs easier to read and a bit faster than 1635Using @code{bool} can make programs easier to read and a bit faster than
1627using @code{int}. Although it is also OK to use @code{int}, @code{0} 1636using @code{int}. Although it is also OK to use @code{int}, @code{0}
@@ -1629,7 +1638,15 @@ and @code{1}, this older style is gradually being phased out. When
1629using @code{bool}, respect the limitations of the replacement 1638using @code{bool}, respect the limitations of the replacement
1630implementation of @code{bool}, as documented in the source file 1639implementation of @code{bool}, as documented in the source file
1631@file{lib/stdbool.in.h}, so that Emacs remains portable to pre-C99 1640@file{lib/stdbool.in.h}, so that Emacs remains portable to pre-C99
1632platforms. 1641platforms. In particular, boolean bitfields should be of type
1642@code{bool_bf}, not @code{bool}, so that they work correctly even when
1643compiling Objective C with standard GCC.
1644
1645@item
1646In bitfields, prefer @code{unsigned int} or @code{signed int} to
1647@code{int}, as @code{int} is less portable: it might be signed, and
1648might not be. Single-bit bit fields should be @code{unsigned int} or
1649@code{bool_bf} so that their values are 0 or 1.
1633@end itemize 1650@end itemize
1634 1651
1635@c FIXME Mention src/globals.h somewhere in this file? 1652@c FIXME Mention src/globals.h somewhere in this file?
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index cdaa6b4fb34..9908b152193 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,8 @@
12014-05-08 Michael Albinus <michael.albinus@gmx.de>
2
3 * tramp.texi (Frequently Asked Questions): Mention HISTFILE
4 setting in ~/.ssh/environment.
5
12014-05-04 Stephen Berman <stephen.berman@gmx.net> 62014-05-04 Stephen Berman <stephen.berman@gmx.net>
2 7
3 * todo-mode.texi: Update, improve exposition, add cross 8 * todo-mode.texi: Update, improve exposition, add cross
diff --git a/doc/misc/ada-mode.texi b/doc/misc/ada-mode.texi
index 71f020ceb28..e68bf055f35 100644
--- a/doc/misc/ada-mode.texi
+++ b/doc/misc/ada-mode.texi
@@ -10,7 +10,7 @@ Copyright @copyright{} 1999--2014 Free Software Foundation, Inc.
10Permission is granted to copy, distribute and/or modify this document 10Permission is granted to copy, distribute and/or modify this document
11under the terms of the GNU Free Documentation License, Version 1.3 or 11under the terms of the GNU Free Documentation License, Version 1.3 or
12any later version published by the Free Software Foundation; with no 12any later version published by the Free Software Foundation; with no
13Invariant Sections, with the Front-Cover texts being ``A GNU Manual'', 13Invariant Sections, with the Front-Cover Texts being ``A GNU Manual'',
14and with the Back-Cover Texts as in (a) below. A copy of the license 14and with the Back-Cover Texts as in (a) below. A copy of the license
15is included in the section entitled ``GNU Free Documentation License''. 15is included in the section entitled ``GNU Free Documentation License''.
16 16
diff --git a/doc/misc/auth.texi b/doc/misc/auth.texi
index 110473209c4..2de4cfdab7f 100644
--- a/doc/misc/auth.texi
+++ b/doc/misc/auth.texi
@@ -17,7 +17,7 @@ Copyright @copyright{} 2008--2014 Free Software Foundation, Inc.
17Permission is granted to copy, distribute and/or modify this document 17Permission is granted to copy, distribute and/or modify this document
18under the terms of the GNU Free Documentation License, Version 1.3 or 18under the terms of the GNU Free Documentation License, Version 1.3 or
19any later version published by the Free Software Foundation; with no 19any later version published by the Free Software Foundation; with no
20Invariant Sections, with the Front-Cover texts being ``A GNU Manual,'' 20Invariant Sections, with the Front-Cover Texts being ``A GNU Manual,''
21and with the Back-Cover Texts as in (a) below. A copy of the license 21and with the Back-Cover Texts as in (a) below. A copy of the license
22is included in the section entitled ``GNU Free Documentation License''. 22is included in the section entitled ``GNU Free Documentation License''.
23 23
diff --git a/doc/misc/autotype.texi b/doc/misc/autotype.texi
index e01a6c2f5c5..fd4477e1636 100644
--- a/doc/misc/autotype.texi
+++ b/doc/misc/autotype.texi
@@ -18,7 +18,7 @@ Free Software Foundation, Inc.
18Permission is granted to copy, distribute and/or modify this document 18Permission is granted to copy, distribute and/or modify this document
19under the terms of the GNU Free Documentation License, Version 1.3 or 19under the terms of the GNU Free Documentation License, Version 1.3 or
20any later version published by the Free Software Foundation; with no 20any later version published by the Free Software Foundation; with no
21Invariant Sections, with the Front-Cover texts being ``A GNU Manual'', 21Invariant Sections, with the Front-Cover Texts being ``A GNU Manual'',
22and with the Back-Cover Texts as in (a) below. A copy of the license 22and with the Back-Cover Texts as in (a) below. A copy of the license
23is included in the section entitled ``GNU Free Documentation License''. 23is included in the section entitled ``GNU Free Documentation License''.
24 24
diff --git a/doc/misc/bovine.texi b/doc/misc/bovine.texi
index 5092d463a29..2ac355f805f 100644
--- a/doc/misc/bovine.texi
+++ b/doc/misc/bovine.texi
@@ -30,7 +30,7 @@ Copyright @copyright{} 1999--2004, 2012--2014 Free Software Foundation, Inc.
30Permission is granted to copy, distribute and/or modify this document 30Permission is granted to copy, distribute and/or modify this document
31under the terms of the GNU Free Documentation License, Version 1.3 or 31under the terms of the GNU Free Documentation License, Version 1.3 or
32any later version published by the Free Software Foundation; with no 32any later version published by the Free Software Foundation; with no
33Invariant Sections, with the Front-Cover texts being ``A GNU Manual,'' 33Invariant Sections, with the Front-Cover Texts being ``A GNU Manual,''
34and with the Back-Cover Texts as in (a) below. A copy of the license 34and with the Back-Cover Texts as in (a) below. A copy of the license
35is included in the section entitled ``GNU Free Documentation License''. 35is included in the section entitled ``GNU Free Documentation License''.
36 36
diff --git a/doc/misc/calc.texi b/doc/misc/calc.texi
index 366f1e3f03d..93c873e2ed6 100644
--- a/doc/misc/calc.texi
+++ b/doc/misc/calc.texi
@@ -102,7 +102,7 @@ Permission is granted to copy, distribute and/or modify this document
102under the terms of the GNU Free Documentation License, Version 1.3 or 102under the terms of the GNU Free Documentation License, Version 1.3 or
103any later version published by the Free Software Foundation; with the 103any later version published by the Free Software Foundation; with the
104Invariant Sections being just ``GNU GENERAL PUBLIC LICENSE'', with the 104Invariant Sections being just ``GNU GENERAL PUBLIC LICENSE'', with the
105Front-Cover texts being ``A GNU Manual,'' and with the Back-Cover 105Front-Cover Texts being ``A GNU Manual,'' and with the Back-Cover
106Texts as in (a) below. A copy of the license is included in the section 106Texts as in (a) below. A copy of the license is included in the section
107entitled ``GNU Free Documentation License.'' 107entitled ``GNU Free Documentation License.''
108 108
diff --git a/doc/misc/cc-mode.texi b/doc/misc/cc-mode.texi
index f6537ac22b3..35aea2889a6 100644
--- a/doc/misc/cc-mode.texi
+++ b/doc/misc/cc-mode.texi
@@ -163,7 +163,7 @@ Copyright @copyright{} 1995--2014 Free Software Foundation, Inc.
163Permission is granted to copy, distribute and/or modify this document 163Permission is granted to copy, distribute and/or modify this document
164under the terms of the GNU Free Documentation License, Version 1.3 or 164under the terms of the GNU Free Documentation License, Version 1.3 or
165any later version published by the Free Software Foundation; with no 165any later version published by the Free Software Foundation; with no
166Invariant Sections, with the Front-Cover texts being ``A GNU Manual'', 166Invariant Sections, with the Front-Cover Texts being ``A GNU Manual'',
167and with the Back-Cover Texts as in (a) below. A copy of the license 167and with the Back-Cover Texts as in (a) below. A copy of the license
168is included in the section entitled ``GNU Free Documentation License''. 168is included in the section entitled ``GNU Free Documentation License''.
169 169
diff --git a/doc/misc/cl.texi b/doc/misc/cl.texi
index 24ec6ea3c70..d6e0bb74bcb 100644
--- a/doc/misc/cl.texi
+++ b/doc/misc/cl.texi
@@ -13,7 +13,7 @@ Copyright @copyright{} 1993, 2001--2014 Free Software Foundation, Inc.
13Permission is granted to copy, distribute and/or modify this document 13Permission is granted to copy, distribute and/or modify this document
14under the terms of the GNU Free Documentation License, Version 1.3 or 14under the terms of the GNU Free Documentation License, Version 1.3 or
15any later version published by the Free Software Foundation; with no 15any later version published by the Free Software Foundation; with no
16Invariant Sections, with the Front-Cover texts being ``A GNU Manual'', 16Invariant Sections, with the Front-Cover Texts being ``A GNU Manual'',
17and with the Back-Cover Texts as in (a) below. A copy of the license 17and with the Back-Cover Texts as in (a) below. A copy of the license
18is included in the section entitled ``GNU Free Documentation License''. 18is included in the section entitled ``GNU Free Documentation License''.
19 19
diff --git a/doc/misc/dbus.texi b/doc/misc/dbus.texi
index 6a91efbd728..99119246a4e 100644
--- a/doc/misc/dbus.texi
+++ b/doc/misc/dbus.texi
@@ -16,7 +16,7 @@ Copyright @copyright{} 2007--2014 Free Software Foundation, Inc.
16Permission is granted to copy, distribute and/or modify this document 16Permission is granted to copy, distribute and/or modify this document
17under the terms of the GNU Free Documentation License, Version 1.3 or 17under the terms of the GNU Free Documentation License, Version 1.3 or
18any later version published by the Free Software Foundation; with no 18any later version published by the Free Software Foundation; with no
19Invariant Sections, with the Front-Cover texts being ``A GNU Manual'', 19Invariant Sections, with the Front-Cover Texts being ``A GNU Manual'',
20and with the Back-Cover Texts as in (a) below. A copy of the license 20and with the Back-Cover Texts as in (a) below. A copy of the license
21is included in the section entitled ``GNU Free Documentation License''. 21is included in the section entitled ``GNU Free Documentation License''.
22 22
diff --git a/doc/misc/dired-x.texi b/doc/misc/dired-x.texi
index c0d0d4b1645..5d790217226 100644
--- a/doc/misc/dired-x.texi
+++ b/doc/misc/dired-x.texi
@@ -27,7 +27,7 @@ Free Software Foundation, Inc.
27Permission is granted to copy, distribute and/or modify this document 27Permission is granted to copy, distribute and/or modify this document
28under the terms of the GNU Free Documentation License, Version 1.3 or 28under the terms of the GNU Free Documentation License, Version 1.3 or
29any later version published by the Free Software Foundation; with no 29any later version published by the Free Software Foundation; with no
30Invariant Sections, with the Front-Cover texts being ``A GNU Manual'', 30Invariant Sections, with the Front-Cover Texts being ``A GNU Manual'',
31and with the Back-Cover Texts as in (a) below. A copy of the license 31and with the Back-Cover Texts as in (a) below. A copy of the license
32is included in the section entitled ``GNU Free Documentation License''. 32is included in the section entitled ``GNU Free Documentation License''.
33 33
diff --git a/doc/misc/ebrowse.texi b/doc/misc/ebrowse.texi
index 3d1ce5e5da3..77e221d3c83 100644
--- a/doc/misc/ebrowse.texi
+++ b/doc/misc/ebrowse.texi
@@ -17,7 +17,7 @@ Copyright @copyright{} 2000--2014 Free Software Foundation, Inc.
17Permission is granted to copy, distribute and/or modify this document 17Permission is granted to copy, distribute and/or modify this document
18under the terms of the GNU Free Documentation License, Version 1.3 or 18under the terms of the GNU Free Documentation License, Version 1.3 or
19any later version published by the Free Software Foundation; with no 19any later version published by the Free Software Foundation; with no
20Invariant Sections, with the Front-Cover texts being ``A GNU Manual,'' 20Invariant Sections, with the Front-Cover Texts being ``A GNU Manual,''
21and with the Back-Cover Texts as in (a) below. A copy of the license 21and with the Back-Cover Texts as in (a) below. A copy of the license
22is included in the section entitled ``GNU Free Documentation License''. 22is included in the section entitled ``GNU Free Documentation License''.
23 23
diff --git a/doc/misc/ede.texi b/doc/misc/ede.texi
index ab1e8a418da..0bf1983cdcf 100644
--- a/doc/misc/ede.texi
+++ b/doc/misc/ede.texi
@@ -13,7 +13,7 @@ Free Software Foundation, Inc.
13Permission is granted to copy, distribute and/or modify this document 13Permission is granted to copy, distribute and/or modify this document
14under the terms of the GNU Free Documentation License, Version 1.3 or 14under the terms of the GNU Free Documentation License, Version 1.3 or
15any later version published by the Free Software Foundation; with no 15any later version published by the Free Software Foundation; with no
16Invariant Sections, with the Front-Cover texts being ``A GNU Manual,'' 16Invariant Sections, with the Front-Cover Texts being ``A GNU Manual,''
17and with the Back-Cover Texts as in (a) below. A copy of the license 17and with the Back-Cover Texts as in (a) below. A copy of the license
18is included in the section entitled ``GNU Free Documentation License.'' 18is included in the section entitled ``GNU Free Documentation License.''
19 19
diff --git a/doc/misc/ediff.texi b/doc/misc/ediff.texi
index 826e16c7a4c..ea4bcc8f5b9 100644
--- a/doc/misc/ediff.texi
+++ b/doc/misc/ediff.texi
@@ -32,7 +32,7 @@ Copyright @copyright{} 1995--2014 Free Software Foundation, Inc.
32Permission is granted to copy, distribute and/or modify this document 32Permission is granted to copy, distribute and/or modify this document
33under the terms of the GNU Free Documentation License, Version 1.3 or 33under the terms of the GNU Free Documentation License, Version 1.3 or
34any later version published by the Free Software Foundation; with no 34any later version published by the Free Software Foundation; with no
35Invariant Sections, with the Front-Cover texts being ``A GNU Manual'', 35Invariant Sections, with the Front-Cover Texts being ``A GNU Manual'',
36and with the Back-Cover Texts as in (a) below. A copy of the license 36and with the Back-Cover Texts as in (a) below. A copy of the license
37is included in the section entitled ``GNU Free Documentation License''. 37is included in the section entitled ``GNU Free Documentation License''.
38 38
diff --git a/doc/misc/edt.texi b/doc/misc/edt.texi
index ef27d339e9e..6e066220020 100644
--- a/doc/misc/edt.texi
+++ b/doc/misc/edt.texi
@@ -13,7 +13,7 @@ Free Software Foundation, Inc.
13Permission is granted to copy, distribute and/or modify this document 13Permission is granted to copy, distribute and/or modify this document
14under the terms of the GNU Free Documentation License, Version 1.3 or 14under the terms of the GNU Free Documentation License, Version 1.3 or
15any later version published by the Free Software Foundation; with no 15any later version published by the Free Software Foundation; with no
16Invariant Sections, with the Front-Cover texts being ``A GNU Manual,'' 16Invariant Sections, with the Front-Cover Texts being ``A GNU Manual,''
17and with the Back-Cover Texts as in (a) below. A copy of the license 17and with the Back-Cover Texts as in (a) below. A copy of the license
18is included in the section entitled ``GNU Free Documentation License''. 18is included in the section entitled ``GNU Free Documentation License''.
19 19
diff --git a/doc/misc/eieio.texi b/doc/misc/eieio.texi
index bc1f2988738..d65bcf1d28d 100644
--- a/doc/misc/eieio.texi
+++ b/doc/misc/eieio.texi
@@ -18,7 +18,7 @@ Copyright @copyright{} 2007--2014 Free Software Foundation, Inc.
18Permission is granted to copy, distribute and/or modify this document 18Permission is granted to copy, distribute and/or modify this document
19under the terms of the GNU Free Documentation License, Version 1.3 or 19under the terms of the GNU Free Documentation License, Version 1.3 or
20any later version published by the Free Software Foundation; with no 20any later version published by the Free Software Foundation; with no
21Invariant Sections, with the Front-Cover texts being ``A GNU Manual,'' 21Invariant Sections, with the Front-Cover Texts being ``A GNU Manual,''
22and with the Back-Cover Texts as in (a) below. A copy of the license 22and with the Back-Cover Texts as in (a) below. A copy of the license
23is included in the section entitled ``GNU Free Documentation License.'' 23is included in the section entitled ``GNU Free Documentation License.''
24 24
diff --git a/doc/misc/emacs-gnutls.texi b/doc/misc/emacs-gnutls.texi
index d6a95a46296..844579c1f94 100644
--- a/doc/misc/emacs-gnutls.texi
+++ b/doc/misc/emacs-gnutls.texi
@@ -15,7 +15,7 @@ Copyright @copyright{} 2012--2014 Free Software Foundation, Inc.
15Permission is granted to copy, distribute and/or modify this document 15Permission is granted to copy, distribute and/or modify this document
16under the terms of the GNU Free Documentation License, Version 1.3 or 16under the terms of the GNU Free Documentation License, Version 1.3 or
17any later version published by the Free Software Foundation; with no 17any later version published by the Free Software Foundation; with no
18Invariant Sections, with the Front-Cover texts being ``A GNU Manual,'' 18Invariant Sections, with the Front-Cover Texts being ``A GNU Manual,''
19and with the Back-Cover Texts as in (a) below. A copy of the license 19and with the Back-Cover Texts as in (a) below. A copy of the license
20is included in the section entitled ``GNU Free Documentation License''. 20is included in the section entitled ``GNU Free Documentation License''.
21 21
diff --git a/doc/misc/emacs-mime.texi b/doc/misc/emacs-mime.texi
index 0f717d34096..bb831f5deda 100644
--- a/doc/misc/emacs-mime.texi
+++ b/doc/misc/emacs-mime.texi
@@ -17,7 +17,7 @@ Copyright @copyright{} 1998--2014 Free Software Foundation, Inc.
17Permission is granted to copy, distribute and/or modify this document 17Permission is granted to copy, distribute and/or modify this document
18under the terms of the GNU Free Documentation License, Version 1.3 or 18under the terms of the GNU Free Documentation License, Version 1.3 or
19any later version published by the Free Software Foundation; with no 19any later version published by the Free Software Foundation; with no
20Invariant Sections, with the Front-Cover texts being ``A GNU Manual'', 20Invariant Sections, with the Front-Cover Texts being ``A GNU Manual'',
21and with the Back-Cover Texts as in (a) below. A copy of the license 21and with the Back-Cover Texts as in (a) below. A copy of the license
22is included in the section entitled ``GNU Free Documentation License''. 22is included in the section entitled ``GNU Free Documentation License''.
23 23
diff --git a/doc/misc/epa.texi b/doc/misc/epa.texi
index 76794517692..0632e735df0 100644
--- a/doc/misc/epa.texi
+++ b/doc/misc/epa.texi
@@ -16,7 +16,7 @@ Copyright @copyright{} 2007--2014 Free Software Foundation, Inc.
16Permission is granted to copy, distribute and/or modify this document 16Permission is granted to copy, distribute and/or modify this document
17under the terms of the GNU Free Documentation License, Version 1.3 or 17under the terms of the GNU Free Documentation License, Version 1.3 or
18any later version published by the Free Software Foundation; with no 18any later version published by the Free Software Foundation; with no
19Invariant Sections, with the Front-Cover texts being ``A GNU Manual,'' 19Invariant Sections, with the Front-Cover Texts being ``A GNU Manual,''
20and with the Back-Cover Texts as in (a) below. A copy of the license 20and with the Back-Cover Texts as in (a) below. A copy of the license
21is included in the section entitled ``GNU Free Documentation License''. 21is included in the section entitled ``GNU Free Documentation License''.
22 22
diff --git a/doc/misc/erc.texi b/doc/misc/erc.texi
index 05338d8cf29..f21b9d5cbd4 100644
--- a/doc/misc/erc.texi
+++ b/doc/misc/erc.texi
@@ -16,7 +16,7 @@ Copyright @copyright{} 2005--2014 Free Software Foundation, Inc.
16Permission is granted to copy, distribute and/or modify this document 16Permission is granted to copy, distribute and/or modify this document
17under the terms of the GNU Free Documentation License, Version 1.3 or 17under the terms of the GNU Free Documentation License, Version 1.3 or
18any later version published by the Free Software Foundation; with no 18any later version published by the Free Software Foundation; with no
19Invariant Sections, with the Front-Cover texts being ``A GNU Manual,'' 19Invariant Sections, with the Front-Cover Texts being ``A GNU Manual,''
20and with the Back-Cover Texts as in (a) below. A copy of the license 20and with the Back-Cover Texts as in (a) below. A copy of the license
21is included in the section entitled ``GNU Free Documentation License''. 21is included in the section entitled ``GNU Free Documentation License''.
22 22
diff --git a/doc/misc/ert.texi b/doc/misc/ert.texi
index 586fab6cd5b..25174a396a3 100644
--- a/doc/misc/ert.texi
+++ b/doc/misc/ert.texi
@@ -17,7 +17,7 @@ Copyright @copyright{} 2008, 2010--2014 Free Software Foundation, Inc.
17Permission is granted to copy, distribute and/or modify this document 17Permission is granted to copy, distribute and/or modify this document
18under the terms of the GNU Free Documentation License, Version 1.3 or 18under the terms of the GNU Free Documentation License, Version 1.3 or
19any later version published by the Free Software Foundation; with no 19any later version published by the Free Software Foundation; with no
20Invariant Sections, with the Front-Cover texts being ``A GNU Manual,'' 20Invariant Sections, with the Front-Cover Texts being ``A GNU Manual,''
21and with the Back-Cover Texts as in (a) below. A copy of the license 21and with the Back-Cover Texts as in (a) below. A copy of the license
22is included in the section entitled ``GNU Free Documentation License''. 22is included in the section entitled ``GNU Free Documentation License''.
23 23
diff --git a/doc/misc/eshell.texi b/doc/misc/eshell.texi
index d52f3d92747..67aa4799f75 100644
--- a/doc/misc/eshell.texi
+++ b/doc/misc/eshell.texi
@@ -16,7 +16,7 @@ Copyright @copyright{} 1999--2014 Free Software Foundation, Inc.
16Permission is granted to copy, distribute and/or modify this document 16Permission is granted to copy, distribute and/or modify this document
17under the terms of the GNU Free Documentation License, Version 1.3 or 17under the terms of the GNU Free Documentation License, Version 1.3 or
18any later version published by the Free Software Foundation; with no 18any later version published by the Free Software Foundation; with no
19Invariant Sections, with the Front-Cover texts being ``A GNU Manual'', 19Invariant Sections, with the Front-Cover Texts being ``A GNU Manual'',
20and with the Back-Cover Texts as in (a) below. A copy of the license 20and with the Back-Cover Texts as in (a) below. A copy of the license
21is included in the section entitled ``GNU Free Documentation License''. 21is included in the section entitled ``GNU Free Documentation License''.
22 22
diff --git a/doc/misc/eudc.texi b/doc/misc/eudc.texi
index 1df54ca4395..a54a37a72e6 100644
--- a/doc/misc/eudc.texi
+++ b/doc/misc/eudc.texi
@@ -19,7 +19,7 @@ Copyright @copyright{} 1998, 2000--2014 Free Software Foundation, Inc.
19Permission is granted to copy, distribute and/or modify this document 19Permission is granted to copy, distribute and/or modify this document
20under the terms of the GNU Free Documentation License, Version 1.3 or 20under the terms of the GNU Free Documentation License, Version 1.3 or
21any later version published by the Free Software Foundation; with no 21any later version published by the Free Software Foundation; with no
22Invariant Sections, with the Front-Cover texts being ``A GNU Manual'', 22Invariant Sections, with the Front-Cover Texts being ``A GNU Manual'',
23and with the Back-Cover Texts as in (a) below. A copy of the license 23and with the Back-Cover Texts as in (a) below. A copy of the license
24is included in the section entitled ``GNU Free Documentation License''. 24is included in the section entitled ``GNU Free Documentation License''.
25 25
diff --git a/doc/misc/eww.texi b/doc/misc/eww.texi
index 884850c98d7..827c35f02ef 100644
--- a/doc/misc/eww.texi
+++ b/doc/misc/eww.texi
@@ -14,7 +14,7 @@ Copyright @copyright{} 2014 Free Software Foundation, Inc.
14Permission is granted to copy, distribute and/or modify this document 14Permission is granted to copy, distribute and/or modify this document
15under the terms of the GNU Free Documentation License, Version 1.3 or 15under the terms of the GNU Free Documentation License, Version 1.3 or
16any later version published by the Free Software Foundation; with no 16any later version published by the Free Software Foundation; with no
17Invariant Sections, with the Front-Cover texts being ``A GNU Manual,'' 17Invariant Sections, with the Front-Cover Texts being ``A GNU Manual,''
18and with the Back-Cover Texts as in (a) below. A copy of the license 18and with the Back-Cover Texts as in (a) below. A copy of the license
19is included in the section entitled ``GNU Free Documentation License.'' 19is included in the section entitled ``GNU Free Documentation License.''
20 20
diff --git a/doc/misc/flymake.texi b/doc/misc/flymake.texi
index 362bcd8280b..761056a69a5 100644
--- a/doc/misc/flymake.texi
+++ b/doc/misc/flymake.texi
@@ -18,7 +18,7 @@ Copyright @copyright{} 2004--2014 Free Software Foundation, Inc.
18Permission is granted to copy, distribute and/or modify this document 18Permission is granted to copy, distribute and/or modify this document
19under the terms of the GNU Free Documentation License, Version 1.3 or 19under the terms of the GNU Free Documentation License, Version 1.3 or
20any later version published by the Free Software Foundation; with no 20any later version published by the Free Software Foundation; with no
21Invariant Sections, with the Front-Cover texts being ``A GNU Manual,'' 21Invariant Sections, with the Front-Cover Texts being ``A GNU Manual,''
22and with the Back-Cover Texts as in (a) below. A copy of the license 22and with the Back-Cover Texts as in (a) below. A copy of the license
23is included in the section entitled ``GNU Free Documentation License''. 23is included in the section entitled ``GNU Free Documentation License''.
24 24
diff --git a/doc/misc/forms.texi b/doc/misc/forms.texi
index 164140bbfe6..8ea470d2da8 100644
--- a/doc/misc/forms.texi
+++ b/doc/misc/forms.texi
@@ -25,7 +25,7 @@ Copyright @copyright{} 1989, 1997, 2001--2014 Free Software Foundation, Inc.
25Permission is granted to copy, distribute and/or modify this document 25Permission is granted to copy, distribute and/or modify this document
26under the terms of the GNU Free Documentation License, Version 1.3 or 26under the terms of the GNU Free Documentation License, Version 1.3 or
27any later version published by the Free Software Foundation; with no 27any later version published by the Free Software Foundation; with no
28Invariant Sections, with the Front-Cover texts being ``A GNU Manual,'' 28Invariant Sections, with the Front-Cover Texts being ``A GNU Manual,''
29and with the Back-Cover Texts as in (a) below. A copy of the license 29and with the Back-Cover Texts as in (a) below. A copy of the license
30is included in the section entitled ``GNU Free Documentation License''. 30is included in the section entitled ``GNU Free Documentation License''.
31 31
diff --git a/doc/misc/gnus-coding.texi b/doc/misc/gnus-coding.texi
index 2147e5f62a0..44cc29b9c39 100644
--- a/doc/misc/gnus-coding.texi
+++ b/doc/misc/gnus-coding.texi
@@ -15,7 +15,7 @@ Foundation, Inc.
15Permission is granted to copy, distribute and/or modify this document 15Permission is granted to copy, distribute and/or modify this document
16under the terms of the GNU Free Documentation License, Version 1.3 or 16under the terms of the GNU Free Documentation License, Version 1.3 or
17any later version published by the Free Software Foundation; with no 17any later version published by the Free Software Foundation; with no
18Invariant Sections, with the Front-Cover texts being ``A GNU Manual'', 18Invariant Sections, with the Front-Cover Texts being ``A GNU Manual'',
19and with the Back-Cover Texts as in (a) below. A copy of the license 19and with the Back-Cover Texts as in (a) below. A copy of the license
20is included in the section entitled ``GNU Free Documentation License''. 20is included in the section entitled ``GNU Free Documentation License''.
21 21
diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi
index 1749053a2a2..b2dce6db2bc 100644
--- a/doc/misc/gnus.texi
+++ b/doc/misc/gnus.texi
@@ -17,7 +17,7 @@ Copyright @copyright{} 1995--2014 Free Software Foundation, Inc.
17Permission is granted to copy, distribute and/or modify this document 17Permission is granted to copy, distribute and/or modify this document
18under the terms of the GNU Free Documentation License, Version 1.3 or 18under the terms of the GNU Free Documentation License, Version 1.3 or
19any later version published by the Free Software Foundation; with no 19any later version published by the Free Software Foundation; with no
20Invariant Sections, with the Front-Cover texts being ``A GNU Manual'', 20Invariant Sections, with the Front-Cover Texts being ``A GNU Manual'',
21and with the Back-Cover Texts as in (a) below. A copy of the license 21and with the Back-Cover Texts as in (a) below. A copy of the license
22is included in the section entitled ``GNU Free Documentation License''. 22is included in the section entitled ``GNU Free Documentation License''.
23 23
diff --git a/doc/misc/htmlfontify.texi b/doc/misc/htmlfontify.texi
index d23f5d737ae..48b40eb84a4 100644
--- a/doc/misc/htmlfontify.texi
+++ b/doc/misc/htmlfontify.texi
@@ -17,7 +17,7 @@ Inc.
17Permission is granted to copy, distribute and/or modify this document 17Permission is granted to copy, distribute and/or modify this document
18under the terms of the GNU Free Documentation License, Version 1.3 or 18under the terms of the GNU Free Documentation License, Version 1.3 or
19any later version published by the Free Software Foundation; with no 19any later version published by the Free Software Foundation; with no
20Invariant Sections, with the Front-Cover texts being ``A GNU Manual,'' 20Invariant Sections, with the Front-Cover Texts being ``A GNU Manual,''
21and with the Back-Cover Texts as in (a) below. A copy of the license 21and with the Back-Cover Texts as in (a) below. A copy of the license
22is included in the section entitled ``GNU Free Documentation License''. 22is included in the section entitled ``GNU Free Documentation License''.
23 23
diff --git a/doc/misc/idlwave.texi b/doc/misc/idlwave.texi
index b56b311e273..4a150803640 100644
--- a/doc/misc/idlwave.texi
+++ b/doc/misc/idlwave.texi
@@ -29,7 +29,7 @@ Copyright @copyright{} 1999--2014 Free Software Foundation, Inc.
29Permission is granted to copy, distribute and/or modify this document 29Permission is granted to copy, distribute and/or modify this document
30under the terms of the GNU Free Documentation License, Version 1.3 or 30under the terms of the GNU Free Documentation License, Version 1.3 or
31any later version published by the Free Software Foundation; with no 31any later version published by the Free Software Foundation; with no
32Invariant Sections, with the Front-Cover texts being ``A GNU Manual'', 32Invariant Sections, with the Front-Cover Texts being ``A GNU Manual'',
33and with the Back-Cover Texts as in (a) below. A copy of the license 33and with the Back-Cover Texts as in (a) below. A copy of the license
34is included in the section entitled ``GNU Free Documentation License''. 34is included in the section entitled ``GNU Free Documentation License''.
35 35
diff --git a/doc/misc/ido.texi b/doc/misc/ido.texi
index 3a54aaa5314..0a94a19df84 100644
--- a/doc/misc/ido.texi
+++ b/doc/misc/ido.texi
@@ -13,7 +13,7 @@ Copyright @copyright{} 2013-2014 Free Software Foundation, Inc.
13Permission is granted to copy, distribute and/or modify this document 13Permission is granted to copy, distribute and/or modify this document
14under the terms of the GNU Free Documentation License, Version 1.3 or 14under the terms of the GNU Free Documentation License, Version 1.3 or
15any later version published by the Free Software Foundation; with no 15any later version published by the Free Software Foundation; with no
16Invariant Sections, with the Front-Cover texts being ``A GNU Manual'', 16Invariant Sections, with the Front-Cover Texts being ``A GNU Manual'',
17and with the Back-Cover Texts as in (a) below. A copy of the license 17and with the Back-Cover Texts as in (a) below. A copy of the license
18is included in the section entitled ``GNU Free Documentation License''. 18is included in the section entitled ``GNU Free Documentation License''.
19 19
diff --git a/doc/misc/info.texi b/doc/misc/info.texi
index 810f4d0f371..144ce89707b 100644
--- a/doc/misc/info.texi
+++ b/doc/misc/info.texi
@@ -21,7 +21,7 @@ Copyright @copyright{} 1989, 1992, 1996--2014 Free Software Foundation, Inc.
21Permission is granted to copy, distribute and/or modify this document 21Permission is granted to copy, distribute and/or modify this document
22under the terms of the GNU Free Documentation License, Version 1.3 or 22under the terms of the GNU Free Documentation License, Version 1.3 or
23any later version published by the Free Software Foundation; with no 23any later version published by the Free Software Foundation; with no
24Invariant Sections, with the Front-Cover texts being ``A GNU Manual,'' 24Invariant Sections, with the Front-Cover Texts being ``A GNU Manual,''
25and with the Back-Cover Texts as in (a) below. A copy of the license 25and with the Back-Cover Texts as in (a) below. A copy of the license
26is included in the section entitled ``GNU Free Documentation License''. 26is included in the section entitled ``GNU Free Documentation License''.
27 27
diff --git a/doc/misc/mairix-el.texi b/doc/misc/mairix-el.texi
index bc8f5337675..01d9e333816 100644
--- a/doc/misc/mairix-el.texi
+++ b/doc/misc/mairix-el.texi
@@ -12,7 +12,7 @@ Copyright @copyright{} 2008--2014 Free Software Foundation, Inc.
12Permission is granted to copy, distribute and/or modify this document 12Permission is granted to copy, distribute and/or modify this document
13under the terms of the GNU Free Documentation License, Version 1.3 or 13under the terms of the GNU Free Documentation License, Version 1.3 or
14any later version published by the Free Software Foundation; with no 14any later version published by the Free Software Foundation; with no
15Invariant Sections, with the Front-Cover texts being ``A GNU Manual'', 15Invariant Sections, with the Front-Cover Texts being ``A GNU Manual'',
16and with the Back-Cover Texts as in (a) below. A copy of the license 16and with the Back-Cover Texts as in (a) below. A copy of the license
17is included in the section entitled ``GNU Free Documentation License''. 17is included in the section entitled ``GNU Free Documentation License''.
18 18
diff --git a/doc/misc/message.texi b/doc/misc/message.texi
index 14ba46c70f5..88d8566137a 100644
--- a/doc/misc/message.texi
+++ b/doc/misc/message.texi
@@ -17,7 +17,7 @@ Copyright @copyright{} 1996--2014 Free Software Foundation, Inc.
17Permission is granted to copy, distribute and/or modify this document 17Permission is granted to copy, distribute and/or modify this document
18under the terms of the GNU Free Documentation License, Version 1.3 or 18under the terms of the GNU Free Documentation License, Version 1.3 or
19any later version published by the Free Software Foundation; with no 19any later version published by the Free Software Foundation; with no
20Invariant Sections, with the Front-Cover texts being ``A GNU Manual'', 20Invariant Sections, with the Front-Cover Texts being ``A GNU Manual'',
21and with the Back-Cover Texts as in (a) below. A copy of the license 21and with the Back-Cover Texts as in (a) below. A copy of the license
22is included in the section entitled ``GNU Free Documentation License''. 22is included in the section entitled ``GNU Free Documentation License''.
23 23
diff --git a/doc/misc/mh-e.texi b/doc/misc/mh-e.texi
index c3b646fa145..d4fd6d52bb3 100644
--- a/doc/misc/mh-e.texi
+++ b/doc/misc/mh-e.texi
@@ -38,7 +38,7 @@ under the terms of either:
38@item 38@item
39the GNU Free Documentation License, Version 1.3 or any later version 39the GNU Free Documentation License, Version 1.3 or any later version
40published by the Free Software Foundation; with no Invariant Sections, 40published by the Free Software Foundation; with no Invariant Sections,
41with the Front-Cover texts being ``A GNU Manual,'' and with the 41with the Front-Cover Texts being ``A GNU Manual,'' and with the
42Back-Cover Texts as in (a) below. A copy of the license is included in 42Back-Cover Texts as in (a) below. A copy of the license is included in
43the section entitled ``GNU Free Documentation License.'' 43the section entitled ``GNU Free Documentation License.''
44 44
diff --git a/doc/misc/newsticker.texi b/doc/misc/newsticker.texi
index 6ad8df52fd4..f51d954948f 100644
--- a/doc/misc/newsticker.texi
+++ b/doc/misc/newsticker.texi
@@ -20,7 +20,7 @@ Copyright @copyright{} 2004--2014 Free Software Foundation, Inc.
20Permission is granted to copy, distribute and/or modify this document 20Permission is granted to copy, distribute and/or modify this document
21under the terms of the GNU Free Documentation License, Version 1.3 or 21under the terms of the GNU Free Documentation License, Version 1.3 or
22any later version published by the Free Software Foundation; with no 22any later version published by the Free Software Foundation; with no
23Invariant Sections, with the Front-Cover texts being ``A GNU Manual'', 23Invariant Sections, with the Front-Cover Texts being ``A GNU Manual'',
24and with the Back-Cover Texts as in (a) below. A copy of the license 24and with the Back-Cover Texts as in (a) below. A copy of the license
25is included in the section entitled ``GNU Free Documentation License''. 25is included in the section entitled ``GNU Free Documentation License''.
26 26
diff --git a/doc/misc/nxml-mode.texi b/doc/misc/nxml-mode.texi
index a6552a173d5..53030305bfb 100644
--- a/doc/misc/nxml-mode.texi
+++ b/doc/misc/nxml-mode.texi
@@ -15,7 +15,7 @@ Copyright @copyright{} 2007--2014 Free Software Foundation, Inc.
15Permission is granted to copy, distribute and/or modify this document 15Permission is granted to copy, distribute and/or modify this document
16under the terms of the GNU Free Documentation License, Version 1.3 or 16under the terms of the GNU Free Documentation License, Version 1.3 or
17any later version published by the Free Software Foundation; with no 17any later version published by the Free Software Foundation; with no
18Invariant Sections, with the Front-Cover texts being ``A GNU Manual,'' 18Invariant Sections, with the Front-Cover Texts being ``A GNU Manual,''
19and with the Back-Cover Texts as in (a) below. A copy of the license 19and with the Back-Cover Texts as in (a) below. A copy of the license
20is included in the section entitled ``GNU Free Documentation License''. 20is included in the section entitled ``GNU Free Documentation License''.
21 21
diff --git a/doc/misc/octave-mode.texi b/doc/misc/octave-mode.texi
index cc2e4c305cd..31c2112845a 100644
--- a/doc/misc/octave-mode.texi
+++ b/doc/misc/octave-mode.texi
@@ -12,7 +12,7 @@ Copyright @copyright{} 1996--2014 Free Software Foundation, Inc.
12Permission is granted to copy, distribute and/or modify this document 12Permission is granted to copy, distribute and/or modify this document
13under the terms of the GNU Free Documentation License, Version 1.3 or 13under the terms of the GNU Free Documentation License, Version 1.3 or
14any later version published by the Free Software Foundation; with no 14any later version published by the Free Software Foundation; with no
15Invariant Sections, with the Front-Cover texts being ``A GNU Manual,'' 15Invariant Sections, with the Front-Cover Texts being ``A GNU Manual,''
16and with the Back-Cover Texts as in (a) below. A copy of the license 16and with the Back-Cover Texts as in (a) below. A copy of the license
17is included in the section entitled ``GNU Free Documentation License.'' 17is included in the section entitled ``GNU Free Documentation License.''
18 18
diff --git a/doc/misc/org.texi b/doc/misc/org.texi
index 48a6fe56cf6..418eb1d6944 100644
--- a/doc/misc/org.texi
+++ b/doc/misc/org.texi
@@ -264,7 +264,7 @@ Copyright @copyright{} 2004--2014 Free Software Foundation, Inc.
264Permission is granted to copy, distribute and/or modify this document 264Permission is granted to copy, distribute and/or modify this document
265under the terms of the GNU Free Documentation License, Version 1.3 or 265under the terms of the GNU Free Documentation License, Version 1.3 or
266any later version published by the Free Software Foundation; with no 266any later version published by the Free Software Foundation; with no
267Invariant Sections, with the Front-Cover texts being ``A GNU Manual,'' 267Invariant Sections, with the Front-Cover Texts being ``A GNU Manual,''
268and with the Back-Cover Texts as in (a) below. A copy of the license 268and with the Back-Cover Texts as in (a) below. A copy of the license
269is included in the section entitled ``GNU Free Documentation License.'' 269is included in the section entitled ``GNU Free Documentation License.''
270 270
diff --git a/doc/misc/pcl-cvs.texi b/doc/misc/pcl-cvs.texi
index d024d993a3b..6b56bc03223 100644
--- a/doc/misc/pcl-cvs.texi
+++ b/doc/misc/pcl-cvs.texi
@@ -13,7 +13,7 @@ Copyright @copyright{} 1991--2014 Free Software Foundation, Inc.
13Permission is granted to copy, distribute and/or modify this document 13Permission is granted to copy, distribute and/or modify this document
14under the terms of the GNU Free Documentation License, Version 1.3 or 14under the terms of the GNU Free Documentation License, Version 1.3 or
15any later version published by the Free Software Foundation; with no 15any later version published by the Free Software Foundation; with no
16Invariant Sections, with the Front-Cover texts being ``A GNU Manual'', 16Invariant Sections, with the Front-Cover Texts being ``A GNU Manual'',
17and with the Back-Cover Texts as in (a) below. A copy of the license 17and with the Back-Cover Texts as in (a) below. A copy of the license
18is included in the section entitled ``GNU Free Documentation License''. 18is included in the section entitled ``GNU Free Documentation License''.
19 19
diff --git a/doc/misc/pgg.texi b/doc/misc/pgg.texi
index 43750ba1448..53c66c8fb34 100644
--- a/doc/misc/pgg.texi
+++ b/doc/misc/pgg.texi
@@ -19,7 +19,7 @@ Copyright @copyright{} 2001, 2003--2014 Free Software Foundation, Inc.
19Permission is granted to copy, distribute and/or modify this document 19Permission is granted to copy, distribute and/or modify this document
20under the terms of the GNU Free Documentation License, Version 1.3 or 20under the terms of the GNU Free Documentation License, Version 1.3 or
21any later version published by the Free Software Foundation; with no 21any later version published by the Free Software Foundation; with no
22Invariant Sections, with the Front-Cover texts being ``A GNU Manual,'' 22Invariant Sections, with the Front-Cover Texts being ``A GNU Manual,''
23and with the Back-Cover Texts as in (a) below. A copy of the license 23and with the Back-Cover Texts as in (a) below. A copy of the license
24is included in the section entitled ``GNU Free Documentation License.'' 24is included in the section entitled ``GNU Free Documentation License.''
25 25
diff --git a/doc/misc/rcirc.texi b/doc/misc/rcirc.texi
index 6e136c3345a..2a7c52c33d9 100644
--- a/doc/misc/rcirc.texi
+++ b/doc/misc/rcirc.texi
@@ -12,7 +12,7 @@ Copyright @copyright{} 2006--2014 Free Software Foundation, Inc.
12Permission is granted to copy, distribute and/or modify this document 12Permission is granted to copy, distribute and/or modify this document
13under the terms of the GNU Free Documentation License, Version 1.3 or 13under the terms of the GNU Free Documentation License, Version 1.3 or
14any later version published by the Free Software Foundation; with no 14any later version published by the Free Software Foundation; with no
15Invariant Sections, with the Front-Cover texts being ``A GNU Manual'', 15Invariant Sections, with the Front-Cover Texts being ``A GNU Manual'',
16and with the Back-Cover Texts as in (a) below. A copy of the license is 16and with the Back-Cover Texts as in (a) below. A copy of the license is
17included in the section entitled ``GNU Free Documentation License''. 17included in the section entitled ``GNU Free Documentation License''.
18 18
diff --git a/doc/misc/reftex.texi b/doc/misc/reftex.texi
index 99266de4d85..5479dfd9a24 100644
--- a/doc/misc/reftex.texi
+++ b/doc/misc/reftex.texi
@@ -52,7 +52,7 @@ Copyright @copyright{} 1997--2014 Free Software Foundation, Inc.
52Permission is granted to copy, distribute and/or modify this document 52Permission is granted to copy, distribute and/or modify this document
53under the terms of the GNU Free Documentation License, Version 1.3 or 53under the terms of the GNU Free Documentation License, Version 1.3 or
54any later version published by the Free Software Foundation; with no 54any later version published by the Free Software Foundation; with no
55Invariant Sections, with the Front-Cover texts being ``A GNU Manual'', 55Invariant Sections, with the Front-Cover Texts being ``A GNU Manual'',
56and with the Back-Cover Texts as in (a) below. A copy of the license 56and with the Back-Cover Texts as in (a) below. A copy of the license
57is included in the section entitled ``GNU Free Documentation License''. 57is included in the section entitled ``GNU Free Documentation License''.
58 58
diff --git a/doc/misc/remember.texi b/doc/misc/remember.texi
index 28cac08c483..5e2c1e2b0f6 100644
--- a/doc/misc/remember.texi
+++ b/doc/misc/remember.texi
@@ -16,7 +16,7 @@ Free Software Foundation, Inc.
16Permission is granted to copy, distribute and/or modify this document 16Permission is granted to copy, distribute and/or modify this document
17under the terms of the GNU Free Documentation License, Version 1.3 or 17under the terms of the GNU Free Documentation License, Version 1.3 or
18any later version published by the Free Software Foundation; with no 18any later version published by the Free Software Foundation; with no
19Invariant Sections, with the Front-Cover texts being ``A GNU Manual'', 19Invariant Sections, with the Front-Cover Texts being ``A GNU Manual'',
20and with the Back-Cover Texts as in (a) below. A copy of the license 20and with the Back-Cover Texts as in (a) below. A copy of the license
21is included in the section entitled ``GNU Free Documentation License''. 21is included in the section entitled ``GNU Free Documentation License''.
22 22
diff --git a/doc/misc/sasl.texi b/doc/misc/sasl.texi
index 5f43bdad0d0..ce3300dcc5b 100644
--- a/doc/misc/sasl.texi
+++ b/doc/misc/sasl.texi
@@ -18,7 +18,7 @@ Copyright @copyright{} 2000, 2004--2014 Free Software Foundation, Inc.
18Permission is granted to copy, distribute and/or modify this document 18Permission is granted to copy, distribute and/or modify this document
19under the terms of the GNU Free Documentation License, Version 1.3 or 19under the terms of the GNU Free Documentation License, Version 1.3 or
20any later version published by the Free Software Foundation; with no 20any later version published by the Free Software Foundation; with no
21Invariant Sections, with the Front-Cover texts being ``A GNU Manual,'' 21Invariant Sections, with the Front-Cover Texts being ``A GNU Manual,''
22and with the Back-Cover Texts as in (a) below. A copy of the license 22and with the Back-Cover Texts as in (a) below. A copy of the license
23is included in the section entitled ``GNU Free Documentation License''. 23is included in the section entitled ``GNU Free Documentation License''.
24 24
diff --git a/doc/misc/sc.texi b/doc/misc/sc.texi
index 6a2faea0b7e..83429a8e8e2 100644
--- a/doc/misc/sc.texi
+++ b/doc/misc/sc.texi
@@ -21,7 +21,7 @@ Copyright @copyright{} 1993, 2001--2014 Free Software Foundation, Inc.
21Permission is granted to copy, distribute and/or modify this document 21Permission is granted to copy, distribute and/or modify this document
22under the terms of the GNU Free Documentation License, Version 1.3 or 22under the terms of the GNU Free Documentation License, Version 1.3 or
23any later version published by the Free Software Foundation; with no 23any later version published by the Free Software Foundation; with no
24Invariant Sections, with the Front-Cover texts being ``A GNU Manual'', 24Invariant Sections, with the Front-Cover Texts being ``A GNU Manual'',
25and with the Back-Cover Texts as in (a) below. A copy of the license 25and with the Back-Cover Texts as in (a) below. A copy of the license
26is included in the section entitled ``GNU Free Documentation License''. 26is included in the section entitled ``GNU Free Documentation License''.
27 27
diff --git a/doc/misc/semantic.texi b/doc/misc/semantic.texi
index b72fb3c88cf..0b0d7a364d6 100644
--- a/doc/misc/semantic.texi
+++ b/doc/misc/semantic.texi
@@ -32,7 +32,7 @@ Foundation, Inc.
32Permission is granted to copy, distribute and/or modify this document 32Permission is granted to copy, distribute and/or modify this document
33under the terms of the GNU Free Documentation License, Version 1.3 or 33under the terms of the GNU Free Documentation License, Version 1.3 or
34any later version published by the Free Software Foundation; with no 34any later version published by the Free Software Foundation; with no
35Invariant Sections, with the Front-Cover texts being ``A GNU Manual,'' 35Invariant Sections, with the Front-Cover Texts being ``A GNU Manual,''
36and with the Back-Cover Texts as in (a) below. A copy of the license 36and with the Back-Cover Texts as in (a) below. A copy of the license
37is included in the section entitled ``GNU Free Documentation License.'' 37is included in the section entitled ``GNU Free Documentation License.''
38 38
diff --git a/doc/misc/ses.texi b/doc/misc/ses.texi
index 6e3126841c6..fb4d0887c68 100644
--- a/doc/misc/ses.texi
+++ b/doc/misc/ses.texi
@@ -18,7 +18,7 @@ Copyright @copyright{} 2002--2014 Free Software Foundation, Inc.
18Permission is granted to copy, distribute and/or modify this document 18Permission is granted to copy, distribute and/or modify this document
19under the terms of the GNU Free Documentation License, Version 1.3 or 19under the terms of the GNU Free Documentation License, Version 1.3 or
20any later version published by the Free Software Foundation; with no 20any later version published by the Free Software Foundation; with no
21Invariant Sections, with the Front-Cover texts being ``A GNU Manual,'' 21Invariant Sections, with the Front-Cover Texts being ``A GNU Manual,''
22and with the Back-Cover Texts as in (a) below. A copy of the license 22and with the Back-Cover Texts as in (a) below. A copy of the license
23is included in the section entitled ``GNU Free Documentation License.'' 23is included in the section entitled ``GNU Free Documentation License.''
24 24
diff --git a/doc/misc/sieve.texi b/doc/misc/sieve.texi
index 15c78884740..422468c2210 100644
--- a/doc/misc/sieve.texi
+++ b/doc/misc/sieve.texi
@@ -18,7 +18,7 @@ Copyright @copyright{} 2001--2014 Free Software Foundation, Inc.
18Permission is granted to copy, distribute and/or modify this document 18Permission is granted to copy, distribute and/or modify this document
19under the terms of the GNU Free Documentation License, Version 1.3 or 19under the terms of the GNU Free Documentation License, Version 1.3 or
20any later version published by the Free Software Foundation; with no 20any later version published by the Free Software Foundation; with no
21Invariant Sections, with the Front-Cover texts being ``A GNU Manual'', 21Invariant Sections, with the Front-Cover Texts being ``A GNU Manual'',
22and with the Back-Cover Texts as in (a) below. A copy of the license 22and with the Back-Cover Texts as in (a) below. A copy of the license
23is included in the section entitled ``GNU Free Documentation License''. 23is included in the section entitled ``GNU Free Documentation License''.
24 24
diff --git a/doc/misc/smtpmail.texi b/doc/misc/smtpmail.texi
index 901bfb0a903..cb22dc87d2a 100644
--- a/doc/misc/smtpmail.texi
+++ b/doc/misc/smtpmail.texi
@@ -10,7 +10,7 @@ Copyright @copyright{} 2003--2014 Free Software Foundation, Inc.
10Permission is granted to copy, distribute and/or modify this document 10Permission is granted to copy, distribute and/or modify this document
11under the terms of the GNU Free Documentation License, Version 1.3 or 11under the terms of the GNU Free Documentation License, Version 1.3 or
12any later version published by the Free Software Foundation; with no 12any later version published by the Free Software Foundation; with no
13Invariant Sections, with the Front-Cover texts being ``A GNU Manual'', 13Invariant Sections, with the Front-Cover Texts being ``A GNU Manual'',
14and with the Back-Cover Texts as in (a) below. A copy of the license 14and with the Back-Cover Texts as in (a) below. A copy of the license
15is included in the section entitled ``GNU Free Documentation License''. 15is included in the section entitled ``GNU Free Documentation License''.
16 16
diff --git a/doc/misc/speedbar.texi b/doc/misc/speedbar.texi
index dfd6e97e7b9..f5acc254c53 100644
--- a/doc/misc/speedbar.texi
+++ b/doc/misc/speedbar.texi
@@ -11,7 +11,7 @@ Copyright @copyright{} 1999--2014 Free Software Foundation, Inc.
11Permission is granted to copy, distribute and/or modify this document 11Permission is granted to copy, distribute and/or modify this document
12under the terms of the GNU Free Documentation License, Version 1.3 or 12under the terms of the GNU Free Documentation License, Version 1.3 or
13any later version published by the Free Software Foundation; with no 13any later version published by the Free Software Foundation; with no
14Invariant Sections, with the Front-Cover texts being ``A GNU Manual'', 14Invariant Sections, with the Front-Cover Texts being ``A GNU Manual'',
15and with the Back-Cover Texts as in (a) below. A copy of the license 15and with the Back-Cover Texts as in (a) below. A copy of the license
16is included in the section entitled ``GNU Free Documentation License''. 16is included in the section entitled ``GNU Free Documentation License''.
17 17
diff --git a/doc/misc/srecode.texi b/doc/misc/srecode.texi
index a0fcd9e2e94..7c274b4a20a 100644
--- a/doc/misc/srecode.texi
+++ b/doc/misc/srecode.texi
@@ -22,7 +22,7 @@ Copyright @copyright{} 2007--2014 Free Software Foundation, Inc.
22Permission is granted to copy, distribute and/or modify this document 22Permission is granted to copy, distribute and/or modify this document
23under the terms of the GNU Free Documentation License, Version 1.3 or 23under the terms of the GNU Free Documentation License, Version 1.3 or
24any later version published by the Free Software Foundation; with no 24any later version published by the Free Software Foundation; with no
25Invariant Sections, with the Front-Cover texts being ``A GNU Manual,'' 25Invariant Sections, with the Front-Cover Texts being ``A GNU Manual,''
26and with the Back-Cover Texts as in (a) below. A copy of the license 26and with the Back-Cover Texts as in (a) below. A copy of the license
27is included in the section entitled ``GNU Free Documentation License''. 27is included in the section entitled ``GNU Free Documentation License''.
28 28
diff --git a/doc/misc/todo-mode.texi b/doc/misc/todo-mode.texi
index 3ff205865ae..ad97e608156 100644
--- a/doc/misc/todo-mode.texi
+++ b/doc/misc/todo-mode.texi
@@ -15,7 +15,7 @@ Copyright @copyright{} 2013-2014 Free Software Foundation, Inc.
15Permission is granted to copy, distribute and/or modify this document 15Permission is granted to copy, distribute and/or modify this document
16under the terms of the GNU Free Documentation License, Version 1.3 or 16under the terms of the GNU Free Documentation License, Version 1.3 or
17any later version published by the Free Software Foundation; with no 17any later version published by the Free Software Foundation; with no
18Invariant Sections, with the Front-Cover texts being ``A GNU Manual'', 18Invariant Sections, with the Front-Cover Texts being ``A GNU Manual'',
19and with the Back-Cover Texts as in (a) below. A copy of the license 19and with the Back-Cover Texts as in (a) below. A copy of the license
20is included in the section entitled ``GNU Free Documentation License''. 20is included in the section entitled ``GNU Free Documentation License''.
21 21
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi
index c0a6156a4cf..1f6eaef6880 100644
--- a/doc/misc/tramp.texi
+++ b/doc/misc/tramp.texi
@@ -72,7 +72,7 @@ Copyright @copyright{} 1999--2014 Free Software Foundation, Inc.
72Permission is granted to copy, distribute and/or modify this document 72Permission is granted to copy, distribute and/or modify this document
73under the terms of the GNU Free Documentation License, Version 1.3 or 73under the terms of the GNU Free Documentation License, Version 1.3 or
74any later version published by the Free Software Foundation; with no 74any later version published by the Free Software Foundation; with no
75Invariant Sections, with the Front-Cover texts being ``A GNU Manual'', 75Invariant Sections, with the Front-Cover Texts being ``A GNU Manual'',
76and with the Back-Cover Texts as in (a) below. A copy of the license 76and with the Back-Cover Texts as in (a) below. A copy of the license
77is included in the section entitled ``GNU Free Documentation License''. 77is included in the section entitled ``GNU Free Documentation License''.
78 78
@@ -3351,6 +3351,13 @@ if [ "$@{HISTSIZE-unset@}" != "unset" ] ; then
3351fi 3351fi
3352@end example 3352@end example
3353 3353
3354Furthermore, if you use an @option{ssh}-based method, you could add
3355the following line to your @file{~/.ssh/environment} file:
3356
3357@example
3358HISTFILE=/dev/null
3359@end example
3360
3354 3361
3355@item There are longish file names to type. How to shorten this? 3362@item There are longish file names to type. How to shorten this?
3356 3363
diff --git a/doc/misc/url.texi b/doc/misc/url.texi
index 9c9e4f5a2bc..49d4b1526d8 100644
--- a/doc/misc/url.texi
+++ b/doc/misc/url.texi
@@ -29,7 +29,7 @@ Foundation, Inc.
29Permission is granted to copy, distribute and/or modify this document 29Permission is granted to copy, distribute and/or modify this document
30under the terms of the GNU Free Documentation License, Version 1.3 or 30under the terms of the GNU Free Documentation License, Version 1.3 or
31any later version published by the Free Software Foundation; with no 31any later version published by the Free Software Foundation; with no
32Invariant Sections, with the Front-Cover texts being ``A GNU Manual,'' 32Invariant Sections, with the Front-Cover Texts being ``A GNU Manual,''
33and with the Back-Cover Texts as in (a) below. A copy of the license 33and with the Back-Cover Texts as in (a) below. A copy of the license
34is included in the section entitled ``GNU Free Documentation License''. 34is included in the section entitled ``GNU Free Documentation License''.
35 35
diff --git a/doc/misc/vip.texi b/doc/misc/vip.texi
index 25605aadcac..193d50f3a46 100644
--- a/doc/misc/vip.texi
+++ b/doc/misc/vip.texi
@@ -11,7 +11,7 @@ Copyright @copyright{} 1987, 2001--2014 Free Software Foundation, Inc.
11Permission is granted to copy, distribute and/or modify this document 11Permission is granted to copy, distribute and/or modify this document
12under the terms of the GNU Free Documentation License, Version 1.3 or 12under the terms of the GNU Free Documentation License, Version 1.3 or
13any later version published by the Free Software Foundation; with no 13any later version published by the Free Software Foundation; with no
14Invariant Sections, with the Front-Cover texts being ``A GNU Manual'', 14Invariant Sections, with the Front-Cover Texts being ``A GNU Manual'',
15and with the Back-Cover Texts as in (a) below. A copy of the license 15and with the Back-Cover Texts as in (a) below. A copy of the license
16is included in the section entitled ``GNU Free Documentation License''. 16is included in the section entitled ``GNU Free Documentation License''.
17 17
diff --git a/doc/misc/viper.texi b/doc/misc/viper.texi
index 58e74473b87..ae122f5aae4 100644
--- a/doc/misc/viper.texi
+++ b/doc/misc/viper.texi
@@ -15,7 +15,7 @@ Copyright @copyright{} 1995--1997, 2001--2014 Free Software Foundation, Inc.
15Permission is granted to copy, distribute and/or modify this document 15Permission is granted to copy, distribute and/or modify this document
16under the terms of the GNU Free Documentation License, Version 1.3 or 16under the terms of the GNU Free Documentation License, Version 1.3 or
17any later version published by the Free Software Foundation; with no 17any later version published by the Free Software Foundation; with no
18Invariant Sections, with the Front-Cover texts being ``A GNU Manual'', 18Invariant Sections, with the Front-Cover Texts being ``A GNU Manual'',
19and with the Back-Cover Texts as in (a) below. A copy of the license 19and with the Back-Cover Texts as in (a) below. A copy of the license
20is included in the section entitled ``GNU Free Documentation License''. 20is included in the section entitled ``GNU Free Documentation License''.
21 21
diff --git a/doc/misc/widget.texi b/doc/misc/widget.texi
index 434c54547e1..8aca11551ab 100644
--- a/doc/misc/widget.texi
+++ b/doc/misc/widget.texi
@@ -15,7 +15,7 @@ Copyright @copyright{} 2000--2014 Free Software Foundation, Inc.
15Permission is granted to copy, distribute and/or modify this document 15Permission is granted to copy, distribute and/or modify this document
16under the terms of the GNU Free Documentation License, Version 1.3 or 16under the terms of the GNU Free Documentation License, Version 1.3 or
17any later version published by the Free Software Foundation; with no 17any later version published by the Free Software Foundation; with no
18Invariant Sections, with the Front-Cover texts being ``A GNU Manual'', 18Invariant Sections, with the Front-Cover Texts being ``A GNU Manual'',
19and with the Back-Cover Texts as in (a) below. A copy of the license 19and with the Back-Cover Texts as in (a) below. A copy of the license
20is included in the section entitled ``GNU Free Documentation License''. 20is included in the section entitled ``GNU Free Documentation License''.
21 21
diff --git a/doc/misc/wisent.texi b/doc/misc/wisent.texi
index 3eb5a582914..9435235ec02 100644
--- a/doc/misc/wisent.texi
+++ b/doc/misc/wisent.texi
@@ -39,7 +39,7 @@ of Bison version 1.49.
39Permission is granted to copy, distribute and/or modify this document 39Permission is granted to copy, distribute and/or modify this document
40under the terms of the GNU Free Documentation License, Version 1.3 or 40under the terms of the GNU Free Documentation License, Version 1.3 or
41any later version published by the Free Software Foundation; with no 41any later version published by the Free Software Foundation; with no
42Invariant Sections, with the Front-Cover texts being ``A GNU Manual,'' 42Invariant Sections, with the Front-Cover Texts being ``A GNU Manual,''
43and with the Back-Cover Texts as in (a) below. A copy of the license 43and with the Back-Cover Texts as in (a) below. A copy of the license
44is included in the section entitled ``GNU Free Documentation License''. 44is included in the section entitled ``GNU Free Documentation License''.
45 45
diff --git a/doc/misc/woman.texi b/doc/misc/woman.texi
index fbd4ede7aa2..565d9177d4e 100644
--- a/doc/misc/woman.texi
+++ b/doc/misc/woman.texi
@@ -21,7 +21,7 @@ Copyright @copyright{} 2001--2014 Free Software Foundation, Inc.
21Permission is granted to copy, distribute and/or modify this document 21Permission is granted to copy, distribute and/or modify this document
22under the terms of the GNU Free Documentation License, Version 1.3 or 22under the terms of the GNU Free Documentation License, Version 1.3 or
23any later version published by the Free Software Foundation; with no 23any later version published by the Free Software Foundation; with no
24Invariant Sections, with the Front-Cover texts being ``A GNU Manual,'' 24Invariant Sections, with the Front-Cover Texts being ``A GNU Manual,''
25and with the Back-Cover Texts as in (a) below. A copy of the license 25and with the Back-Cover Texts as in (a) below. A copy of the license
26is included in the section entitled ``GNU Free Documentation License.'' 26is included in the section entitled ``GNU Free Documentation License.''
27 27
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index b16f881c4de..f571b401584 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -705,7 +705,7 @@
705 Use _Noreturn rather than NO_RETURN. 705 Use _Noreturn rather than NO_RETURN.
706 No need for separate decl merely because of _Noreturn. 706 No need for separate decl merely because of _Noreturn.
707 707
7082012-06-24 Samuel Bronson <naesten@gmail.com> (tiny change) 7082012-06-24 Samuel Bronson <naesten@gmail.com>
709 709
710 * emacsclient.c (set_local_socket): Fix compiler warning (Bug#7838). 710 * emacsclient.c (set_local_socket): Fix compiler warning (Bug#7838).
711 711
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index bdf4e46e9d1..4111e3dfcda 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,81 @@
12014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
4 (xterm-mouse--read-event-sequence-1000): Return nil if something
5 looks fishy.
6 (xterm-mouse-event): Propagate it.
7 (xterm-mouse-translate-1): Handle it.
8
92014-05-08 Stephen Berman <stephen.berman@gmx.net>
10
11 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
12 four slots of the parameter list are filled, make sure to pass it
13 to the argument list of todo-insert-item--basic.
14
152014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
16
17 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
18 Add optional `seen' argument to detect and break infinite loops.
19
202014-05-08 Eli Zaretskii <eliz@gnu.org>
21
22 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
23 (trace-unsafe, trace-use-tree): Make parentheses style be
24 according to Emacs style.
25
262014-05-08 Michael Albinus <michael.albinus@gmx.de>
27
28 * net/tramp-sh.el (tramp-remote-process-environment):
29 Remove HISTFILE and HISTSIZE; it's too late to set them here.
30 Add :version entry.
31 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
32 Add "HISTSIZE=/dev/null" to the shell's env arguments. Do not send
33 extra "PSx=..." commands.
34 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
35 (Bug#17295)
36
37 (tramp-uudecode): Replace the hard-coded temporary file name by a
38 format specifier.
39 (tramp-remote-coding-commands): Enhance docstring.
40 (tramp-find-inline-encoding): Replace "%t" by a temporary file
41 name. (Bug#17415)
42
432014-05-08 Glenn Morris <rgm@gnu.org>
44
45 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
46 (find-gc-source-files): Update some names.
47 (trace-call-tree): Simplify and update.
48 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
49
502014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
51
52 * minibuffer.el (completion--try-word-completion): Revert fix for
53 Bug#15980 (bug#17375).
54
55 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
56 Always store button numbers in the same way in xterm-mouse-last;
57 Don't burp is xterm-mouse-last is not set as expected.
58 Never return negative indices.
59
602014-05-08 Dmitry Gutov <dgutov@yandex.ru>
61
62 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
63 Backtrack one char if the global/char-literal var matcher hits
64 inside a string. The next char could be the beginning of an
65 expression expansion.
66
672014-05-08 Glenn Morris <rgm@gnu.org>
68
69 * help-fns.el (describe-function-1): Test for an autoload before a
70 macro, since `macrop' works on autoloads. (Bug#17410)
71
722014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
73
74 * electric.el (electric-indent-functions-without-reindent): Add yaml.
75
76 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
77 Make sure the new point we return is within the new string (bug#17239).
78
12014-05-05 Daniel Colascione <dancol@dancol.org> 792014-05-05 Daniel Colascione <dancol@dancol.org>
2 80
3 * progmodes/compile.el (compilation-error-regexp-alist-alist): 81 * progmodes/compile.el (compilation-error-regexp-alist-alist):
@@ -84,8 +162,8 @@
84 (todo-edit-done-item--param-key-alist): New defconsts. 162 (todo-edit-done-item--param-key-alist): New defconsts.
85 (todo-edit-item--prompt): New variable. 163 (todo-edit-item--prompt): New variable.
86 (todo-edit-item--next-key): New function. 164 (todo-edit-item--next-key): New function.
87 (todo-key-bindings-t): Bind "e" to todo-edit-item. Remove 165 (todo-key-bindings-t): Bind "e" to todo-edit-item.
88 bindings of deleted commands. 166 Remove bindings of deleted commands.
89 167
902014-05-04 Leo Liu <sdl.web@gmail.com> 1682014-05-04 Leo Liu <sdl.web@gmail.com>
91 169
diff --git a/lisp/calendar/todo-mode.el b/lisp/calendar/todo-mode.el
index ddc3a4843c9..4f4aefa6317 100644
--- a/lisp/calendar/todo-mode.el
+++ b/lisp/calendar/todo-mode.el
@@ -5360,7 +5360,8 @@ occupied by `nil'."
5360 (list (car (todo-insert-item--argsleft 5360 (list (car (todo-insert-item--argsleft
5361 (todo-insert-item--this-key) 5361 (todo-insert-item--this-key)
5362 todo-insert-item--argsleft))))) 5362 todo-insert-item--argsleft)))))
5363 (arglist (unless (= 4 (length args)) 5363 (arglist (if (= 4 (length args))
5364 args
5364 (let ((v (make-vector 4 nil)) elt) 5365 (let ((v (make-vector 4 nil)) elt)
5365 (while args 5366 (while args
5366 (setq elt (pop args)) 5367 (setq elt (pop args))
diff --git a/lisp/electric.el b/lisp/electric.el
index 52b0595f7d9..e8ceaa6406c 100644
--- a/lisp/electric.el
+++ b/lisp/electric.el
@@ -221,7 +221,8 @@ Python does not lend itself to fully automatic indentation.")
221(defvar electric-indent-functions-without-reindent 221(defvar electric-indent-functions-without-reindent
222 '(indent-relative indent-to-left-margin indent-relative-maybe 222 '(indent-relative indent-to-left-margin indent-relative-maybe
223 py-indent-line coffee-indent-line org-indent-line yaml-indent-line 223 py-indent-line coffee-indent-line org-indent-line yaml-indent-line
224 haskell-indentation-indent-line haskell-indent-cycle haskell-simple-indent) 224 haskell-indentation-indent-line haskell-indent-cycle haskell-simple-indent
225 yaml-indent-line)
225 "List of indent functions that can't reindent. 226 "List of indent functions that can't reindent.
226If `line-indent-function' is one of those, then `electric-indent-mode' will 227If `line-indent-function' is one of those, then `electric-indent-mode' will
227not try to reindent lines. It is normally better to make the major 228not try to reindent lines. It is normally better to make the major
diff --git a/lisp/emacs-lisp/find-gc.el b/lisp/emacs-lisp/find-gc.el
index ff9062150db..83eb26e86d7 100644
--- a/lisp/emacs-lisp/find-gc.el
+++ b/lisp/emacs-lisp/find-gc.el
@@ -23,14 +23,15 @@
23 23
24;; Produce in find-gc-unsafe-list the set of all functions that may invoke GC. 24;; Produce in find-gc-unsafe-list the set of all functions that may invoke GC.
25;; This expects the Emacs sources to live in find-gc-source-directory. 25;; This expects the Emacs sources to live in find-gc-source-directory.
26;; It creates a temporary working directory /tmp/esrc.
27 26
28;;; Code: 27;;; Code:
29 28
30(defvar find-gc-unsafe-list nil 29(defvar find-gc-unsafe-list nil
31 "The list of unsafe functions is placed here by `find-gc-unsafe'.") 30 "The list of unsafe functions is placed here by `find-gc-unsafe'.")
32 31
33(defvar find-gc-source-directory) 32(defvar find-gc-source-directory
33 (file-name-as-directory (expand-file-name "src" source-directory))
34 "Directory containing Emacs C sources.")
34 35
35(defvar find-gc-subrs-callers nil 36(defvar find-gc-subrs-callers nil
36 "Alist of users of subrs, from GC testing. 37 "Alist of users of subrs, from GC testing.
@@ -59,22 +60,21 @@ Each entry has the form (FUNCTION . FUNCTIONS-IT-CALLS).")
59 "indent.c" "search.c" "regex.c" "undo.c" 60 "indent.c" "search.c" "regex.c" "undo.c"
60 "alloc.c" "data.c" "doc.c" "editfns.c" 61 "alloc.c" "data.c" "doc.c" "editfns.c"
61 "callint.c" "eval.c" "fns.c" "print.c" "lread.c" 62 "callint.c" "eval.c" "fns.c" "print.c" "lread.c"
62 "abbrev.c" "syntax.c" "unexcoff.c" 63 "syntax.c" "unexcoff.c"
63 "bytecode.c" "process.c" "callproc.c" "doprnt.c" 64 "bytecode.c" "process.c" "callproc.c" "doprnt.c"
64 "x11term.c" "x11fns.c")) 65 "xterm.c" "xfns.c"))
65 66
66 67
67(defun find-gc-unsafe () 68(defun find-gc-unsafe ()
68 "Return a list of unsafe functions--that is, which can call GC. 69 "Return a list of unsafe functions--that is, which can call GC.
69Also store it in `find-gc-unsafe'." 70Also store it in `find-gc-unsafe-list'."
70 (trace-call-tree nil) 71 (trace-call-tree nil)
71 (trace-use-tree) 72 (trace-use-tree)
72 (find-unsafe-funcs 'Fgarbage_collect) 73 (find-unsafe-funcs 'Fgarbage_collect)
73 (setq find-gc-unsafe-list 74 (setq find-gc-unsafe-list
74 (sort find-gc-unsafe-list 75 (sort find-gc-unsafe-list
75 (function (lambda (x y) 76 (function (lambda (x y)
76 (string-lessp (car x) (car y)))))) 77 (string-lessp (car x) (car y)))))))
77)
78 78
79;;; This does a depth-first search to find all functions that can 79;;; This does a depth-first search to find all functions that can
80;;; ultimately call the function "target". The result is an a-list 80;;; ultimately call the function "target". The result is an a-list
@@ -84,8 +84,7 @@ Also store it in `find-gc-unsafe'."
84 84
85(defun find-unsafe-funcs (target) 85(defun find-unsafe-funcs (target)
86 (setq find-gc-unsafe-list (list (list target))) 86 (setq find-gc-unsafe-list (list (list target)))
87 (trace-unsafe target) 87 (trace-unsafe target))
88)
89 88
90(defun trace-unsafe (func) 89(defun trace-unsafe (func)
91 (let ((used (assq func find-gc-subrs-callers))) 90 (let ((used (assq func find-gc-subrs-callers)))
@@ -96,53 +95,43 @@ Also store it in `find-gc-unsafe'."
96 (memq (car used) find-gc-noreturn-list) 95 (memq (car used) find-gc-noreturn-list)
97 (progn 96 (progn
98 (push (cons (car used) func) find-gc-unsafe-list) 97 (push (cons (car used) func) find-gc-unsafe-list)
99 (trace-unsafe (car used)))))) 98 (trace-unsafe (car used)))))))
100)
101 99
102 100
103 101
104 102
105(defun trace-call-tree (&optional already-setup) 103(defun trace-call-tree (&optional ignored)
106 (message "Setting up directories...") 104 (message "Setting up directories...")
107 (or already-setup 105 (setq find-gc-subrs-called nil)
108 (progn 106 (let ((case-fold-search nil)
109 ;; Gee, wouldn't a built-in "system" function be handy here. 107 (default-directory find-gc-source-directory)
110 (call-process "csh" nil nil nil "-c" "rm -rf /tmp/esrc") 108 (files find-gc-source-files)
111 (call-process "csh" nil nil nil "-c" "mkdir /tmp/esrc") 109 name entry rtlfile)
112 (call-process "csh" nil nil nil "-c" 110 (dolist (file files)
113 (format "ln -s %s/*.[ch] /tmp/esrc" 111 (message "Compiling %s..." file)
114 find-gc-source-directory)))) 112 (call-process "gcc" nil nil nil "-I" "." "-I" "../lib"
115 (with-current-buffer (get-buffer-create "*Trace Call Tree*") 113 "-fdump-rtl-expand" "-o" null-device "-c" file)
116 (setq find-gc-subrs-called nil) 114 (setq rtlfile
117 (let ((case-fold-search nil) 115 (file-expand-wildcards (format "%s.*.expand" file) t))
118 (files find-gc-source-files) 116 (if (/= 1 (length rtlfile))
119 name entry) 117 (message "Error compiling `%s'?" file)
120 (while files 118 (with-temp-buffer
121 (message "Compiling %s..." (car files)) 119 (insert-file-contents (setq rtlfile (car rtlfile)))
122 (call-process "csh" nil nil nil "-c" 120 (delete-file rtlfile)
123 (format "gcc -dr -c /tmp/esrc/%s -o /dev/null" 121 (while (re-search-forward ";; Function \\|(call_insn " nil t)
124 (car files))) 122 (if (= (char-after (- (point) 3)) ?o)
125 (erase-buffer)
126 (insert-file-contents (concat "/tmp/esrc/" (car files) ".rtl"))
127 (while (re-search-forward ";; Function \\|(call_insn " nil t)
128 (if (= (char-after (- (point) 3)) ?o)
129 (progn
130 (looking-at "[a-zA-Z0-9_]+")
131 (setq name (intern (buffer-substring (match-beginning 0)
132 (match-end 0))))
133 (message "%s : %s" (car files) name)
134 (setq entry (list name)
135 find-gc-subrs-called (cons entry find-gc-subrs-called)))
136 (if (looking-at ".*\n?.*\"\\([A-Za-z0-9_]+\\)\"")
137 (progn 123 (progn
138 (setq name (intern (buffer-substring (match-beginning 1) 124 (looking-at "[a-zA-Z0-9_]+")
139 (match-end 1)))) 125 (setq name (intern (match-string 0)))
140 (or (memq name (cdr entry)) 126 (message "%s : %s" (car files) name)
141 (setcdr entry (cons name (cdr entry)))))))) 127 (setq entry (list name)
142 (delete-file (concat "/tmp/esrc/" (car files) ".rtl")) 128 find-gc-subrs-called
143 (setq files (cdr files))))) 129 (cons entry find-gc-subrs-called)))
144) 130 (if (looking-at ".*\n?.*\"\\([A-Za-z0-9_]+\\)\"")
145 131 (progn
132 (setq name (intern (match-string 1)))
133 (or (memq name (cdr entry))
134 (setcdr entry (cons name (cdr entry)))))))))))))
146 135
147(defun trace-use-tree () 136(defun trace-use-tree ()
148 (setq find-gc-subrs-callers (mapcar 'list (mapcar 'car find-gc-subrs-called))) 137 (setq find-gc-subrs-callers (mapcar 'list (mapcar 'car find-gc-subrs-called)))
@@ -153,8 +142,7 @@ Also store it in `find-gc-unsafe'."
153 (while (setq p2 (cdr p2)) 142 (while (setq p2 (cdr p2))
154 (if (setq found (assq (car p2) find-gc-subrs-callers)) 143 (if (setq found (assq (car p2) find-gc-subrs-callers))
155 (setcdr found (cons (car (car ptr)) (cdr found))))) 144 (setcdr found (cons (car (car ptr)) (cdr found)))))
156 (setq ptr (cdr ptr)))) 145 (setq ptr (cdr ptr)))))
157)
158 146
159(provide 'find-gc) 147(provide 'find-gc)
160 148
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index 7be0354992f..c194e1352ac 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -868,7 +868,7 @@ MIN-VERSION should be a version list."
868 ;; Also check built-in packages. 868 ;; Also check built-in packages.
869 (package-built-in-p package min-version))) 869 (package-built-in-p package min-version)))
870 870
871(defun package-compute-transaction (packages requirements) 871(defun package-compute-transaction (packages requirements &optional seen)
872 "Return a list of packages to be installed, including PACKAGES. 872 "Return a list of packages to be installed, including PACKAGES.
873PACKAGES should be a list of `package-desc'. 873PACKAGES should be a list of `package-desc'.
874 874
@@ -880,7 +880,9 @@ version of that package.
880This function recursively computes the requirements of the 880This function recursively computes the requirements of the
881packages in REQUIREMENTS, and returns a list of all the packages 881packages in REQUIREMENTS, and returns a list of all the packages
882that must be installed. Packages that are already installed are 882that must be installed. Packages that are already installed are
883not included in this list." 883not included in this list.
884
885SEEN is used internally to detect infinite recursion."
884 ;; FIXME: We really should use backtracking to explore the whole 886 ;; FIXME: We really should use backtracking to explore the whole
885 ;; search space (e.g. if foo require bar-1.3, and bar-1.4 requires toto-1.1 887 ;; search space (e.g. if foo require bar-1.3, and bar-1.4 requires toto-1.1
886 ;; whereas bar-1.3 requires toto-1.0 and the user has put a hold on toto-1.0: 888 ;; whereas bar-1.3 requires toto-1.0 and the user has put a hold on toto-1.0:
@@ -893,15 +895,22 @@ not included in this list."
893 (dolist (pkg packages) 895 (dolist (pkg packages)
894 (if (eq next-pkg (package-desc-name pkg)) 896 (if (eq next-pkg (package-desc-name pkg))
895 (setq already pkg))) 897 (setq already pkg)))
896 (cond 898 (when already
897 (already
898 (if (version-list-<= next-version (package-desc-version already)) 899 (if (version-list-<= next-version (package-desc-version already))
899 ;; Move to front, so it gets installed early enough (bug#14082). 900 ;; `next-pkg' is already in `packages', but its position there
900 (setq packages (cons already (delq already packages))) 901 ;; means it might be installed too late: remove it from there, so
902 ;; we re-add it (along with its dependencies) at an earlier place
903 ;; below (bug#16994).
904 (if (memq already seen) ;Avoid inf-loop on dependency cycles.
905 (message "Dependency cycle going through %S"
906 (package-desc-full-name already))
907 (setq packages (delq already packages))
908 (setq already nil))
901 (error "Need package `%s-%s', but only %s is being installed" 909 (error "Need package `%s-%s', but only %s is being installed"
902 next-pkg (package-version-join next-version) 910 next-pkg (package-version-join next-version)
903 (package-version-join (package-desc-version already))))) 911 (package-version-join (package-desc-version already)))))
904 912 (cond
913 (already nil)
905 ((package-installed-p next-pkg next-version) nil) 914 ((package-installed-p next-pkg next-version) nil)
906 915
907 (t 916 (t
@@ -933,12 +942,13 @@ but version %s required"
933 (t (setq found pkg-desc))))) 942 (t (setq found pkg-desc)))))
934 (unless found 943 (unless found
935 (if problem 944 (if problem
936 (error problem) 945 (error "%s" problem)
937 (error "Package `%s-%s' is unavailable" 946 (error "Package `%s-%s' is unavailable"
938 next-pkg (package-version-join next-version)))) 947 next-pkg (package-version-join next-version))))
939 (setq packages 948 (setq packages
940 (package-compute-transaction (cons found packages) 949 (package-compute-transaction (cons found packages)
941 (package-desc-reqs found)))))))) 950 (package-desc-reqs found)
951 (cons found seen))))))))
942 packages) 952 packages)
943 953
944(defun package-read-from-string (str) 954(defun package-read-from-string (str)
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 759a49a91f7..8cc7397794f 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,8 @@
12014-05-08 Glenn Morris <rgm@gnu.org>
2
3 * gnus-fun.el (gnus-grab-cam-face):
4 Do not use predictable temp-file name. (http://bugs.debian.org/747100)
5
12014-05-04 Glenn Morris <rgm@gnu.org> 62014-05-04 Glenn Morris <rgm@gnu.org>
2 7
3 * gnus-registry.el (gnus-registry-install-p): Doc fix. 8 * gnus-registry.el (gnus-registry-install-p): Doc fix.
diff --git a/lisp/gnus/gnus-fun.el b/lisp/gnus/gnus-fun.el
index d6b4fba6246..e0d1578f49a 100644
--- a/lisp/gnus/gnus-fun.el
+++ b/lisp/gnus/gnus-fun.el
@@ -301,20 +301,21 @@ colors of the displayed X-Faces."
301 (interactive) 301 (interactive)
302 (shell-command "xawtv-remote snap ppm") 302 (shell-command "xawtv-remote snap ppm")
303 (let ((file nil) 303 (let ((file nil)
304 (tempfile (make-temp-file "gnus-face-" nil ".ppm"))
304 result) 305 result)
305 (while (null (setq file (directory-files "/tftpboot/sparky/tmp" 306 (while (null (setq file (directory-files "/tftpboot/sparky/tmp"
306 t "snap.*ppm"))) 307 t "snap.*ppm")))
307 (sleep-for 1)) 308 (sleep-for 1))
308 (setq file (car file)) 309 (setq file (car file))
309 (shell-command 310 (shell-command
310 (format "pnmcut -left 110 -top 30 -width 144 -height 144 '%s' | pnmscale -width 48 -height 48 | ppmtopgm > /tmp/gnus.face.ppm" 311 (format "pnmcut -left 110 -top 30 -width 144 -height 144 '%s' | pnmscale -width 48 -height 48 | ppmtopgm >> %s"
311 file)) 312 file tempfile))
312 (let ((gnus-convert-image-to-face-command 313 (let ((gnus-convert-image-to-face-command
313 (format "cat '%%s' | ppmquant %%d | ppmchange %s | pnmtopng" 314 (format "cat '%%s' | ppmquant %%d | ppmchange %s | pnmtopng"
314 (gnus-fun-ppm-change-string)))) 315 (gnus-fun-ppm-change-string))))
315 (setq result (gnus-face-from-file "/tmp/gnus.face.ppm"))) 316 (setq result (gnus-face-from-file tempfile)))
316 (delete-file file) 317 (delete-file file)
317 ;;(delete-file "/tmp/gnus.face.ppm") 318 ;;(delete-file tempfile) ; FIXME why are we not deleting it?!
318 result)) 319 result))
319 320
320(defun gnus-fun-ppm-change-string () 321(defun gnus-fun-ppm-change-string ()
diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index da4a230468c..25ee1d3149f 100644
--- a/lisp/help-fns.el
+++ b/lisp/help-fns.el
@@ -501,6 +501,11 @@ FILE is the file where FUNCTION was probably defined."
501 ;; aliases before functions. 501 ;; aliases before functions.
502 (aliased 502 (aliased
503 (format "an alias for `%s'" real-def)) 503 (format "an alias for `%s'" real-def))
504 ((autoloadp def)
505 (format "%s autoloaded %s"
506 (if (commandp def) "an interactive" "an")
507 (if (eq (nth 4 def) 'keymap) "keymap"
508 (if (nth 4 def) "Lisp macro" "Lisp function"))))
504 ((or (eq (car-safe def) 'macro) 509 ((or (eq (car-safe def) 'macro)
505 ;; For advised macros, def is a lambda 510 ;; For advised macros, def is a lambda
506 ;; expression or a byte-code-function-p, so we 511 ;; expression or a byte-code-function-p, so we
@@ -513,11 +518,6 @@ FILE is the file where FUNCTION was probably defined."
513 (concat beg "Lisp function")) 518 (concat beg "Lisp function"))
514 ((eq (car-safe def) 'closure) 519 ((eq (car-safe def) 'closure)
515 (concat beg "Lisp closure")) 520 (concat beg "Lisp closure"))
516 ((autoloadp def)
517 (format "%s autoloaded %s"
518 (if (commandp def) "an interactive" "an")
519 (if (eq (nth 4 def) 'keymap) "keymap"
520 (if (nth 4 def) "Lisp macro" "Lisp function"))))
521 ((keymapp def) 521 ((keymapp def)
522 (let ((is-full nil) 522 (let ((is-full nil)
523 (elts (cdr-safe def))) 523 (elts (cdr-safe def)))
diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el
index cec0eb21b38..7245911de4b 100644
--- a/lisp/minibuffer.el
+++ b/lisp/minibuffer.el
@@ -519,11 +519,35 @@ for use at QPOS."
519 completions)) 519 completions))
520 520
521 ((eq action 'completion--unquote) 521 ((eq action 'completion--unquote)
522 (let ((ustring (funcall unquote string)) 522 ;; PRED is really a POINT in STRING.
523 (uprefix (funcall unquote (substring string 0 pred)))) 523 ;; We should return a new set (STRING TABLE POINT REQUOTE)
524 ;; We presume (more or less) that `concat' and `unquote' commute. 524 ;; where STRING is a new (unquoted) STRING to match against the new TABLE
525 (cl-assert (string-prefix-p uprefix ustring)) 525 ;; using a new POINT inside it, and REQUOTE is a requoting function which
526 (list ustring table (length uprefix) 526 ;; should reverse the unquoting, (i.e. it receives the completion result
527 ;; of using the new TABLE and should turn it into the corresponding
528 ;; quoted result).
529 (let* ((qpos pred)
530 (ustring (funcall unquote string))
531 (uprefix (funcall unquote (substring string 0 qpos)))
532 ;; FIXME: we really should pass `qpos' to `unuote' and have that
533 ;; function give us the corresponding `uqpos'. But for now we
534 ;; presume (more or less) that `concat' and `unquote' commute.
535 (uqpos (if (string-prefix-p uprefix ustring)
536 ;; Yay!! They do seem to commute!
537 (length uprefix)
538 ;; They don't commute this time! :-(
539 ;; Maybe qpos is in some text that disappears in the
540 ;; ustring (bug#17239). Let's try a second chance guess.
541 (let ((usuffix (funcall unquote (substring string qpos))))
542 (if (string-suffix-p usuffix ustring)
543 ;; Yay!! They still "commute" in a sense!
544 (- (length ustring) (length usuffix))
545 ;; Still no luck! Let's just choose *some* position
546 ;; within ustring.
547 (/ (+ (min (length uprefix) (length ustring))
548 (max (- (length ustring) (length usuffix)) 0))
549 2))))))
550 (list ustring table uqpos
527 (lambda (unquoted-result op) 551 (lambda (unquoted-result op)
528 (pcase op 552 (pcase op
529 (1 ;;try 553 (1 ;;try
@@ -853,6 +877,7 @@ completing buffer and file names, respectively."
853 (setq string (pop new)) 877 (setq string (pop new))
854 (setq table (pop new)) 878 (setq table (pop new))
855 (setq point (pop new)) 879 (setq point (pop new))
880 (cl-assert (<= point (length string)))
856 (pop new)))) 881 (pop new))))
857 (result 882 (result
858 (completion--some (lambda (style) 883 (completion--some (lambda (style)
@@ -1365,19 +1390,18 @@ appear to be a match."
1365 ;; instead, but it was too blunt, leading to situations where SPC 1390 ;; instead, but it was too blunt, leading to situations where SPC
1366 ;; was the only insertable char at point but minibuffer-complete-word 1391 ;; was the only insertable char at point but minibuffer-complete-word
1367 ;; refused inserting it. 1392 ;; refused inserting it.
1368 (let* ((exts (mapcar (lambda (str) (propertize str 'completion-try-word t)) 1393 (let ((exts (mapcar (lambda (str) (propertize str 'completion-try-word t))
1369 '(" " "-"))) 1394 '(" " "-")))
1370 (before (substring string 0 point)) 1395 (before (substring string 0 point))
1371 (after (substring string point)) 1396 (after (substring string point))
1372 (comps 1397 tem)
1373 (delete nil 1398 ;; If both " " and "-" lead to completions, prefer " " so SPC behaves
1374 (mapcar (lambda (ext) 1399 ;; a bit more like a self-inserting key (bug#17375).
1375 (completion-try-completion 1400 (while (and exts (not (consp tem)))
1376 (concat before ext after) 1401 (setq tem (completion-try-completion
1377 table predicate (1+ point) md)) 1402 (concat before (pop exts) after)
1378 exts)))) 1403 table predicate (1+ point) md)))
1379 (when (and (null (cdr comps)) (consp (car comps))) 1404 (if (consp tem) (setq comp tem))))
1380 (setq comp (car comps)))))
1381 1405
1382 ;; Completing a single word is actually more difficult than completing 1406 ;; Completing a single word is actually more difficult than completing
1383 ;; as much as possible, because we first have to find the "current 1407 ;; as much as possible, because we first have to find the "current
diff --git a/lisp/net/browse-url.el b/lisp/net/browse-url.el
index 893bfa487e3..4364490f431 100644
--- a/lisp/net/browse-url.el
+++ b/lisp/net/browse-url.el
@@ -1340,6 +1340,9 @@ used instead of `browse-url-new-window-flag'."
1340 (kill-buffer nil))) 1340 (kill-buffer nil)))
1341 (if (and pid (zerop (signal-process pid 0))) ; Mosaic running 1341 (if (and pid (zerop (signal-process pid 0))) ; Mosaic running
1342 (save-excursion 1342 (save-excursion
1343 ;; This is a predictable temp-file name, which is bad,
1344 ;; but it is what Mosaic uses/used.
1345 ;; So it's not Emacs's problem. http://bugs.debian.org/747100
1343 (find-file (format "/tmp/Mosaic.%d" pid)) 1346 (find-file (format "/tmp/Mosaic.%d" pid))
1344 (erase-buffer) 1347 (erase-buffer)
1345 (insert (if (browse-url-maybe-new-window new-window) 1348 (insert (if (browse-url-maybe-new-window new-window)
diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el
index 9c86c8c48bd..900e1c812ae 100644
--- a/lisp/net/tramp-sh.el
+++ b/lisp/net/tramp-sh.el
@@ -425,7 +425,7 @@ as given in your `~/.profile'."
425 425
426;;;###tramp-autoload 426;;;###tramp-autoload
427(defcustom tramp-remote-process-environment 427(defcustom tramp-remote-process-environment
428 `("HISTFILE=$HOME/.tramp_history" "HISTSIZE=1" "TMOUT=0" "LC_CTYPE=''" 428 `("TMOUT=0" "LC_CTYPE=''"
429 ,(format "TERM=%s" tramp-terminal-type) 429 ,(format "TERM=%s" tramp-terminal-type)
430 "EMACS=t" ;; Deprecated. 430 "EMACS=t" ;; Deprecated.
431 ,(format "INSIDE_EMACS='%s,tramp:%s'" emacs-version tramp-version) 431 ,(format "INSIDE_EMACS='%s,tramp:%s'" emacs-version tramp-version)
@@ -440,6 +440,7 @@ which might have been set in the init files like ~/.profile.
440Special handling is applied to the PATH environment, which should 440Special handling is applied to the PATH environment, which should
441not be set here. Instead, it should be set via `tramp-remote-path'." 441not be set here. Instead, it should be set via `tramp-remote-path'."
442 :group 'tramp 442 :group 'tramp
443 :version "24.4"
443 :type '(repeat string)) 444 :type '(repeat string))
444 445
445(defcustom tramp-sh-extra-args '(("/bash\\'" . "-norc -noprofile")) 446(defcustom tramp-sh-extra-args '(("/bash\\'" . "-norc -noprofile"))
@@ -491,9 +492,9 @@ This list is used for copying/renaming with out-of-band methods.
491See `tramp-actions-before-shell' for more info.") 492See `tramp-actions-before-shell' for more info.")
492 493
493(defconst tramp-uudecode 494(defconst tramp-uudecode
494 "(echo begin 600 /tmp/tramp.$$; tail +2) | uudecode 495 "(echo begin 600 %t; tail -n +2) | uudecode
495cat /tmp/tramp.$$ 496cat %t
496rm -f /tmp/tramp.$$" 497rm -f %t"
497 "Shell function to implement `uudecode' to standard output. 498 "Shell function to implement `uudecode' to standard output.
498Many systems support `uudecode -o /dev/stdout' or `uudecode -o -' 499Many systems support `uudecode -o /dev/stdout' or `uudecode -o -'
499for this or `uudecode -p', but some systems don't, and for them 500for this or `uudecode -p', but some systems don't, and for them
@@ -3726,8 +3727,7 @@ file exists and nonzero exit status otherwise."
3726 (with-tramp-progress-reporter 3727 (with-tramp-progress-reporter
3727 vec 5 (format "Opening remote shell `%s'" shell) 3728 vec 5 (format "Opening remote shell `%s'" shell)
3728 ;; Find arguments for this shell. 3729 ;; Find arguments for this shell.
3729 (let ((tramp-end-of-output tramp-initial-end-of-output) 3730 (let ((alist tramp-sh-extra-args)
3730 (alist tramp-sh-extra-args)
3731 item extra-args) 3731 item extra-args)
3732 (while (and alist (null extra-args)) 3732 (while (and alist (null extra-args))
3733 (setq item (pop alist)) 3733 (setq item (pop alist))
@@ -3735,18 +3735,12 @@ file exists and nonzero exit status otherwise."
3735 (setq extra-args (cdr item)))) 3735 (setq extra-args (cdr item))))
3736 (tramp-send-command 3736 (tramp-send-command
3737 vec (format 3737 vec (format
3738 "exec env ENV='' PROMPT_COMMAND='' PS1=%s PS2='' PS3='' %s %s" 3738 "exec env ENV='' HISTFILE=/dev/null PROMPT_COMMAND='' PS1=%s PS2='' PS3='' %s %s"
3739 (tramp-shell-quote-argument tramp-end-of-output) 3739 (tramp-shell-quote-argument tramp-end-of-output)
3740 shell (or extra-args "")) 3740 shell (or extra-args ""))
3741 t)) 3741 t))
3742 (tramp-set-connection-property 3742 (tramp-set-connection-property
3743 (tramp-get-connection-process vec) "remote-shell" shell) 3743 (tramp-get-connection-process vec) "remote-shell" shell)))
3744 ;; Setting prompts.
3745 (tramp-send-command
3746 vec (format "PS1=%s" (tramp-shell-quote-argument tramp-end-of-output)) t)
3747 (tramp-send-command vec "PS2=''" t)
3748 (tramp-send-command vec "PS3=''" t)
3749 (tramp-send-command vec "PROMPT_COMMAND=''" t)))
3750 3744
3751(defun tramp-find-shell (vec) 3745(defun tramp-find-shell (vec)
3752 "Opens a shell on the remote host which groks tilde expansion." 3746 "Opens a shell on the remote host which groks tilde expansion."
@@ -4045,7 +4039,7 @@ Each item is a list that looks like this:
4045 4039
4046\(FORMAT ENCODING DECODING [TEST]\) 4040\(FORMAT ENCODING DECODING [TEST]\)
4047 4041
4048FORMAT is symbol describing the encoding/decoding format. It can be 4042FORMAT is a symbol describing the encoding/decoding format. It can be
4049`b64' for base64 encoding, `uu' for uu encoding, or `pack' for simple packing. 4043`b64' for base64 encoding, `uu' for uu encoding, or `pack' for simple packing.
4050 4044
4051ENCODING and DECODING can be strings, giving commands, or symbols, 4045ENCODING and DECODING can be strings, giving commands, or symbols,
@@ -4055,9 +4049,11 @@ filename will be put into the command line at that spot. If the
4055specifier is not present, the input should be read from standard 4049specifier is not present, the input should be read from standard
4056input. 4050input.
4057 4051
4058If they are variables, this variable is a string containing a Perl 4052If they are variables, this variable is a string containing a
4059implementation for this functionality. This Perl program will be transferred 4053Perl or Shell implementation for this functionality. This
4060to the remote host, and it is available as shell function with the same name. 4054program will be transferred to the remote host, and it is
4055available as shell function with the same name. A \"%t\" format
4056specifier in the variable value denotes a temporary file.
4061 4057
4062The optional TEST command can be used for further tests, whether 4058The optional TEST command can be used for further tests, whether
4063ENCODING and DECODING are applicable.") 4059ENCODING and DECODING are applicable.")
@@ -4136,10 +4132,25 @@ Goes through the list `tramp-local-coding-commands' and
4136 (throw 'wont-work-remote nil)) 4132 (throw 'wont-work-remote nil))
4137 4133
4138 (when (not (stringp rem-dec)) 4134 (when (not (stringp rem-dec))
4139 (let ((name (symbol-name rem-dec))) 4135 (let ((name (symbol-name rem-dec))
4136 (value (symbol-value rem-dec))
4137 tmpfile)
4140 (while (string-match (regexp-quote "-") name) 4138 (while (string-match (regexp-quote "-") name)
4141 (setq name (replace-match "_" nil t name))) 4139 (setq name (replace-match "_" nil t name)))
4142 (tramp-maybe-send-script vec (symbol-value rem-dec) name) 4140 (when (string-match "%t" value)
4141 (setq tmpfile
4142 (make-temp-name
4143 (expand-file-name
4144 tramp-temp-name-prefix
4145 (tramp-get-remote-tmpdir vec)))
4146 value
4147 (format-spec
4148 value
4149 (format-spec-make
4150 ?t
4151 (tramp-file-name-handler
4152 'file-remote-p tmpfile 'localname)))))
4153 (tramp-maybe-send-script vec value name)
4143 (setq rem-dec name))) 4154 (setq rem-dec name)))
4144 (tramp-message 4155 (tramp-message
4145 vec 5 4156 vec 5
@@ -4456,6 +4467,7 @@ connection if a previous connection has died for some reason."
4456 (delete-process p)) 4467 (delete-process p))
4457 (setenv "TERM" tramp-terminal-type) 4468 (setenv "TERM" tramp-terminal-type)
4458 (setenv "LC_ALL" "en_US.utf8") 4469 (setenv "LC_ALL" "en_US.utf8")
4470 (setenv "HISTFILE" "/dev/null")
4459 (setenv "PROMPT_COMMAND") 4471 (setenv "PROMPT_COMMAND")
4460 (setenv "PS1" tramp-initial-end-of-output) 4472 (setenv "PS1" tramp-initial-end-of-output)
4461 (let* ((target-alist (tramp-compute-multi-hops vec)) 4473 (let* ((target-alist (tramp-compute-multi-hops vec))
diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el
index 912736707ef..74edf7a680f 100644
--- a/lisp/progmodes/ruby-mode.el
+++ b/lisp/progmodes/ruby-mode.el
@@ -1804,9 +1804,10 @@ It will be properly highlighted even when the call omits parens.")
1804 ;; $' $" $` .... are variables. 1804 ;; $' $" $` .... are variables.
1805 ;; ?' ?" ?` are character literals (one-char strings in 1.9+). 1805 ;; ?' ?" ?` are character literals (one-char strings in 1.9+).
1806 ("\\([?$]\\)[#\"'`]" 1806 ("\\([?$]\\)[#\"'`]"
1807 (1 (unless (save-excursion 1807 (1 (if (save-excursion
1808 ;; Not within a string. 1808 (nth 3 (syntax-ppss (match-beginning 0))))
1809 (nth 3 (syntax-ppss (match-beginning 0)))) 1809 ;; Within a string, skip.
1810 (goto-char (match-end 1))
1810 (string-to-syntax "\\")))) 1811 (string-to-syntax "\\"))))
1811 ;; Part of symbol when at the end of a method name. 1812 ;; Part of symbol when at the end of a method name.
1812 ("[!?]" 1813 ("[!?]"
diff --git a/lisp/xt-mouse.el b/lisp/xt-mouse.el
index b03b2c95394..fc515974036 100644
--- a/lisp/xt-mouse.el
+++ b/lisp/xt-mouse.el
@@ -63,8 +63,8 @@ http://invisible-island.net/xterm/ctlseqs/ctlseqs.html)."
63 63
64(defun xterm-mouse-translate-1 (&optional extension) 64(defun xterm-mouse-translate-1 (&optional extension)
65 (save-excursion 65 (save-excursion
66 (save-window-excursion 66 (save-window-excursion ;FIXME: Why?
67 (deactivate-mark) 67 (deactivate-mark) ;FIXME: Why?
68 (let* ((xterm-mouse-last nil) 68 (let* ((xterm-mouse-last nil)
69 (down (xterm-mouse-event extension)) 69 (down (xterm-mouse-event extension))
70 (down-command (nth 0 down)) 70 (down-command (nth 0 down))
@@ -73,10 +73,10 @@ http://invisible-island.net/xterm/ctlseqs/ctlseqs.html)."
73 (down-binding (key-binding (if (symbolp down-where) 73 (down-binding (key-binding (if (symbolp down-where)
74 (vector down-where down-command) 74 (vector down-where down-command)
75 (vector down-command)))) 75 (vector down-command))))
76 (is-click (string-match "^mouse" (symbol-name (car down))))) 76 (is-down (string-match "down" (symbol-name (car down)))))
77 77
78 ;; Retrieve the expected preface for the up-event. 78 ;; Retrieve the expected preface for the up-event.
79 (unless is-click 79 (unless is-down
80 (unless (cond ((null extension) 80 (unless (cond ((null extension)
81 (and (eq (read-event) ?\e) 81 (and (eq (read-event) ?\e)
82 (eq (read-event) ?\[) 82 (eq (read-event) ?\[)
@@ -88,14 +88,17 @@ http://invisible-island.net/xterm/ctlseqs/ctlseqs.html)."
88 (error "Unexpected escape sequence from XTerm"))) 88 (error "Unexpected escape sequence from XTerm")))
89 89
90 ;; Process the up-event. 90 ;; Process the up-event.
91 (let* ((click (if is-click down (xterm-mouse-event extension))) 91 (let* ((click (if is-down (xterm-mouse-event extension) down))
92 (click-data (nth 1 click)) 92 (click-data (nth 1 click))
93 (click-where (nth 1 click-data))) 93 (click-where (nth 1 click-data)))
94 (if (memq down-binding '(nil ignore)) 94 (cond
95 (if (and (symbolp click-where) 95 ((null down) nil)
96 (consp click-where)) 96 ((memq down-binding '(nil ignore))
97 (vector (list click-where click-data) click) 97 (if (and (symbolp click-where)
98 (vector click)) 98 (consp click-where))
99 (vector (list click-where click-data) click)
100 (vector click)))
101 (t
99 (setq unread-command-events 102 (setq unread-command-events
100 (append (if (eq down-where click-where) 103 (append (if (eq down-where click-where)
101 (list click) 104 (list click)
@@ -114,7 +117,7 @@ http://invisible-island.net/xterm/ctlseqs/ctlseqs.html)."
114 (if (and (symbolp down-where) 117 (if (and (symbolp down-where)
115 (consp down-where)) 118 (consp down-where))
116 (vector (list down-where down-data) down) 119 (vector (list down-where down-data) down)
117 (vector down)))))))) 120 (vector down)))))))))
118 121
119;; These two variables have been converted to terminal parameters. 122;; These two variables have been converted to terminal parameters.
120;; 123;;
@@ -153,7 +156,8 @@ http://invisible-island.net/xterm/ctlseqs/ctlseqs.html)."
153;; Normal terminal mouse click reporting: expect three bytes, of the 156;; Normal terminal mouse click reporting: expect three bytes, of the
154;; form <BUTTON+32> <X+32> <Y+32>. Return a list (EVENT-TYPE X Y). 157;; form <BUTTON+32> <X+32> <Y+32>. Return a list (EVENT-TYPE X Y).
155(defun xterm-mouse--read-event-sequence-1000 () 158(defun xterm-mouse--read-event-sequence-1000 ()
156 (list (let ((code (- (read-event) 32))) 159 (let* ((code (- (read-event) 32))
160 (type
157 (intern 161 (intern
158 ;; For buttons > 3, the release-event looks differently 162 ;; For buttons > 3, the release-event looks differently
159 ;; (see xc/programs/xterm/button.c, function EditorButton), 163 ;; (see xc/programs/xterm/button.c, function EditorButton),
@@ -161,21 +165,21 @@ http://invisible-island.net/xterm/ctlseqs/ctlseqs.html)."
161 (cond ((>= code 64) 165 (cond ((>= code 64)
162 (format "mouse-%d" (- code 60))) 166 (format "mouse-%d" (- code 60)))
163 ((memq code '(8 9 10)) 167 ((memq code '(8 9 10))
164 (setq xterm-mouse-last code) 168 (setq xterm-mouse-last (- code 8))
165 (format "M-down-mouse-%d" (- code 7))) 169 (format "M-down-mouse-%d" (- code 7)))
166 ((= code 11) 170 ((and (= code 11) xterm-mouse-last)
167 (format "M-mouse-%d" (- xterm-mouse-last 7))) 171 (format "M-mouse-%d" (1+ xterm-mouse-last)))
168 ((= code 3) 172 ((and (= code 3) xterm-mouse-last)
169 ;; For buttons > 5 xterm only reports a 173 ;; For buttons > 5 xterm only reports a button-release event.
170 ;; button-release event. Avoid error by mapping 174 ;; Drop them since they're not usable and can be spurious.
171 ;; them all to mouse-1. 175 (format "mouse-%d" (1+ xterm-mouse-last)))
172 (format "mouse-%d" (+ 1 (or xterm-mouse-last 0)))) 176 ((memq code '(0 1 2))
173 (t
174 (setq xterm-mouse-last code) 177 (setq xterm-mouse-last code)
175 (format "down-mouse-%d" (+ 1 code)))))) 178 (format "down-mouse-%d" (+ 1 code))))))
176 ;; x and y coordinates 179 (x (- (read-event) 33))
177 (- (read-event) 33) 180 (y (- (read-event) 33)))
178 (- (read-event) 33))) 181 (and type (wholenump x) (wholenump y)
182 (list type x y))))
179 183
180;; XTerm's 1006-mode terminal mouse click reporting has the form 184;; XTerm's 1006-mode terminal mouse click reporting has the form
181;; <BUTTON> ; <X> ; <Y> <M or m>, where the button and ordinates are 185;; <BUTTON> ; <X> ; <Y> <M or m>, where the button and ordinates are
@@ -222,32 +226,33 @@ which is the \"1006\" extension implemented in Xterm >= 277."
222 ((eq extension 1006) 226 ((eq extension 1006)
223 (xterm-mouse--read-event-sequence-1006)) 227 (xterm-mouse--read-event-sequence-1006))
224 (t 228 (t
225 (error "Unsupported XTerm mouse protocol")))) 229 (error "Unsupported XTerm mouse protocol")))))
226 (type (nth 0 click)) 230 (when click
227 (x (nth 1 click)) 231 (let* ((type (nth 0 click))
228 (y (nth 2 click)) 232 (x (nth 1 click))
229 ;; Emulate timestamp information. This is accurate enough 233 (y (nth 2 click))
230 ;; for default value of mouse-1-click-follows-link (450msec). 234 ;; Emulate timestamp information. This is accurate enough
231 (timestamp (xterm-mouse-truncate-wrap 235 ;; for default value of mouse-1-click-follows-link (450msec).
232 (* 1000 236 (timestamp (xterm-mouse-truncate-wrap
233 (- (float-time) 237 (* 1000
234 (or xt-mouse-epoch 238 (- (float-time)
235 (setq xt-mouse-epoch (float-time))))))) 239 (or xt-mouse-epoch
236 (w (window-at x y)) 240 (setq xt-mouse-epoch (float-time)))))))
237 (ltrb (window-edges w)) 241 (w (window-at x y))
238 (left (nth 0 ltrb)) 242 (ltrb (window-edges w))
239 (top (nth 1 ltrb))) 243 (left (nth 0 ltrb))
240 (set-terminal-parameter nil 'xterm-mouse-x x) 244 (top (nth 1 ltrb)))
241 (set-terminal-parameter nil 'xterm-mouse-y y) 245 (set-terminal-parameter nil 'xterm-mouse-x x)
242 (setq 246 (set-terminal-parameter nil 'xterm-mouse-y y)
243 last-input-event 247 (setq
244 (list type 248 last-input-event
245 (let ((event (if w 249 (list type
246 (posn-at-x-y (- x left) (- y top) w t) 250 (let ((event (if w
247 (append (list nil 'menu-bar) 251 (posn-at-x-y (- x left) (- y top) w t)
248 (nthcdr 2 (posn-at-x-y x y)))))) 252 (append (list nil 'menu-bar)
249 (setcar (nthcdr 3 event) timestamp) 253 (nthcdr 2 (posn-at-x-y x y))))))
250 event))))) 254 (setcar (nthcdr 3 event) timestamp)
255 event)))))))
251 256
252;;;###autoload 257;;;###autoload
253(define-minor-mode xterm-mouse-mode 258(define-minor-mode xterm-mouse-mode
diff --git a/src/ChangeLog b/src/ChangeLog
index 3aef0c729f6..72e78724bab 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,29 @@
12014-05-08 Paul Eggert <eggert@cs.ucla.edu>
2
3 * minibuf.c (read_minibuf): Avoid C99ism in previous patch (Bug#17430).
4
52014-05-08 Jarek Czekalski <jarekczek@poczta.onet.pl>
6
7 Fix initialization of minibuffer history variable (Bug#17430).
8 * minibuf.c (read_minibuf): Initialize histval to Qnil if unbound.
9 Move the initialization up to prevent any "value void" message.
10
112014-05-08 Samuel Bronson <naesten@gmail.com>
12
13 * keyboard.c (Frecursive_edit): Ensure inc&dec of command_loop_level
14 are matched (bug#17413).
15
162014-05-08 Jarek Czekalski <jarekczek@poczta.onet.pl>
17
18 Stop tooltips pulling Emacs window to front (Bug#17408).
19 * w32fns.c (Fx_show_tip): Add SWP_NOOWNERZORDER flag to
20 SetWindowPos invocations.
21
222014-05-08 Jan Djärv <jan.h.d@swipnet.se>
23
24 * nsselect.m (Fx_selection_exists_p): Just return Qnil if window system
25 not initialized (Bug#17398).
26
12014-05-07 Paul Eggert <eggert@cs.ucla.edu> 272014-05-07 Paul Eggert <eggert@cs.ucla.edu>
2 28
3 * image.c: Include <png.h> before <setjmp.h> (Bug#17429). 29 * image.c: Include <png.h> before <setjmp.h> (Bug#17429).
diff --git a/src/keyboard.c b/src/keyboard.c
index d52483e6a18..a5a9ad93047 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -825,22 +825,25 @@ This function is called by the editor initialization to begin editing. */)
825 if (input_blocked_p ()) 825 if (input_blocked_p ())
826 return Qnil; 826 return Qnil;
827 827
828 command_loop_level++; 828 if (command_loop_level >= 0
829 update_mode_lines = 17;
830
831 if (command_loop_level
832 && current_buffer != XBUFFER (XWINDOW (selected_window)->contents)) 829 && current_buffer != XBUFFER (XWINDOW (selected_window)->contents))
833 buffer = Fcurrent_buffer (); 830 buffer = Fcurrent_buffer ();
834 else 831 else
835 buffer = Qnil; 832 buffer = Qnil;
836 833
834 /* Don't do anything interesting between the increment and the
835 record_unwind_protect! Otherwise, we could get distracted and
836 never decrement the counter again. */
837 command_loop_level++;
838 update_mode_lines = 17;
839 record_unwind_protect (recursive_edit_unwind, buffer);
840
837 /* If we leave recursive_edit_1 below with a `throw' for instance, 841 /* If we leave recursive_edit_1 below with a `throw' for instance,
838 like it is done in the splash screen display, we have to 842 like it is done in the splash screen display, we have to
839 make sure that we restore single_kboard as command_loop_1 843 make sure that we restore single_kboard as command_loop_1
840 would have done if it were left normally. */ 844 would have done if it were left normally. */
841 if (command_loop_level > 0) 845 if (command_loop_level > 0)
842 temporarily_switch_to_single_kboard (SELECTED_FRAME ()); 846 temporarily_switch_to_single_kboard (SELECTED_FRAME ());
843 record_unwind_protect (recursive_edit_unwind, buffer);
844 847
845 recursive_edit_1 (); 848 recursive_edit_1 ();
846 return unbind_to (count, Qnil); 849 return unbind_to (count, Qnil);
diff --git a/src/minibuf.c b/src/minibuf.c
index 8b742cf88ca..06fe0c07df6 100644
--- a/src/minibuf.c
+++ b/src/minibuf.c
@@ -384,6 +384,7 @@ read_minibuf (Lisp_Object map, Lisp_Object initial, Lisp_Object prompt,
384 EMACS_INT pos = 0; 384 EMACS_INT pos = 0;
385 /* String to add to the history. */ 385 /* String to add to the history. */
386 Lisp_Object histstring; 386 Lisp_Object histstring;
387 Lisp_Object histval;
387 388
388 Lisp_Object empty_minibuf; 389 Lisp_Object empty_minibuf;
389 Lisp_Object dummy, frame; 390 Lisp_Object dummy, frame;
@@ -535,6 +536,14 @@ read_minibuf (Lisp_Object map, Lisp_Object initial, Lisp_Object prompt,
535 if (!NILP (Vminibuffer_completing_file_name)) 536 if (!NILP (Vminibuffer_completing_file_name))
536 Vminibuffer_completing_file_name = Qlambda; 537 Vminibuffer_completing_file_name = Qlambda;
537 538
539 /* If variable is unbound, make it nil. */
540 histval = find_symbol_value (Vminibuffer_history_variable);
541 if (EQ (histval, Qunbound))
542 {
543 Fset (Vminibuffer_history_variable, Qnil);
544 histval = Qnil;
545 }
546
538 if (inherit_input_method) 547 if (inherit_input_method)
539 { 548 {
540 /* `current-input-method' is buffer local. So, remember it in 549 /* `current-input-method' is buffer local. So, remember it in
@@ -703,13 +712,6 @@ read_minibuf (Lisp_Object map, Lisp_Object initial, Lisp_Object prompt,
703 { 712 {
704 /* If the caller wanted to save the value read on a history list, 713 /* If the caller wanted to save the value read on a history list,
705 then do so if the value is not already the front of the list. */ 714 then do so if the value is not already the front of the list. */
706 Lisp_Object histval;
707
708 /* If variable is unbound, make it nil. */
709
710 histval = find_symbol_value (Vminibuffer_history_variable);
711 if (EQ (histval, Qunbound))
712 Fset (Vminibuffer_history_variable, Qnil);
713 715
714 /* The value of the history variable must be a cons or nil. Other 716 /* The value of the history variable must be a cons or nil. Other
715 values are unacceptable. We silently ignore these values. */ 717 values are unacceptable. We silently ignore these values. */
diff --git a/src/nsselect.m b/src/nsselect.m
index f4713cb5e10..038849c0aed 100644
--- a/src/nsselect.m
+++ b/src/nsselect.m
@@ -429,7 +429,9 @@ On Nextstep, TERMINAL is unused. */)
429 id pb; 429 id pb;
430 NSArray *types; 430 NSArray *types;
431 431
432 check_window_system (NULL); 432 if (!window_system_available (NULL))
433 return Qnil;
434
433 CHECK_SYMBOL (selection); 435 CHECK_SYMBOL (selection);
434 if (EQ (selection, Qnil)) selection = QPRIMARY; 436 if (EQ (selection, Qnil)) selection = QPRIMARY;
435 if (EQ (selection, Qt)) selection = QSECONDARY; 437 if (EQ (selection, Qt)) selection = QSECONDARY;
diff --git a/src/w32fns.c b/src/w32fns.c
index 77476757c2f..fa988583f33 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -6035,12 +6035,13 @@ Text larger than the specified size is clipped. */)
6035 /* Put tooltip in topmost group and in position. */ 6035 /* Put tooltip in topmost group and in position. */
6036 SetWindowPos (FRAME_W32_WINDOW (f), HWND_TOPMOST, 6036 SetWindowPos (FRAME_W32_WINDOW (f), HWND_TOPMOST,
6037 root_x, root_y, 0, 0, 6037 root_x, root_y, 0, 0,
6038 SWP_NOSIZE | SWP_NOACTIVATE); 6038 SWP_NOSIZE | SWP_NOACTIVATE | SWP_NOOWNERZORDER);
6039 6039
6040 /* Ensure tooltip is on top of other topmost windows (eg menus). */ 6040 /* Ensure tooltip is on top of other topmost windows (eg menus). */
6041 SetWindowPos (FRAME_W32_WINDOW (f), HWND_TOP, 6041 SetWindowPos (FRAME_W32_WINDOW (f), HWND_TOP,
6042 0, 0, 0, 0, 6042 0, 0, 0, 0,
6043 SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE); 6043 SWP_NOMOVE | SWP_NOSIZE
6044 | SWP_NOACTIVATE | SWP_NOOWNERZORDER);
6044 6045
6045 unblock_input (); 6046 unblock_input ();
6046 goto start_timer; 6047 goto start_timer;
@@ -6238,12 +6239,13 @@ Text larger than the specified size is clipped. */)
6238 SetWindowPos (FRAME_W32_WINDOW (f), HWND_TOPMOST, 6239 SetWindowPos (FRAME_W32_WINDOW (f), HWND_TOPMOST,
6239 root_x, root_y, 6240 root_x, root_y,
6240 rect.right - rect.left + FRAME_COLUMN_WIDTH (f), 6241 rect.right - rect.left + FRAME_COLUMN_WIDTH (f),
6241 rect.bottom - rect.top, SWP_NOACTIVATE); 6242 rect.bottom - rect.top, SWP_NOACTIVATE | SWP_NOOWNERZORDER);
6242 6243
6243 /* Ensure tooltip is on top of other topmost windows (eg menus). */ 6244 /* Ensure tooltip is on top of other topmost windows (eg menus). */
6244 SetWindowPos (FRAME_W32_WINDOW (f), HWND_TOP, 6245 SetWindowPos (FRAME_W32_WINDOW (f), HWND_TOP,
6245 0, 0, 0, 0, 6246 0, 0, 0, 0,
6246 SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE); 6247 SWP_NOMOVE | SWP_NOSIZE
6248 | SWP_NOACTIVATE | SWP_NOOWNERZORDER);
6247 6249
6248 /* Let redisplay know that we have made the frame visible already. */ 6250 /* Let redisplay know that we have made the frame visible already. */
6249 SET_FRAME_VISIBLE (f, 1); 6251 SET_FRAME_VISIBLE (f, 1);
diff --git a/test/ChangeLog b/test/ChangeLog
index 29e299e5eaa..5cb8aae8c1f 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,17 @@
12014-05-08 Glenn Morris <rgm@gnu.org>
2
3 * automated/vc-bzr.el (vc-bzr-test-bug9726, vc-bzr-test-bug9781)
4 (vc-bzr-test-faulty-bzr-autoloads): Disable bzr logging.
5
62014-05-08 Dmitry Gutov <dgutov@yandex.ru>
7
8 * automated/ruby-mode-tests.el (ruby-interpolation-after-dollar-sign):
9 New test.
10
112014-05-08 Glenn Morris <rgm@gnu.org>
12
13 * automated/help-fns.el: New file.
14
12014-05-01 Barry O'Reilly <gundaetiapo@gmail.com> 152014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
2 16
3 * automated/undo-tests.el (undo-test-region-deletion): New test to 17 * automated/undo-tests.el (undo-test-region-deletion): New test to
diff --git a/test/automated/help-fns.el b/test/automated/help-fns.el
new file mode 100644
index 00000000000..153de7f9e30
--- /dev/null
+++ b/test/automated/help-fns.el
@@ -0,0 +1,37 @@
1;;; help-fns.el --- tests for help-fns.el
2
3;; Copyright (C) 2014 Free Software Foundation, Inc.
4
5;; Maintainer: emacs-devel@gnu.org
6
7;; This file is part of GNU Emacs.
8
9;; GNU Emacs is free software: you can redistribute it and/or modify
10;; it under the terms of the GNU General Public License as published by
11;; the Free Software Foundation, either version 3 of the License, or
12;; (at your option) any later version.
13
14;; GNU Emacs is distributed in the hope that it will be useful,
15;; but WITHOUT ANY WARRANTY; without even the implied warranty of
16;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17;; GNU General Public License for more details.
18
19;; You should have received a copy of the GNU General Public License
20;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
21
22;;; Commentary:
23
24;;; Code:
25
26(require 'ert)
27
28(autoload 'help-fns-test--macro "help-fns" nil nil t)
29
30(ert-deftest help-fns-test-bug17410 ()
31 "Test for http://debbugs.gnu.org/17410 ."
32 (describe-function 'help-fns-test--macro)
33 (with-current-buffer "*Help*"
34 (goto-char (point-min))
35 (should (search-forward "autoloaded Lisp macro" (line-end-position)))))
36
37;;; help-fns.el ends here
diff --git a/test/automated/ruby-mode-tests.el b/test/automated/ruby-mode-tests.el
index f6fddb5ef4c..0ad5650cd77 100644
--- a/test/automated/ruby-mode-tests.el
+++ b/test/automated/ruby-mode-tests.el
@@ -452,6 +452,10 @@ VALUES-PLIST is a list with alternating index and value elements."
452 (ruby-assert-face "%w{foo #@bar}" 8 font-lock-string-face) 452 (ruby-assert-face "%w{foo #@bar}" 8 font-lock-string-face)
453 (ruby-assert-face "%s{foo #@bar}" 8 font-lock-string-face)) 453 (ruby-assert-face "%s{foo #@bar}" 8 font-lock-string-face))
454 454
455(ert-deftest ruby-interpolation-after-dollar-sign ()
456 (ruby-assert-face "\"$#{balance}\"" 2 'font-lock-string-face)
457 (ruby-assert-face "\"$#{balance}\"" 3 'font-lock-variable-name-face))
458
455(ert-deftest ruby-no-unknown-percent-literals () 459(ert-deftest ruby-no-unknown-percent-literals ()
456 ;; No folding of case. 460 ;; No folding of case.
457 (ruby-assert-face "%S{foo}" 4 nil) 461 (ruby-assert-face "%S{foo}" 4 nil)
diff --git a/test/automated/vc-bzr.el b/test/automated/vc-bzr.el
index e2ea3f6aeea..5cfa3c2691f 100644
--- a/test/automated/vc-bzr.el
+++ b/test/automated/vc-bzr.el
@@ -33,7 +33,9 @@
33 (skip-unless (executable-find vc-bzr-program)) 33 (skip-unless (executable-find vc-bzr-program))
34 (let* ((tempdir (make-temp-file "vc-bzr-test" t)) 34 (let* ((tempdir (make-temp-file "vc-bzr-test" t))
35 (ignored-dir (expand-file-name "ignored-dir" tempdir)) 35 (ignored-dir (expand-file-name "ignored-dir" tempdir))
36 (default-directory (file-name-as-directory tempdir))) 36 (default-directory (file-name-as-directory tempdir))
37 (process-environment (cons (format "BZR_LOG=%s" null-device)
38 process-environment)))
37 (unwind-protect 39 (unwind-protect
38 (progn 40 (progn
39 (make-directory ignored-dir) 41 (make-directory ignored-dir)
@@ -64,7 +66,9 @@
64 (let* ((tempdir (make-temp-file "vc-bzr-test" t)) 66 (let* ((tempdir (make-temp-file "vc-bzr-test" t))
65 (subdir (expand-file-name "subdir" tempdir)) 67 (subdir (expand-file-name "subdir" tempdir))
66 (file (expand-file-name "file" tempdir)) 68 (file (expand-file-name "file" tempdir))
67 (default-directory (file-name-as-directory tempdir))) 69 (default-directory (file-name-as-directory tempdir))
70 (process-environment (cons (format "BZR_LOG=%s" null-device)
71 process-environment)))
68 (unwind-protect 72 (unwind-protect
69 (progn 73 (progn
70 (call-process vc-bzr-program nil nil nil "init") 74 (call-process vc-bzr-program nil nil nil "init")
@@ -100,7 +104,9 @@
100 (let* ((tempdir (make-temp-file "vc-bzr-test" t)) 104 (let* ((tempdir (make-temp-file "vc-bzr-test" t))
101 (file (expand-file-name "foo.el" tempdir)) 105 (file (expand-file-name "foo.el" tempdir))
102 (default-directory (file-name-as-directory tempdir)) 106 (default-directory (file-name-as-directory tempdir))
103 (generated-autoload-file (expand-file-name "loaddefs.el" tempdir))) 107 (generated-autoload-file (expand-file-name "loaddefs.el" tempdir))
108 (process-environment (cons (format "BZR_LOG=%s" null-device)
109 process-environment)))
104 (unwind-protect 110 (unwind-protect
105 (progn 111 (progn
106 (call-process vc-bzr-program nil nil nil "init") 112 (call-process vc-bzr-program nil nil nil "init")