unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#11359: 24.1.50; Difficulty using report-emacs-bug with mew
@ 2012-04-27  7:55 Harald Hanche-Olsen
  2012-04-27 16:01 ` Glenn Morris
  0 siblings, 1 reply; 6+ messages in thread
From: Harald Hanche-Olsen @ 2012-04-27  7:55 UTC (permalink / raw)
  To: 11359

(Yes, I know mew is not part of emacs. Please bear with me.)

I am a mew user (mew is a mail package for emacs). When I wish to
report a bug using report-emacs-bug, I get a mew draft buffer to write
my bug report in, containing all the expected explanatory text. But
when I press C-c C-c (mew-draft-send-message), I first get a yes-or-no
question about whether I wish to send the message (ok), then a message
saying emacs is not set up to send mail, with three options about what
to do about it. This is wrong: Emacs is definitely set up to send
mail, just not using the standard package.

My workaround was to save the draft, kill the buffer, then reopen the
draft. Now the hooks installed by report-emacs-bug aren't there, and I
can send the message without any interference.

FYI, here are the relevant lines from .emacs:

(when (locate-library "mew")
  (autoload 'mew "mew" nil t)
  (autoload 'mew-send "mew" nil t)
  (autoload 'mew-user-agent-compose "mew" nil t)
  (define-mail-user-agent 'mew-user-agent 'mew-user-agent-compose
    'mew-draft-send-message 'mew-draft-kill 'mew-send-hook)
  (setq mail-user-agent 'mew-user-agent))

I think this should be sufficient for report-emacs-bug to understand
that emacs has indeed been configured to send mail.

In GNU Emacs 24.1.50.2 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1)
 of 2012-04-10 on fia.math.ntnu.no
Bzr revision: 107840 larsi@gnus.org-20120410112744-slbrfdrrjb0x1mfy
Windowing system distributor `The X.Org Foundation', version 11.0.10706000
Configured using:
 `configure 'prefix=/local/pkg/emacs/2012-04-10' '--with-gif=no''

- Harald





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-04-27 18:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-27  7:55 bug#11359: 24.1.50; Difficulty using report-emacs-bug with mew Harald Hanche-Olsen
2012-04-27 16:01 ` Glenn Morris
2012-04-27 18:01   ` Harald Hanche-Olsen
2012-04-27 18:18     ` Glenn Morris
2012-04-27 18:32       ` Glenn Morris
2012-04-27 18:42       ` Harald Hanche-Olsen

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).