aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiles Bader2007-07-31 05:02:54 +0000
committerMiles Bader2007-07-31 05:02:54 +0000
commit2f12b713116a4e15b4744fc78d5f0dbb57fcd1ca (patch)
tree165cbd151b45eb84012e017a4944c398fae79654
parent22eca14e49cfc7d696534cbf90a49c3ec9b7a68c (diff)
parentbd53d37c664e18c3417da079de4bb999533886af (diff)
downloademacs-2f12b713116a4e15b4744fc78d5f0dbb57fcd1ca.tar.gz
emacs-2f12b713116a4e15b4744fc78d5f0dbb57fcd1ca.zip
Merge from emacs--rel--22
Patches applied: * emacs--rel--22 (patch 75-83) - Update from CVS - Remove lisp/erc/erc-nicklist.el - Update some .arch-inventory files - Indicate that emacs--devo--0--patch-834 does not need to be applied - Merge from gnus--rel--5.10 - Restore lisp/emacs-lisp/cl-loaddefs.el * gnus--rel--5.10 (patch 239-241) - Merge from emacs--devo--0 - Update from CVS 2007-07-29 Kimit Yada <kimitto@gmail.com> (tiny change) * lisp/emacs-lisp/copyright.el (copyright-update-year, copyright-update) (copyright-fix-years, copyright): Correctly handle the case where copyright-limit is nil. 2007-07-28 Konstantin Novitsky <knovitsk@Bear.com> (tiny change) * lisp/progmodes/python.el (run-python): Fix path separator under w32. 2007-07-24 Katsumi Yamaoka <yamaoka@jpl.org> * lisp/gnus/gnus-msg.el (gnus-summary-supersede-article) (gnus-summary-resend-message-edit): Add Gcc header. (gnus-summary-resend-bounced-mail): Ditto; search whole body for parent article's Message-ID; refer parent article in summary buffer. * lisp/gnus/message.el (message-bounce): Call mime-to-mml. Revision: emacs@sv.gnu.org/emacs--devo--0--patch-838
-rw-r--r--admin/FOR-RELEASE6
-rw-r--r--etc/NEWS.224
-rw-r--r--lisp/ChangeLog10
-rw-r--r--lisp/emacs-lisp/copyright.el17
-rw-r--r--lisp/gnus/ChangeLog9
-rw-r--r--lisp/gnus/gnus-msg.el38
-rw-r--r--lisp/gnus/message.el2
-rw-r--r--lisp/net/trampver.el2
-rw-r--r--lisp/progmodes/python.el2
-rw-r--r--lisp/vc-hg.el14
-rw-r--r--man/ChangeLog6
-rw-r--r--man/building.texi4
12 files changed, 86 insertions, 28 deletions
diff --git a/admin/FOR-RELEASE b/admin/FOR-RELEASE
index d8e273c0343..9ae3f1a2ed7 100644
--- a/admin/FOR-RELEASE
+++ b/admin/FOR-RELEASE
@@ -47,6 +47,12 @@ that branch. Do not make manual changes to this file on the trunk.
47** michael.ewe@arcor.de, Apr 24: 22.0.98 not starting on Solaris 10/I386 47** michael.ewe@arcor.de, Apr 24: 22.0.98 not starting on Solaris 10/I386
48http://lists.gnu.org/archive/html/emacs-devel/2007-04/msg01113.html 48http://lists.gnu.org/archive/html/emacs-devel/2007-04/msg01113.html
49 49
50** davby@ida.liu.se, 6 July: Bug in pos-visible-in-window-p
51
52** dak@gnu.org, 30 May: Redraw problem with overlapping frames
53
54** dksw@eircom.net, 3 Jul: Telnet mode (rsh/ssh)
55
50* FIXES FOR EMACS 22.2 56* FIXES FOR EMACS 22.2
51 57
52Here we list small fixes that arrived too late for Emacs 22.1, but 58Here we list small fixes that arrived too late for Emacs 22.1, but
diff --git a/etc/NEWS.22 b/etc/NEWS.22
index 5b1f9e8c6fa..ae31b2489e1 100644
--- a/etc/NEWS.22
+++ b/etc/NEWS.22
@@ -63,8 +63,12 @@ in to make it use the scrollbars from the system theme.
63 63
64** VC 64** VC
65 65
66*** VC backends can provide completion of revision names.
67
66*** VC has some support for Mercurial (hg). 68*** VC has some support for Mercurial (hg).
67 69
70*** VC has some support for Git.
71
68 72
69* Installation Changes in Emacs 22.1 73* Installation Changes in Emacs 22.1
70 74
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 856d422e4ed..f48ea78a246 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,13 @@
12007-07-29 Kimit Yada <kimitto@gmail.com> (tiny change)
2
3 * emacs-lisp/copyright.el (copyright-update-year, copyright-update)
4 (copyright-fix-years, copyright): Correctly handle the case where
5 copyright-limit is nil.
6
72007-07-28 Konstantin Novitsky <knovitsk@Bear.com> (tiny change)
8
9 * progmodes/python.el (run-python): Fix path separator under w32.
10
12007-07-30 Richard Stallman <rms@gnu.org> 112007-07-30 Richard Stallman <rms@gnu.org>
2 12
3 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table): 13 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
diff --git a/lisp/emacs-lisp/copyright.el b/lisp/emacs-lisp/copyright.el
index 15dce4310a2..8543bad2f4e 100644
--- a/lisp/emacs-lisp/copyright.el
+++ b/lisp/emacs-lisp/copyright.el
@@ -46,8 +46,8 @@ A value of nil means to search whole buffer."
46;; The character classes have the Latin-1 version and the Latin-9 46;; The character classes have the Latin-1 version and the Latin-9
47;; version, which is probably enough. 47;; version, which is probably enough.
48(defcustom copyright-regexp 48(defcustom copyright-regexp
49 "\\([©Ž©]\\|@copyright{}\\|[Cc]opyright\\s *:?\\s *\\(?:(C)\\)?\ 49 "\\([©©]\\|@copyright{}\\|[Cc]opyright\\s *:?\\s *\\(?:(C)\\)?\
50\\|[Cc]opyright\\s *:?\\s *[©Ž©]\\)\ 50\\|[Cc]opyright\\s *:?\\s *[©©]\\)\
51\\s *\\([1-9]\\([-0-9, ';/*%#\n\t]\\|\\s<\\|\\s>\\)*[0-9]+\\)" 51\\s *\\([1-9]\\([-0-9, ';/*%#\n\t]\\|\\s<\\|\\s>\\)*[0-9]+\\)"
52 "What your copyright notice looks like. 52 "What your copyright notice looks like.
53The second \\( \\) construct must match the years." 53The second \\( \\) construct must match the years."
@@ -95,7 +95,8 @@ When this is `function', only ask when called non-interactively."
95 (re-search-forward (concat "\\(" copyright-regexp 95 (re-search-forward (concat "\\(" copyright-regexp
96 "\\)\\([ \t]*\n\\)?.*\\(?:" 96 "\\)\\([ \t]*\n\\)?.*\\(?:"
97 copyright-names-regexp "\\)") 97 copyright-names-regexp "\\)")
98 (+ (point) copyright-limit) t) 98 (if copyright-limit (+ (point) copyright-limit))
99 t)
99 ;; In case the regexp is rejected. This is useful because 100 ;; In case the regexp is rejected. This is useful because
100 ;; copyright-update is typically called from before-save-hook where 101 ;; copyright-update is typically called from before-save-hook where
101 ;; such an error is very inconvenient for the user. 102 ;; such an error is very inconvenient for the user.
@@ -176,10 +177,11 @@ interactively."
176 (and copyright-current-gpl-version 177 (and copyright-current-gpl-version
177 ;; match the GPL version comment in .el files, including the 178 ;; match the GPL version comment in .el files, including the
178 ;; bilingual Esperanto one in two-column, and in texinfo.tex 179 ;; bilingual Esperanto one in two-column, and in texinfo.tex
179 (re-search-forward "\\(the Free Software Foundation;\ 180 (re-search-forward
181 "\\(the Free Software Foundation;\
180 either \\|; a\\^u eldono \\([0-9]+\\)a, ? a\\^u (la\\^u via \\)\ 182 either \\|; a\\^u eldono \\([0-9]+\\)a, ? a\\^u (la\\^u via \\)\
181version \\([0-9]+\\), or (at" 183version \\([0-9]+\\), or (at"
182 (+ (point) copyright-limit) t) 184 (if copyright-limit (+ (point) copyright-limit)) t)
183 (not (string= (match-string 3) copyright-current-gpl-version)) 185 (not (string= (match-string 3) copyright-current-gpl-version))
184 (or noquery 186 (or noquery
185 (y-or-n-p (concat "Replace GPL version by " 187 (y-or-n-p (concat "Replace GPL version by "
@@ -201,7 +203,8 @@ Uses heuristic: year >= 50 means 19xx, < 50 means 20xx."
201 (interactive) 203 (interactive)
202 (widen) 204 (widen)
203 (goto-char (point-min)) 205 (goto-char (point-min))
204 (if (re-search-forward copyright-regexp (+ (point) copyright-limit) t) 206 (if (re-search-forward copyright-regexp
207 (if copyright-limit (+ (point) copyright-limit)) t)
205 (let ((s (match-beginning 2)) 208 (let ((s (match-beginning 2))
206 (e (copy-marker (1+ (match-end 2)))) 209 (e (copy-marker (1+ (match-end 2))))
207 (p (make-marker)) 210 (p (make-marker))
@@ -241,7 +244,7 @@ Uses heuristic: year >= 50 means 19xx, < 50 means 20xx."
241 "Copyright (C) " `(substring (current-time-string) -4) " by " 244 "Copyright (C) " `(substring (current-time-string) -4) " by "
242 (or (getenv "ORGANIZATION") 245 (or (getenv "ORGANIZATION")
243 str) 246 str)
244 '(if (> (point) (+ (point-min) copyright-limit)) 247 '(if (and copyright-limit (> (point) (+ (point-min) copyright-limit)))
245 (message "Copyright extends beyond `copyright-limit' and won't be updated automatically.")) 248 (message "Copyright extends beyond `copyright-limit' and won't be updated automatically."))
246 comment-end \n) 249 comment-end \n)
247 250
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index c0c5c8dad2b..83ca62ca0de 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -2,6 +2,15 @@
2 2
3 * Relicense all FSF files to GPLv3 or later. 3 * Relicense all FSF files to GPLv3 or later.
4 4
52007-07-24 Katsumi Yamaoka <yamaoka@jpl.org>
6
7 * gnus-msg.el (gnus-summary-supersede-article)
8 (gnus-summary-resend-message-edit): Add Gcc header.
9 (gnus-summary-resend-bounced-mail): Ditto; search whole body for parent
10 article's Message-ID; refer parent article in summary buffer.
11
12 * message.el (message-bounce): Call mime-to-mml.
13
52007-07-21 Reiner Steib <Reiner.Steib@gmx.de> 142007-07-21 Reiner Steib <Reiner.Steib@gmx.de>
6 15
7 * mm-uu.el (mm-uu-type-alist): Refer to mm-uu-configure-list in doc 16 * mm-uu.el (mm-uu-type-alist): Refer to mm-uu-configure-list in doc
diff --git a/lisp/gnus/gnus-msg.el b/lisp/gnus/gnus-msg.el
index 0789e25bc68..c9aedab7019 100644
--- a/lisp/gnus/gnus-msg.el
+++ b/lisp/gnus/gnus-msg.el
@@ -815,7 +815,10 @@ header line with the old Message-ID."
815 (set-buffer ,gnus-summary-buffer) 815 (set-buffer ,gnus-summary-buffer)
816 (gnus-cache-possibly-remove-article ,article nil nil nil t) 816 (gnus-cache-possibly-remove-article ,article nil nil nil t)
817 (gnus-summary-mark-as-read ,article gnus-canceled-mark))))) 817 (gnus-summary-mark-as-read ,article gnus-canceled-mark)))))
818 message-send-actions)))) 818 message-send-actions)
819 ;; Add Gcc header.
820 (gnus-inews-insert-archive-gcc)
821 (gnus-inews-insert-gcc))))
819 822
820 823
821 824
@@ -1280,10 +1283,13 @@ composing a new message."
1280 (message-narrow-to-head-1) 1283 (message-narrow-to-head-1)
1281 ;; Gnus will generate a new one when sending. 1284 ;; Gnus will generate a new one when sending.
1282 (message-remove-header "Message-ID") 1285 (message-remove-header "Message-ID")
1283 (message-remove-header message-ignored-resent-headers t)
1284 ;; Remove unwanted headers. 1286 ;; Remove unwanted headers.
1287 (message-remove-header message-ignored-resent-headers t)
1285 (goto-char (point-max)) 1288 (goto-char (point-max))
1286 (insert mail-header-separator) 1289 (insert mail-header-separator)
1290 ;; Add Gcc header.
1291 (gnus-inews-insert-archive-gcc)
1292 (gnus-inews-insert-gcc)
1287 (goto-char (point-min)) 1293 (goto-char (point-min))
1288 (when (re-search-forward "^To:\\|^Newsgroups:" nil 'move) 1294 (when (re-search-forward "^To:\\|^Newsgroups:" nil 'move)
1289 (forward-char 1)) 1295 (forward-char 1))
@@ -1557,15 +1563,29 @@ If FETCH, try to fetch the article that this is a reply to, if indeed
1557this is a reply." 1563this is a reply."
1558 (interactive "P") 1564 (interactive "P")
1559 (gnus-summary-select-article t) 1565 (gnus-summary-select-article t)
1560 (set-buffer gnus-original-article-buffer) 1566 (let (summary-buffer parent)
1561 (gnus-setup-message 'compose-bounce 1567 (if fetch
1562 (let* ((references (mail-fetch-field "references")) 1568 (progn
1563 (parent (and references (gnus-parent-id references)))) 1569 (setq summary-buffer (current-buffer))
1570 (set-buffer gnus-original-article-buffer)
1571 (article-goto-body)
1572 (when (re-search-forward "^References:\n?" nil t)
1573 (while (memq (char-after) '(?\t ? ))
1574 (forward-line 1))
1575 (skip-chars-backward "\t\n ")
1576 (setq parent
1577 (gnus-parent-id (buffer-substring (match-end 0) (point))))))
1578 (set-buffer gnus-original-article-buffer))
1579 (gnus-setup-message 'compose-bounce
1564 (message-bounce) 1580 (message-bounce)
1581 ;; Add Gcc header.
1582 (gnus-inews-insert-archive-gcc)
1583 (gnus-inews-insert-gcc)
1565 ;; If there are references, we fetch the article we answered to. 1584 ;; If there are references, we fetch the article we answered to.
1566 (and fetch parent 1585 (when parent
1567 (gnus-summary-refer-article parent) 1586 (with-current-buffer summary-buffer
1568 (gnus-summary-show-all-headers))))) 1587 (gnus-summary-refer-article parent)
1588 (gnus-summary-show-all-headers))))))
1569 1589
1570;;; Gcc handling. 1590;;; Gcc handling.
1571 1591
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el
index b98c4eb5366..419fd07727c 100644
--- a/lisp/gnus/message.el
+++ b/lisp/gnus/message.el
@@ -6697,7 +6697,7 @@ you."
6697 (goto-char boundary) 6697 (goto-char boundary)
6698 (when (re-search-backward "^.?From .*\n" nil t) 6698 (when (re-search-backward "^.?From .*\n" nil t)
6699 (delete-region (match-beginning 0) (match-end 0))))) 6699 (delete-region (match-beginning 0) (match-end 0)))))
6700 (mm-enable-multibyte) 6700 (mime-to-mml)
6701 (save-restriction 6701 (save-restriction
6702 (message-narrow-to-head-1) 6702 (message-narrow-to-head-1)
6703 (message-remove-header message-ignored-bounced-headers t) 6703 (message-remove-header message-ignored-bounced-headers t)
diff --git a/lisp/net/trampver.el b/lisp/net/trampver.el
index 6e48c3c7f47..f10f08e1031 100644
--- a/lisp/net/trampver.el
+++ b/lisp/net/trampver.el
@@ -4,7 +4,7 @@
4 4
5;; Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. 5;; Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
6 6
7;; Author: Kai Großjohann <kai.grossjohann@gmx.net> 7;; Author: Kai Großjohann <kai.grossjohann@gmx.net>
8;; Keywords: comm, processes 8;; Keywords: comm, processes
9 9
10;; This file is part of GNU Emacs. 10;; This file is part of GNU Emacs.
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 1caa9ee2007..c3caa7e397c 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -1359,7 +1359,7 @@ buffer for a list of commands.)"
1359 (path (getenv "PYTHONPATH")) 1359 (path (getenv "PYTHONPATH"))
1360 (process-environment ; to import emacs.py 1360 (process-environment ; to import emacs.py
1361 (cons (concat "PYTHONPATH=" data-directory 1361 (cons (concat "PYTHONPATH=" data-directory
1362 (if path (concat ":" path))) 1362 (if path (concat path-separator path)))
1363 process-environment))) 1363 process-environment)))
1364 (apply 'make-comint-in-buffer "Python" 1364 (apply 'make-comint-in-buffer "Python"
1365 (if new (generate-new-buffer "*Python*") "*Python*") 1365 (if new (generate-new-buffer "*Python*") "*Python*")
diff --git a/lisp/vc-hg.el b/lisp/vc-hg.el
index 727aaf072e1..d8a7ec0dd46 100644
--- a/lisp/vc-hg.el
+++ b/lisp/vc-hg.el
@@ -148,7 +148,7 @@
148(defun vc-hg-registered (file) 148(defun vc-hg-registered (file)
149 "Return non-nil if FILE is registered with hg." 149 "Return non-nil if FILE is registered with hg."
150 (when (vc-hg-root file) ; short cut 150 (when (vc-hg-root file) ; short cut
151 (vc-hg-state file))) ; expensive 151 (vc-file-setprop file 'vc-state (vc-hg-state file)))) ; expensive
152 152
153(defun vc-hg-state (file) 153(defun vc-hg-state (file)
154 "Hg-specific version of `vc-state'." 154 "Hg-specific version of `vc-state'."
@@ -303,12 +303,12 @@
303 (buffer-substring-no-properties (point-min) (point-max)))))) 303 (buffer-substring-no-properties (point-min) (point-max))))))
304 304
305;; Modelled after the similar function in vc-cvs.el 305;; Modelled after the similar function in vc-cvs.el
306;; (defun vc-hg-revision-completion-table (file) 306(defun vc-hg-revision-completion-table (file)
307;; (lexical-let ((file file) 307 (lexical-let ((file file)
308;; table) 308 table)
309;; (setq table (lazy-completion-table 309 (setq table (lazy-completion-table
310;; table (lambda () (vc-hg-revision-table file)))) 310 table (lambda () (vc-hg-revision-table file))))
311;; table)) 311 table))
312 312
313(defun vc-hg-diff-tree (file &optional oldvers newvers buffer) 313(defun vc-hg-diff-tree (file &optional oldvers newvers buffer)
314 (vc-hg-diff (list file) oldvers newvers buffer)) 314 (vc-hg-diff (list file) oldvers newvers buffer))
diff --git a/man/ChangeLog b/man/ChangeLog
index fbfa0aac236..703b3d3441f 100644
--- a/man/ChangeLog
+++ b/man/ChangeLog
@@ -16,10 +16,14 @@
16 16
172007-07-26 Dan Nicolaescu <dann@ics.uci.edu> 172007-07-26 Dan Nicolaescu <dann@ics.uci.edu>
18 18
19 * vc2-xtra.texi (Customizing VC): Add GIT. 19 * vc2-xtra.texi (Customizing VC): Add GIT and HG.
20 20
21 * dired.texi (Wdired): Mention C-x C-q key binding. 21 * dired.texi (Wdired): Mention C-x C-q key binding.
22 22
232007-07-28 Nick Roberts <nickrob@snap.net.nz>
24
25 * building.texi (GDB Graphical Interface): Qualify use of "M-x gdba".
26
232007-07-25 Glenn Morris <rgm@gnu.org> 272007-07-25 Glenn Morris <rgm@gnu.org>
24 28
25 * calc.texi (Copying) 29 * calc.texi (Copying)
diff --git a/man/building.texi b/man/building.texi
index 82ee57e8592..62e5f7b4316 100644
--- a/man/building.texi
+++ b/man/building.texi
@@ -832,7 +832,9 @@ session, or the custom variable @code{gud-gdb-command-name} for all
832future sessions. You need to use text command mode to debug multiple 832future sessions. You need to use text command mode to debug multiple
833programs within one Emacs session. If you have customized 833programs within one Emacs session. If you have customized
834@code{gud-gdb-command-name} in this way, you can use @kbd{M-x gdba} to 834@code{gud-gdb-command-name} in this way, you can use @kbd{M-x gdba} to
835invoke GDB in graphical mode. 835invoke GDB in graphical mode. Moreover, this command succeeds where
836@kbd{M-x gdb} fails, such as when your @file{.gdbinit} file contains
837executable GDB commands.
836 838
837@menu 839@menu
838* GDB-UI Layout:: Control the number of displayed buffers. 840* GDB-UI Layout:: Control the number of displayed buffers.