[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: indicate email has attachment in summary buffer
From: |
Reiner Steib |
Subject: |
Re: indicate email has attachment in summary buffer |
Date: |
Thu, 03 Aug 2006 20:09:52 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) |
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" "@")))
> 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.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
- 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 <=
- 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, 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