all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to hide Gnus email headers?
@ 2004-05-21  4:36 Richard Wellum
  2004-05-21  9:00 ` Markus Knittig
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Richard Wellum @ 2004-05-21  4:36 UTC (permalink / raw)


Hi,

Using Gnus to view my mail, I am trying to avoid seeing the unnecessary
headers each time. I have the following line in my .gnus:

(setq gnus-visible-headers "^From:\\|^Subject:\\|^Cc:\\|^To:")

But doesn't seem to help - I still see everything.

Any ideas where I am going wrong?

Thanks...

||Rich

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

* Re: How to hide Gnus email headers?
  2004-05-21  4:36 How to hide Gnus email headers? Richard Wellum
@ 2004-05-21  9:00 ` Markus Knittig
  2004-05-21  9:09 ` Giorgos Keramidas
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 11+ messages in thread
From: Markus Knittig @ 2004-05-21  9:00 UTC (permalink / raw)


Quote [ Richard Wellum * 3915. September 1993 ]

> Using Gnus to view my mail, I am trying to avoid seeing the unnecessary
> headers each time. I have the following line in my .gnus:
> (setq gnus-visible-headers "^From:\\|^Subject:\\|^Cc:\\|^To:")
> But doesn't seem to help - I still see everything.
> Any ideas where I am going wrong?

Use gnus-ignored-headers to hide headers.

Best regards,
 Markus

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

* Re: How to hide Gnus email headers?
  2004-05-21  4:36 How to hide Gnus email headers? Richard Wellum
  2004-05-21  9:00 ` Markus Knittig
@ 2004-05-21  9:09 ` Giorgos Keramidas
  2004-05-21 16:51   ` Edward O'Connor
                     ` (2 more replies)
  2004-05-22  8:03 ` Shigeki UNO
                   ` (3 subsequent siblings)
  5 siblings, 3 replies; 11+ messages in thread
From: Giorgos Keramidas @ 2004-05-21  9:09 UTC (permalink / raw)


Richard Wellum <rwellum@cisco.com> writes:
>
> Using Gnus to view my mail, I am trying to avoid seeing the unnecessary
> headers each time. I have the following line in my .gnus:
>
> (setq gnus-visible-headers "^From:\\|^Subject:\\|^Cc:\\|^To:")
>
> But doesn't seem to help - I still see everything.
> Any ideas where I am going wrong?

Try using a list of headers rather than a regexp that matches all.
In my .gnus file I have:

    ;; The headers that are shown for messages or news-articles.
    (setq gnus-visible-headers '("^From:" "^Date:" "^Subject:" "^To:" "^Cc:"
                                 "^Followup-To:" "^Reply-To:" "^Newsgroups:"))
    ;; The order of headers shown in article buffers.
    (setq gnus-sorted-header-list '("^Date:" "^From:" "^Reply-To:"
                                    "^Followup-To:" "^Subject:"
                                    "^To:" "^Cc:" "^Newsgroups:"))

and it works like a charm.

- Giorgos

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

* Re: How to hide Gnus email headers?
  2004-05-21  9:09 ` Giorgos Keramidas
@ 2004-05-21 16:51   ` Edward O'Connor
  2004-05-21 18:08   ` Richard Wellum
       [not found]   ` <mailman.6706.1085159510.1061.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 11+ messages in thread
From: Edward O'Connor @ 2004-05-21 16:51 UTC (permalink / raw)


> In my .gnus file I have:
> 
>     ;; The headers that are shown for messages or news-articles.
>     (setq gnus-visible-headers '("^From:" "^Date:" "^Subject:" "^To:" "^Cc:"
>     	"^Followup-To:" "^Reply-To:" "^Newsgroups:"))
>     ;; The order of headers shown in article buffers.
>     (setq gnus-sorted-header-list '("^Date:" "^From:" "^Reply-To:"
>                                     "^Followup-To:" "^Subject:"
>                                     "^To:" "^Cc:" "^Newsgroups:"))

Why not just this?

(setq gnus-sorted-header-list '("^Date:" "^From:" "^Reply-To:"
                                "^Followup-To:" "^Subject:"
                                "^To:" "^Cc:" "^Newsgroups:"))
(setq gnus-visible-headers gnus-sorted-header-list)


Ted

-- 
Edward O'Connor
ted@oconnor.cx

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

* Re: How to hide Gnus email headers?
  2004-05-21  9:09 ` Giorgos Keramidas
  2004-05-21 16:51   ` Edward O'Connor
@ 2004-05-21 18:08   ` Richard Wellum
       [not found]   ` <mailman.6706.1085159510.1061.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 11+ messages in thread
From: Richard Wellum @ 2004-05-21 18:08 UTC (permalink / raw)


Giorgos Keramidas <keramida@ceid.upatras.gr> writes:

> Richard Wellum <rwellum@cisco.com> writes:
>>
>> Using Gnus to view my mail, I am trying to avoid seeing the unnecessary
>> headers each time. I have the following line in my .gnus:
>>
>> (setq gnus-visible-headers "^From:\\|^Subject:\\|^Cc:\\|^To:")
>>
>> But doesn't seem to help - I still see everything.
>> Any ideas where I am going wrong?
>
> Try using a list of headers rather than a regexp that matches all.
> In my .gnus file I have:
>
>     ;; The headers that are shown for messages or news-articles.
>     (setq gnus-visible-headers '("^From:" "^Date:" "^Subject:" "^To:" "^Cc:"
>                                  "^Followup-To:" "^Reply-To:" "^Newsgroups:"))
>     ;; The order of headers shown in article buffers.
>     (setq gnus-sorted-header-list '("^Date:" "^From:" "^Reply-To:"
>                                     "^Followup-To:" "^Subject:"
>                                     "^To:" "^Cc:" "^Newsgroups:"))
>
> and it works like a charm.
>
> - Giorgos

Sorry has no effect on my mail at all :-(.

||Rich

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

* Re: How to hide Gnus email headers?
       [not found]   ` <mailman.6706.1085159510.1061.help-gnu-emacs@gnu.org>
@ 2004-05-21 18:10     ` Richard Wellum
  0 siblings, 0 replies; 11+ messages in thread
From: Richard Wellum @ 2004-05-21 18:10 UTC (permalink / raw)
  Cc: help-gnu-emacs

Edward O'Connor <ted@oconnor.cx> writes:

>> In my .gnus file I have:
>> 
>>     ;; The headers that are shown for messages or news-articles.
>>     (setq gnus-visible-headers '("^From:" "^Date:" "^Subject:" "^To:" "^Cc:"
>>     	"^Followup-To:" "^Reply-To:" "^Newsgroups:"))
>>     ;; The order of headers shown in article buffers.
>>     (setq gnus-sorted-header-list '("^Date:" "^From:" "^Reply-To:"
>>                                     "^Followup-To:" "^Subject:"
>>                                     "^To:" "^Cc:" "^Newsgroups:"))
>
> Why not just this?
>
> (setq gnus-sorted-header-list '("^Date:" "^From:" "^Reply-To:"
>                                 "^Followup-To:" "^Subject:"
>                                 "^To:" "^Cc:" "^Newsgroups:"))
> (setq gnus-visible-headers gnus-sorted-header-list)
>
> Ted
>
> -- 
> Edward O'Connor
> ted@oconnor.cx

No effect on my mail :-(.

||Rich

BTW: If I select from the menu-bar, "treatment hide headers" - that gets
the effect I am looking for....

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

* Re: How to hide Gnus email headers?
  2004-05-21  4:36 How to hide Gnus email headers? Richard Wellum
  2004-05-21  9:00 ` Markus Knittig
  2004-05-21  9:09 ` Giorgos Keramidas
@ 2004-05-22  8:03 ` Shigeki UNO
  2004-05-22 11:55 ` Xavier Maillard
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 11+ messages in thread
From: Shigeki UNO @ 2004-05-22  8:03 UTC (permalink / raw)


Richard Wellum <rwellum@cisco.com> writes:

> Hi,
>
> Using Gnus to view my mail, I am trying to avoid seeing the unnecessary
> headers each time. I have the following line in my .gnus:
>
> (setq gnus-visible-headers "^From:\\|^Subject:\\|^Cc:\\|^To:")
>
> But doesn't seem to help - I still see everything.
>
> Any ideas where I am going wrong?
>
> Thanks...
>
> ||Rich

The following is what I'm setting up in my ~/.emacs file.

;;mail
(setq message-required-mail-headers
  '(From Date Subject X-Mailer User-Agent Message-ID Organization))

;;news
(setq message-required-news-headers
  '(From Date Newsgroups Subject X-Newsreader User-Agent Message-ID Xref Organization))

(setq gnus-visible-headers
       (list
       "To:"
       "Cc:"
       "Reply-To:"
       "From:"
       "Subject:"
       "Newsgroups:"
       "Followup-To:"
       "Date:"
       "Organization:"
       "Organisation:"
       "X-Mailer:"
       "X-Newsreader:"
       "User-Agent:"
))

(setq gnus-ignored-headers "^References:\\|^Xref:")

HTH,

---
Shigeki UNO

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

* Re: How to hide Gnus email headers?
  2004-05-21  4:36 How to hide Gnus email headers? Richard Wellum
                   ` (2 preceding siblings ...)
  2004-05-22  8:03 ` Shigeki UNO
@ 2004-05-22 11:55 ` Xavier Maillard
  2004-05-23 10:55 ` Kai Grossjohann
       [not found] ` <mailman.6961.1085377531.1061.help-gnu-emacs@gnu.org>
  5 siblings, 0 replies; 11+ messages in thread
From: Xavier Maillard @ 2004-05-22 11:55 UTC (permalink / raw)


On 21 May 2004, Richard Wellum wrote:

> Hi,
> 
> Using  Gnus  to  view  my  mail,  I am  trying  to  avoid  seeing  the
> unnecessary headers each time. I have the following line in my .gnus:
> 
> (setq gnus-visible-headers "^From:\\|^Subject:\\|^Cc:\\|^To:")
> 
> But doesn't seem to help - I still see everything.
> 
> Any ideas where I am going wrong?

Ignore all by default and use gnus-visible-headers like you do ?

-- 
No e-patents, pas de brevets logiciels
Pétition contre les brevets logiciels : http://petition.eurolinux.org

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

* Re: How to hide Gnus email headers?
  2004-05-21  4:36 How to hide Gnus email headers? Richard Wellum
                   ` (3 preceding siblings ...)
  2004-05-22 11:55 ` Xavier Maillard
@ 2004-05-23 10:55 ` Kai Grossjohann
       [not found] ` <mailman.6961.1085377531.1061.help-gnu-emacs@gnu.org>
  5 siblings, 0 replies; 11+ messages in thread
From: Kai Grossjohann @ 2004-05-23 10:55 UTC (permalink / raw)


Richard Wellum <rwellum@cisco.com> writes:

> Hi,
>
> Using Gnus to view my mail, I am trying to avoid seeing the unnecessary
> headers each time. I have the following line in my .gnus:
>
> (setq gnus-visible-headers "^From:\\|^Subject:\\|^Cc:\\|^To:")
>
> But doesn't seem to help - I still see everything.

What happens when you type `t' while viewing a message?

Kai

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

* Re: How to hide Gnus email headers?
       [not found] ` <mailman.6961.1085377531.1061.help-gnu-emacs@gnu.org>
@ 2004-05-24 16:56   ` Richard Wellum
  2004-05-25  5:11     ` Kai Grossjohann
  0 siblings, 1 reply; 11+ messages in thread
From: Richard Wellum @ 2004-05-24 16:56 UTC (permalink / raw)
  Cc: help-gnu-emacs

Kai Grossjohann <kai@emptydomain.de> writes:

Nothing happens.

||Rich

> Richard Wellum <rwellum@cisco.com> writes:
>
>> Hi,
>>
>> Using Gnus to view my mail, I am trying to avoid seeing the unnecessary
>> headers each time. I have the following line in my .gnus:
>>
>> (setq gnus-visible-headers "^From:\\|^Subject:\\|^Cc:\\|^To:")
>>
>> But doesn't seem to help - I still see everything.
>
> What happens when you type `t' while viewing a message?
>
> Kai

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

* Re: How to hide Gnus email headers?
  2004-05-24 16:56   ` Richard Wellum
@ 2004-05-25  5:11     ` Kai Grossjohann
  0 siblings, 0 replies; 11+ messages in thread
From: Kai Grossjohann @ 2004-05-25  5:11 UTC (permalink / raw)
  Cc: help-gnu-emacs, Kai Grossjohann

Richard Wellum <rwellum@cisco.com> writes:

> Kai Grossjohann <kai@emptydomain.de> writes:
>
>> What happens when you type `t' while viewing a message?
>
> Nothing happens.

Hm.  Please view a message and then switch to the *Article* buffer
and then repeat C-h v gnus-visible-headers RET -- perhaps the
value of this variable got b0rked somewhere along the way.

What happens when you type C-u g while viewing a message?  That
surely should produce *some* kind of change, especially if the
message in question is a mimey multipart thingy.

Kai

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

end of thread, other threads:[~2004-05-25  5:11 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-21  4:36 How to hide Gnus email headers? Richard Wellum
2004-05-21  9:00 ` Markus Knittig
2004-05-21  9:09 ` Giorgos Keramidas
2004-05-21 16:51   ` Edward O'Connor
2004-05-21 18:08   ` Richard Wellum
     [not found]   ` <mailman.6706.1085159510.1061.help-gnu-emacs@gnu.org>
2004-05-21 18:10     ` Richard Wellum
2004-05-22  8:03 ` Shigeki UNO
2004-05-22 11:55 ` Xavier Maillard
2004-05-23 10:55 ` Kai Grossjohann
     [not found] ` <mailman.6961.1085377531.1061.help-gnu-emacs@gnu.org>
2004-05-24 16:56   ` Richard Wellum
2004-05-25  5:11     ` Kai Grossjohann

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.