bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#11961: Why can't one open more than one gnus-read-ephemeral-bug at o


From: Juri Linkov
Subject: bug#11961: Why can't one open more than one gnus-read-ephemeral-bug at once?
Date: Thu, 06 Sep 2012 19:35:33 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (x86_64-pc-linux-gnu)

>> I see that you installed an old version of the patch.  I sent a newer
>> version at the end of the message 11 in http://debbugs.gnu.org/11961#11
>> I'm copying it here for your convenience:
>
> Could you send a new patch against the current trunk?

Below is a patch for the current trunk.

It changes the naming scheme for buffer names to be more consistent with
other group and article buffer names in Gnus.

Instead of currently ugly buffer names like:

  *Article 
nndoc+/tmp/gmane.emacs.devel.start-142449.range-36.2905c8Z-ephemeral:gmane.emacs.devel.start-142449.range-36*

this patch will create buffer names for Gmane groups and articles like:

  *Summary nndoc+ephemeral:gmane.emacs.devel.start-142449.range-36*
  *Article nndoc+ephemeral:gmane.emacs.devel.start-142449.range-36*

and bug groups and articles will be like:

  *Summary nndoc+ephemeral:bug#9201*
  *Article nndoc+ephemeral:bug#9201*

=== modified file 'lisp/gnus/gnus-group.el'
--- lisp/gnus/gnus-group.el     2012-09-05 22:45:43 +0000
+++ lisp/gnus/gnus-group.el     2012-09-06 16:32:17 +0000
@@ -2388,7 +2388,7 @@ (defun gnus-read-ephemeral-gmane-group (
               group start (+ start range)))
       (write-region (point-min) (point-max) tmpfile)
       (gnus-group-read-ephemeral-group
-       (format "%s.start-%s.range-%s" group start range)
+       (format "nndoc+ephemeral:%s.start-%s.range-%s" group start range)
        `(nndoc ,tmpfile
               (nndoc-article-type mbox))))
     (delete-file tmpfile)))
@@ -2481,7 +2481,7 @@ (defun gnus-read-ephemeral-bug-group (id
                         "/.*$" ""))))
       (write-region (point-min) (point-max) tmpfile)
       (gnus-group-read-ephemeral-group
-       (format "gnus-read-ephemeral-bug:%s"
+       (format "nndoc+ephemeral:bug#%s"
               (mapconcat 'number-to-string ids ","))
        `(nndoc ,tmpfile
               (nndoc-article-type mbox))







reply via email to

[Prev in Thread] Current Thread [Next in Thread]