From: Lars-Johan Liman <info-gnus-english@cafax.se>
To: info-gnus-english@gnu.org
Subject: Re: on selecting a region of articles to be marked for download
Date: Tue, 31 Jul 2018 23:42:14 +0200 [thread overview]
Message-ID: <22bmanqdzd.fsf@netnod.se> (raw)
In-Reply-To: <86d0v5x03r.fsf@zoho.com> (Emanuel Berg's message of "Sun, 29 Jul 2018 22:23:20 +0200")
moasen@zoho.com:
> If you for some reason don't want to use the
> prefix argument method, I have some Elisp to do
> just what you want:
> (defun gnus-summary-mark (char start stop)
> (interactive
> (let ((c (read-char "mark: ")))
> (if (use-region-p)
> (list c (region-beginning) (region-end))
> (let*((strt (point))
> (stp (1+ strt)) )
> (list c strt stp) ))))
> (goto-char start)
> (beginning-of-line)
> (while (< (point) stop)
> (gnus-summary-mark-article (gnus-summary-article-number) char)
> (gnus-summary-find-next) ))
Oh! Cool stuff! Thanks for sharing!
Cheers,
/Liman
#-------------------------------------------------------------------------
# Lars-Johan Liman, M.Sc. ! HTTP : //www.cafax.se/
# Cafax AB !
# Computer Consultants, Sweden !
#-------------------------------------------------------------------------
prev parent reply other threads:[~2018-07-31 21:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-29 2:06 Robert Girault
2018-07-29 16:53 ` Eric Abrahamsen
2018-07-29 20:23 ` Emanuel Berg
2018-07-31 21:42 ` Lars-Johan Liman [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=22bmanqdzd.fsf@netnod.se \
--to=info-gnus-english@cafax.se \
--cc=info-gnus-english@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.
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).