all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: [Emacs-diffs] /srv/bzr/emacs/trunk r102607: * mail/emacsbug.el (report-emacs-bug): Try to handle some other mail clients.
       [not found] <E1PQBTe-0000VE-Et@internal.in.savannah.gnu.org>
@ 2010-12-09 14:47 ` Stefan Monnier
  0 siblings, 0 replies; only message in thread
From: Stefan Monnier @ 2010-12-09 14:47 UTC (permalink / raw)
  To: Glenn Morris; +Cc: emacs-devel

> === modified file 'lisp/mail/emacsbug.el'
> --- a/lisp/mail/emacsbug.el	2010-12-03 03:03:06 +0000
> +++ b/lisp/mail/emacsbug.el	2010-12-08 03:47:27 +0000
> @@ -288,7 +288,13 @@
>                   report-emacs-bug-send-hook 'mail-send-hook))
>            ((eq mail-user-agent 'mh-e-user-agent)
>             (setq report-emacs-bug-send-command "mh-send-letter"
> -                 report-emacs-bug-send-hook 'mh-before-send-letter-hook)))
> +                 report-emacs-bug-send-hook 'mh-before-send-letter-hook))
> +	  ((eq mail-user-agent 'vm-user-agent)
> +	   (setq report-emacs-bug-send-command "vm-mail-send-and-exit"
> +		 report-emacs-bug-send-hook 'vm-mail-send-hook))
> +	  ((eq mail-user-agent 'wl-user-agent)
> +	   (setq report-emacs-bug-send-command "wl-draft-send-and-exit"
> +		 report-emacs-bug-send-hook 'wl-draft-send-hook)))
>      (unless report-emacs-bug-no-explanations
>        (with-output-to-temp-buffer "*Bug Help*"
>  	(princ "While in the mail buffer:\n\n")

BTW, could someone fix this right by using the info already provided via
define-mail-user-agent?
Something like

  (setq report-emacs-bug-send-command
        (symbol-name (get mail-user-agent 'sendfunc)))
  (setq report-emacs-bug-send-hook (get mail-user-agent 'hookvar))


-- Stefan



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-12-09 14:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1PQBTe-0000VE-Et@internal.in.savannah.gnu.org>
2010-12-09 14:47 ` [Emacs-diffs] /srv/bzr/emacs/trunk r102607: * mail/emacsbug.el (report-emacs-bug): Try to handle some other mail clients Stefan Monnier

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.