* Gnus 5.8.8 and gnus-summary-line-format (%f)
@ 2001-01-19 14:14 Peter.Weiss
2001-01-19 14:33 ` ShengHuo ZHU
0 siblings, 1 reply; 5+ messages in thread
From: Peter.Weiss @ 2001-01-19 14:14 UTC (permalink / raw)
Hello all,
having upgraded to version 5.8.8 I also fiddled a little around with
gnus-summary-line-format:
(setq gnus-extra-headers '(To Newsgroups)
nnmail-extra-headers gnus-extra-headers
gnus-summary-line-format "%U%R%z%I%(%[%4L: %-20,20f%]%) %s\n"
;; well, that's not the best but works for all environments:
gnus-ignored-from-addresses (concat user-mail-address ".*"))
The thing that this setting doesn't match is %f formatstring, when using
another "From:" header for my own address.
Is there way to force the formatting to use the "To:" field instead the
"From:" field for some special groups, even when the From: header differs
from my own address?
Thanks for hints -- Peter
--
Peter Weiss
CLASS Firmengruppe phone +49 (0)8151 / 991 - 0
Moosstrasse 7 fax +49 (0)8151 / 991 - 229
D-82319 Starnberg mobil 0172/ 83 79 125
http://www.class.de mailto:Peter.Weiss@Class.de
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Gnus 5.8.8 and gnus-summary-line-format (%f)
2001-01-19 14:14 Gnus 5.8.8 and gnus-summary-line-format (%f) Peter.Weiss
@ 2001-01-19 14:33 ` ShengHuo ZHU
2001-01-19 14:54 ` Peter.Weiss
0 siblings, 1 reply; 5+ messages in thread
From: ShengHuo ZHU @ 2001-01-19 14:33 UTC (permalink / raw)
Peter.Weiss@Class.de writes:
> Hello all,
>
> having upgraded to version 5.8.8 I also fiddled a little around with
> gnus-summary-line-format:
>
>
> (setq gnus-extra-headers '(To Newsgroups)
> nnmail-extra-headers gnus-extra-headers
> gnus-summary-line-format "%U%R%z%I%(%[%4L: %-20,20f%]%) %s\n"
> ;; well, that's not the best but works for all environments:
> gnus-ignored-from-addresses (concat user-mail-address ".*"))
>
> The thing that this setting doesn't match is %f formatstring, when using
> another "From:" header for my own address.
>
> Is there way to force the formatting to use the "To:" field instead the
> "From:" field for some special groups, even when the From: header differs
> from my own address?
You miss one step, rebuilding the NOV databases. If you are using
nnml, `M-x nnml-generate-nov-databases RET' does it.
ShengHuo
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Gnus 5.8.8 and gnus-summary-line-format (%f)
2001-01-19 14:33 ` ShengHuo ZHU
@ 2001-01-19 14:54 ` Peter.Weiss
2001-01-19 15:10 ` ShengHuo ZHU
0 siblings, 1 reply; 5+ messages in thread
From: Peter.Weiss @ 2001-01-19 14:54 UTC (permalink / raw)
Cc: ding
>>>>> On 19 Jan 2001 09:33:47 -0500, ShengHuo ZHU <zsh@cs.rochester.edu> said:
ZSH> Peter.Weiss@Class.de writes:
>> Hello all,
>>
>> having upgraded to version 5.8.8 I also fiddled a little around with
>> gnus-summary-line-format:
>>
>>
>> (setq gnus-extra-headers '(To Newsgroups)
>> nnmail-extra-headers gnus-extra-headers
>> gnus-summary-line-format "%U%R%z%I%(%[%4L: %-20,20f%]%) %s\n"
>> ;; well, that's not the best but works for all environments:
>> gnus-ignored-from-addresses (concat user-mail-address ".*"))
>>
>> The thing that this setting doesn't match is %f formatstring, when using
>> another "From:" header for my own address.
>>
>> Is there way to force the formatting to use the "To:" field instead the
>> "From:" field for some special groups, even when the From: header differs
>> from my own address?
ZSH> You miss one step, rebuilding the NOV databases. If you are using
ZSH> nnml, `M-x nnml-generate-nov-databases RET' does it.
Hello,
thanks for the quick answer, but sorry, this doesn't work. This copy of
a summary buffer shows the situation before and after setting the "From"
header in that nnfolder+archive group:
! [ 22: -> ding@gnus.org ] Summary Line based on folder type
! [ 29: Peter.Weiss@Class.de] Gnus 5.8.8 and gnus-summary-line-format (%f)
Of course I prefer the first one.
Peter
--
Peter Weiss
CLASS Firmengruppe phone +49 (0)8151 / 991 - 0
Moosstrasse 7 fax +49 (0)8151 / 991 - 229
D-82319 Starnberg mobil 0172/ 83 79 125
http://www.class.de mailto:Peter.Weiss@Class.de
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Gnus 5.8.8 and gnus-summary-line-format (%f)
2001-01-19 14:54 ` Peter.Weiss
@ 2001-01-19 15:10 ` ShengHuo ZHU
2001-01-19 16:00 ` Peter.Weiss
0 siblings, 1 reply; 5+ messages in thread
From: ShengHuo ZHU @ 2001-01-19 15:10 UTC (permalink / raw)
Peter.Weiss@Class.de writes:
> >>>>> On 19 Jan 2001 09:33:47 -0500, ShengHuo ZHU <zsh@cs.rochester.edu> said:
>
> ZSH> Peter.Weiss@Class.de writes:
> >> Hello all,
> >>
> >> having upgraded to version 5.8.8 I also fiddled a little around with
> >> gnus-summary-line-format:
> >>
> >>
> >> (setq gnus-extra-headers '(To Newsgroups)
> >> nnmail-extra-headers gnus-extra-headers
> >> gnus-summary-line-format "%U%R%z%I%(%[%4L: %-20,20f%]%) %s\n"
> >> ;; well, that's not the best but works for all environments:
> >> gnus-ignored-from-addresses (concat user-mail-address ".*"))
> >>
> >> The thing that this setting doesn't match is %f formatstring, when using
> >> another "From:" header for my own address.
> >>
> >> Is there way to force the formatting to use the "To:" field instead the
> >> "From:" field for some special groups, even when the From: header differs
> >> from my own address?
>
> ZSH> You miss one step, rebuilding the NOV databases. If you are using
> ZSH> nnml, `M-x nnml-generate-nov-databases RET' does it.
>
> Hello,
>
> thanks for the quick answer, but sorry, this doesn't work. This copy of
> a summary buffer shows the situation before and after setting the "From"
> header in that nnfolder+archive group:
>
> ! [ 22: -> ding@gnus.org ] Summary Line based on folder type
> ! [ 29: Peter.Weiss@Class.de] Gnus 5.8.8 and gnus-summary-line-format (%f)
>
> Of course I prefer the first one.
Opps, I made a mistake.
gnus-ignored-from-addresses is a regexp. If you want to ignore all
from addresses, you can
(setq gnus-ignored-from-addresses ".*")
If you only want to ignore a few your own address, the following may
help.
(setq gnus-ignored-from-addresses
(concat "(nobody)\\|" (regexp-quote user-mail-address)
"\\|" (regexp-quote YOUR-SECOND-MAIL-ADDRESS)
"\\|" (regexp-quote YOUR-THIRD-MAIL-ADDRESS)))
[ (nobody) is used when there is no FROM address. ]
ShengHuo
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Gnus 5.8.8 and gnus-summary-line-format (%f)
2001-01-19 15:10 ` ShengHuo ZHU
@ 2001-01-19 16:00 ` Peter.Weiss
0 siblings, 0 replies; 5+ messages in thread
From: Peter.Weiss @ 2001-01-19 16:00 UTC (permalink / raw)
Cc: ding
>>>>> On 19 Jan 2001 10:10:43 -0500, ShengHuo ZHU <zsh@cs.rochester.edu> said:
ZSH> Peter.Weiss@Class.de writes:
>> >>>>> On 19 Jan 2001 09:33:47 -0500, ShengHuo ZHU <zsh@cs.rochester.edu> said:
>>
ZSH> Peter.Weiss@Class.de writes:
ZSH> [...]
ZSH> If you only want to ignore a few your own address, the following may
ZSH> help.
ZSH> (setq gnus-ignored-from-addresses
ZSH> (concat "(nobody)\\|" (regexp-quote user-mail-address)
ZSH> "\\|" (regexp-quote YOUR-SECOND-MAIL-ADDRESS)
ZSH> "\\|" (regexp-quote YOUR-THIRD-MAIL-ADDRESS)))
ZSH> [ (nobody) is used when there is no FROM address. ]
ZSH> [...]
Hello,
thank you very much, this works fine!
Peter
--
Peter Weiss
CLASS Firmengruppe phone +49 (0)8151 / 991 - 0
Moosstrasse 7 fax +49 (0)8151 / 991 - 229
D-82319 Starnberg mobil 0172/ 83 79 125
http://www.class.de mailto:Peter.Weiss@Class.de
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-01-19 16:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-19 14:14 Gnus 5.8.8 and gnus-summary-line-format (%f) Peter.Weiss
2001-01-19 14:33 ` ShengHuo ZHU
2001-01-19 14:54 ` Peter.Weiss
2001-01-19 15:10 ` ShengHuo ZHU
2001-01-19 16:00 ` Peter.Weiss
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).