From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/85812 Path: news.gmane.org!not-for-mail From: asjo@koldfront.dk (Adam =?utf-8?Q?Sj=C3=B8gren?=) Newsgroups: gmane.emacs.gnus.general Subject: message-citation-line-format - should %F have a fall back? Date: Wed, 25 Feb 2015 21:34:24 +0100 Organization: koldfront - analysis & revolution, Copenhagen, Denmark Message-ID: <87k2z5rar3.fsf@topper.koldfront.dk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1424896579 9540 80.91.229.3 (25 Feb 2015 20:36:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 Feb 2015 20:36:19 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M34051@lists.math.uh.edu Wed Feb 25 21:36:07 2015 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YQigg-0003WF-PL for ding-account@gmane.org; Wed, 25 Feb 2015 21:36:07 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1YQife-0001Dt-JY; Wed, 25 Feb 2015 14:35:02 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1YQifb-0001Dc-FZ for ding@lists.math.uh.edu; Wed, 25 Feb 2015 14:34:59 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.84) (envelope-from ) id 1YQifZ-00081e-2i for ding@lists.math.uh.edu; Wed, 25 Feb 2015 14:34:58 -0600 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1YQifW-00040m-P3 for ding@gnus.org; Wed, 25 Feb 2015 21:34:54 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YQifC-0002VL-Pz for ding@gnus.org; Wed, 25 Feb 2015 21:34:34 +0100 Original-Received: from 2505ds5-by.0.fullrate.dk ([89.150.142.116]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Feb 2015 21:34:34 +0100 Original-Received: from asjo by 2505ds5-by.0.fullrate.dk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Feb 2015 21:34:34 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 54 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 2505ds5-by.0.fullrate.dk OpenPGP: id=49D0746121BDE416; url=http://asjo.koldfront.dk/gpg.asc Mail-Follow-Up-To: never X-Now-Playing: Baby You Ain't Looking Right, It's Raceday (Powersolo) X-Face: )qY&CseJ?.:=8F#^~GcSA?F=9eu'{KAFfL1C3/A&:nE?PW\i65"ba0NS)97,Q(^@xk}n4Ou rPuR#V8I(J_@~H($[ym:`K_+]*kjvW>xH5jbgLBVFGXY:(#4P>zVBklLbdL&XxL\M)%T}3S/IS9lMJ ^St'=VZBR Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:85812 Archived-At: Should %F in message-citation-line-format fall back to something different than nil, if no first name can be detected? Like, say, the email address? ,----[ C-h v message-citation-line-format RET ] | message-citation-line-format is a variable defined in `message.el'. | Its value is "%F writes: | " | Original value was | "On %a, %b %d %Y, %N wrote:\n" | | Documentation: | Format of the "Whomever writes:" line. | | The string is formatted using `format-spec'. The following constructs | are replaced: | | %f The full From, e.g. "John Doe ". | %n The mail address, e.g. "john.doe@example.invalid". | %N The real name if present, e.g.: "John Doe", else fall | back to the mail address. | %F The first name if present, e.g.: "John". | %L The last name if present, e.g.: "Doe". | %Z, %z The time zone in the numeric form, e.g.:"+0000". | | All other format specifiers are passed to `format-time-string' | which is called using the date from the article your replying to, but | the date in the formatted string will be expressed in the author's | time zone as much as possible. | Extracting the first (%F) and last name (%L) is done heuristically, | so you should always check it yourself. | | Please also read the note in the documentation of | `message-citation-line-function'. `---- Or is there already some way of doing this? The "you should always check it yourself" might be implying so? It is kind of weird to get "nil writes:" when From: is just an email address... What do y'all think? Best regards, Adam -- "You have to be optimistic about the possibility of Adam Sjøgren solving the problem, but skeptical about the value of asjo@koldfront.dk whatever solution you've got so far."