From: pmlists@free.fr (Peter Münster)
To: ding@gnus.org
Subject: goto-group
Date: Mon, 18 Apr 2011 14:42:25 +0200 [thread overview]
Message-ID: <878vv7wx1q.fsf@micropit.couberia.bzh> (raw)
Hello,
Here is a little function, that allows one to switch to another group
from any gnus buffer (group, summary or article):
--8<---------------cut here---------------start------------->8---
(defvar gnus-current-goto-group nil)
(defun gnus-goto-group ()
(interactive)
(setq to-group (gnus-read-move-group-name
"Go to group"
(symbol-value (intern "gnus-current-goto-group")) nil
""))
(set (intern "gnus-current-goto-group") to-group)
(gnus-group-read-group nil t to-group))
--8<---------------cut here---------------end--------------->8---
It's not very clean but it satisfies one of my needs (see also
http://article.gmane.org/gmane.emacs.gnus.user/14486 )
Perhaps you could add a better version to gnus please?
--
Peter
next reply other threads:[~2011-04-18 12:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-18 12:42 Peter Münster [this message]
2011-05-01 16:02 ` goto-group Lars Magne Ingebrigtsen
2011-05-02 7:40 ` goto-group Peter Münster
2011-05-02 8:49 ` goto-group Andreas Schwab
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=878vv7wx1q.fsf@micropit.couberia.bzh \
--to=pmlists@free.fr \
--cc=ding@gnus.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).