From: lee <lee@yun.yagibdah.de>
To: ding@gnus.org
Subject: Re: accessing article information
Date: Wed, 20 Jul 2011 00:50:29 +0200 [thread overview]
Message-ID: <87livtkhqi.fsf@yun.yagibdah.de> (raw)
In-Reply-To: <m3y5zuktx0.fsf@quimbies.gnus.org> (Lars Magne Ingebrigtsen's message of "Tue, 19 Jul 2011 20:27:23 +0200")
Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
> lee <lee@yun.yagibdah.de> writes:
>
>> Can I use `gnus-summary-article-mark' as defined in gnus-sum.el in a
>> `gnus-user-format-function-*' to find out the marks?
>
> I think so.
(defun gnus-user-format-function-M (header)
(gnus-summary-article-mark (mail-header-number header)))
... works and yields numbers that correspond to marks. It gives one
number per article, like the one for `gnus-ancient-mark' for read
articles.
>> Hm, looking at the .marks files, where does gnus store marks like
>> killed, caught up with, etc.?
>
> In the .newsrc.eld file.
And how do you access them? I suspect they are the second of the
numbers in `gnus-newsgroup-data' ... but then, what if an article has
several marks ... something to trace further tomorrow. It's always good
to have the sources :)
prev parent reply other threads:[~2011-07-19 22:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-06 8:17 lee
2011-07-19 16:16 ` Lars Magne Ingebrigtsen
2011-07-19 18:24 ` lee
2011-07-19 18:27 ` Lars Magne Ingebrigtsen
2011-07-19 22:50 ` lee [this message]
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=87livtkhqi.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).