Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Differents summary-line-format
@ 2005-02-09 10:00 francois
  2005-02-09 10:05 ` Adam Sjøgren
  2005-02-10 10:41 ` Differents summary-line-format a solution François LAGARDE
  0 siblings, 2 replies; 3+ messages in thread
From: francois @ 2005-02-09 10:00 UTC (permalink / raw)


Hello,
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 tried to use something with "gnus-group-set-parameter" without
success.

If someone could help me.
-- 
François LAGARDE


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Differents summary-line-format
  2005-02-09 10:00 Differents summary-line-format francois
@ 2005-02-09 10:05 ` Adam Sjøgren
  2005-02-10 10:41 ` Differents summary-line-format a solution François LAGARDE
  1 sibling, 0 replies; 3+ messages in thread
From: Adam Sjøgren @ 2005-02-09 10:05 UTC (permalink / raw)


On Wed, 09 Feb 2005 11:00:04 +0100, francois@lagarde.spam wrote:

> Hello, 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.

Try looking at this variable:

 `gnus-ignored-from-addresses' is a variable declared in Lisp.
   -- loaded from "gnus-sum"

 Value: "\\(asjo\\)@\\(koldfront.dk\\|asjo.org\\)"

 Documentation:
 *Regexp of From headers that may be suppressed in favor of To headers.

I think that does the trick.


  Best regards,

     Adam

-- 
 "Debate Two - The Thrilla In Vanilla"                        Adam Sjøgren
                                                         asjo@koldfront.dk


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Differents summary-line-format a solution
  2005-02-09 10:00 Differents summary-line-format francois
  2005-02-09 10:05 ` Adam Sjøgren
@ 2005-02-10 10:41 ` François LAGARDE
  1 sibling, 0 replies; 3+ messages in thread
From: François LAGARDE @ 2005-02-10 10:41 UTC (permalink / raw)


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..


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-02-10 10:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-09 10:00 Differents summary-line-format francois
2005-02-09 10:05 ` Adam Sjøgren
2005-02-10 10:41 ` Differents summary-line-format a solution François LAGARDE

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).