Gnus development mailing list
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: pmlists@free.fr (Peter Münster)
Cc: ding@gnus.org
Subject: Re: goto-group
Date: Mon, 02 May 2011 10:49:27 +0200	[thread overview]
Message-ID: <m2liypebc8.fsf@igel.home> (raw)
In-Reply-To: <87r58hv9d3.fsf@micropit.couberia.bzh> ("Peter =?utf-8?Q?M?= =?utf-8?Q?=C3=BCnster=22's?= message of "Mon, 02 May 2011 09:40:08 +0200")

pmlists@free.fr (Peter Münster) writes:

> (defun my-goto-group ()
>   (interactive)
>   (setq to-group
>         (gnus-group-completing-read nil nil nil (gnus-group-name-at-point)
>                                     nil gnus-newsgroup-name))

You should make to-group a parameter and read it in the interactive
spec.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



      reply	other threads:[~2011-05-02  8:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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     ` Andreas Schwab [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=m2liypebc8.fsf@igel.home \
    --to=schwab@linux-m68k.org \
    --cc=ding@gnus.org \
    --cc=pmlists@free.fr \
    /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).