From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/14368 Path: main.gmane.org!not-for-mail From: jdc@chow.mat.jhu.edu (Dan Christensen) Newsgroups: gmane.emacs.gnus.general Subject: Re: jump and select Date: Sun, 01 Mar 1998 12:01:28 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035153570 14506 80.91.224.250 (20 Oct 2002 22:39:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:39:30 +0000 (UTC) Return-Path: Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by altair.xemacs.org (8.8.8/8.8.8) with ESMTP id JAA09369 for ; Sun, 1 Mar 1998 09:07:15 -0800 Original-Received: from sina.hpc.uh.edu (root@Sina.HPC.UH.EDU [129.7.3.5]) by xemacs.org (8.8.5/8.8.5) with ESMTP id LAA11742 for ; Sun, 1 Mar 1998 11:02:56 -0600 (CST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id LAH00373; Sun, 1 Mar 1998 11:02:59 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 01 Mar 1998 11:02:00 -0600 (CST) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by sina.hpc.uh.edu (8.7.3/8.7.3) with SMTP id LAA00358 for ; Sun, 1 Mar 1998 11:01:53 -0600 (CST) Original-Received: (qmail 48 invoked by uid 504); 1 Mar 1998 17:01:44 -0000 Original-Received: (qmail 45 invoked from network); 1 Mar 1998 17:01:43 -0000 Original-Received: from jhuml1.hcf.jhu.edu (128.220.2.86) by claymore.vcinet.com with SMTP; 1 Mar 1998 17:01:43 -0000 Original-Received: from chow.mat.jhu.edu by jhmail.hcf.jhu.edu (PMDF V5.1-10 #18666) with ESMTP id <01IU5GHQL3J8ASC7UW@jhmail.hcf.jhu.edu> for ding@gnus.org; Sun, 1 Mar 1998 11:59:49 EDT Original-Received: (from jdc@localhost) by chow.mat.jhu.edu (8.7.6/8.7.3) id MAA02692; Sun, 01 Mar 1998 12:01:29 -0500 (EST) In-reply-to: Lars Magne Ingebrigtsen's message of "01 Mar 1998 13:57:25 +0100" Original-To: ding@gnus.org X-Mailer: Quassia Gnus v0.34/Emacs 19.34 Original-Lines: 42 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:14368 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:14368 Lars Magne Ingebrigtsen writes: > jdc@chow.mat.jhu.edu (Dan Christensen) writes: > > > The following patch adds an optional argument to > > gnus-group-jump-to-group which asks it to select the group it is > > jumping to. So if the user types `C-u j', he or she will be > > prompted for a group-name which will then be selected. > > I don't really think this is something that will be used much. `j > GROUP RET RET' is faster than `C-u j GROUP RET'. Actually, I bind this functionality to the `J' key. And what turns out to be quite handy is to have this available in the Summary buffer as well. (To make binding easier, the implementation I gave should be changed so that there is a function gnus-group-select-a-group, instead of mixing it into gnus-group-jump-to-group. See below.) Since Gnus is designed for reading groups, I thought that a keystroke devoted to selecting a group whose name is supplied by the user would be useful. But if you don't like it, I'll just put it in my .gnus. Dan (defun gnus-group-select-a-group (group &optional all) "Select newsgroup GROUP. Interactively, query for group name with completion. No article is selected automatically. If ALL is non-nil, already read articles become readable. If ALL is a number, fetch this number of articles." (interactive (list (completing-read "Group: " gnus-active-hashtb nil (gnus-read-active-file-p) nil 'gnus-group-history) current-prefix-arg)) (when (equal group "") (error "Empty group name")) (gnus-group-read-group all t group))