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/
_______________________________________________
info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to