aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Sjøgren2015-03-08 10:06:51 +0000
committerKatsumi Yamaoka2015-03-08 10:06:51 +0000
commit0f2fd5603a06982ef057f0a8bc12e76bc8e026a3 (patch)
tree34b431c9a050c133699f0282aff78cc271456fd0
parentbcf89ff33523e69f45b7afb528105089c62ec810 (diff)
downloademacs-0f2fd5603a06982ef057f0a8bc12e76bc8e026a3.tar.gz
emacs-0f2fd5603a06982ef057f0a8bc12e76bc8e026a3.zip
lisp/gnus/message.el (message-insert-formatted-citation-line): Change %F to fall back to email address if no first name could be determined
-rw-r--r--lisp/gnus/ChangeLog5
-rw-r--r--lisp/gnus/message.el5
2 files changed, 8 insertions, 2 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 5d699e0be27..2ee0c56c7f5 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,8 @@
12015-03-08 Adam Sjøgren <asjo@koldfront.dk>
2
3 * message.el (message-insert-formatted-citation-line): Change %F to
4 fall back to email address if no first name could be determined.
5
12015-03-07 Stefan Monnier <monnier@iro.umontreal.ca> 62015-03-07 Stefan Monnier <monnier@iro.umontreal.ca>
2 7
3 * registry.el (registry-lookup-breaks-before-lexbind, registry-lookup) 8 * registry.el (registry-lookup-breaks-before-lexbind, registry-lookup)
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el
index a06de2a6414..112f0ba127c 100644
--- a/lisp/gnus/message.el
+++ b/lisp/gnus/message.el
@@ -989,7 +989,8 @@ are replaced:
989 %n The mail address, e.g. \"john.doe@example.invalid\". 989 %n The mail address, e.g. \"john.doe@example.invalid\".
990 %N The real name if present, e.g.: \"John Doe\", else fall 990 %N The real name if present, e.g.: \"John Doe\", else fall
991 back to the mail address. 991 back to the mail address.
992 %F The first name if present, e.g.: \"John\". 992 %F The first name if present, e.g.: \"John\", else fall
993 back to the mail address.
993 %L The last name if present, e.g.: \"Doe\". 994 %L The last name if present, e.g.: \"Doe\".
994 %Z, %z The time zone in the numeric form, e.g.:\"+0000\". 995 %Z, %z The time zone in the numeric form, e.g.:\"+0000\".
995 996
@@ -4039,7 +4040,7 @@ See `message-citation-line-format'."
4039 (setq fname lname lname newlname))))) 4040 (setq fname lname lname newlname)))))
4040 ;; The following letters are not used in `format-time-string': 4041 ;; The following letters are not used in `format-time-string':
4041 (push ?E lst) (push "<E>" lst) 4042 (push ?E lst) (push "<E>" lst)
4042 (push ?F lst) (push fname lst) 4043 (push ?F lst) (push (or fname name-or-net) lst)
4043 ;; We might want to use "" instead of "<X>" later. 4044 ;; We might want to use "" instead of "<X>" later.
4044 (push ?J lst) (push "<J>" lst) 4045 (push ?J lst) (push "<J>" lst)
4045 (push ?K lst) (push "<K>" lst) 4046 (push ?K lst) (push "<K>" lst)