- Package:
- devscripts
- Source:
- devscripts
- Description:
- scripts to make the life of a Debian Package maintainer easier
- Submitter:
- jaalto
- Date:
- 2010-01-11 15:39:05 UTC
- Severity:
- wishlist
In addition to option --mutt, please add support for Emacs by adding option
--emacs.
It's very easy to start mail with a email message template (the -Q is
there only for fast startup):
emacs -Q -nw --eval '(progn (find-file "/tmp/template.mail") (message-mode))'
The message template, here /tmp/template.mail, can contail pre-filled
(To: Subject:) and have a MIME attachement filename pointing to
external source via "filename="
To:
Subject:
--text follows this line--
<#part type="text/x-diff" filename="/tmp/file.patch" disposition=inline>
<#/part>
--- /etc/devscripts.conf ---
--- ~/.devscripts ---
Not present
Is this not solved by using --no-mutt (or setting NMUDIFF_MUTT=no in ~/.devscripts) so that sensible-editor runs? That would likely be emacs in your environment. Once you make any potential modifications and exit emacs, nmudiff will send the email.
James Vega <jamessan@debian.org> writes:
This is different.
In the example sent in previous mail, the Emacs "message-mode" provides
a complete environment to format and send the mail. In this mode it is
possile to:
- Attach more log files
- Attach more build logs
...
for the maintainer
If Emacs is only used as a plain editor, the benefits of complete Email
interface is lost.
If I understood correctly, the --mutt option offer complete mail
interface; here the suggested option --emacs would do the same; to let
the user handle sending the email from that interface.
Jari
I guess you can instruct emacs to load message-mode if the file path matches a certain pattern? If so nmudiff could be changed to output a tempfile with a known prefix filippo
Filippo Giunchedi <filippo@debian.org> writes:
You could (e,g, "*.mail"), but it would need a specific setting to
everybody's ~/.emacs . Would it be hard to arrange call like the one
presented in the bug report:
With separate --emacs option, it would be a sign ro signify that the
user is taking reponsible for sending the mail from inside Emacs.
Some users may prefer to use Emacs for "sensible-editor" and have the
nmudiff(1) send the mail.
That would serve both.
Jari
If we go that way, I'd prefer to have a general --mua option that accepts mutt, emacs, and can later be extended to support other MUAs.
James Vega <jamessan@debian.org> writes: That would be even better. Jari