From: Emanuel Berg <moasen@zoho.com>
To: info-gnus-english@gnu.org
Subject: Re: on selecting a region of articles to be marked for download
Date: Sun, 29 Jul 2018 22:23:20 +0200 [thread overview]
Message-ID: <86d0v5x03r.fsf@zoho.com> (raw)
In-Reply-To: <86y3dun69w.fsf@dev.null>
Robert Girault wrote:
> I'm experimenting Gnus in offline mode. In the
> summary of a group, I selected a region and
> expected that gnus-agent-toogle-mark or
> gnus-agent-mark-article would mark the all
> articles in the region, but they did not.
> So I have to mark one by one.
>
> How can I speed all that marking?
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) ))
--
underground experts united
http://user.it.uu.se/~embe8573
next prev parent reply other threads:[~2018-07-29 20:23 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 [this message]
2018-07-31 21:42 ` Lars-Johan Liman
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=86d0v5x03r.fsf@zoho.com \
--to=moasen@zoho.com \
--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).