[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Gnus: How to simplify file attachments?
From: |
Leo |
Subject: |
Re: Gnus: How to simplify file attachments? |
Date: |
Sun, 08 Jan 2012 20:19:26 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.3.50 (Mac OS X 10.6.8) |
On 2012-01-07 23:45 +0800, Marius Hofert wrote:
> Can you explain how, please?
> If I DnD a .pdf to a new message buffer (Gnus v5.13, Emacs 24, Mac OS
> X 10.7.2), the *code* of the .pdf file is inserted, not a link to the
> .pdf file as attachment. To be more precise, a huge amount of code is
> inserted starting with "%PDF-1.5..." (as if you look at the .pdf file
> as .txt).
> Furthermore, DnD of an attachment out of a received email also did not work
> under my setup above. I just can't "grab" the .pdf.
>
> Cheers,
>
> Marius
I just used the mouse to drop a file on to this buffer. Worked
perfectly. I am using emacs-23(Macport) + gnus(from emacs-24).
,----[ leading # removed ]
| <part filename="/Users/leo/Downloads/paper.pdf" disposition=attachment>
| </part>
`----
Check dnd-protocol-alist, see if you have mml-dnd-attach-file in it.
,----[ C-h v dnd-protocol-alist RET ]
[snipped 18 lines]
| This variable was introduced, or its default value was changed, in
| version 22.1 of Emacs.
|
| Value: (("^file:///" . mml-dnd-attach-file)
| ("^file://" . dnd-open-file)
| ("^file:" . mml-dnd-attach-file)
| ("^file:///" . dnd-open-local-file)
| ("^file://" . dnd-open-file)
| ("^file:" . dnd-open-local-file)
| ("^\\(https?\\|ftp\\|file\\|nfs\\)://" . dnd-open-file))
|
| Original value was
| (("^file:///" . dnd-open-local-file)
| ("^file://" . dnd-open-file)
| ("^file:" . dnd-open-local-file)
| ("^\\(https?\\|ftp\\|file\\|nfs\\)://" . dnd-open-file))
|
| Local in buffer *unsent wide reply to Marius Hofert*; global value is
| (("^file:///" . dnd-open-local-file)
| ("^file://" . dnd-open-file)
| ("^file:" . dnd-open-local-file)
| ("^\\(https?\\|ftp\\|file\\|nfs\\)://" . dnd-open-file))
`----
- Re: Gnus: How to simplify file attachments?, Lars Magne Ingebrigtsen, 2012/01/04
- Re: Gnus: How to simplify file attachments?, Marius Hofert, 2012/01/04
- Re: Gnus: How to simplify file attachments?, Lars Magne Ingebrigtsen, 2012/01/05
- Message not available
- Re: Gnus: How to simplify file attachments?, Lars Magne Ingebrigtsen, 2012/01/06
- Re: Gnus: How to simplify file attachments?, Leo, 2012/01/06
- Re: Gnus: How to simplify file attachments?, Thierry Volpiatto, 2012/01/07
- Re: Gnus: How to simplify file attachments?, Marius Hofert, 2012/01/07
- Re: Gnus: How to simplify file attachments?, Thierry Volpiatto, 2012/01/07
- Re: Gnus: How to simplify file attachments?,
Leo <=
- Re: Gnus: How to simplify file attachments?, Sivaram Neelakantan, 2012/01/08
- Re: Gnus: How to simplify file attachments?, Marius Hofert, 2012/01/08
- Re: Gnus: How to simplify file attachments?, Thierry Volpiatto, 2012/01/08
- Re: Gnus: How to simplify file attachments?, Marius Hofert, 2012/01/09