GNU bug report logs -
#11514
24.0.97; gnus-user-agent no longer sets up Gcc
Previous Next
Reported by: Romain Francoise <romain <at> orebokech.com>
Date: Fri, 18 May 2012 21:25:01 UTC
Severity: normal
Found in version 24.0.97
Done: Katsumi Yamaoka <yamaoka <at> jpl.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 11514 in the body.
You can then email your comments to 11514 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11514
; Package
emacs
.
(Fri, 18 May 2012 21:25:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Romain Francoise <romain <at> orebokech.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Fri, 18 May 2012 21:25:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
If you put the following in /tmp/foo.el:
(setq mail-user-agent 'gnus-user-agent
gnus-message-archive-group "nnimap+foo:Sent")
then start Emacs with `emacs -Q -l /tmp/foo.el' then do `C-x m', the
resulting Message buffer doesn't have a Gcc header. In Emacs 23 and
24.0.92, the Gcc header was (correctly, I think) added to the buffer.
Note: whether or not Gnus is started beforehand doesn't make a difference.
Information forwarded
to
bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org
:
bug#11514
; Package
emacs,gnus
.
(Mon, 21 May 2012 11:48:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 11514 <at> debbugs.gnu.org (full text, mbox):
On 2012-05-18 23:23 +0200, Romain Francoise wrote:
> If you put the following in /tmp/foo.el:
>
> (setq mail-user-agent 'gnus-user-agent
> gnus-message-archive-group "nnimap+foo:Sent")
>
> then start Emacs with `emacs -Q -l /tmp/foo.el' then do `C-x m', the
> resulting Message buffer doesn't have a Gcc header. In Emacs 23 and
> 24.0.92, the Gcc header was (correctly, I think) added to the buffer.
>
> Note: whether or not Gnus is started beforehand doesn't make a difference.
This seems to have been introduced by the following change in the
emacs-24 branch:
,----
| revno: 107813
| author: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
| committer: Katsumi Yamaoka <yamaoka <at> jpl.org>
| branch nick: emacs-24
| timestamp: Wed 2012-04-11 22:31:16 +0000
| message:
| gnus-art.el (article-wash-html): Fix non-ASCII characters when washing HTML (bug#7410).
| gnus-msg.el (gnus-inews-insert-gcc): Protect against when we don't have a group name.
| gnus-start.el (gnus-read-newsrc-el-file): Protect against broken .newsrc.el files.
`----
The diff for gnus-msg.el is this:
--8<---------------cut here---------------start------------->8---
=== modified file 'lisp/gnus/gnus-msg.el'
--- lisp/gnus/gnus-msg.el 2012-03-14 22:15:04 +0000
+++ lisp/gnus/gnus-msg.el 2012-04-11 22:31:16 +0000
@@ -1670,11 +1670,13 @@ this is a reply."
(not
(setq result
(cond
- ((stringp (caar var))
+ ((and group
+ (stringp (caar var)))
;; Regexp.
(when (string-match (caar var) group)
(cdar var)))
- ((functionp (car var))
+ ((and group
+ (functionp (car var)))
;; Function.
(funcall (car var) group))
(t
--8<---------------cut here---------------end--------------->8---
It corresponds to commit bf5aff3ff7c87 in the no-gnus branch in Gnus
git.
Cheers,
Sven
Reply sent
to
Katsumi Yamaoka <yamaoka <at> jpl.org>
:
You have taken responsibility.
(Mon, 21 May 2012 23:31:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Romain Francoise <romain <at> orebokech.com>
:
bug acknowledged by developer.
(Mon, 21 May 2012 23:31:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 11514-done <at> debbugs.gnu.org (full text, mbox):
Sven Joachim wrote:
> On 2012-05-18 23:23 +0200, Romain Francoise wrote:
>> If you put the following in /tmp/foo.el:
>>
>> (setq mail-user-agent 'gnus-user-agent
>> gnus-message-archive-group "nnimap+foo:Sent")
>>
>> then start Emacs with `emacs -Q -l /tmp/foo.el' then do `C-x m', the
>> resulting Message buffer doesn't have a Gcc header. In Emacs 23 and
>> 24.0.92, the Gcc header was (correctly, I think) added to the buffer.
>>
>> Note: whether or not Gnus is started beforehand doesn't make a difference.
This is the issue of only a case where Gnus is running, since
Gcc is Gnus' feature and the `gnus-user-agent' agent behaves
like the `message-user-agent' agent now if Gnus is not alive:
2012-02-09 Lars Ingebrigtsen <larsi <at> gnus.org>
* gnus-msg.el (gnus-msg-mail): Use `message-mail' if Gnus isn't
running.
(So, why one uses `C-x m' rather than `m'? Ok, he mey be in a
non-Gnus window.)
> This seems to have been introduced by the following change in the
> emacs-24 branch:
> ,----
>| revno: 107813
>| author: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
>| committer: Katsumi Yamaoka <yamaoka <at> jpl.org>
>| branch nick: emacs-24
>| timestamp: Wed 2012-04-11 22:31:16 +0000
>| message:
>| gnus-art.el (article-wash-html): Fix non-ASCII characters when
>| washing HTML (bug#7410).
>| gnus-msg.el (gnus-inews-insert-gcc): Protect against when we don't
>| have a group name.
>| gnus-start.el (gnus-read-newsrc-el-file): Protect against broken
>| .newsrc.el files.
> `----
> The diff for gnus-msg.el is this:
> === modified file 'lisp/gnus/gnus-msg.el'
> --- lisp/gnus/gnus-msg.el 2012-03-14 22:15:04 +0000
> +++ lisp/gnus/gnus-msg.el 2012-04-11 22:31:16 +0000
> @@ -1670,11 +1670,13 @@ this is a reply."
> (not
> (setq result
> (cond
> - ((stringp (caar var))
> + ((and group
> + (stringp (caar var)))
> ;; Regexp.
> (when (string-match (caar var) group)
> (cdar var)))
> - ((functionp (car var))
> + ((and group
> + (functionp (car var)))
> ;; Function.
> (funcall (car var) group))
> (t
> It corresponds to commit bf5aff3ff7c87 in the no-gnus branch in Gnus
> git.
Reverting this change does not help. I believe the right fix is
to modify `gnus-msg-mail' so as to bind `gnus-newsgroup-name' to
a string like `gnus-group-mail' does. Fixed in the emacs-24 branch.
Information forwarded
to
bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org
:
bug#11514
; Package
emacs,gnus
.
(Tue, 22 May 2012 07:40:01 GMT)
Full text and
rfc822 format available.
Message #16 received at 11514 <at> debbugs.gnu.org (full text, mbox):
Katsumi Yamaoka <yamaoka <at> jpl.org> writes:
> This is the issue of only a case where Gnus is running, since
> Gcc is Gnus' feature and the `gnus-user-agent' agent behaves
> like the `message-user-agent' agent now if Gnus is not alive:
> [...]
Which is rather suboptimal... if the user explicitly configured
`gnus-user-agent' then we should start enough Gnus bits to make Gcc
(and other Gnus features) work. If that's not possible then it should
complain loudly about the downgrade, or refuse to work at all. Losing
outgoing mail isn't nice.
> Reverting this change does not help. I believe the right fix is
> to modify `gnus-msg-mail' so as to bind `gnus-newsgroup-name' to
> a string like `gnus-group-mail' does. Fixed in the emacs-24 branch.
Works for me, thanks!
Information forwarded
to
bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org
:
bug#11514
; Package
emacs,gnus
.
(Thu, 07 Jun 2012 23:17:02 GMT)
Full text and
rfc822 format available.
Message #19 received at 11514 <at> debbugs.gnu.org (full text, mbox):
Romain Francoise <romain <at> orebokech.com> writes:
> Which is rather suboptimal... if the user explicitly configured
> `gnus-user-agent' then we should start enough Gnus bits to make Gcc
> (and other Gnus features) work. If that's not possible then it should
> complain loudly about the downgrade, or refuse to work at all. Losing
> outgoing mail isn't nice.
No, it's not, but we really kinda have to start all of Gnus to make Gcc
handling work completely. So if you have `gnus-user-agent', and just
start Emacs to send off a single email, then you'd be sitting there
waiting for Gnus to start.
I've added a warning message to Ma Gnus now, though.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 06 Jul 2012 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 13 years and 68 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.