all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ernobe <ernobe@yahoo.com>
To: help-gnu-emacs@gnu.org
Subject: [Gnus] persistent marks
Date: Fri, 08 Nov 2013 08:11:03 -0600	[thread overview]
Message-ID: <87eh6r3rwo.fsf@002215fd0050.amnet.co.cr> (raw)



Hi all

I'm a gnu Gnus user and am wondering if someone can help me with a
certain functionality I've been trying to achieve.  Ideally I would be
able to have it mark the articles as usual, but not carry out the
corresponding action until I command it.  For example, all articles I
read will be marked R, but will continue to be shown in summary until I
make them go away.  Or if I choose to mark them as expunged, they will
continue to show up and have the expunge mark until I actually issue the
expunge command, etc.  Is this somehow possible?

I've tried to do it with the following:

(defun my-add-ancient-articles (group articles)
  (if (string= group "news.software.readers")
      (append gnus-newsgroup-ancient articles)
    articles))
(setq gnus-alter-articles-to-read-function 'my-add-ancient-articles)

I have also been unable to get it to set a mark with the article
selection hooks.  Another way to do it would be to have it set a mark
based on a score, but it doesn't appear to be possible with the existing
scoring rules.



-- 
"The world of existence is an emanation of the merciful attribute of God."
Abdu'l-Baha
http://www.costarricense.cr/pagina/ernobe


             reply	other threads:[~2013-11-08 14:11 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-08 14:11 ernobe [this message]
2013-11-08 19:37 ` [Gnus] persistent marks Emanuel Berg
2013-11-08 21:00   ` ernobe
2013-11-08 21:37     ` Emanuel Berg
2013-11-09 15:58       ` ernobe
2013-11-09 20:55         ` Emanuel Berg
2013-11-11 19:04           ` ernobe
2013-11-11 22:39             ` Emanuel Berg
2013-11-09  2:33     ` Eric Abrahamsen
     [not found]     ` <mailman.5618.1383964331.10748.help-gnu-emacs@gnu.org>
2013-11-09 16:34       ` ernobe
2013-11-09 17:37         ` Joost Kremers
2013-11-09 19:36         ` Emanuel Berg
2013-11-09 21:33           ` Eli Zaretskii
2013-11-09 21:32         ` Eli Zaretskii

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=87eh6r3rwo.fsf@002215fd0050.amnet.co.cr \
    --to=ernobe@yahoo.com \
    --cc=help-gnu-emacs@gnu.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.