Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: kai.grossjohann@gmx.net (Kai Großjohann)
Subject: Re: Read/expiry marks in mail groups with autoexpire
Date: Thu, 28 Aug 2003 22:14:02 +0200	[thread overview]
Message-ID: <84ad9tfsl1.fsf@slowfox.is.informatik.uni-duisburg.de> (raw)
In-Reply-To: <87ekzbq7hx.fsf@plato.moon.paoloamoroso.it>

Paolo Amoroso <amoroso@mclink.it> writes:

> From time to time I happen to browse old messages originally marked
> with `d': I access the mail group and select articles for reading
> (e.g. `Enter' in summary buffer), but Gnus changes the mark from `O'
> to `E'. This makes the message expirable, which is annoying because I
> would like to keep it.
>
> How can I prevent Gnus from changing the mark from `O' to `E' when I
> access a message previously marked with `d'?

I don't like this behavior.  I have the following code to change it:

;; Use this for auto-expire only.
(remove-hook 'gnus-mark-article-hook 
             'gnus-summary-mark-read-and-unread-as-read)
(add-hook 'gnus-mark-article-hook 'gnus-summary-mark-unread-as-read)

Maybe it works for you, too.

There is also gnus-select-article-hook.  One of
gnus-select-article-hook and gnus-mark-article-hook is run only when
selecting the article for the first time, the other is run every time.
I'm too lazy to read the docs to find out which is which.  Not sure if
this is a better approach to doing things.  I vaguely recall having
had problems with it.  But this was, like, in 1997.  Too long ago...
-- 
Two cafe au lait please, but without milk.


      parent reply	other threads:[~2003-08-28 20:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87ekzbq7hx.fsf@plato.moon.paoloamoroso.it>
2003-08-24 18:59 ` Jesper Harder
2003-08-28 20:14 ` Kai Großjohann [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=84ad9tfsl1.fsf@slowfox.is.informatik.uni-duisburg.de \
    --to=kai.grossjohann@gmx.net \
    /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).