Gnus development mailing list
 help / color / mirror / Atom feed
* Problems with PGnus 0.13
@ 1998-09-03 12:15 David Mentre
  1998-09-03 12:35 ` Jon Kvebaek
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: David Mentre @ 1998-09-03 12:15 UTC (permalink / raw)


 Hello all,

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

Why ? I thought gnus-ignored-headers was defined once gnus was
started. This hook used to work with Gnus 5.6.41.


2. While positing an article with iso-8859-1 caracters in it (ç), I
   noticed the following header on this article:

Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
                           ^^^

Is it right to have 7bit Content-Transfer-Encoding while there are 8bit
characters in the article ?

Regards,
d.
-- 
 David.Mentre@irisa.fr -- http://www.irisa.fr/prive/dmentre/


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

* Re: Problems with PGnus 0.13
  1998-09-03 12:15 Problems with PGnus 0.13 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
  2 siblings, 0 replies; 5+ messages in thread
From: Jon Kvebaek @ 1998-09-03 12:35 UTC (permalink / raw)
  Cc: ding

David Mentre <David.Mentre@irisa.fr> writes:
|
| I get this error message:
|   Symbol's value as variable is void: gnus-ignored-headers
| 
| Why ? I thought gnus-ignored-headers was defined once gnus was
| started. This hook used to work with Gnus 5.6.41.

Apparently not. Take a look at gnus-art.el

I do this in my .gnus.el:
	(setq gnus-ignored-headers "^Received:\\|^Xref:\\|^Lines:")
which works fine.
 
| Is it right to have 7bit Content-Transfer-Encoding while there are 8bit
| characters in the article ?

This happens to me, and is the topic of the "7bit and iso-8859-1"
thread.

-- 
Jon Kvebaek <jkv@sys.sol.no>
Wrinkled earlobes are a sign of impending heart attacks.


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

* Re: Problems with PGnus 0.13
  1998-09-03 12:15 Problems with PGnus 0.13 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
  2 siblings, 0 replies; 5+ messages in thread
From: Lars Magne Ingebrigtsen @ 1998-09-03 13:11 UTC (permalink / raw)


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

> Why ? I thought gnus-ignored-headers was defined once gnus was
> started. This hook used to work with Gnus 5.6.41.

It's defined in gnus-art.el, so you should `require' gnus-art before
altering variables defined there.

> Content-Type: text/plain; charset="iso-8859-1"
> Content-Transfer-Encoding: 7bit

Probably fixed in pgnus 0.14.  Perhaps.  Maybe.  Maybe not.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


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

* Re: Problems with PGnus 0.13
  1998-09-03 12:15 Problems with PGnus 0.13 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
  1998-09-06 15:24   ` David Mentre
  2 siblings, 1 reply; 5+ messages in thread
From: Michael Welsh Duggan @ 1998-09-03 14:23 UTC (permalink / raw)



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



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

* Re: Problems with PGnus 0.13
  1998-09-03 14:23 ` Michael Welsh Duggan
@ 1998-09-06 15:24   ` David Mentre
  0 siblings, 0 replies; 5+ messages in thread
From: David Mentre @ 1998-09-06 15:24 UTC (permalink / raw)


Michael Welsh Duggan <md5i@cs.cmu.edu> writes:

> found out I had to move it to the `gnus-article-mode-hook'.

Thank you (and also to Jon and Lars). Works much better now. And I have
understood why it didn't work. :)

d.
-- 
 David.Mentre@irisa.fr -- http://www.irisa.fr/prive/dmentre/


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

end of thread, other threads:[~1998-09-06 15:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-09-03 12:15 Problems with PGnus 0.13 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
1998-09-06 15:24   ` David Mentre

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