all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Harald Hanche-Olsen <hanche@math.ntnu.no>
To: 11359@debbugs.gnu.org
Subject: bug#11359: 24.1.50; Difficulty using report-emacs-bug with mew
Date: Fri, 27 Apr 2012 09:55:54 +0200 (CEST)	[thread overview]
Message-ID: <20120427.095554.1099121047372240381.hanche@math.ntnu.no> (raw)

(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





             reply	other threads:[~2012-04-27  7:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-27  7:55 Harald Hanche-Olsen [this message]
2012-04-27 16:01 ` bug#11359: 24.1.50; Difficulty using report-emacs-bug with mew 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

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=20120427.095554.1099121047372240381.hanche@math.ntnu.no \
    --to=hanche@math.ntnu.no \
    --cc=11359@debbugs.gnu.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.