info-gnus-english
[Top][All Lists]
Advanced

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

Re: Differents summary-line-format a solution


From: François LAGARDE
Subject: Re: Differents summary-line-format a solution
Date: Thu, 10 Feb 2005 11:41:53 +0100
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

francois@lagarde.spam wrote:
> I have got an archive folder to keep a copy of sent mails. I would use
> an appropriate summary-line-format including the "to" field.
> For other folders, i want to use the "from" field.

I found a solution, i don't know if it the best :

(setq gnus-parameters
      '((".*" 
        (gnus-summary-line-format
        "%-1R %-1U  %[%-15,15uB%] %B%(%1{%-50,50s%}%) %&user-date;\n")
         (display . all); to set visible read mails
        )
        ("^nnfolder.*" ;folder keeping sent mails
        (gnus-summary-line-format ;display the to field
        "%-1R %-1U  %[%-23,23~(form (gnus-extra-header 'To))@] 
          %B%(%1{%-50,50s%}%) %&user-date;\n")
        )
))

I would  also set posting-styles, but the first rule always matches (".*").
But if i use gnus-posting-styles it is ok.

(setq gnus-posting-styles
       '(
        (".*"
          (address "an adresse"))
        ("^fr\\.\\|^gnu\\."
          (address "an adresse"))
        (".*neuf.*"
          (address "an adresse"))
)
)

any idea..

reply via email to

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