From: Uwe Brauer <oub@mat.ucm.es>
To: ding@gnus.org
Subject: display FROM based on BBDB
Date: Tue, 21 Jan 2014 15:17:11 +0100 [thread overview]
Message-ID: <87k3dtifmg.fsf@gilgamesch.quim.ucm.es> (raw)
Hello
I just found out about
http://www.emacswiki.org/emacs-se/BbdbAndGnusAuthorNames
in which it is described how gnus displays the from field based on the
Author entry in BBDB.
There seems to be to possibilities
- adding %uB to the gnus-summary-line-format
- or using the functions the author described.
None worked for me.
My gnus-summary-line-format is
%U%R%z%I%N %(%[ %-10,10n%]%) %-10,10~(form (rfc2047-decode-string (gnus-extra-header 'To)))@ [%-25,25s%] %D %k %L
I tried to add %uB which seems to do what I want, at least partially but
adds and unwanted + in front of the authors BBDB name.
I tried out
%U%R%z%I%N %(%[ %-10,10%uB%]%) %-10,10~(form (rfc2047-decode-string (gnus-extra-header 'To)))@ [%-25,25s%] %D %k %L
The code which is published in emacswiki does not work for since emacs
complains about the use of string= which only allows 2 arguments but the
author seems to have used 4.
Does anybody use %uB and if so how?
thanks
Uwe Brauer
reply other threads:[~2014-01-21 14:17 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k3dtifmg.fsf@gilgamesch.quim.ucm.es \
--to=oub@mat.ucm.es \
--cc=ding@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).