From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/60437 Path: news.gmane.org!not-for-mail From: TSUCHIYA Masatoshi Newsgroups: gmane.emacs.gnus.general Subject: Trouble in creating a group that has been seen ephemerally Date: Thu, 09 Jun 2005 12:09:52 +0000 Message-ID: <878y1ju3xr.fsf@tsuchiya.vaj.namazu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: sea.gmane.org 1118319659 21060 80.91.229.2 (9 Jun 2005 12:20:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 9 Jun 2005 12:20:59 +0000 (UTC) Original-X-From: ding-owner+M8964=ding+2Daccount=gmane.org@lists.math.uh.edu Thu Jun 09 14:20:53 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DgLnD-0003Gh-VG for ding-account@gmane.org; Thu, 09 Jun 2005 14:05:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1DgLrG-00065n-01 for ding-account@gmane.org; Thu, 09 Jun 2005 07:10:02 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1DgLrB-00065d-00 for ding@lists.math.uh.edu; Thu, 09 Jun 2005 07:09:57 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1DgLrA-00074v-C5 for ding@lists.math.uh.edu; Thu, 09 Jun 2005 07:09:56 -0500 Original-Received: from vaj.namazu.org ([61.215.208.42]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1DgLr8-0001NQ-00 for ; Thu, 09 Jun 2005 14:09:55 +0200 Original-Received: from vaj.namazu.org (vaj.namazu.org [61.215.208.42]) by vaj.namazu.org (Postfix) with ESMTP id 824651FF18 for ; Thu, 9 Jun 2005 21:09:53 +0900 (JST) Original-To: ding@gnus.org Mail-Followup-To: ding@gnus.org User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.3 (gnu/linux) X-Spam-Score: -4.9 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:60437 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:60437 --=-=-= Hi, I encountered an error which occurs creating a group that had already been seen ephemerally. Here is a procedure to reproduce the trouble that I saw. (1) Call `gnus-group-enter-server-mode' and enter *Server* buffer. (2) Select a server, and open an unseen group ephemerally. (3) Jump to *Group* buffer. (4) Call `gnus-group-make-group' and specifies the group, the backend, and the server which you saw in the 2nd step. You will recieve the following error message. Group backend+server:group already exists In order to avoid this problem, I propose the attached patch. But, I have noticed that this issue had already been discussed 5 years ago and 2 years ago. 2000-07-13 Simon Josefsson * gnus-srvr.el (gnus-browse-read-group): Don't pass fully qualified group names to `gnus-group-read-ephemeral-group'. 2003-04-13 Lars Magne Ingebrigtsen * gnus-srvr.el (gnus-browse-read-group): Don't give the real name to the ephemeral entry, but the prefixed name. Therefore, I worry that my proposal has ill effects. Which change is right? -- TSUCHIYA Masatoshi --=-=-= Content-Type: text/x-patch Content-Disposition: inline --- gnus-srvr.el 30 May 2005 06:45:52 -0000 7.15 +++ gnus-srvr.el 9 Jun 2005 11:46:57 -0000 @@ -872,7 +872,8 @@ (if (or (not (gnus-get-info group)) (gnus-ephemeral-group-p group)) (unless (gnus-group-read-ephemeral-group - group gnus-browse-current-method nil + (gnus-group-short-name group) + gnus-browse-current-method nil (cons (current-buffer) 'browse) nil nil nil number) (error "Couldn't enter %s" group)) --=-=-=--