[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do attachments in message-mode work?

From: Marcin Borkowski
Subject: Re: How do attachments in message-mode work?
Date: Sun, 18 Mar 2018 08:40:36 +0100
User-agent: mu4e 1.1.0; emacs 27.0.50

On 2018-03-12, at 15:12, Robert Pluim <> wrote:

> Marcin Borkowski <> writes:
>> Hi all,
>> I know that attachments in message-mode are just inserted strings of the
>> form like
>> "<hash part type="image/jpeg" filename="..." disposition=attachment>
>> <hash /part>"
>> where "hash" is an actual hash character.
>> Where can I find the code responsible for parsing them?  I'd like to
>> know whether I could add another attribute (like "type", "filename", or
>> "disposition") and be sure it is going to be ignored.  (I want to hack
>> adding attachments so that the size is displayed along with other data.
>> I'd like also to change faces a bit, so that the values of the
>> attributes are more prominent, but I do not expect any troubles there.)
> It's all in mml.el, specifically mml-parse-1. Good luck.

Well, thanks.

Actually, I succeeded.  I will blog about it one day.


Marcin Borkowski

reply via email to

[Prev in Thread] Current Thread [Next in Thread]