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

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

bug#11359: 24.1.50; Difficulty using report-emacs-bug with mew


From: Harald Hanche-Olsen
Subject: bug#11359: 24.1.50; Difficulty using report-emacs-bug with mew
Date: Fri, 27 Apr 2012 09:55:54 +0200 (CEST)

(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 address@hidden
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





reply via email to

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