Gnus development mailing list
 help / color / mirror / Atom feed
* X-Sent
@ 1999-07-23  9:28 Shaun Lipscombe
  1999-07-23 10:27 ` X-Sent Kai Großjohann
  0 siblings, 1 reply; 13+ messages in thread
From: Shaun Lipscombe @ 1999-07-23  9:28 UTC (permalink / raw)



I used to have this header displayed via gnus-article-date-lapsed, in
the article display hook.  It no longer works.... (meaning it did with
gnus-04.06.45 but not with pgnus-0.95

Any clues?

Thanks :)

Shaun

-- 
          (o_
(o_  (o_  //\
(/)_ (/)_ V_/_   shaun.lipscombe@gasops.co.uk



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

* Re: X-Sent
  1999-07-23  9:28 X-Sent Shaun Lipscombe
@ 1999-07-23 10:27 ` Kai Großjohann
  1999-07-23 17:33   ` X-Sent Shaun Lipscombe
  1999-07-26  8:29   ` X-Sent Shaun Lipscombe
  0 siblings, 2 replies; 13+ messages in thread
From: Kai Großjohann @ 1999-07-23 10:27 UTC (permalink / raw)


Shaun Lipscombe <shaun.lipscombe@gasops.co.uk> writes:

> I used to have this header displayed via gnus-article-date-lapsed, in
> the article display hook.  It no longer works.... (meaning it did with
> gnus-04.06.45 but not with pgnus-0.95

Article display was changed from gnus-article-display-hook (or
some such) to a bunch of gnus-treat-* variables.

kai
-- 
Life is hard and then you die.


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

* Re: X-Sent
  1999-07-23 10:27 ` X-Sent Kai Großjohann
@ 1999-07-23 17:33   ` Shaun Lipscombe
  1999-07-23 18:32     ` X-Sent Aaron M. Ucko
  1999-07-23 18:57     ` X-Sent Hrvoje Niksic
  1999-07-26  8:29   ` X-Sent Shaun Lipscombe
  1 sibling, 2 replies; 13+ messages in thread
From: Shaun Lipscombe @ 1999-07-23 17:33 UTC (permalink / raw)


* "Kai" == Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> writes:


 Kai> Article display was changed from gnus-article-display-hook (or
 Kai> some such) to a bunch of gnus-treat-* variables.

I have tried this but to no avail:

(setq gnus-treat-date-lapsed)
(setq gnus-treat-strip-pgp)
(setq gnus-treat-hide-boring-headers)
(setq gnus-treat-overstrike)
(setq gnus-treat-strip-leading-blank-lines)
(setq gnus-treat-strip-trailing-blank-lines)
(setq gnus-treat-strip-multiple-blank-lines)
(setq gnus-treat-highlight-highlight-headers)
(setq gnus-treat-emphasize)

This is what I had before:


(setq gnus-article-display-hook
      '(gnus-article-hide-headers-if-wanted 
        gnus-article-date-lapsed
        gnus-article-hide-pgp
        gnus-article-hide-boring-headers
        gnus-article-treat-overstrike
        gnus-article-de-quoted-unreadable
        gnus-article-strip-leading-blank-lines
        gnus-article-remove-trailing-blank-lines
        gnus-article-strip-multiple-blank-lines
        gnus-article-highlight
        gnus-article-emphasize))

Have I missed something stupid?

Thanks,

Shaun

-- 
          (o_
(o_  (o_  //\
(/)_ (/)_ V_/_   shaun.lipscombe@gasops.co.uk



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

* Re: X-Sent
  1999-07-23 17:33   ` X-Sent Shaun Lipscombe
@ 1999-07-23 18:32     ` Aaron M. Ucko
  1999-07-23 18:57     ` X-Sent Hrvoje Niksic
  1 sibling, 0 replies; 13+ messages in thread
From: Aaron M. Ucko @ 1999-07-23 18:32 UTC (permalink / raw)


Shaun Lipscombe <shaun.lipscombe@gasops.co.uk> writes:

> (setq gnus-treat-date-lapsed)

You appear to be missing a value here; Emacs defaults to nil, which is
almost certainly not what you want.  Try

        (setq gnus-treat-date-lapsed t)
                                     ^

etc.

-- 
Aaron M. Ucko, KB1CJC <amu@mit.edu> (finger amu@monk.mit.edu)


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

* Re: X-Sent
  1999-07-23 17:33   ` X-Sent Shaun Lipscombe
  1999-07-23 18:32     ` X-Sent Aaron M. Ucko
@ 1999-07-23 18:57     ` Hrvoje Niksic
  1999-07-24 13:10       ` X-Sent Shaun Lipscombe
  1 sibling, 1 reply; 13+ messages in thread
From: Hrvoje Niksic @ 1999-07-23 18:57 UTC (permalink / raw)


Shaun Lipscombe <shaun.lipscombe@gasops.co.uk> writes:

> I have tried this but to no avail:
> 
> (setq gnus-treat-date-lapsed)
> (setq gnus-treat-strip-pgp)
> (setq gnus-treat-hide-boring-headers)
> (setq gnus-treat-overstrike)
> (setq gnus-treat-strip-leading-blank-lines)
> (setq gnus-treat-strip-trailing-blank-lines)
> (setq gnus-treat-strip-multiple-blank-lines)
> (setq gnus-treat-highlight-highlight-headers)
> (setq gnus-treat-emphasize)

`setq' is a special form that accepts an even number of arguments.

> Have I missed something stupid?

If calling setq with one argument is stupid then yes, you missed
something stupid.  :-)


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

* Re: X-Sent
  1999-07-23 18:57     ` X-Sent Hrvoje Niksic
@ 1999-07-24 13:10       ` Shaun Lipscombe
  0 siblings, 0 replies; 13+ messages in thread
From: Shaun Lipscombe @ 1999-07-24 13:10 UTC (permalink / raw)



Oh my god... I have been stupid.  Excuse: Hot day on Friday, and my
brain wasn't functioning properly.  Doh!

Cheers!

Shaun

-- 
          (o_
(o_  (o_  //\
(/)_ (/)_ V_/_   shaun.lipscombe@gasops.co.uk



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

* Re: X-Sent
  1999-07-23 10:27 ` X-Sent Kai Großjohann
  1999-07-23 17:33   ` X-Sent Shaun Lipscombe
@ 1999-07-26  8:29   ` Shaun Lipscombe
  1999-07-26 13:11     ` X-Sent Karl Kleinpaste
  1 sibling, 1 reply; 13+ messages in thread
From: Shaun Lipscombe @ 1999-07-26  8:29 UTC (permalink / raw)


* "Kai" == Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> writes:

 Kai> Shaun Lipscombe <shaun.lipscombe@gasops.co.uk> writes:
 >> I used to have this header displayed via gnus-article-date-lapsed,
 >> in the article display hook.  It no longer works.... (meaning it
 >> did with gnus-04.06.45 but not with pgnus-0.95

 Kai> Article display was changed from gnus-article-display-hook (or
 Kai> some such) to a bunch of gnus-treat-* variables.

I changed it to (setq gnus-treat-date-lapsed t) and it still doesn't
work :(

This is about the only thing that I have been unable to resolve since
switching from gnus 4.6.45 to pgnus.

Shaun

-- 
          (o_
(o_  (o_  //\
(/)_ (/)_ V_/_   shaun.lipscombe@gasops.co.uk



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

* Re: X-Sent
  1999-07-26  8:29   ` X-Sent Shaun Lipscombe
@ 1999-07-26 13:11     ` Karl Kleinpaste
  1999-07-26 16:25       ` X-Sent Shaun Lipscombe
  0 siblings, 1 reply; 13+ messages in thread
From: Karl Kleinpaste @ 1999-07-26 13:11 UTC (permalink / raw)


Shaun Lipscombe <shaun.lipscombe@gasops.co.uk> writes:
> I changed it to (setq gnus-treat-date-lapsed t) and it still doesn't
> work :(

Try (setq 'gnus-treat-date-lapsed 'head) instead.


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

* Re: X-Sent
  1999-07-26 13:11     ` X-Sent Karl Kleinpaste
@ 1999-07-26 16:25       ` Shaun Lipscombe
  1999-07-26 16:46         ` X-Sent Didier Verna
  0 siblings, 1 reply; 13+ messages in thread
From: Shaun Lipscombe @ 1999-07-26 16:25 UTC (permalink / raw)


* "Karl" == Karl Kleinpaste <karl@justresearch.com> writes:

 Karl> Shaun Lipscombe <shaun.lipscombe@gasops.co.uk> writes:
 >> I changed it to (setq gnus-treat-date-lapsed t) and it still
 >> doesn't work :(

 Karl> Try (setq 'gnus-treat-date-lapsed 'head) instead.

OK it works now :)

What I don't understand though, is why have 3 different values t 'head
and 'last.  I understand that 'head works on the headers, so what use
would t, and 'last have?

Thanks,

Shaun

P.S.  Also it seems that some things like article beautificaton is
enabled by default in pgnus, whereas in Gnus it had to be enabled.  I
have gnus-treat-emphasize set to non-nil for example, although I
didn't set it.  gnus-treat-highlight-headers is also set to head by
default.

-- 
          (o_
(o_  (o_  //\
(/)_ (/)_ V_/_   shaun.lipscombe@gasops.co.uk



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

* Re: X-Sent
  1999-07-26 16:25       ` X-Sent Shaun Lipscombe
@ 1999-07-26 16:46         ` Didier Verna
  1999-07-26 17:25           ` X-Sent Shaun Lipscombe
  1999-07-27  1:50           ` X-Sent Hrvoje Niksic
  0 siblings, 2 replies; 13+ messages in thread
From: Didier Verna @ 1999-07-26 16:46 UTC (permalink / raw)
  Cc: ding

Shaun Lipscombe <shaun.lipscombe@gasops.co.uk> writes:


> What I don't understand though, is why have 3 different values t 'head
> and 'last.  I understand that 'head works on the headers, so what use
> would t, and 'last have?

        Because Lars wants uniform specifications over all gnus-treat-*
variables. I think this is a real misconception because it leads to
meaningless values for some of these variables (like this one) and because
nothing prevents you from saying 'head to many different gnus-treat-date-*, in
which case the behavior is undefined (I mean, you can't guess what will
happen).

        But Lars seems to be hooked on this scheme.

-- 
    /     /   _   _       Didier Verna        http://www.inf.enst.fr/~verna/
 - / / - / / /_/ /     ENST, INFRES C201.1       mailto:verna@inf.enst.fr
/_/ / /_/ / /__ /        46 rue Barrault        Tel.   +33 (1) 45 81 73 46
                       75013 Paris, France      Fax.   +33 (1) 45 81 31 19


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

* Re: X-Sent
  1999-07-26 16:46         ` X-Sent Didier Verna
@ 1999-07-26 17:25           ` Shaun Lipscombe
  1999-07-27  1:50           ` X-Sent Hrvoje Niksic
  1 sibling, 0 replies; 13+ messages in thread
From: Shaun Lipscombe @ 1999-07-26 17:25 UTC (permalink / raw)


* "dv" == Didier Verna <verna@inf.enst.fr> writes:

 dv> Because Lars wants uniform specifications over all gnus-treat-*
 dv> variables. I think this is a real misconception because it leads
 dv> to meaningless values for some of these variables (like this one)

Yes.  This is what confused me when I read the docs... some settings
don't make any sense.

An example:

gnus-treat-hide-signature 'head

Shaun

-- 
          (o_
(o_  (o_  //\
(/)_ (/)_ V_/_   shaun.lipscombe@gasops.co.uk



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

* Re: X-Sent
  1999-07-26 16:46         ` X-Sent Didier Verna
  1999-07-26 17:25           ` X-Sent Shaun Lipscombe
@ 1999-07-27  1:50           ` Hrvoje Niksic
  1999-08-27 21:43             ` X-Sent Lars Magne Ingebrigtsen
  1 sibling, 1 reply; 13+ messages in thread
From: Hrvoje Niksic @ 1999-07-27  1:50 UTC (permalink / raw)


Didier Verna <verna@inf.enst.fr> writes:

> Shaun Lipscombe <shaun.lipscombe@gasops.co.uk> writes:
> 
> 
> > What I don't understand though, is why have 3 different values t 'head
> > and 'last.  I understand that 'head works on the headers, so what use
> > would t, and 'last have?
> 
> Because Lars wants uniform specifications over all gnus-treat-*
> variables.

The worst thing is that the docstrings are highly misleading.  All of
them say "Valid values are nil, t, `head', `last', an integer or a
predicate."

Although those values may be technically "valid", in the case
gnus-treat-date-lapsed, only nil and `head' are really meaningful.
The docstring should be helpful about what is really going on rather
than confuse matters for the user.

The manual is apparently even worse -- it just lists the variables and 
explains what the "predicate" stuff does.


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

* Re: X-Sent
  1999-07-27  1:50           ` X-Sent Hrvoje Niksic
@ 1999-08-27 21:43             ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 13+ messages in thread
From: Lars Magne Ingebrigtsen @ 1999-08-27 21:43 UTC (permalink / raw)


Hrvoje Niksic <hniksic@srce.hr> writes:

> The worst thing is that the docstrings are highly misleading.  All of
> them say "Valid values are nil, t, `head', `last', an integer or a
> predicate."

I'd welcome a patch that made the docstrings more helpful.

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


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

end of thread, other threads:[~1999-08-27 21:43 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-07-23  9:28 X-Sent Shaun Lipscombe
1999-07-23 10:27 ` X-Sent Kai Großjohann
1999-07-23 17:33   ` X-Sent Shaun Lipscombe
1999-07-23 18:32     ` X-Sent Aaron M. Ucko
1999-07-23 18:57     ` X-Sent Hrvoje Niksic
1999-07-24 13:10       ` X-Sent Shaun Lipscombe
1999-07-26  8:29   ` X-Sent Shaun Lipscombe
1999-07-26 13:11     ` X-Sent Karl Kleinpaste
1999-07-26 16:25       ` X-Sent Shaun Lipscombe
1999-07-26 16:46         ` X-Sent Didier Verna
1999-07-26 17:25           ` X-Sent Shaun Lipscombe
1999-07-27  1:50           ` X-Sent Hrvoje Niksic
1999-08-27 21:43             ` X-Sent Lars Magne Ingebrigtsen

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