aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoakim Verona2013-01-04 00:03:51 +0100
committerJoakim Verona2013-01-04 00:03:51 +0100
commit55b74b54b179f340bdb311070273f26da3fbd0c9 (patch)
treea4469518bb0fd4c79e8d3445ac44e2733e6e2e32
parentc6b5fe1e945c664a0d696ae6eea9721235baf2f1 (diff)
parenta8aa6c2d08c5bf67cae9db62663e69fb183fbddb (diff)
downloademacs-55b74b54b179f340bdb311070273f26da3fbd0c9.tar.gz
emacs-55b74b54b179f340bdb311070273f26da3fbd0c9.zip
auto upstream
-rw-r--r--admin/ChangeLog7
-rw-r--r--admin/README4
-rwxr-xr-xadmin/check-doc-strings8
-rw-r--r--admin/emacs-pretesters217
-rwxr-xr-xadmin/make-announcement87
-rwxr-xr-xadmin/make-changelog-diff29
-rw-r--r--admin/make-tarball.txt36
-rw-r--r--autogen/Makefile.in2
-rw-r--r--autogen/config.in2
-rwxr-xr-xautogen/configure3
-rw-r--r--configure.ac2
-rw-r--r--doc/lispref/ChangeLog9
-rw-r--r--doc/lispref/elisp.texi2
-rw-r--r--doc/lispref/processes.texi8
-rw-r--r--doc/lispref/searching.texi2
-rw-r--r--doc/lispref/syntax.texi12
-rw-r--r--doc/man/ebrowse.12
-rw-r--r--doc/man/emacs.12
-rw-r--r--doc/man/etags.12
-rw-r--r--doc/man/grep-changelog.12
-rw-r--r--doc/misc/wisent.texi2
-rw-r--r--etc/refcards/calccard.pdfbin153779 -> 144771 bytes
-rw-r--r--etc/refcards/cs-dired-ref.pdfbin66941 -> 61085 bytes
-rw-r--r--etc/refcards/cs-refcard.pdfbin87189 -> 80206 bytes
-rw-r--r--etc/refcards/de-refcard.pdfbin125594 -> 119341 bytes
-rw-r--r--etc/refcards/dired-ref.pdfbin85574 -> 81095 bytes
-rw-r--r--etc/refcards/emacsver.tex2
-rw-r--r--etc/refcards/fr-dired-ref.pdfbin87452 -> 82731 bytes
-rw-r--r--etc/refcards/fr-refcard.pdfbin121431 -> 115159 bytes
-rw-r--r--etc/refcards/gnus-booklet.pdfbin152542 -> 142174 bytes
-rw-r--r--etc/refcards/gnus-refcard.pdfbin154831 -> 146807 bytes
-rw-r--r--etc/refcards/orgcard.pdfbin118492 -> 118624 bytes
-rw-r--r--etc/refcards/pl-refcard.pdfbin92536 -> 83232 bytes
-rw-r--r--etc/refcards/pt-br-refcard.pdfbin116662 -> 110501 bytes
-rw-r--r--etc/refcards/refcard.pdfbin116725 -> 110554 bytes
-rw-r--r--etc/refcards/ru-refcard.pdfbin147864 -> 129486 bytes
-rw-r--r--etc/refcards/ru-refcard.tex2
-rw-r--r--etc/refcards/sk-dired-ref.pdfbin66171 -> 60474 bytes
-rw-r--r--etc/refcards/sk-refcard.pdfbin88535 -> 81664 bytes
-rwxr-xr-xlib-src/rcs2log2
-rw-r--r--lisp/ChangeLog24
-rw-r--r--lisp/calc/README2
-rw-r--r--lisp/cedet/semantic/imenu.el2
-rw-r--r--lisp/emacs-lisp/byte-run.el8
-rw-r--r--lisp/mail/rmail.el27
-rw-r--r--lisp/net/tramp-sh.el4
-rw-r--r--lisp/org/org-html.el4
-rw-r--r--lisp/org/org-jsinfo.el2
-rw-r--r--lisp/progmodes/make-mode.el10
-rw-r--r--lisp/subr.el2
-rw-r--r--msdos/README2
-rw-r--r--msdos/depfiles.bat2
-rw-r--r--msdos/sed2v2.inp2
-rw-r--r--nt/config.nt2
-rwxr-xr-xnt/configure.bat2
-rw-r--r--nt/emacs.rc2
-rw-r--r--nt/emacsclient.rc2
-rw-r--r--nt/icons/README4
-rw-r--r--src/fns.c4
59 files changed, 131 insertions, 422 deletions
diff --git a/admin/ChangeLog b/admin/ChangeLog
index a75094fa3f1..fa001ede6cb 100644
--- a/admin/ChangeLog
+++ b/admin/ChangeLog
@@ -1,3 +1,10 @@
12013-01-03 Glenn Morris <rgm@gnu.org>
2
3 * check-doc-strings: Update for CVS->bzr, moved lispref/ directory.
4
5 * emacs-pretesters, make-announcement, make-changelog-diff:
6 Remove files.
7
12012-12-14 Paul Eggert <eggert@cs.ucla.edu> 82012-12-14 Paul Eggert <eggert@cs.ucla.edu>
2 9
3 Fix permissions bugs with setgid directories etc. (Bug#13125) 10 Fix permissions bugs with setgid directories etc. (Bug#13125)
diff --git a/admin/README b/admin/README
index 5e410e10457..d696a14176e 100644
--- a/admin/README
+++ b/admin/README
@@ -24,10 +24,6 @@ Instructions to create pretest or release tarballs, announcements, etc.
24 24
25Utilities for setting version numbers and alike. 25Utilities for setting version numbers and alike.
26 26
27** make-announcement, make-changelog-diff
28
29Scripts used to prepare release announcements.
30
31 27
32* Scripts that can be used to build and test Emacs. 28* Scripts that can be used to build and test Emacs.
33 29
diff --git a/admin/check-doc-strings b/admin/check-doc-strings
index ef4b203cd79..c69ff47ebfb 100755
--- a/admin/check-doc-strings
+++ b/admin/check-doc-strings
@@ -17,7 +17,7 @@ formal parameters, docstrings, and lispref texi.
17This program is in the public domain.\n"; 17This program is in the public domain.\n";
18 18
19die $usage if @ARGV; 19die $usage if @ARGV;
20die $usage unless -r "src/alloc.c" && -d "CVS" && -d "lisp"; 20die $usage unless -r "src/alloc.c" && -d ".bzr" && -d "lisp";
21 21
22my %texi_funtype; 22my %texi_funtype;
23my %texi_arglist; 23my %texi_arglist;
@@ -197,10 +197,8 @@ sub Check_function {
197 Show_details $show_details, $function, "@parms", $docstring; 197 Show_details $show_details, $function, "@parms", $docstring;
198} 198}
199 199
200my $lisprefdir; 200my $lisprefdir = "doc/lispref";
201if (-d "man/lispref") { $lisprefdir = "man/lispref"; } 201die "Can't find lispref texi directory.\n" unless -d $lisprefdir;
202elsif (-d "lispref") { $lisprefdir = "lispref"; }
203else { die "Can't find lispref texi directory.\n"; }
204 202
205open (FIND, "find $lisprefdir -name '*.texi' -print |") or die; 203open (FIND, "find $lisprefdir -name '*.texi' -print |") or die;
206while (my $file = <FIND>) { 204while (my $file = <FIND>) {
diff --git a/admin/emacs-pretesters b/admin/emacs-pretesters
deleted file mode 100644
index 3b1270b477c..00000000000
--- a/admin/emacs-pretesters
+++ /dev/null
@@ -1,217 +0,0 @@
1Here are the guidelines for being an Emacs pretester.
2If you would like to do this, say so, and I'll add you to
3the pretest list.
4
5
6 Information for Emacs Pretesters
7
8The purpose of Emacs pretesting is to verify that the new Emacs
9distribution, about to be released, works properly on your system *with
10no change whatever*, when installed following the precise
11recommendations that come with the Emacs distribution.
12
13Here are some guidelines on how to do pretesting so as to make it
14helpful. All of them follow from common sense together with the
15nature of the purpose and the situation.
16
17Please save this file, and reread it when a new series of pretests
18starts.
19
20* Get the pretest from gnu/emacs/pretest/emacs-MM.0.NN.tar.gz
21on alpha.gnu.org.
22
23* After a few days of testing, if there are no problems, please report
24that Emacs works for you and what configuration you are testing it on.
25
26* If you want to communicate with other pretesters, send mail to
27emacs-pretesters@gnu.org. I don't use that mailing list when I send
28to you because I've found that mailing lists tend to amplify random
29noise into long discussions or even arguments, and that can waste a
30lot of time. But when you have a reason to ask other pretesters for
31help, you can do it that way.
32
33* It is absolutely vital that you report even the smallest change or
34departure from the standard sources and procedure.
35
36Otherwise, you are not testing the same program that we asked you to
37test. Testing a different program is usually of no use whatever. It
38can even cause trouble, if you fail to tell us that you tested some
39other program instead of what we are about to release. We might think
40that Emacs works, when in fact it has not even been tried, and might
41have a glaring fault.
42
43* Don't use a site-load.el file or a site-init.el file when you pretest.
44Using either of those files means you are not testing Emacs as a typical
45site would use it.
46
47Actually, it does no harm to test Emacs with such customizations *as
48well as* testing it "out of the box". Anything you do that could find
49a bug is useful, as long as you make sure we know exactly what you
50did. The important point is that testing with local changes is no
51substitute for testing Emacs exactly as it is distributed.
52
53* Even changing the compilation options counts as a change in the
54program. The Emacs sources specify which compilation options to use.
55Some of them are specified in makefiles, and some in machine-specific
56configuration files. They also give you ways to override this--but if
57you do, then you are not testing what ordinary users will do.
58Therefore, when pretesting, it is vital to test with the default
59compilation options.
60
61(Testing with a different set of options can be useful *in addition*,
62but not *instead of* the default options.)
63
64* The machine and system configuration files of Emacs are parts of
65Emacs. So when you test Emacs, you need to do it with the
66configuration files that come with Emacs.
67
68If Emacs does not come with configuration files for a certain machine,
69and you test it with configuration files that don't come with Emacs,
70this is effectively changing Emacs. Because the crucial fact about
71the planned release is that, without changes, it doesn't work on that
72machine.
73
74To make Emacs work on that machine, we would need to install new
75configuration files. That is not out of the question, since it is
76safe--it certainly won't break any other machines that already work.
77But you will have to rush in the legal papers to give the FSF
78permission to use such a large piece of text.
79
80* Look in the etc/MACHINES file.
81
82The etc/MACHINES file says which configuration files to use for your
83machine, so use the ones that are recommended. If you guess, you might
84guess wrong and encounter spurious difficulties. What's more, if you
85don't follow etc/MACHINES then you aren't helping to test that its
86recommendations are valid.
87
88The etc/MACHINES file may describe other things that you need to do
89to make Emacs work on your machine. If so, you should follow these
90recommendations also, for the same reason.
91
92* Send your problem reports to bug-gnu-emacs@gnu.org.
93
94Sometimes we won't know what to do about a system-dependent issue, and
95we may need people to say what happens if you try a certain thing on a
96certain system. When this happens, we'll send out a query.
97
98* Don't delay sending information.
99
100When you test on a system and encounter no problems, please report it
101right away. That way, we will know that someone has tested Emacs on
102that kind of system.
103
104Please don't wait for several days "to see if it really works before
105you say anything." Tell us right away that Emacs seems basically to
106work; then, if you notice a problem a few days later, tell us
107immediately about that when you see it.
108
109It is okay if you double check things before reporting a problem, such
110as to see if you can easily fix it. But don't wait very long. A good
111rule to use in pretesting is always to report every problem on the
112same day you encounter it, even if that means you can't find a
113solution before you report the problem.
114
115I'd much rather hear about a problem today and a solution tomorrow
116than get both of them tomorrow at the same time.
117
118* Make each bug report self-contained.
119
120If you refer back to another message, whether from you or from someone
121else, then it will be necessary for anyone who wants to investigate
122the bug to find the other message. This may be difficult, it is
123probably time-consuming.
124
125To help save our time, simply copy the relevant parts of any previous
126messages into your own bug report.
127
128In particular, if we ask you for more information because a bug report
129was incomplete, it is best to send me the *entire* collection of
130relevant information, all together. If you send just the additional
131information, that makes extra work for us. There is even a risk that
132we won't remember what question you are sending the answer to.
133
134* When you encounter a bug that manifests itself as a Lisp error,
135try setting debug-on-error to t and making the bug happen again.
136Then you will get a Lisp backtrace. Including that in your bug report
137is very useful.
138
139* For advice on debugging, see etc/DEBUG.
140
141* Debugging optimized code is possible, if you compile with GCC, but
142in some cases the optimized code can be confusing. If you are not
143accustomed to that, recompile Emacs without -O. One way to do this is
144
145 make clean
146 make CFLAGS=-g
147
148* Configure tries to figure out what kind of system you have by
149compiling and linking programs which calls various functions and looks
150at whether that succeeds. The file config.log contains any messages
151produced by compilers while running configure, to aid debugging if
152configure makes a mistake. But note that config.cache reads:
153
154# Giving --cache-file=/dev/null disables caching, for debugging configure.
155
156or more simply,
157
158rm config.cache
159./configure
160
161* Don't try changing Emacs *in any way* during pretest unless it fails
162to work unchanged.
163
164* Always be precise when talking about changes you have made. Show
165things rather than describing them. Use exact filenames (relative to
166the main directory of the distribution), not partial ones. For
167example, say "I changed Makefile" rather than "I changed the
168makefile". Instead of saying "I defined the MUMBLE macro", send a
169diff.
170
171* Always use `diff -c' to make diffs. If you don't include context, it
172may be hard for us to figure out where you propose to make the
173changes. So we might ignore your patch.
174
175* When you write a fix, keep in mind that we can't install a change
176that *might* break other systems without the risk that it will fail to
177work and therefore require an additional cycle of pretesting.
178
179People often suggest fixing a problem by changing config.h or
180src/Makefile to do something special that a particular system needs.
181Sometimes it is totally obvious that such changes would break Emacs
182for almost all users. We can't possibly make a change like that. All
183we can do is ask you to find a fix that is safe to install.
184
185Sometimes people send fixes that *might* be an improvement in
186general--but it is hard to be sure of this. I can install such
187changes some of the time, but not during pretest, when I am trying to
188get a new version to work reliably as quickly as possible.
189
190The safest changes for us to install are changes to the s- and m-
191files. At least those can't break other systems.
192
193Another safe kind of change is one that uses a conditional to make
194sure it will apply only to a particular kind of system. Ordinarily,
195that is a bad way to solve a problem, and I would want to find a
196cleaner alternative. But the virtue of safety can make it superior at
197pretest time.
198
199* Don't suggest changes during pretest to add features or make
200something cleaner. Every change risks introducing a bug, so I won't
201install a change during pretest unless it is *necessary*.
202
203* If you would like to suggest changes for purposes other than fixing
204user-visible bugs, don't wait till pretest time. Instead, send them
205after we have made a release that proves to be stable. That is the
206easiest time to consider such suggestions. If you send them at
207pretest time, we will have to defer them till later, and that might
208mean we forget all about them.
209
210* In some cases, if you don't follow these guidelines, your
211information might still be useful, but we would have to do more work
212to make use of it. That might cause it to fall by the wayside.
213
214Local Variables:
215mode: text
216End:
217
diff --git a/admin/make-announcement b/admin/make-announcement
deleted file mode 100755
index 7d2482fc385..00000000000
--- a/admin/make-announcement
+++ /dev/null
@@ -1,87 +0,0 @@
1#! /bin/bash
2
3## Copyright (C) 2002-2013 Free Software Foundation, Inc.
4
5## Author: Francesco Potorti` <pot@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
23### Code:
24
25if [ $# -ne 2 ]; then
26 echo "usage: $0 <old version number> <new version number>" >&2
27 exit 1
28fi
29
30if [ ! -f INSTALL -o ! -f configure -o ! -d lib-src ]; then
31 echo "this script should be run in the emacs root directory" >&2
32 exit 2
33fi
34
35OLD=$1
36NEW=$2
37outfile=emacs-$NEW.announce
38oldtag=EMACS_PRETEST_$(echo $OLD|tr . _)
39newtag=EMACS_PRETEST_$(echo $NEW|tr . _)
40
41if [ -f $outfile ]; then
42 echo "$outfile exists"
43 echo -n "interrupt to abort, ENTER to overwrite "; read answer
44fi
45
46echo -n "tag name for OLD emacs version $OLD [$oldtag]: "; read answer
47if [ "$answer" ]; then oldtag=$answer; fi
48
49echo -n "tag name for NEW emacs version $NEW [$newtag]: "; read answer
50if [ "$answer" ]; then newtag=$answer; fi
51
52exec > $outfile
53
54cat <<EOF
55
56There is a new pretest available in
57
58 <ftp://alpha.gnu.org/gnu/emacs/pretest/emacs-$NEW.tar.gz>
59
60Please report results from compiling and running the pretest to
61<bug-gnu-emacs@gnu.org>. Your feedback is necessary for us
62to know on which platforms the pretest has been tried.
63
64If you have the tars from the previous pretest, and you have the
65\`xdelta' utility, you can instead download the much smaller
66
67 <ftp://alpha.gnu.org/gnu/emacs/pretest/emacs-$OLD-$NEW.xdelta>
68
69You can use a command like
70
71 $ xdelta patch XDELTA PREVIOUS-TAR CURRENT-TAR
72
73to generate the new tar from the old one, where XDELTA is the xdelta
74file you downloaded, PREVIOUS-TAR is the tar file from the previous
75pretest, and CURRENT-TAR is the name of the tar file you downloaded.
76
77Information about xdelta can be found on the GNU ftp site, in
78/non-gnu/xdelta.README.
79
80Changes since $OLD
81
82EOF
83
84make-changelog-diff $oldtag $newtag
85
86echo " announcement created in $outfile" >&2
87
diff --git a/admin/make-changelog-diff b/admin/make-changelog-diff
deleted file mode 100755
index 88461131a3f..00000000000
--- a/admin/make-changelog-diff
+++ /dev/null
@@ -1,29 +0,0 @@
1#! /bin/bash
2
3## Author: Francesco Potorti` <pot@gnu.org>
4
5if [ $# -ne 2 ]; then
6 echo "usage: $0 TAG1 TAG2" >&2
7 exit 1
8fi
9
10if [ ! -f INSTALL -o ! -f configure -o ! -d lib-src ]; then
11 echo "this script should be run in the emacs root directory" >&2
12 exit 2
13fi
14
15cvs -q diff -b -r $1 -r $2 $(find -name ChangeLog|sort) |
16 sed -n -e 's/^=\+/======/p' -e 's/^> //p' -e 's/^diff.*//p' \
17 -e 's/^RCS file: .cvsroot.emacs.emacs.\(.*\),v/\1/p' |
18 sed -n -e "/^======$/ {
19 N
20 N
21 h
22 d
23 }
24 H
25 s/.*//
26 x
27 s/^\n//
28 p"
29
diff --git a/admin/make-tarball.txt b/admin/make-tarball.txt
index aa87f2694e6..573bb218c43 100644
--- a/admin/make-tarball.txt
+++ b/admin/make-tarball.txt
@@ -4,6 +4,9 @@ Instructions to create pretest or release tarballs.
4 4
5For each step, check for possible errors. 5For each step, check for possible errors.
6 6
70. Decide on versions of automake and autoconf, and ensure you will
8 have them available for the duration of the release process.
9
71. `bzr update' (for a bound branch), or `bzr pull'. 101. `bzr update' (for a bound branch), or `bzr pull'.
8 bzr status # check for locally modified files 11 bzr status # check for locally modified files
9 12
@@ -11,13 +14,13 @@ For each step, check for possible errors.
11 make sure that the later tagged version will bootstrap, should it be 14 make sure that the later tagged version will bootstrap, should it be
12 necessary to check it out. 15 necessary to check it out.
13 16
143. Regenerate Emacs' etc/AUTHORS file (M-x load-file RET 173. Regenerate the etc/AUTHORS file:
15 lisp/emacs-lisp/authors.el RET, then M-x authors RET, then save 18 M-: (require 'authors) RET, M-x authors RET, save the *Authors* buffer.
16 the *Authors* buffer). This may require fixing syntactically 19 If there are errors that relate to syntactically incorrect
17 incorrect ChangeLog entries beforehand. 20 ChangeLog entries, consider fixing them and repeating.
18 21
194. Set the version number (M-x load-file RET admin/admin.el RET, then 224. Set the version number (M-x load-file RET admin/admin.el RET, then
20 M-x set-version RET). For a release, add released change log 23 M-x set-version RET). For a release, add released ChangeLog
21 entries (M-x add-release-logs RET). 24 entries (M-x add-release-logs RET).
22 25
23 For a pretest, start at version .90. After .99, use .990 (so that 26 For a pretest, start at version .90. After .99, use .990 (so that
@@ -46,9 +49,7 @@ For each step, check for possible errors.
46 something like `find . | sort' in a clean bzr tree, and compare the 49 something like `find . | sort' in a clean bzr tree, and compare the
47 results against the new tar contents. 50 results against the new tar contents.
48 51
498. xdelta delta emacs-OLD.tar.gz emacs-NEW.tar.gz emacs-OLD-NEW.xdelta 528. tar -zxf emacs-NEW.tar.gz; cd emacs-NEW
50
519. tar -zxf emacs-NEW.tar.gz; cd emacs-NEW
52 ./configure && make && make -n install 53 ./configure && make && make -n install
53 Use `script' or M-x compile to save the compilation log in 54 Use `script' or M-x compile to save the compilation log in
54 compile-NEW.log and compare it against an old one. The easiest way 55 compile-NEW.log and compare it against an old one. The easiest way
@@ -56,7 +57,7 @@ For each step, check for possible errors.
56 number of the old Emacs to __, do the same with the new log and do 57 number of the old Emacs to __, do the same with the new log and do
57 M-x ediff. Especially check that Info files aren't built. 58 M-x ediff. Especially check that Info files aren't built.
58 59
5910. cd EMACS_ROOT_DIR; bzr tag TAG 609. cd EMACS_ROOT_DIR; bzr tag TAG
60 TAG is emacs-XX.Y.ZZ for a pretest, emacs-XX.Y for a release. 61 TAG is emacs-XX.Y.ZZ for a pretest, emacs-XX.Y for a release.
61 62
62 Shortly before the release, cut the version branch also, and open 63 Shortly before the release, cut the version branch also, and open
@@ -64,11 +65,11 @@ For each step, check for possible errors.
64 be sent to the emacs-diffs mailing list (by default, the list 65 be sent to the emacs-diffs mailing list (by default, the list
65 normally only gets commits to the trunk). 66 normally only gets commits to the trunk).
66 67
6711. Now you should upload the files to the GNU ftp server. In order to 6810. Now you should upload the files to the GNU ftp server. In order to
68 do that, you must be registered as an Emacs maintainer and have your 69 do that, you must be registered as an Emacs maintainer and have your
69 GPG key acknowledged by the ftp people. For instructions, see 70 GPG key acknowledged by the ftp people. For instructions, see
70 http://www.gnu.org/prep/maintain/html_node/Automated-Upload-Registration.html 71 http://www.gnu.org/prep/maintain/html_node/Automated-Upload-Registration.html
71 You can use the gnupload script to upload each FILE, like this: 72 You can use the gnulib script "gnupload" to upload each FILE, like this:
72 gnupload --to alpha.gnu.org:emacs/pretest FILE (for a pretest) 73 gnupload --to alpha.gnu.org:emacs/pretest FILE (for a pretest)
73 gnupload --to ftp.gnu.org:emacs FILE (for a release) 74 gnupload --to ftp.gnu.org:emacs FILE (for a release)
74 75
@@ -84,16 +85,17 @@ For each step, check for possible errors.
84 For a pretest, place the files in /incoming/alpha instead, so that 85 For a pretest, place the files in /incoming/alpha instead, so that
85 they appear on ftp://alpha.gnu.org/. 86 they appear on ftp://alpha.gnu.org/.
86 87
87 For a release, upload a bz2 tarfile as well; this can save a lot 88 For a release, upload xz and bz2 tarfiles as well; this can save a lot
88 of bandwidth. 89 of bandwidth.
89 90
9012. After five minutes, verify that the files are visible at 9111. After five minutes, verify that the files are visible at
91 ftp://alpha.gnu.org/gnu/emacs/pretest/ for a pretest, at 92 ftp://alpha.gnu.org/gnu/emacs/pretest/ for a pretest, at
92 ftp://ftp.gnu.org/gnu/emacs/ for a release. 93 ftp://ftp.gnu.org/gnu/emacs/ for a release.
93 94
9413. For a pretest, announce it on emacs-devel and BCC the pretesters. 9512. For a pretest, announce it on emacs-devel and info-gnu-emacs@gnu.org.
95 For a release, announce it on info-gnu@gnu.org, 96 For a release, also announce it on info-gnu@gnu.org. (Probably
96 info-gnu-emacs@gnu.org, and emacs-devel. 97 bcc the info- addresses to make it less likely that people will
98 followup on those lists.)
97 99
9814. For a release, update the Emacs homepage in the web repository. 10013. For a release, update the Emacs homepage in the web repository.
99 Also add the new NEWS file as NEWS.xx.y. 101 Also add the new NEWS file as NEWS.xx.y.
diff --git a/autogen/Makefile.in b/autogen/Makefile.in
index 168883bb656..25c816c953e 100644
--- a/autogen/Makefile.in
+++ b/autogen/Makefile.in
@@ -15,7 +15,7 @@
15 15
16@SET_MAKE@ 16@SET_MAKE@
17 17
18# Copyright (C) 2002-2012 Free Software Foundation, Inc. 18# Copyright (C) 2002-2013 Free Software Foundation, Inc.
19# 19#
20# This file is free software; you can redistribute it and/or modify 20# This file is free software; you can redistribute it and/or modify
21# it under the terms of the GNU General Public License as published by 21# it under the terms of the GNU General Public License as published by
diff --git a/autogen/config.in b/autogen/config.in
index df47c16a348..68f2c426ffa 100644
--- a/autogen/config.in
+++ b/autogen/config.in
@@ -2,7 +2,7 @@
2 2
3/* GNU Emacs site configuration template file. 3/* GNU Emacs site configuration template file.
4 4
5Copyright (C) 1988, 1993-1994, 1999-2002, 2004-2012 5Copyright (C) 1988, 1993-1994, 1999-2002, 2004-2013
6 Free Software Foundation, Inc. 6 Free Software Foundation, Inc.
7 7
8This file is part of GNU Emacs. 8This file is part of GNU Emacs.
diff --git a/autogen/configure b/autogen/configure
index 4db2595c851..e1df418eede 100755
--- a/autogen/configure
+++ b/autogen/configure
@@ -20670,6 +20670,9 @@ int result = 0;
20670 /* Many gnulib modules require POSIX conformance of EBADF. */ 20670 /* Many gnulib modules require POSIX conformance of EBADF. */
20671 if (dup2 (2, 1000000) == -1 && errno != EBADF) 20671 if (dup2 (2, 1000000) == -1 && errno != EBADF)
20672 result |= 16; 20672 result |= 16;
20673 /* Flush out a cygwin core dump. */
20674 if (dup2 (2, -1) != -1 || errno != EBADF)
20675 result |= 32;
20673 return result; 20676 return result;
20674 20677
20675 ; 20678 ;
diff --git a/configure.ac b/configure.ac
index d377690ab72..a6b544e86d3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4467,7 +4467,7 @@ AC_SUBST(WINDOW_SYSTEM_OBJ)
4467 4467
4468AH_TOP([/* GNU Emacs site configuration template file. 4468AH_TOP([/* GNU Emacs site configuration template file.
4469 4469
4470Copyright (C) 1988, 1993-1994, 1999-2002, 2004-2012 4470Copyright (C) 1988, 1993-1994, 1999-2002, 2004-2013
4471 Free Software Foundation, Inc. 4471 Free Software Foundation, Inc.
4472 4472
4473This file is part of GNU Emacs. 4473This file is part of GNU Emacs.
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index b837525fb42..4815ac2a482 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,12 @@
12013-01-03 Glenn Morris <rgm@gnu.org>
2
3 * processes.texi (System Processes):
4 * syntax.texi (Syntax Table Functions): Tweak some line breaks.
5
6 * searching.texi (Replacing Match): Fix xref.
7
8 * elisp.texi (DATE): Bump to Jan 2013.
9
12013-01-02 Glenn Morris <rgm@gnu.org> 102013-01-02 Glenn Morris <rgm@gnu.org>
2 11
3 * customize.texi (Common Keywords, Type Keywords): 12 * customize.texi (Common Keywords, Type Keywords):
diff --git a/doc/lispref/elisp.texi b/doc/lispref/elisp.texi
index 354591c1915..127b22086d0 100644
--- a/doc/lispref/elisp.texi
+++ b/doc/lispref/elisp.texi
@@ -56,7 +56,7 @@
56@c (See comments for EDITION in emacs.texi) 56@c (See comments for EDITION in emacs.texi)
57@set VERSION 3.1 57@set VERSION 3.1
58@include emacsver.texi 58@include emacsver.texi
59@set DATE May 2012 59@set DATE January 2013
60 60
61@c in general, keep the following line commented out, unless doing a 61@c in general, keep the following line commented out, unless doing a
62@c copy of this manual that will be published. The manual should go 62@c copy of this manual that will be published. The manual should go
diff --git a/doc/lispref/processes.texi b/doc/lispref/processes.texi
index a5a0ec62beb..50710e23234 100644
--- a/doc/lispref/processes.texi
+++ b/doc/lispref/processes.texi
@@ -1804,12 +1804,12 @@ The number of threads in the process.
1804 1804
1805@item start 1805@item start
1806The time when the process was started, in the same 1806The time when the process was started, in the same
1807@w{@code{(@var{high} @var{low} @var{microsec} @var{picosec})}} format used by 1807@code{(@var{high} @var{low} @var{microsec} @var{picosec})} format used by
1808@code{current-time} and by @code{file-attributes}. 1808@code{file-attributes} and @code{current-time}.
1809 1809
1810@item etime 1810@item etime
1811The time elapsed since the process started, in the @w{@code{(@var{high} 1811The time elapsed since the process started, in the format @code{(@var{high}
1812@var{low} @var{microsec} @var{picosec})}} format. 1812@var{low} @var{microsec} @var{picosec})}.
1813 1813
1814@item vsize 1814@item vsize
1815The virtual memory size of the process, measured in kilobytes. 1815The virtual memory size of the process, measured in kilobytes.
diff --git a/doc/lispref/searching.texi b/doc/lispref/searching.texi
index 1573cceaed6..87d4051d6f0 100644
--- a/doc/lispref/searching.texi
+++ b/doc/lispref/searching.texi
@@ -1325,7 +1325,7 @@ This stands for a single @samp{\} in the replacement text.
1325 1325
1326@item @samp{\?} 1326@item @samp{\?}
1327This stands for itself (for compatibility with @code{replace-regexp} 1327This stands for itself (for compatibility with @code{replace-regexp}
1328and related commands; @pxref{Regexp Replacement,,, emacs, The GNU 1328and related commands; @pxref{Regexp Replace,,, emacs, The GNU
1329Emacs Manual}). 1329Emacs Manual}).
1330@end table 1330@end table
1331 1331
diff --git a/doc/lispref/syntax.texi b/doc/lispref/syntax.texi
index a07f45c100b..dfa121103bc 100644
--- a/doc/lispref/syntax.texi
+++ b/doc/lispref/syntax.texi
@@ -478,17 +478,17 @@ it easier to see the character returned by @code{char-syntax}.)
478@end group 478@end group
479 479
480@group 480@group
481;; Forward slash characters have punctuation syntax. Note that this 481;; Forward slash characters have punctuation syntax.
482;; @code{char-syntax} call does not reveal that it is also part of 482;; Note that this @code{char-syntax} call does not reveal
483;; comment-start and -end sequences. 483;; that it is also part of comment-start and -end sequences.
484(string (char-syntax ?/)) 484(string (char-syntax ?/))
485 @result{} "." 485 @result{} "."
486@end group 486@end group
487 487
488@group 488@group
489;; Open parenthesis characters have open parenthesis syntax. Note 489;; Open parenthesis characters have open parenthesis syntax.
490;; that this @code{char-syntax} call does not reveal that it has a 490;; Note that this @code{char-syntax} call does not reveal that
491;; matching character, @samp{)}. 491;; it has a matching character, @samp{)}.
492(string (char-syntax ?\()) 492(string (char-syntax ?\())
493 @result{} "(" 493 @result{} "("
494@end group 494@end group
diff --git a/doc/man/ebrowse.1 b/doc/man/ebrowse.1
index 84f1ef1dd9b..89506db98ef 100644
--- a/doc/man/ebrowse.1
+++ b/doc/man/ebrowse.1
@@ -85,7 +85,7 @@ was written by Gerd Moellmann.
85Copyright 85Copyright
86.if t \(co 86.if t \(co
87.if n (C) 87.if n (C)
882008-2012 Free Software Foundation, Inc. 882008-2013 Free Software Foundation, Inc.
89.PP 89.PP
90Permission is granted to make and distribute verbatim copies of this 90Permission is granted to make and distribute verbatim copies of this
91document provided the copyright notice and this permission notice are 91document provided the copyright notice and this permission notice are
diff --git a/doc/man/emacs.1 b/doc/man/emacs.1
index 46bda023b5a..3d0c5107adc 100644
--- a/doc/man/emacs.1
+++ b/doc/man/emacs.1
@@ -642,7 +642,7 @@ For detailed credits and acknowledgments, see the GNU Emacs manual.
642Copyright 642Copyright
643.if t \(co 643.if t \(co
644.if n (C) 644.if n (C)
6451995, 1999-2012 Free Software Foundation, Inc. 6451995, 1999-2013 Free Software Foundation, Inc.
646.PP 646.PP
647Permission is granted to make and distribute verbatim copies of this 647Permission is granted to make and distribute verbatim copies of this
648document provided the copyright notice and this permission notice are 648document provided the copyright notice and this permission notice are
diff --git a/doc/man/etags.1 b/doc/man/etags.1
index 3f22364a194..94fe2af1a8a 100644
--- a/doc/man/etags.1
+++ b/doc/man/etags.1
@@ -268,7 +268,7 @@ Stallman.
268Copyright 268Copyright
269.if t \(co 269.if t \(co
270.if n (C) 270.if n (C)
2711992, 1999, 2001-2012 Free Software Foundation, Inc. 2711992, 1999, 2001-2013 Free Software Foundation, Inc.
272.PP 272.PP
273Permission is granted to make and distribute verbatim copies of this 273Permission is granted to make and distribute verbatim copies of this
274document provided the copyright notice and this permission notice are 274document provided the copyright notice and this permission notice are
diff --git a/doc/man/grep-changelog.1 b/doc/man/grep-changelog.1
index 397e6493343..ef4b2900988 100644
--- a/doc/man/grep-changelog.1
+++ b/doc/man/grep-changelog.1
@@ -62,7 +62,7 @@ Display basic usage information.
62Copyright 62Copyright
63.if t \(co 63.if t \(co
64.if n (C) 64.if n (C)
652008-2012 Free Software Foundation, Inc. 652008-2013 Free Software Foundation, Inc.
66.PP 66.PP
67Permission is granted to make and distribute verbatim copies of this 67Permission is granted to make and distribute verbatim copies of this
68document provided the copyright notice and this permission notice are 68document provided the copyright notice and this permission notice are
diff --git a/doc/misc/wisent.texi b/doc/misc/wisent.texi
index bd12fe5ab8a..d8557b84a4f 100644
--- a/doc/misc/wisent.texi
+++ b/doc/misc/wisent.texi
@@ -23,7 +23,7 @@
23@c %**end of header 23@c %**end of header
24 24
25@copying 25@copying
26Copyright @copyright{} 1988--1993, 1995, 1998--2004, 2007, 2012 26Copyright @copyright{} 1988--1993, 1995, 1998--2004, 2007, 2012--2013
27Free Software Foundation, Inc. 27Free Software Foundation, Inc.
28 28
29@c Since we are both GNU manuals, we do not need to ack each other here. 29@c Since we are both GNU manuals, we do not need to ack each other here.
diff --git a/etc/refcards/calccard.pdf b/etc/refcards/calccard.pdf
index 5e97c2a9d92..8d39aa013a0 100644
--- a/etc/refcards/calccard.pdf
+++ b/etc/refcards/calccard.pdf
Binary files differ
diff --git a/etc/refcards/cs-dired-ref.pdf b/etc/refcards/cs-dired-ref.pdf
index 1b5a8612ed9..0e6232a800d 100644
--- a/etc/refcards/cs-dired-ref.pdf
+++ b/etc/refcards/cs-dired-ref.pdf
Binary files differ
diff --git a/etc/refcards/cs-refcard.pdf b/etc/refcards/cs-refcard.pdf
index 963adcc7bb9..a032a7ce407 100644
--- a/etc/refcards/cs-refcard.pdf
+++ b/etc/refcards/cs-refcard.pdf
Binary files differ
diff --git a/etc/refcards/de-refcard.pdf b/etc/refcards/de-refcard.pdf
index bccc60993f6..84c0f4c121a 100644
--- a/etc/refcards/de-refcard.pdf
+++ b/etc/refcards/de-refcard.pdf
Binary files differ
diff --git a/etc/refcards/dired-ref.pdf b/etc/refcards/dired-ref.pdf
index 0f579670808..b80daa90638 100644
--- a/etc/refcards/dired-ref.pdf
+++ b/etc/refcards/dired-ref.pdf
Binary files differ
diff --git a/etc/refcards/emacsver.tex b/etc/refcards/emacsver.tex
index 620ee8ef9e0..72a7d96d1ff 100644
--- a/etc/refcards/emacsver.tex
+++ b/etc/refcards/emacsver.tex
@@ -1,4 +1,4 @@
1%% This file is not generated by configure, because then the provided 1%% This file is not generated by configure, because then the provided
2%% pdf files would always appear out-of-date. 2%% pdf files would always appear out-of-date.
3\def\versionemacs{24} % major version of emacs 3\def\versionemacs{24} % major version of emacs
4\def\year{2012} % latest copyright year 4\def\year{2013} % latest copyright year
diff --git a/etc/refcards/fr-dired-ref.pdf b/etc/refcards/fr-dired-ref.pdf
index 32f12ab2088..77b36c3f2a7 100644
--- a/etc/refcards/fr-dired-ref.pdf
+++ b/etc/refcards/fr-dired-ref.pdf
Binary files differ
diff --git a/etc/refcards/fr-refcard.pdf b/etc/refcards/fr-refcard.pdf
index 020ffbdeea0..5fdf2998e4b 100644
--- a/etc/refcards/fr-refcard.pdf
+++ b/etc/refcards/fr-refcard.pdf
Binary files differ
diff --git a/etc/refcards/gnus-booklet.pdf b/etc/refcards/gnus-booklet.pdf
index 6c8fa376234..6cc54baaead 100644
--- a/etc/refcards/gnus-booklet.pdf
+++ b/etc/refcards/gnus-booklet.pdf
Binary files differ
diff --git a/etc/refcards/gnus-refcard.pdf b/etc/refcards/gnus-refcard.pdf
index c64ed30f39f..7a1c5b3bcab 100644
--- a/etc/refcards/gnus-refcard.pdf
+++ b/etc/refcards/gnus-refcard.pdf
Binary files differ
diff --git a/etc/refcards/orgcard.pdf b/etc/refcards/orgcard.pdf
index 720f08d9ded..ccc02ae7968 100644
--- a/etc/refcards/orgcard.pdf
+++ b/etc/refcards/orgcard.pdf
Binary files differ
diff --git a/etc/refcards/pl-refcard.pdf b/etc/refcards/pl-refcard.pdf
index ddeeca97daa..b832990fb1c 100644
--- a/etc/refcards/pl-refcard.pdf
+++ b/etc/refcards/pl-refcard.pdf
Binary files differ
diff --git a/etc/refcards/pt-br-refcard.pdf b/etc/refcards/pt-br-refcard.pdf
index dc61712a998..200425f27d7 100644
--- a/etc/refcards/pt-br-refcard.pdf
+++ b/etc/refcards/pt-br-refcard.pdf
Binary files differ
diff --git a/etc/refcards/refcard.pdf b/etc/refcards/refcard.pdf
index f2a720d656b..1d3b630bfc5 100644
--- a/etc/refcards/refcard.pdf
+++ b/etc/refcards/refcard.pdf
Binary files differ
diff --git a/etc/refcards/ru-refcard.pdf b/etc/refcards/ru-refcard.pdf
index 2289acff755..f415fd5574d 100644
--- a/etc/refcards/ru-refcard.pdf
+++ b/etc/refcards/ru-refcard.pdf
Binary files differ
diff --git a/etc/refcards/ru-refcard.tex b/etc/refcards/ru-refcard.tex
index 765b8085147..c44110352cb 100644
--- a/etc/refcards/ru-refcard.tex
+++ b/etc/refcards/ru-refcard.tex
@@ -22,7 +22,7 @@
22\setlength{\ColThreeWidth}{25mm} 22\setlength{\ColThreeWidth}{25mm}
23 23
24\newcommand{\versionemacs}[0]{24} % version of Emacs this is for 24\newcommand{\versionemacs}[0]{24} % version of Emacs this is for
25\newcommand{\cyear}[0]{2012} % copyright year 25\newcommand{\cyear}[0]{2013} % copyright year
26 26
27\newcommand\shortcopyrightnotice[0]{\vskip 1ex plus 2 fill 27\newcommand\shortcopyrightnotice[0]{\vskip 1ex plus 2 fill
28 \centerline{\footnotesize \copyright\ \cyear\ Free Software Foundation, Inc. 28 \centerline{\footnotesize \copyright\ \cyear\ Free Software Foundation, Inc.
diff --git a/etc/refcards/sk-dired-ref.pdf b/etc/refcards/sk-dired-ref.pdf
index 2cd9ef12fd9..f3cb4f64368 100644
--- a/etc/refcards/sk-dired-ref.pdf
+++ b/etc/refcards/sk-dired-ref.pdf
Binary files differ
diff --git a/etc/refcards/sk-refcard.pdf b/etc/refcards/sk-refcard.pdf
index e02c7db3d4c..d4a85a3d4b9 100644
--- a/etc/refcards/sk-refcard.pdf
+++ b/etc/refcards/sk-refcard.pdf
Binary files differ
diff --git a/lib-src/rcs2log b/lib-src/rcs2log
index 724bd4d696c..4f2bb3308fc 100755
--- a/lib-src/rcs2log
+++ b/lib-src/rcs2log
@@ -20,7 +20,7 @@
20# along with this program. If not, see <http://www.gnu.org/licenses/>. 20# along with this program. If not, see <http://www.gnu.org/licenses/>.
21 21
22 22
23Copyright='Copyright (C) 2012 Free Software Foundation, Inc. 23Copyright='Copyright (C) 2013 Free Software Foundation, Inc.
24This program comes with NO WARRANTY, to the extent permitted by law. 24This program comes with NO WARRANTY, to the extent permitted by law.
25You may redistribute copies of this program 25You may redistribute copies of this program
26under the terms of the GNU General Public License. 26under the terms of the GNU General Public License.
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 9ff1ca01c4a..3aae01b9f1e 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,17 @@
12013-01-03 Glenn Morris <rgm@gnu.org>
2
3 * mail/rmail.el (rmail-set-header-1): Ignore case.
4 Handle multi-line headers. (Bug#13330)
5
6 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
7 Handle paragraph starting at beginning of buffer.
8
9 * subr.el (eval-after-load): Don't purecopy the form, so that it
10 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
11
12 * emacs-lisp/byte-run.el (defun): Place cl declarations
13 after any interactive spec. (Bug#13265)
14
12013-01-02 Andreas Schwab <schwab@linux-m68k.org> 152013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2 16
3 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as 17 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
@@ -22,16 +36,6 @@
22 36
23 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string. 37 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
24 38
252013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
26
27 * progmodes/python.el: Support other commands triggering
28 python-indent-line so indentation cycling continues to work.
29 (python-indent-trigger-commands): New defcustom.
30 (python-indent-line): Use it.
31
32 * progmodes/python.el (python-shell-send-region): Add blank lines
33 for non sent code so backtraces remain correct.
34
352013-01-02 Andreas Schwab <schwab@linux-m68k.org> 392013-01-02 Andreas Schwab <schwab@linux-m68k.org>
36 40
37 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if 41 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
diff --git a/lisp/calc/README b/lisp/calc/README
index bae9e7ab177..c44ffe5aef0 100644
--- a/lisp/calc/README
+++ b/lisp/calc/README
@@ -5,7 +5,7 @@ See the end of the file for license conditions.
5This directory contains Calc, an advanced desk calculator for GNU 5This directory contains Calc, an advanced desk calculator for GNU
6Emacs. 6Emacs.
7 7
8"Calc" Copyright (C) 1990-1993, 2001-2012 Free Software Foundation, Inc. 8"Calc" Copyright (C) 1990-1993, 2001-2013 Free Software Foundation, Inc.
9 9
10Written by: 10Written by:
11 Dave Gillespie 11 Dave Gillespie
diff --git a/lisp/cedet/semantic/imenu.el b/lisp/cedet/semantic/imenu.el
index 22a23e526a2..370f651b93d 100644
--- a/lisp/cedet/semantic/imenu.el
+++ b/lisp/cedet/semantic/imenu.el
@@ -1,6 +1,6 @@
1;;; semantic/imenu.el --- Use Semantic as an imenu tag generator 1;;; semantic/imenu.el --- Use Semantic as an imenu tag generator
2 2
3;;; Copyright (C) 2000-2005, 2007-2008, 2010-2012 3;;; Copyright (C) 2000-2005, 2007-2008, 2010-2013
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Eric M. Ludlam <zappo@gnu.org> 6;; Author: Eric M. Ludlam <zappo@gnu.org>
diff --git a/lisp/emacs-lisp/byte-run.el b/lisp/emacs-lisp/byte-run.el
index 3168ddb16e5..b44ec68e2bf 100644
--- a/lisp/emacs-lisp/byte-run.el
+++ b/lisp/emacs-lisp/byte-run.el
@@ -199,7 +199,13 @@ The return value is undefined.
199 (memq (car x) ;C.f. cl-do-proclaim. 199 (memq (car x) ;C.f. cl-do-proclaim.
200 '(special inline notinline optimize warn))) 200 '(special inline notinline optimize warn)))
201 (push (list 'declare x) 201 (push (list 'declare x)
202 (if (stringp docstring) (cdr body) body)) 202 (if (stringp docstring)
203 (if (eq (car-safe (cadr body)) 'interactive)
204 (cddr body)
205 (cdr body))
206 (if (eq (car-safe (car body)) 'interactive)
207 (cdr body)
208 body)))
203 nil) 209 nil)
204 (t (message "Warning: Unknown defun property `%S' in %S" 210 (t (message "Warning: Unknown defun property `%S' in %S"
205 (car x) name))))) 211 (car x) name)))))
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el
index a05cd342862..e32d3c608d4 100644
--- a/lisp/mail/rmail.el
+++ b/lisp/mail/rmail.el
@@ -2173,20 +2173,35 @@ If MSGNUM is nil, use the current message."
2173 2173
2174(defun rmail-set-header-1 (name value) 2174(defun rmail-set-header-1 (name value)
2175 "Subroutine of `rmail-set-header'. 2175 "Subroutine of `rmail-set-header'.
2176Narrow to header, set header NAME to VALUE, replacing existing if present. 2176Narrow to headers, set header NAME to VALUE, replacing existing if present.
2177VALUE nil means to remove NAME altogether." 2177VALUE nil means to remove NAME altogether.
2178
2179Only changes the first instance of NAME. If VALUE is multi-line,
2180continuation lines should already be indented. VALUE should not
2181end in a newline."
2178 (if (search-forward "\n\n" nil t) 2182 (if (search-forward "\n\n" nil t)
2179 (progn 2183 (progn
2180 (forward-char -1) 2184 (forward-char -1)
2181 (narrow-to-region (point-min) (point)) 2185 (narrow-to-region (point-min) (point))
2186 ;; cf mail-fetch-field.
2182 (goto-char (point-min)) 2187 (goto-char (point-min))
2183 (if (re-search-forward (concat "^" (regexp-quote name) ":") nil 'move) 2188 (if (let ((case-fold-search t))
2189 (re-search-forward (concat "^" (regexp-quote name) "[ \t]*:")
2190 nil 'move))
2191 (let ((start (point))
2192 end)
2193 (while (and (zerop (forward-line 1))
2194 (looking-at "[ \t]")))
2195 ;; Back up over newline.
2196 (forward-char -1)
2197 (setq end (point))
2198 (goto-char start)
2184 (if value 2199 (if value
2185 (progn 2200 (progn
2186 (delete-region (point) (line-end-position)) 2201 (delete-region start end)
2187 (insert " " value)) 2202 (insert " " value))
2188 (delete-region (line-beginning-position) 2203 (delete-region (line-beginning-position) (1+ end))))
2189 (line-beginning-position 2))) 2204 ;; Not already present: insert at end of headers.
2190 (if value (insert name ": " value "\n")))) 2205 (if value (insert name ": " value "\n"))))
2191 (rmail-error-bad-format))) 2206 (rmail-error-bad-format)))
2192 2207
diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el
index 58ad7a6661f..5bbf1708654 100644
--- a/lisp/net/tramp-sh.el
+++ b/lisp/net/tramp-sh.el
@@ -805,7 +805,7 @@ on the remote host.")
805(defconst tramp-perl-encode 805(defconst tramp-perl-encode
806 "%s -e ' 806 "%s -e '
807# This script contributed by Juanma Barranquero <lektu@terra.es>. 807# This script contributed by Juanma Barranquero <lektu@terra.es>.
808# Copyright (C) 2002-2012 Free Software Foundation, Inc. 808# Copyright (C) 2002-2013 Free Software Foundation, Inc.
809use strict; 809use strict;
810 810
811my %%trans = do { 811my %%trans = do {
@@ -843,7 +843,7 @@ This string is passed to `format', so percent characters need to be doubled.")
843(defconst tramp-perl-decode 843(defconst tramp-perl-decode
844 "%s -e ' 844 "%s -e '
845# This script contributed by Juanma Barranquero <lektu@terra.es>. 845# This script contributed by Juanma Barranquero <lektu@terra.es>.
846# Copyright (C) 2002-2012 Free Software Foundation, Inc. 846# Copyright (C) 2002-2013 Free Software Foundation, Inc.
847use strict; 847use strict;
848 848
849my %%trans = do { 849my %%trans = do {
diff --git a/lisp/org/org-html.el b/lisp/org/org-html.el
index d7c86b08a9e..91df2ebcc4e 100644
--- a/lisp/org/org-html.el
+++ b/lisp/org/org-html.el
@@ -104,7 +104,7 @@ not be modified."
104@licstart The following is the entire license notice for the 104@licstart The following is the entire license notice for the
105JavaScript code in this tag. 105JavaScript code in this tag.
106 106
107Copyright (C) 2012 Free Software Foundation, Inc. 107Copyright (C) 2012-2013 Free Software Foundation, Inc.
108 108
109The JavaScript code in this tag is free software: you can 109The JavaScript code in this tag is free software: you can
110redistribute it and/or modify it under the terms of the GNU 110redistribute it and/or modify it under the terms of the GNU
@@ -351,7 +351,7 @@ You can also customize this for each buffer, using something like
351@licstart The following is the entire license notice for the 351@licstart The following is the entire license notice for the
352JavaScript code below. 352JavaScript code below.
353 353
354Copyright (C) 2012 Free Software Foundation, Inc. 354Copyright (C) 2012-2013 Free Software Foundation, Inc.
355 355
356The JavaScript code below is free software: you can 356The JavaScript code below is free software: you can
357redistribute it and/or modify it under the terms of the GNU 357redistribute it and/or modify it under the terms of the GNU
diff --git a/lisp/org/org-jsinfo.el b/lisp/org/org-jsinfo.el
index 037afe843af..9a4046fff8b 100644
--- a/lisp/org/org-jsinfo.el
+++ b/lisp/org/org-jsinfo.el
@@ -141,7 +141,7 @@ means to use the maximum value consistent with other options."
141@licstart The following is the entire license notice for the 141@licstart The following is the entire license notice for the
142JavaScript code in this tag. 142JavaScript code in this tag.
143 143
144Copyright (C) 2012 Free Software Foundation, Inc. 144Copyright (C) 2012-2013 Free Software Foundation, Inc.
145 145
146The JavaScript code in this tag is free software: you can 146The JavaScript code in this tag is free software: you can
147redistribute it and/or modify it under the terms of the GNU 147redistribute it and/or modify it under the terms of the GNU
diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el
index 793c3bbbf37..8ab4c6f95b6 100644
--- a/lisp/progmodes/make-mode.el
+++ b/lisp/progmodes/make-mode.el
@@ -1273,9 +1273,9 @@ definition and conveniently use this command."
1273 1273
1274;; Filling 1274;; Filling
1275 1275
1276(defun makefile-fill-paragraph (_arg) 1276(defun makefile-fill-paragraph (_justify)
1277 ;; Fill comments, backslashed lines, and variable definitions 1277 "Function used for `fill-paragraph-function' in Makefile mode.
1278 ;; specially. 1278Fill comments, backslashed lines, and variable definitions specially."
1279 (save-excursion 1279 (save-excursion
1280 (beginning-of-line) 1280 (beginning-of-line)
1281 (cond 1281 (cond
@@ -1295,7 +1295,9 @@ definition and conveniently use this command."
1295 (end-of-line 0) 1295 (end-of-line 0)
1296 (while (= (preceding-char) ?\\) 1296 (while (= (preceding-char) ?\\)
1297 (end-of-line 0)) 1297 (end-of-line 0))
1298 (forward-char) 1298 ;; Maybe we hit bobp, in which case we are not at EOL.
1299 (if (eq (point) (line-end-position))
1300 (forward-char))
1299 (point))) 1301 (point)))
1300 (end 1302 (end
1301 (save-excursion 1303 (save-excursion
diff --git a/lisp/subr.el b/lisp/subr.el
index 3e842ffb8c6..7ca0169abdb 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -1867,7 +1867,7 @@ This function makes or adds to an entry on `after-load-alist'."
1867 ,form))) 1867 ,form)))
1868 ;; Add FORM to the element unless it's already there. 1868 ;; Add FORM to the element unless it's already there.
1869 (unless (member form (cdr elt)) 1869 (unless (member form (cdr elt))
1870 (nconc elt (purecopy (list form))))))) 1870 (nconc elt (list form))))))
1871 1871
1872(defvar after-load-functions nil 1872(defvar after-load-functions nil
1873 "Special hook run after loading a file. 1873 "Special hook run after loading a file.
diff --git a/msdos/README b/msdos/README
index ba97312130a..9b5b71495cf 100644
--- a/msdos/README
+++ b/msdos/README
@@ -10,7 +10,7 @@ The files emacs.ico and emacs.pif are for using the DJGPP version on
10Windows 3.X. Since these are binary files, their copyright notice is 10Windows 3.X. Since these are binary files, their copyright notice is
11reproduced here: 11reproduced here:
12 12
13# Copyright (C) 1993, 2002-2012 Free Software Foundation, Inc. 13# Copyright (C) 1993, 2002-2013 Free Software Foundation, Inc.
14# 14#
15# This file is part of GNU Emacs. 15# This file is part of GNU Emacs.
16# 16#
diff --git a/msdos/depfiles.bat b/msdos/depfiles.bat
index 049f1c3602c..df71fc22179 100644
--- a/msdos/depfiles.bat
+++ b/msdos/depfiles.bat
@@ -1,7 +1,7 @@
1@echo off 1@echo off
2rem ---------------------------------------------------------------------- 2rem ----------------------------------------------------------------------
3rem Auxiliary script for MSDOS, run by ../config.bat 3rem Auxiliary script for MSDOS, run by ../config.bat
4rem Copyright (C) 2011-2012 Free Software Foundation, Inc. 4rem Copyright (C) 2011-2013 Free Software Foundation, Inc.
5 5
6rem This file is part of GNU Emacs. 6rem This file is part of GNU Emacs.
7 7
diff --git a/msdos/sed2v2.inp b/msdos/sed2v2.inp
index 607ff4d7e8b..bde8648b41e 100644
--- a/msdos/sed2v2.inp
+++ b/msdos/sed2v2.inp
@@ -31,7 +31,7 @@
31#ifndef MSDOS\ 31#ifndef MSDOS\
32#define MSDOS\ 32#define MSDOS\
33#endif 33#endif
34/^#undef COPYRIGHT *$/s/^.*$/#define COPYRIGHT "Copyright (C) 2012 Free Software Foundation, Inc."/ 34/^#undef COPYRIGHT *$/s/^.*$/#define COPYRIGHT "Copyright (C) 2013 Free Software Foundation, Inc."/
35/^#undef DIRECTORY_SEP *$/s!^.*$!#define DIRECTORY_SEP '/'! 35/^#undef DIRECTORY_SEP *$/s!^.*$!#define DIRECTORY_SEP '/'!
36/^#undef DOS_NT *$/s/^.*$/#define DOS_NT/ 36/^#undef DOS_NT *$/s/^.*$/#define DOS_NT/
37/^#undef FLOAT_CHECK_DOMAIN *$/s/^.*$/#define FLOAT_CHECK_DOMAIN/ 37/^#undef FLOAT_CHECK_DOMAIN *$/s/^.*$/#define FLOAT_CHECK_DOMAIN/
diff --git a/nt/config.nt b/nt/config.nt
index f425f6a98ea..24bf6814829 100644
--- a/nt/config.nt
+++ b/nt/config.nt
@@ -78,7 +78,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
78#undef CLASH_DETECTION 78#undef CLASH_DETECTION
79 79
80/* Short copyright string for this version of Emacs. */ 80/* Short copyright string for this version of Emacs. */
81#define COPYRIGHT "Copyright (C) 2012 Free Software Foundation, Inc." 81#define COPYRIGHT "Copyright (C) 2013 Free Software Foundation, Inc."
82 82
83/* Define to one of '_getb67', 'GETB67', 'getb67' for Cray-2 and Cray-YMP 83/* Define to one of '_getb67', 'GETB67', 'getb67' for Cray-2 and Cray-YMP
84 systems. This function is required for 'alloca.c' support on those systems. 84 systems. This function is required for 'alloca.c' support on those systems.
diff --git a/nt/configure.bat b/nt/configure.bat
index 3118bb11e5d..f833da72269 100755
--- a/nt/configure.bat
+++ b/nt/configure.bat
@@ -1,7 +1,7 @@
1@echo off 1@echo off
2rem ---------------------------------------------------------------------- 2rem ----------------------------------------------------------------------
3rem Configuration script for MS Windows operating systems 3rem Configuration script for MS Windows operating systems
4rem Copyright (C) 1999-2012 Free Software Foundation, Inc. 4rem Copyright (C) 1999-2013 Free Software Foundation, Inc.
5 5
6rem This file is part of GNU Emacs. 6rem This file is part of GNU Emacs.
7 7
diff --git a/nt/emacs.rc b/nt/emacs.rc
index da4283b6fd1..d2703c45869 100644
--- a/nt/emacs.rc
+++ b/nt/emacs.rc
@@ -31,7 +31,7 @@ BEGIN
31 VALUE "FileDescription", "GNU Emacs: The extensible self-documenting text editor\0" 31 VALUE "FileDescription", "GNU Emacs: The extensible self-documenting text editor\0"
32 VALUE "FileVersion", "24, 3, 50, 0\0" 32 VALUE "FileVersion", "24, 3, 50, 0\0"
33 VALUE "InternalName", "Emacs\0" 33 VALUE "InternalName", "Emacs\0"
34 VALUE "LegalCopyright", "Copyright (C) 2001-2012\0" 34 VALUE "LegalCopyright", "Copyright (C) 2001-2013\0"
35 VALUE "OriginalFilename", "emacs.exe" 35 VALUE "OriginalFilename", "emacs.exe"
36 VALUE "ProductName", "Emacs\0" 36 VALUE "ProductName", "Emacs\0"
37 VALUE "ProductVersion", "24, 3, 50, 0\0" 37 VALUE "ProductVersion", "24, 3, 50, 0\0"
diff --git a/nt/emacsclient.rc b/nt/emacsclient.rc
index 59dd7b09f8a..d303e3451d0 100644
--- a/nt/emacsclient.rc
+++ b/nt/emacsclient.rc
@@ -25,7 +25,7 @@ BEGIN
25 VALUE "FileDescription", "GNU EmacsClient: Client for the extensible self-documenting text editor\0" 25 VALUE "FileDescription", "GNU EmacsClient: Client for the extensible self-documenting text editor\0"
26 VALUE "FileVersion", "24, 3, 50, 0\0" 26 VALUE "FileVersion", "24, 3, 50, 0\0"
27 VALUE "InternalName", "EmacsClient\0" 27 VALUE "InternalName", "EmacsClient\0"
28 VALUE "LegalCopyright", "Copyright (C) 2001-2012\0" 28 VALUE "LegalCopyright", "Copyright (C) 2001-2013\0"
29 VALUE "OriginalFilename", "emacsclientw.exe" 29 VALUE "OriginalFilename", "emacsclientw.exe"
30 VALUE "ProductName", "EmacsClient\0" 30 VALUE "ProductName", "EmacsClient\0"
31 VALUE "ProductVersion", "24, 3, 50, 0\0" 31 VALUE "ProductVersion", "24, 3, 50, 0\0"
diff --git a/nt/icons/README b/nt/icons/README
index 0254080400d..d77b81de9c2 100644
--- a/nt/icons/README
+++ b/nt/icons/README
@@ -8,7 +8,7 @@ License: GNU General Public License version 3 or later
8 8
9File: emacs22.ico 9File: emacs22.ico
10Author: Andrew Zhilin 10Author: Andrew Zhilin
11Copyright (C) 2005-2012 Free Software Foundation, Inc. 11Copyright (C) 2005-2013 Free Software Foundation, Inc.
12License: GNU General Public License version 3 or later (see COPYING) 12License: GNU General Public License version 3 or later (see COPYING)
13 13
14 14
@@ -17,7 +17,7 @@ Files: gnu2a32.ico gnu2a32t.ico gnu2b48.ico gnu2b48t.ico
17 gnu5w32.ico gnu5w32t.ico gnu6w48.ico gnu6w48t.ico 17 gnu5w32.ico gnu5w32t.ico gnu6w48.ico gnu6w48t.ico
18 gnu7.ico gnu8.ico gnu9.ico 18 gnu7.ico gnu8.ico gnu9.ico
19Author: Rob Davenport <rgd at bigfoot.com> 19Author: Rob Davenport <rgd at bigfoot.com>
20Copyright (C) 1999, 2001-2012 Free Software Foundation, Inc. 20Copyright (C) 1999, 2001-2013 Free Software Foundation, Inc.
21License: GNU General Public License version 3 or later (see COPYING) 21License: GNU General Public License version 3 or later (see COPYING)
22 22
23 <http://users.adelphia.net/~rob.davenport/gnuicons.html> 23 <http://users.adelphia.net/~rob.davenport/gnuicons.html>
diff --git a/src/fns.c b/src/fns.c
index 4c6e537ea84..3beed018648 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -1,6 +1,6 @@
1/* Random utility Lisp functions. 1/* Random utility Lisp functions.
2 Copyright (C) 1985-1987, 1993-1995, 1997-2012 2
3 Free Software Foundation, Inc. 3Copyright (C) 1985-1987, 1993-1995, 1997-2013 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6