]> code.delx.au - gnu-emacs/commitdiff
Merge changes made in Gnus trunk.
authorGnus developers <ding@gnus.org>
Tue, 3 May 2011 22:41:28 +0000 (22:41 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Tue, 3 May 2011 22:41:28 +0000 (22:41 +0000)
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.

doc/misc/ChangeLog
doc/misc/gnus.texi
lisp/gnus/ChangeLog
lisp/gnus/registry.el
lisp/gnus/shr.el

index ff4a3355e5416faa10ce805ec1dd0ebc50ffa94e..defdabc4d8f08198e708ba5b13d27e493c381594 100644 (file)
@@ -1,3 +1,9 @@
+2011-05-03  Peter Münster  <pmlists@free.fr>
+
+       * gnus.texi (Summary Buffer Lines):
+       gnus-summary-user-date-format-alist does not exist.
+       (Sorting the Summary Buffer): More about sorting threads.
+
 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
 
        * trampver.texi: Update release number.
index 9d9b767bcba5b00fc830977fabf604f15f275321..a35a7e857944bea805b207bd6bf87072bf60f637 100644 (file)
@@ -4953,7 +4953,7 @@ Download mark.
 Desired cursor position (instead of after first colon).
 @item &user-date;
 Age sensitive date format.  Various date format is defined in
-@code{gnus-summary-user-date-format-alist}.
+@code{gnus-user-date-format-alist}.
 @item u
 User defined specifier.  The next character in the format string should
 be a letter.  Gnus will call the function
@@ -7340,7 +7340,9 @@ predicate functions include @code{gnus-thread-sort-by-number},
 
 Each function takes two threads and returns non-@code{nil} if the first
 thread should be sorted before the other.  Note that sorting really is
-normally done by looking only at the roots of each thread.
+normally done by looking only at the roots of each thread.  Exceptions
+to this rule are @code{gnus-thread-sort-by-most-recent-number} and
+@code{gnus-thread-sort-by-most-recent-date}.
 
 If you use more than one function, the primary sort key should be the
 last function in the list.  You should probably always include
index 784f374bafa8fb63227445daeafe6f78160d0b83..a6d857ed660d782b4561906a22089ac79fd9995f 100644 (file)
@@ -1,3 +1,10 @@
+2011-05-03  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * shr.el: Add shr-link face for links.
+       (shr-urlify): Use it.
+
+       * registry.el (registry-insert): Make error message more helpful.
+
 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
        * gnus-html.el (gnus-html-schedule-image-fetching): Use
index 1a18dbd50d26571d3249ddadefde5b285fff3cc3..e82ca8d9b6f71cafebd2273866e2b8d8b1934520 100644 (file)
@@ -272,7 +272,7 @@ Errors out if the key exists already."
     (assert (< (registry-size db)
               (oref db :max-hard))
            nil
-           "max-hard size limit reached")
+           "registry max-hard size limit reached")
 
     ;; store the entry
     (puthash key entry (oref db :data))
index b2e4f1dc61d54c3e24f9143d93baea2c1e318203..d865b2d6087c4d712d28491630d16a528fe6802f 100644 (file)
@@ -91,6 +91,12 @@ cid: URL as the argument.")
   "Font for <s> elements."
   :group 'shr)
 
+(defface shr-link '((t (:underline t)
+                       (:foreground "yellow")
+                       (:background "black")))
+  "Font for <s> elements."
+  :group 'shr)
+
 ;;; Internal variables.
 
 (defvar shr-folding-mode nil)
@@ -591,6 +597,7 @@ START, and END.  Note that START and END should be merkers."
    :help-echo (if title (format "%s (%s)" url title) url)
    :keymap shr-map
    url)
+  (put-text-property start (point) 'face 'shr-link)
   (put-text-property start (point) 'shr-url url))
 
 (defun shr-encode-url (url)