GNU bug report logs -
#12238
[PATCH] gnus-request-head generates bogus group names
Previous Next
Reported by: Dave Abrahams <dave <at> boostpro.com>
Date: Mon, 20 Aug 2012 02:28:03 UTC
Severity: normal
Tags: fixed, patch
Found in version 5.130006
Fixed in version 24.3
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 12238 in the body.
You can then email your comments to 12238 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bugs <at> gnus.org
:
bug#12238
; Package
gnus
.
(Mon, 20 Aug 2012 02:28:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Dave Abrahams <dave <at> boostpro.com>
:
New bug report received and forwarded. Copy sent to
bugs <at> gnus.org
.
(Mon, 20 Aug 2012 02:28:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
When called (indirectly) from `gnus-summary-refer-article',
`gnus-request-head' forwards the current group name, rather than the
group where the message will eventually be found, to the backend
`request-head' function. This can result in bogus group information in
the registry. For example, I did a gnus-summary-refer-article from
the group
"nndoc+87lii2ql3x.fsf <at> lifelogs.com-ephemeral:87lii2ql3x.fsf <at> lifelogs.com"
and the registry ended up containing
"nntp+Gmane:87lii2ql3x.fsf <at> lifelogs.com" as the group name when it
should have been "nntp+Gmane:gmane.emacs.devel".
The enclosed patch addresses this problem.
[0001-gnus-request-head-when-gnus-override-method-is-set-a.patch (text/x-patch, inline)]
From 5d67e61ef4310565329047a3accad3fa3192ef7a Mon Sep 17 00:00:00 2001
From: Dave Abrahams <dave <at> boostpro.com>
Date: Sun, 19 Aug 2012 22:17:33 -0400
Subject: [PATCH] gnus-request-head: when gnus-override-method is set, allow
the backend `request-head' function to determine the group
name on its own.
Without this fix you can end up with some bogus group name that has
nothing to do with the select method actually used.
---
lisp/gnus-int.el | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/lisp/gnus-int.el b/lisp/gnus-int.el
index 3aee7c6..bc3ba18 100644
--- a/lisp/gnus-int.el
+++ b/lisp/gnus-int.el
@@ -599,7 +599,8 @@ real group. Does nothing on a real group."
clean-up t))
;; Use `head' function.
((fboundp head)
- (setq res (funcall head article (gnus-group-real-name group)
+ (setq res (funcall head article
+ (and (not gnus-override-method) (gnus-group-real-name group))
(nth 1 gnus-command-method))))
;; Use `article' function.
(t
--
1.7.7.5 (Apple Git-26)
[Message part 3 (text/plain, inline)]
Ma Gnus v0.6
GNU Emacs 24.1.1 (x86_64-apple-darwin11.4.0, Carbon Version 1.6.0 AppKit 1138.47)
of 2012-06-27 on pluto.luannocracy.com
200 news.gmane.org InterNetNews NNRP server INN 2.5.1 ready (posting ok)
101 Capability list:
VERSION 2
IMPLEMENTATION INN 2.5.1
AUTHINFO USER
HDR
LIST ACTIVE ACTIVE.TIMES DISTRIB.PATS HEADERS NEWSGROUPS OVERVIEW.FMT
OVER
POST
READER
STARTTLS
.
382 Begin TLS negotiation now
101 Capability list:
VERSION 2
IMPLEMENTATION INN 2.5.1
AUTHINFO USER
HDR
LIST ACTIVE ACTIVE.TIMES DISTRIB.PATS HEADERS NEWSGROUPS OVERVIEW.FMT
OVER
POST
READER
.
--
Dave Abrahams
BoostPro Computing Software Development Training
http://www.boostpro.com Clang/LLVM/EDG Compilers C++ Boost
Information forwarded
to
bugs <at> gnus.org
:
bug#12238
; Package
gnus
.
(Wed, 05 Sep 2012 17:29:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 12238 <at> debbugs.gnu.org (full text, mbox):
Dave Abrahams <dave <at> boostpro.com> writes:
> Subject: [PATCH] gnus-request-head: when gnus-override-method is set, allow
> the backend `request-head' function to determine the group
> name on its own.
This one is also applied?
--
(domestic pets only, the antidote for overdose, milk.)
http://lars.ingebrigtsen.no * Lars Magne Ingebrigtsen
Added tag(s) fixed.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Wed, 05 Sep 2012 17:29:03 GMT)
Full text and
rfc822 format available.
bug marked as fixed in version 24.3, send any further explanations to
12238 <at> debbugs.gnu.org and Dave Abrahams <dave <at> boostpro.com>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Wed, 05 Sep 2012 17:29:03 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bugs <at> gnus.org
:
bug#12238
; Package
gnus
.
(Wed, 05 Sep 2012 19:44:02 GMT)
Full text and
rfc822 format available.
Message #15 received at 12238 <at> debbugs.gnu.org (full text, mbox):
on Wed Sep 05 2012, Lars Ingebrigtsen <larsi-AT-gnus.org> wrote:
> This one is also applied?
Yes.
--
Dave Abrahams
BoostPro Computing Software Development Training
http://www.boostpro.com Clang/LLVM/EDG Compilers C++ Boost
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 04 Oct 2012 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 12 years and 262 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.