Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Hiding long headers
@ 2010-03-26 17:15 Samuel Sinayoko
  2010-03-27 15:25 ` Harry Putnam
  2010-03-27 19:18 ` Memnon Anon
  0 siblings, 2 replies; 4+ messages in thread
From: Samuel Sinayoko @ 2010-03-26 17:15 UTC (permalink / raw)
  To: info-gnus-english

Dear list,

I'm a new user of Gnus. I'm getting more comfortable with it but am
having problems hiding long headers. After looking at the manual I've
added this to my .gnus file:

(setq gnus-treat-hide-boring-headers 'head)
(setq gnus-boring-article-headers '(empty followup-to reply-to long-to))

However it had no effect. I also realised that I am not able to hide
headers at all (W W h). I have checked that

gnus-show-all-headers's value is nil

Has anyone had the same problem? Thanks for your help!

Sam

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

* Re: Hiding long headers
  2010-03-26 17:15 Hiding long headers Samuel Sinayoko
@ 2010-03-27 15:25 ` Harry Putnam
  2010-03-27 19:18 ` Memnon Anon
  1 sibling, 0 replies; 4+ messages in thread
From: Harry Putnam @ 2010-03-27 15:25 UTC (permalink / raw)
  To: info-gnus-english

Samuel Sinayoko <s.sinayoko@soton.ac.uk> writes:

> Dear list,
>
> I'm a new user of Gnus. I'm getting more comfortable with it but am
> having problems hiding long headers. After looking at the manual I've
> added this to my .gnus file:
>
> (setq gnus-treat-hide-boring-headers 'head)
> (setq gnus-boring-article-headers '(empty followup-to reply-to long-to))
>
> However it had no effect. I also realised that I am not able to hide
> headers at all (W W h). I have checked that
>
> gnus-show-all-headers's value is nil
>
> Has anyone had the same problem? Thanks for your help!

I never see that problem.

All I see in .gnus about headers that looks likely to bare on that is:
 (wrapped for mail)

(setq gnus-visible-headers 
  "^From:\\|^Subject:\\|^To:\\|^Date:\\|^Message-ID:\\|^X-Spam-Status:\\|
  ^X-HP.*:\\|^Newsgroups:\\|^X-Newsgroups:\\|^Keywords:\\|^Gnus-Warning:")

Mine is more inclusive that most folks would probably want but you see
the format there.

If you set a regex similar in form but only including headers you want
to see, does that do what you want?

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

* Re: Hiding long headers
  2010-03-26 17:15 Hiding long headers Samuel Sinayoko
  2010-03-27 15:25 ` Harry Putnam
@ 2010-03-27 19:18 ` Memnon Anon
  2010-03-28 10:09   ` Samuel Sinayoko
  1 sibling, 1 reply; 4+ messages in thread
From: Memnon Anon @ 2010-03-27 19:18 UTC (permalink / raw)
  To: info-gnus-english

Samuel Sinayoko <s.sinayoko@soton.ac.uk> writes:

> Dear list,
>
> I'm a new user of Gnus. I'm getting more comfortable with it but am
> having problems hiding long headers. After looking at the manual I've
> added this to my .gnus file:
>
> (setq gnus-treat-hide-boring-headers 'head)
> (setq gnus-boring-article-headers '(empty followup-to reply-to long-to))
>
> However it had no effect. I also realised that I am not able to hide
> headers at all (W W h). I have checked that
>
> gnus-show-all-headers's value is nil
>
> Has anyone had the same problem? Thanks for your help!
>
> Sam

Not sure it helps you, but here are my settings:

;; Pretty self-explanatory
(setq gnus-visible-headers "^From:\\|^Newsgroups:\\|^Subject:\\|^Date:\\
|^Followup-To:\\|^Reply-To:\\|^Summary:\\|^Keywords:\\|^To:\\|^[BGF]?Cc:\\
|^Posted-To:\\|^Mail-Copies-To:\\|^Mail-Followup-To:\\|^Apparently-To:\\
|^Gnus-Warning:\\|^Resent-From:\\|^X-Sent:\\|^User-Agent:\\|^X-Mailer:\\
|^X-Newsreader:")
(setq gnus-sorted-header-list '("^From:" "^Subject:" "^Summary:"
"^Keywords:" "^Newsgroups:" "^Followup-To:" "^To:" "^Cc:" "^Date:"
"^User-Agent:" "^X-Mailer:" "^X-Newsreader:"))

So, I only see those headers interesting to me. If I ever need to know
the rest, "t" toggles display of all headers.

hth memnon

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

* Re: Hiding long headers
  2010-03-27 19:18 ` Memnon Anon
@ 2010-03-28 10:09   ` Samuel Sinayoko
  0 siblings, 0 replies; 4+ messages in thread
From: Samuel Sinayoko @ 2010-03-28 10:09 UTC (permalink / raw)
  To: info-gnus-english

Memnon Anon <gegendosenfleisch@googlemail.com> writes:

> Samuel Sinayoko <s.sinayoko@soton.ac.uk> writes:
>
>> Dear list,
>>
>> I'm a new user of Gnus. I'm getting more comfortable with it but am
>> having problems hiding long headers. After looking at the manual I've
>> added this to my .gnus file:
>>
>> (setq gnus-treat-hide-boring-headers 'head)
>> (setq gnus-boring-article-headers '(empty followup-to reply-to long-to))
>>
>> However it had no effect. I also realised that I am not able to hide
>> headers at all (W W h). I have checked that
>>
>> gnus-show-all-headers's value is nil
>>
>> Has anyone had the same problem? Thanks for your help!
>>
>> Sam
>
> Not sure it helps you, but here are my settings:
>
> ;; Pretty self-explanatory
> (setq gnus-visible-headers "^From:\\|^Newsgroups:\\|^Subject:\\|^Date:\\
> |^Followup-To:\\|^Reply-To:\\|^Summary:\\|^Keywords:\\|^To:\\|^[BGF]?Cc:\\
> |^Posted-To:\\|^Mail-Copies-To:\\|^Mail-Followup-To:\\|^Apparently-To:\\
> |^Gnus-Warning:\\|^Resent-From:\\|^X-Sent:\\|^User-Agent:\\|^X-Mailer:\\
> |^X-Newsreader:")
> (setq gnus-sorted-header-list '("^From:" "^Subject:" "^Summary:"
> "^Keywords:" "^Newsgroups:" "^Followup-To:" "^To:" "^Cc:" "^Date:"
> "^User-Agent:" "^X-Mailer:" "^X-Newsreader:"))
>
> So, I only see those headers interesting to me. If I ever need to know
> the rest, "t" toggles display of all headers.
>
> hth memnon

Hi guys, 

Thanks a lot, that was helpful. I'm now able to hide the Cc list by
default, so I don't see the horribly long Cc lists. 

However, I'd still love to show the Cc list with only the first few
recipients though, which I think is what 
   (setq gnus-boring-article-headers '(long-to))
is supposed to do. This still doesn't work though.

Is anyone else using gnus-boring-article-headers?

I forgot to say but I'm using Gnus v5.13 and GNU Emacs 23.0.91.1

Cheers,

Sam

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

end of thread, other threads:[~2010-03-28 10:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-26 17:15 Hiding long headers Samuel Sinayoko
2010-03-27 15:25 ` Harry Putnam
2010-03-27 19:18 ` Memnon Anon
2010-03-28 10:09   ` Samuel Sinayoko

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