From: lee <lee@yun.yagibdah.de>
To: ding@gnus.org
Subject: Re: Gnus Questions #1: Article Expiry
Date: Wed, 06 Jul 2011 21:24:20 +0200 [thread overview]
Message-ID: <87vcvfxlej.fsf@yun.yagibdah.de> (raw)
In-Reply-To: <m2pqlnxnsg.fsf@pluto.luannocracy.com> (Dave Abrahams's message of "Wed, 06 Jul 2011 14:32:47 -0400")
Dave Abrahams <dave@boostpro.com> writes:
> on Tue Jul 05 2011, lee <lee-AT-yun.yagibdah.de> wrote:
>>
>> Ah, it goes like this:
>>
>>
>> (defun gnus-user-format-function-M (header)
>> (if (equal gnus-tmp-unread gnus-ancient-mark) ; then
>> (make-string 1 ?a) ; else
>> (make-string 1 ?-) ) )
>>
>>
>> ... which uses the %u specifier of gnus-summary-line-format.
>>
>> This is probably a very stupid way of making a function return a string;
>> I just don't know better yet ...
>
> I think this is easier ;-)
>
> (defun gnus-user-format-function-M (header)
> (if (equal gnus-tmp-unread gnus-ancient-mark) "a" "-"))
Hm, interesting, it's something I tried first and didn't seem to work.
Now the problem seems to be that I don't know how to get information
about the marks ...
next prev parent reply other threads:[~2011-07-06 19:24 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-03 23:30 Dave Abrahams
2011-07-04 14:29 ` lee
2011-07-05 0:50 ` Dave Abrahams
2011-07-05 21:51 ` lee
2011-07-05 22:46 ` lee
2011-07-06 18:32 ` Dave Abrahams
2011-07-06 19:24 ` lee [this message]
2011-07-05 20:44 ` Lars Magne Ingebrigtsen
2011-07-06 18:28 ` Dave Abrahams
2011-07-06 19:55 ` lee
2011-07-06 20:00 ` Dan Christensen
2011-07-19 16:32 ` Lars Magne Ingebrigtsen
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=87vcvfxlej.fsf@yun.yagibdah.de \
--to=lee@yun.yagibdah.de \
--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).