Using saved parent location: http://bzr.savannah.gnu.org/r/emacs/trunk/ Now on revision 102705. ------------------------------------------------------------ revno: 102705 author: Julien Danjou committer: Katsumi Yamaoka branch nick: trunk timestamp: Thu 2010-12-23 22:24:24 +0000 message: gnus-gravatar.el (gnus-gravatar-transform-address): Set `mail-extr-ignore-realname-equals-mailbox-name' to nil when extracting the addresses, otherwise we might misplaced the gravatar. diff: === modified file 'lisp/gnus/ChangeLog' --- lisp/gnus/ChangeLog 2010-12-22 07:04:25 +0000 +++ lisp/gnus/ChangeLog 2010-12-23 22:24:24 +0000 @@ -1,3 +1,9 @@ +2010-12-23 Julien Danjou + + * gnus-gravatar.el (gnus-gravatar-transform-address): Set + `mail-extr-ignore-realname-equals-mailbox-name' to nil when extracting + the addresses, otherwise we might misplaced the gravatar. + 2010-12-21 Daiki Ueno * mml1991.el (pgg-sign-region, pgg-encrypt-region): === modified file 'lisp/gnus/gnus-gravatar.el' --- lisp/gnus/gnus-gravatar.el 2010-12-17 22:45:16 +0000 +++ lisp/gnus/gnus-gravatar.el 2010-12-23 22:24:24 +0000 @@ -54,6 +54,7 @@ (defun gnus-gravatar-transform-address (header category &optional force) (gnus-with-article-headers (let* ((mail-extr-disable-voodoo t) + (mail-extr-ignore-realname-equals-mailbox-name nil) (addresses (mail-extract-address-components (or (mail-fetch-field header) "") t)) (gravatar-size (or gnus-gravatar-size gravatar-size)) ------------------------------------------------------------ revno: 102704 committer: Stefan Monnier branch nick: trunk timestamp: Wed 2010-12-22 19:00:12 -0500 message: Fix up last change. * lisp/emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of print-number-table. * src/print.c (PRINT_NUMBER_OBJECT, PRINT_NUMBER_STATUS): Remove. (print_preprocess): Fix handling of uninterned symbols in last change. diff: === modified file 'lisp/ChangeLog' --- lisp/ChangeLog 2010-12-21 06:45:11 +0000 +++ lisp/ChangeLog 2010-12-23 00:00:12 +0000 @@ -1,3 +1,8 @@ +2010-12-22 Stefan Monnier + + * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of + print-number-table. + 2010-12-21 Chong Yidong * help-fns.el (find-lisp-object-file-name): Locate .emacs from === modified file 'lisp/emacs-lisp/bytecomp.el' --- lisp/emacs-lisp/bytecomp.el 2010-11-18 03:54:14 +0000 +++ lisp/emacs-lisp/bytecomp.el 2010-12-23 00:00:12 +0000 @@ -2058,9 +2058,9 @@ ;; to objects already output ;; (for instance, gensyms in the arg list). (let (non-nil) - (dotimes (i (length print-number-table)) - (if (aref print-number-table i) - (setq non-nil t))) + (when (hash-table-p print-number-table) + (maphash (lambda (k v) (if v (setq non-nil t))) + print-number-table)) (not non-nil))) ;; Output the byte code and constants specially ;; for lazy dynamic loading. === modified file 'src/ChangeLog' --- src/ChangeLog 2010-12-22 21:25:46 +0000 +++ src/ChangeLog 2010-12-23 00:00:12 +0000 @@ -1,5 +1,8 @@ 2010-12-22 Stefan Monnier + * print.c (PRINT_NUMBER_OBJECT, PRINT_NUMBER_STATUS): Remove. + (print_preprocess): Fix handling of uninterned symbols in last change. + * print.c (print, print_preprocess, print_object): Use a hash table rather than a linear table for Vprint_number_table. === modified file 'src/print.c' --- src/print.c 2010-12-22 21:25:46 +0000 +++ src/print.c 2010-12-23 00:00:12 +0000 @@ -156,12 +156,6 @@ int print_number_index; Lisp_Object Vprint_number_table; -/* PRINT_NUMBER_OBJECT returns the I'th object in Vprint_number_table TABLE. - PRINT_NUMBER_STATUS returns the status of the I'th object in TABLE. - See the comment of the variable Vprint_number_table. */ -#define PRINT_NUMBER_OBJECT(table,i) XVECTOR ((table))->contents[(i) * 2] -#define PRINT_NUMBER_STATUS(table,i) XVECTOR ((table))->contents[(i) * 2 + 1] - void print_interval (INTERVAL interval, Lisp_Object printcharfun); /* GDB resets this to zero on W32 to disable OutputDebugString calls. */ @@ -1314,7 +1308,7 @@ && SYMBOLP (obj) && !SYMBOL_INTERNED_P (obj))) { /* OBJ appears more than once. Let's remember that. */ - if (EQ (Qt, num)) + if (!INTEGERP (num)) { print_number_index++; /* Negative number indicates it hasn't been printed yet. */