all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 11961@debbugs.gnu.org
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	[thread overview]
Message-ID: <87mx133y96.fsf@mail.jurta.org> (raw)
In-Reply-To: <87a9x3i6n5.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 06 Sep 2012 16:10:38 +0200")

>> 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	other threads:[~2012-09-06 16:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-17 19:10 bug#11961: Why can't one open more than one gnus-read-ephemeral-bug at once? Juri Linkov
2012-07-29 11:47 ` Reiner Steib
2012-07-29 18:17   ` Juri Linkov
2012-09-05 19:36     ` Lars Ingebrigtsen
2012-09-05 19:36 ` Lars Ingebrigtsen
2012-09-06  9:03   ` Juri Linkov
2012-09-06 14:10     ` Lars Ingebrigtsen
2012-09-06 16:35       ` Juri Linkov [this message]
2012-09-06 16:47         ` Lars Ingebrigtsen

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=87mx133y96.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=11961@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.