Gnus development mailing list
 help / color / mirror / Atom feed
* goto-group
@ 2011-04-18 12:42 Peter Münster
  2011-05-01 16:02 ` goto-group Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Münster @ 2011-04-18 12:42 UTC (permalink / raw)
  To: ding

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




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-05-02  8:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-18 12:42 goto-group Peter Münster
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

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).