diff options
| author | Gnus developers | 2011-05-03 22:41:28 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2011-05-03 22:41:28 +0000 |
| commit | c2f51e23ab57da738bf3d7e1411a28dcfd9da75c (patch) | |
| tree | d413cedb847967e2370d1b631500957d9f83acda | |
| parent | abe95abbafb6100e910197df92453b247ee04844 (diff) | |
| download | emacs-c2f51e23ab57da738bf3d7e1411a28dcfd9da75c.tar.gz emacs-c2f51e23ab57da738bf3d7e1411a28dcfd9da75c.zip | |
Merge changes made in Gnus trunk.
gnus.texi (Summary Buffer Lines): gnus-summary-user-date-format-alist does not exist.
(Sorting the Summary Buffer): More about sorting threads.
shr.el: Add shr-link face for links.
(shr-urlify): Use it.
registry.el (registry-insert): Make error message more helpful.
| -rw-r--r-- | doc/misc/ChangeLog | 6 | ||||
| -rw-r--r-- | doc/misc/gnus.texi | 6 | ||||
| -rw-r--r-- | lisp/gnus/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/gnus/registry.el | 2 | ||||
| -rw-r--r-- | lisp/gnus/shr.el | 7 |
5 files changed, 25 insertions, 3 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index ff4a3355e54..defdabc4d8f 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2011-05-03 Peter Münster <pmlists@free.fr> | ||
| 2 | |||
| 3 | * gnus.texi (Summary Buffer Lines): | ||
| 4 | gnus-summary-user-date-format-alist does not exist. | ||
| 5 | (Sorting the Summary Buffer): More about sorting threads. | ||
| 6 | |||
| 1 | 2011-04-25 Michael Albinus <michael.albinus@gmx.de> | 7 | 2011-04-25 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 8 | ||
| 3 | * trampver.texi: Update release number. | 9 | * trampver.texi: Update release number. |
diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi index 9d9b767bcba..a35a7e85794 100644 --- a/doc/misc/gnus.texi +++ b/doc/misc/gnus.texi | |||
| @@ -4953,7 +4953,7 @@ Download mark. | |||
| 4953 | Desired cursor position (instead of after first colon). | 4953 | Desired cursor position (instead of after first colon). |
| 4954 | @item &user-date; | 4954 | @item &user-date; |
| 4955 | Age sensitive date format. Various date format is defined in | 4955 | Age sensitive date format. Various date format is defined in |
| 4956 | @code{gnus-summary-user-date-format-alist}. | 4956 | @code{gnus-user-date-format-alist}. |
| 4957 | @item u | 4957 | @item u |
| 4958 | User defined specifier. The next character in the format string should | 4958 | User defined specifier. The next character in the format string should |
| 4959 | be a letter. Gnus will call the function | 4959 | be a letter. Gnus will call the function |
| @@ -7340,7 +7340,9 @@ predicate functions include @code{gnus-thread-sort-by-number}, | |||
| 7340 | 7340 | ||
| 7341 | Each function takes two threads and returns non-@code{nil} if the first | 7341 | Each function takes two threads and returns non-@code{nil} if the first |
| 7342 | thread should be sorted before the other. Note that sorting really is | 7342 | thread should be sorted before the other. Note that sorting really is |
| 7343 | normally done by looking only at the roots of each thread. | 7343 | normally done by looking only at the roots of each thread. Exceptions |
| 7344 | to this rule are @code{gnus-thread-sort-by-most-recent-number} and | ||
| 7345 | @code{gnus-thread-sort-by-most-recent-date}. | ||
| 7344 | 7346 | ||
| 7345 | If you use more than one function, the primary sort key should be the | 7347 | If you use more than one function, the primary sort key should be the |
| 7346 | last function in the list. You should probably always include | 7348 | last function in the list. You should probably always include |
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 784f374bafa..a6d857ed660 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2011-05-03 Teodor Zlatanov <tzz@lifelogs.com> | ||
| 2 | |||
| 3 | * shr.el: Add shr-link face for links. | ||
| 4 | (shr-urlify): Use it. | ||
| 5 | |||
| 6 | * registry.el (registry-insert): Make error message more helpful. | ||
| 7 | |||
| 1 | 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org> | 8 | 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 2 | 9 | ||
| 3 | * gnus-html.el (gnus-html-schedule-image-fetching): Use | 10 | * gnus-html.el (gnus-html-schedule-image-fetching): Use |
diff --git a/lisp/gnus/registry.el b/lisp/gnus/registry.el index 1a18dbd50d2..e82ca8d9b6f 100644 --- a/lisp/gnus/registry.el +++ b/lisp/gnus/registry.el | |||
| @@ -272,7 +272,7 @@ Errors out if the key exists already." | |||
| 272 | (assert (< (registry-size db) | 272 | (assert (< (registry-size db) |
| 273 | (oref db :max-hard)) | 273 | (oref db :max-hard)) |
| 274 | nil | 274 | nil |
| 275 | "max-hard size limit reached") | 275 | "registry max-hard size limit reached") |
| 276 | 276 | ||
| 277 | ;; store the entry | 277 | ;; store the entry |
| 278 | (puthash key entry (oref db :data)) | 278 | (puthash key entry (oref db :data)) |
diff --git a/lisp/gnus/shr.el b/lisp/gnus/shr.el index b2e4f1dc61d..d865b2d6087 100644 --- a/lisp/gnus/shr.el +++ b/lisp/gnus/shr.el | |||
| @@ -91,6 +91,12 @@ cid: URL as the argument.") | |||
| 91 | "Font for <s> elements." | 91 | "Font for <s> elements." |
| 92 | :group 'shr) | 92 | :group 'shr) |
| 93 | 93 | ||
| 94 | (defface shr-link '((t (:underline t) | ||
| 95 | (:foreground "yellow") | ||
| 96 | (:background "black"))) | ||
| 97 | "Font for <s> elements." | ||
| 98 | :group 'shr) | ||
| 99 | |||
| 94 | ;;; Internal variables. | 100 | ;;; Internal variables. |
| 95 | 101 | ||
| 96 | (defvar shr-folding-mode nil) | 102 | (defvar shr-folding-mode nil) |
| @@ -591,6 +597,7 @@ START, and END. Note that START and END should be merkers." | |||
| 591 | :help-echo (if title (format "%s (%s)" url title) url) | 597 | :help-echo (if title (format "%s (%s)" url title) url) |
| 592 | :keymap shr-map | 598 | :keymap shr-map |
| 593 | url) | 599 | url) |
| 600 | (put-text-property start (point) 'face 'shr-link) | ||
| 594 | (put-text-property start (point) 'shr-url url)) | 601 | (put-text-property start (point) 'shr-url url)) |
| 595 | 602 | ||
| 596 | (defun shr-encode-url (url) | 603 | (defun shr-encode-url (url) |