[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: indicate email has attachment in summary buffer
From: |
Leon |
Subject: |
Re: indicate email has attachment in summary buffer |
Date: |
Thu, 03 Aug 2006 20:28:11 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux) |
Reiner Steib <reinersteib+gmane@imap.cc> writes:
> On Thu, Aug 03 2006, Leon wrote:
>
>> I have adapt one function from rs-gnus-summary.el as:
>>
>> (defun gnus-user-format-function-@ (header)
>> "Display @ for message with attachment in summary line.
> [...]
>> (when (string-match "^multipart/mixed" ctype)
>> (setq indicator "@"))
>> (if indicator
>> indicator
>> " ")))
>>
>> As you can see, I only match "^multipart/mixed" with Content-type.
>
> Probably this setting should do the same...
>
> (setq rs-gnus-summary-line-content-type-alist
> '((".*" " ")
> ("^multipart/mixed" "@")))
Yes. There are a lot of other nice features in your rs-gnus-summary.el
for example the Thunderbird-like labels.
>
>> Do you think this is reliable to match all emails with attachment?
>
> It also matches other articles (e.g. various text/plain parts with
> different charset), but these articles are quite rare.
>
> Bye, Reiner.
Actually I just met one such email. Gnus didn't show any attachment in
article buffer, but thunderbird did. Is there any standard way of
testing if an email has attachment?
Thanks a lot!
--
Leon
- indicate email has attachment in summary buffer, Leon, 2006/08/02
- Re: indicate email has attachment in summary buffer, Frank Schmitt, 2006/08/02
- Re: indicate email has attachment in summary buffer, Reiner Steib, 2006/08/02
- Re: indicate email has attachment in summary buffer, Leon, 2006/08/03
- Re: indicate email has attachment in summary buffer, Reiner Steib, 2006/08/03
- Re: indicate email has attachment in summary buffer,
Leon <=
- Re: indicate email has attachment in summary buffer, Reiner Steib, 2006/08/03
- Re: indicate email has attachment in summary buffer, Leon, 2006/08/03
- Re: indicate email has attachment in summary buffer, Reiner Steib, 2006/08/05
- Re: indicate email has attachment in summary buffer, Leon, 2006/08/05
- Re: indicate email has attachment in summary buffer, Leon, 2006/08/04
- Re: indicate email has attachment in summary buffer, Reiner Steib, 2006/08/04
- Re: indicate email has attachment in summary buffer, Leon, 2006/08/04
- Re: indicate email has attachment in summary buffer, Reiner Steib, 2006/08/05
- Re: indicate email has attachment in summary buffer, Frank Schmitt, 2006/08/03
- Re: indicate email has attachment in summary buffer, Reiner Steib, 2006/08/07