Gnus development mailing list
 help / color / mirror / Atom feed
From: Michael Welsh Duggan <md5i@cs.cmu.edu>
Subject: Re: Problems with PGnus 0.13
Date: Thu, 03 Sep 1998 14:23:42 GMT	[thread overview]
Message-ID: <v1tlno146mr.fsf@peoria.mt.cs.cmu.edu> (raw)
In-Reply-To: <wd8n28hmlyw.fsf@parate.irisa.fr>


David Mentre <David.Mentre@irisa.fr> writes:

> I'm using Pterodactyl Gnus 0.13/GNU Emacs 20.3. I've noticed to things:
> 
> 1. I'm using the following hook in my .gnus to add some headers to
>    standard headers to ignore:
> 
> (add-hook 'gnus-started-hook 
>         '(lambda()      
>            (setq gnus-ignored-headers (append gnus-ignored-headers 
>                                               '("^X-Content-Length:"
>                                                 "^X-Mailer:"
>                                                 "^X-Newsreader:"
>                                                 "^X-Modappbot-Version:"
>                                                 "^Mail-Copies-To:"
>                                                 )))))
> 
> I get this error message:
>   Symbol's value as variable is void: gnus-ignored-headers

Here's what I have.  I looks like I tried to do something similar, and
found out I had to move it to the `gnus-article-mode-hook'.

(defun md5i-gnus-load-function ()
  (mapcar (lambda (x) (add-to-list 'gnus-ignored-headers x))
          '("^X-From-Line" "^Precedence" "^Errors-To" "^Reply-Path"
            "^Old-" "^X-Pgp")))
(add-hook 'gnus-article-mode-hook 'md5i-gnus-load-function)

-- 
Michael Duggan
(md5i@cs.cmu.edu)
.



  parent reply	other threads:[~1998-09-03 14:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-09-03 12:15 David Mentre
1998-09-03 12:35 ` Jon Kvebaek
1998-09-03 13:11 ` Lars Magne Ingebrigtsen
1998-09-03 14:23 ` Michael Welsh Duggan [this message]
1998-09-06 15:24   ` David Mentre

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=v1tlno146mr.fsf@peoria.mt.cs.cmu.edu \
    --to=md5i@cs.cmu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).