diff options
author | Tom Tromey <tromey@redhat.com> | 2013-07-26 14:02:53 -0600 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-07-26 14:02:53 -0600 |
commit | cc231cbe45d27a1906d268fb72d3b4105a2e9c65 (patch) | |
tree | c011828e2a3a18e77eaa8849e3cccb805d798f42 /lisp/gnus | |
parent | b34a529f177a6ea32da5cb1254f91bf9d71838db (diff) | |
parent | fec9206062b420aca84f53d05a72c3ee43244022 (diff) | |
download | emacs-cc231cbe45d27a1906d268fb72d3b4105a2e9c65.tar.gz emacs-cc231cbe45d27a1906d268fb72d3b4105a2e9c65.tar.bz2 emacs-cc231cbe45d27a1906d268fb72d3b4105a2e9c65.zip |
merge from trunk
Diffstat (limited to 'lisp/gnus')
-rw-r--r-- | lisp/gnus/ChangeLog | 46 | ||||
-rw-r--r-- | lisp/gnus/ChangeLog.1 | 2 | ||||
-rw-r--r-- | lisp/gnus/ChangeLog.2 | 4 | ||||
-rw-r--r-- | lisp/gnus/gnus-art.el | 19 | ||||
-rw-r--r-- | lisp/gnus/gnus-msg.el | 4 | ||||
-rw-r--r-- | lisp/gnus/gnus-start.el | 20 | ||||
-rw-r--r-- | lisp/gnus/gnus-sum.el | 2 | ||||
-rw-r--r-- | lisp/gnus/gnus.el | 4 | ||||
-rw-r--r-- | lisp/gnus/registry.el | 2 |
9 files changed, 67 insertions, 36 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 006b415b180..a67c55947ac 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,39 @@ +2013-07-25 Andreas Schwab <schwab@linux-m68k.org> + + * gnus-art.el (gnus-button-url-regexp): Make it match url in which + punctuation characters follow parentheses (bug#14950). + +2013-07-23 Katsumi Yamaoka <yamaoka@jpl.org> + + * gnus.el (gnus-continuum-version): + * gnus-msg.el (gnus-extended-version): Simplify. + + * gnus.el (gnus-continuum-version-1): Remove. + * gnus-msg.el (gnus-bug): Revert. + + Calculate gnus-version correctly on Cygwin. + + * gnus.el (gnus-continuum-version): Do main calculations in integers. + (gnus-continuum-version-1): New function, return a string. + + * gnus-msg.el (gnus-extended-version, gnus-bug): + Use gnus-continuum-version-1 instead of gnus-continuum-version. + +2013-07-19 Geoff Kuenning <geoff@cs.hmc.edu> (tiny change) + + * gnus-art.el (gnus-treat-predicate): Allow functions as predicates + (bug#13384). + +2013-07-18 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * gnus-start.el (gnus-clean-old-newsrc): Remove the newsrc cleanups + that were only relevant in a development version a long time ago. + +2013-07-18 Katsumi Yamaoka <yamaoka@jpl.org> + + * gnus-art.el (gnus-shr-put-image): Make it work as well for shr.el's + that the old Emacs 24s bundle. + 2013-07-10 David Engster <deng@randomsample.de> * gnus-start.el (gnus-clean-old-newsrc): Always remove 'unexist' marks @@ -143,7 +179,7 @@ 2013-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org> * gnus-sum.el (gnus-summary-insert-old-articles): - Don't include unexistent messages. + Don't include unexisting messages. 2013-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org> @@ -1861,7 +1897,7 @@ * nnmail.el (mail-send-and-exit): Silence the byte compiler. -2012-06-26 Peter Munster <pmrb@free.fr> +2012-06-26 Peter Münster <pmrb@free.fr> * gnus-demon.el (gnus-demon-timers): Now a plist (function -> timer). (gnus-demon-cancel): Ditto. @@ -2088,7 +2124,7 @@ (spam-check-BBDB): Use it. (spam-enter-ham-BBDB): Use it. -2012-06-26 Peter Munster <pmrb@free.fr> (tiny change) +2012-06-26 Peter Münster <pmrb@free.fr> (tiny change) * gnus-group.el (gnus-group-get-new-news): New parameter `one-level' for scanning exactly one level. @@ -8451,7 +8487,7 @@ * nnimap.el (nnimap-request-group): Low higher than high to signal no messages in empty groups. -2010-10-01 Ted Zlatanov <tzz@lifelogs.com> +2010-10-01 Teodor Zlatanov <tzz@lifelogs.com> * nnimap.el (nnimap-request-group): Don't bug out when there's an empty non-UIDNEXT group. @@ -8592,7 +8628,7 @@ * nndraft.el (nndraft-request-expire-articles): Use the group name instead if "nndraft". Fix found by Nils Ackermann. -2010-09-29 Ludovic Courtes <ludo@gnu.org> +2010-09-29 Ludovic Courtès <ludo@gnu.org> * nnregistry.el: Add. diff --git a/lisp/gnus/ChangeLog.1 b/lisp/gnus/ChangeLog.1 index 9043a23361e..9a71bc35b41 100644 --- a/lisp/gnus/ChangeLog.1 +++ b/lisp/gnus/ChangeLog.1 @@ -340,7 +340,7 @@ * nnmail.el (nnmail-spool-file): Allow lists of files. -1998-08-20 Per Starback <starback@update.uu.se> +1998-08-20 Per Starbäck <starback@update.uu.se> * gnus/gnus-start.el (gnus-check-first-time-used): Change current buffer before creating help group. diff --git a/lisp/gnus/ChangeLog.2 b/lisp/gnus/ChangeLog.2 index 4ddd622ce9a..df223bd332b 100644 --- a/lisp/gnus/ChangeLog.2 +++ b/lisp/gnus/ChangeLog.2 @@ -210,7 +210,7 @@ * mml1991.el (mml1991-pgg-encrypt): Decode according to CTE before encrypting. -2003-12-28 Ivan Boldyrev <boldyrev@uiggm.nsc.ru> (tiny change). +2003-12-28 Ivan Boldyrev <boldyrev@uiggm.nsc.ru> (tiny change) * mml1991.el (mml1991-pgg-sign): Use unibyte when re-encoding. @@ -4490,7 +4490,7 @@ * gnus-start.el (gnus-backup-startup-file): Fixed custom type. -2003-02-24 Ted Zlatanov <tzz@lifelogs.com> +2003-02-24 Teodor Zlatanov <tzz@lifelogs.com> * spam.el: Disabled spam-get-article-as-filename. diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el index b41ff9c0550..e65b9fb99e4 100644 --- a/lisp/gnus/gnus-art.el +++ b/lisp/gnus/gnus-art.el @@ -6197,9 +6197,14 @@ Provided for backwards compatibility." (defun gnus-shr-put-image (data alt &optional flags) "Put image DATA with a string ALT. Enable image to be deleted." - (let ((image (shr-put-image data (propertize (or alt "*") - 'gnus-image-category 'shr) - flags))) + (let ((image (if flags + (shr-put-image data (propertize (or alt "*") + 'gnus-image-category 'shr) + flags) + ;; Old `shr-put-image' doesn't take the optional `flags' + ;; argument. + (shr-put-image data (propertize (or alt "*") + 'gnus-image-category 'shr))))) (when image (gnus-add-image 'shr image)))) @@ -7172,15 +7177,17 @@ groups." "\\(?:" ;; Match paired parentheses, e.g. in Wikipedia URLs: ;; http://thread.gmane.org/47B4E3B2.3050402@gmail.com - "[" chars punct "]+" "(" "[" chars punct "]+" "[" chars "]*)" "[" chars "]*" + "[" chars punct "]+" "(" "[" chars punct "]+" "[" chars "]*)" + "\\(?:" "[" chars punct "]+" "[" chars "]" "\\)?" "\\|" - "[" chars punct "]+" "[" chars "]" + "[" chars punct "]+" "[" chars "]" "\\)")) (concat ;; XEmacs 21.4 doesn't support POSIX. "\\([-a-z0-9_=!?#$@~%&*+\\/:;.,]\\|\\w\\)+" "\\([-a-z0-9_=#$@~%&*+\\/]\\|\\w\\)")) "\\)") "Regular expression that matches URLs." + :version "24.4" :group 'gnus-article-buttons :type 'regexp) @@ -8414,6 +8421,8 @@ For example: (not (gnus-treat-predicate (car val)))) ((eq pred 'typep) (equal (car val) gnus-treat-type)) + ((functionp pred) + (funcall pred)) (t (error "%S is not a valid predicate" pred))))) ((eq val t) diff --git a/lisp/gnus/gnus-msg.el b/lisp/gnus/gnus-msg.el index e3f18662af4..0f78f2edc5f 100644 --- a/lisp/gnus/gnus-msg.el +++ b/lisp/gnus/gnus-msg.el @@ -1132,7 +1132,9 @@ See the variable `gnus-user-agent'." (gnus-v (when (memq 'gnus gnus-user-agent) (concat "Gnus/" - (prin1-to-string (gnus-continuum-version gnus-version) t) + (gnus-replace-in-string + (format "%1.8f" (gnus-continuum-version gnus-version)) + "0+\\'" "") " (" gnus-version ")"))) (emacs-v (gnus-emacs-version))) (concat gnus-v (when (and gnus-v emacs-v) " ") diff --git a/lisp/gnus/gnus-start.el b/lisp/gnus/gnus-start.el index 94803800e0b..05cf290cac9 100644 --- a/lisp/gnus/gnus-start.el +++ b/lisp/gnus/gnus-start.el @@ -2305,24 +2305,8 @@ If FORCE is non-nil, the .newsrc file is read." (gnus-clean-old-newsrc)))) (defun gnus-clean-old-newsrc (&optional force) - (when gnus-newsrc-file-version - ;; Remove totally bogus `unexists' entries. The name is - ;; `unexist'. - (dolist (info (cdr gnus-newsrc-alist)) - (let ((exist (assoc 'unexists (gnus-info-marks info)))) - (when exist - (gnus-info-set-marks - info (delete exist (gnus-info-marks info)))))) - (when (or force - (not (string= gnus-newsrc-file-version gnus-version))) - (message (concat "Removing unexist marks because newsrc " - "version does not match Gnus version.")) - ;; Remove old `exist' marks from old nnimap groups. - (dolist (info (cdr gnus-newsrc-alist)) - (let ((exist (assoc 'unexist (gnus-info-marks info)))) - (when exist - (gnus-info-set-marks - info (delete exist (gnus-info-marks info))))))))) + ;; Currently no cleanups. + ) (defun gnus-convert-old-newsrc () "Convert old newsrc formats into the current format, if needed." diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el index 9bae9f981bd..f3918b0a215 100644 --- a/lisp/gnus/gnus-sum.el +++ b/lisp/gnus/gnus-sum.el @@ -1525,7 +1525,7 @@ This list will always be a subset of gnus-newsgroup-undownloaded.") "Range of seen articles in the current newsgroup.") (defvar gnus-newsgroup-unexist nil - "Range of unexistent articles in the current newsgroup.") + "Range of unexisting articles in the current newsgroup.") (defvar gnus-newsgroup-articles nil "List of articles in the current newsgroup.") diff --git a/lisp/gnus/gnus.el b/lisp/gnus/gnus.el index 8741a03b54d..409b1cc6255 100644 --- a/lisp/gnus/gnus.el +++ b/lisp/gnus/gnus.el @@ -3246,9 +3246,9 @@ If ARG, insert string at point." 0)) (string-to-number (if (zerop major) - (format "%s00%02d%02d" + (format "%1.2f00%02d%02d" (if (member alpha '("(ding)" "d")) - "4.99" + 4.99 (+ 5 (* 0.02 (abs (- (mm-char-int (aref (downcase alpha) 0)) diff --git a/lisp/gnus/registry.el b/lisp/gnus/registry.el index 37fe6440743..b056ac5e7f3 100644 --- a/lisp/gnus/registry.el +++ b/lisp/gnus/registry.el @@ -228,7 +228,7 @@ With assert non-nil, errors out if the key does not exist already." (let ((entry (gethash key data))) (when assert (assert entry nil - "Key %s does not exists in database" key)) + "Key %s does not exist in database" key)) ;; clean entry from the secondary indices (dolist (tr tracked) ;; is this tracked symbol indexed? |