From: Uwe Brauer <oub@mat.ucm.es>
To: ding@gnus.org
Subject: Re: gnus-dired-attach, optionally type?
Date: Sat, 15 Jun 2013 00:10:38 +0200 [thread overview]
Message-ID: <87ehc49wdd.fsf@mat.ucm.es> (raw)
In-Reply-To: <87ip1gpx1q.fsf@ucl.ac.uk>
[-- Attachment #1: Type: text/plain, Size: 1008 bytes --]
>> "Eric" == Eric S Fraga <Eric> writes:
> Uwe Brauer <oub@mat.ucm.es> writes:
>> Hi
>>
>> mml-dired-attach is rather rigid, since it does not allow to chose the
>> attchment type. I propose to add this functionality, at least
>> optionally.
> I must admit that I have never found a need for this
> functionality. Either I add the type (if new) to mime.types or I simply
> edit the message buffer as the attachment information is just text...
When I change in gnus-dired-attach
(mml-attach-file (car files-to-attach)
(or (mm-default-file-encoding (car files-to-attach))
"application/octet-stream") nil)
To
(mml-attach-file (car files-to-attach)
(mml-minibuffer-read-type (car files-to-attach)) )
Then it works as I expect, however the interactive call of that function
is too complicated for me, usually I would do a
(defun my-dired-attach (&optional arg)
(interactive "P")
(if arg
(New code)
(old code)))
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5556 bytes --]
next prev parent reply other threads:[~2013-06-14 22:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-14 12:13 Uwe Brauer
2013-06-14 14:49 ` Eric S Fraga
2013-06-14 20:57 ` Uwe Brauer
2013-06-14 22:10 ` Uwe Brauer [this message]
2013-06-16 4:35 ` Dave Goldberg
2013-06-16 7:50 ` Uwe Brauer
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=87ehc49wdd.fsf@mat.ucm.es \
--to=oub@mat.ucm.es \
--cc=ding@gnus.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.
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 NNTP newsgroup(s).