From: wjhardaker@ucdavis.edu
Cc: Hrvoje Niksic <hniksic@iskon.hr>, ding@gnus.org
Subject: Re: Movement ops
Date: 08 Dec 1999 10:07:31 -0800 [thread overview]
Message-ID: <sdg0xd71cs.fsf@wanderer.dcn.davis.ca.us> (raw)
In-Reply-To: Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "07 Dec 1999 19:38:09 +0100"
>>>>> On 07 Dec 1999 19:38:09 +0100, Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) said:
Kai> Hrvoje Niksic <hniksic@iskon.hr> writes:
>> I use `N' and `P' for this, so `n' and `p' are useful for going to the
>> next/previous unread article. But you're right; there seems to be no
>> one perfect setting.
Kai> I used to interchange n/p and N/P, but then `E' and friends would move
Kai> to the next unread article, which I hate.
Kai> Is it time for a feature wish, now? Lars, are you listening?
I wrote my own:
(defun my-gnus-summary-mark-as-expirable (n)
"Mark N articles forward as expirable.
If N is negative, mark backward instead. The difference between N and
the actual number of articles marked is returned."
(interactive "p")
(gnus-summary-show-thread)
(gnus-set-global-variables)
(let ((backward (< n 0))
(gnus-summary-goto-unread
(and gnus-summary-goto-unread
(not (eq gnus-summary-goto-unread 'never))
(not (memq gnus-expirable-mark (list gnus-unread-mark
gnus-ticked-mark gnus-dormant-mark)))))
(n (abs n))
(gnus-expirable-mark (or gnus-expirable-mark gnus-del-mark))))
(gnus-summary-mark-article nil gnus-expirable-mark)
(forward-line 1))
--
"Ninjas aren't dangerous. They're more afraid of you than you are of them."
next prev parent reply other threads:[~1999-12-08 18:07 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-12-07 18:04 Kai Großjohann
1999-12-07 18:18 ` Hrvoje Niksic
1999-12-07 18:38 ` Kai Großjohann
1999-12-08 18:07 ` wjhardaker [this message]
2000-04-21 19:40 ` Lars Magne Ingebrigtsen
2000-04-21 21:41 ` Kai Großjohann
2000-04-22 12:10 ` Lars Magne Ingebrigtsen
2000-04-22 15:22 ` Kai Großjohann
2000-04-22 18:22 ` Lars Magne Ingebrigtsen
1999-12-08 18:21 ` François Pinard
1999-12-07 18:19 ` Jody M. Klymak
1999-12-07 18:37 ` Kai Großjohann
1999-12-07 18:47 ` Jody M. Klymak
1999-12-07 18:56 ` Kai Großjohann
1999-12-07 19:15 ` Jody M. Klymak
1999-12-07 21:25 ` Kai Großjohann
1999-12-07 20:54 ` Paul Stevenson
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=sdg0xd71cs.fsf@wanderer.dcn.davis.ca.us \
--to=wjhardaker@ucdavis.edu \
--cc=ding@gnus.org \
--cc=hniksic@iskon.hr \
/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).