Gnus development mailing list
 help / color / mirror / Atom feed
* Timestamps
@ 1999-04-05 14:52 Stefanie Teufel
  1999-04-06 16:18 ` Timestamps Norbert Koch
  0 siblings, 1 reply; 8+ messages in thread
From: Stefanie Teufel @ 1999-04-05 14:52 UTC (permalink / raw)


Huhu,

sorry for the stupid question, but I was not able to find a solution
in the manual. I have something like the following in my Gnus.el:

(setq gnus-group-line-format 
 "%M%S%5y (%4i) / %-5t : %(%-50,50g%)  (%I)    %6,6~ (cut 2)d\n")
(add-hook 'gnus-select-group-hook 'gnus-group-set-timestamp)

But I don't like the output "990405", what I'd really like to see is
something like "05/04/1999". Any hints?

TIA,

Stefanie
-- 
"Gestatten? Der "Fuerst der Finsternis" ist gelandet."
	Norbert Harry Marzahn <6-fpI9fqbXB@nm01.vision.IN-BRB.DE>


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

* Re: Timestamps
  1999-04-05 14:52 Timestamps Stefanie Teufel
@ 1999-04-06 16:18 ` Norbert Koch
  1999-04-07  6:46   ` Timestamps Norbert Koch
  0 siblings, 1 reply; 8+ messages in thread
From: Norbert Koch @ 1999-04-06 16:18 UTC (permalink / raw)
  Cc: ding

Stefanie Teufel <s.teufel@ndh.net> writes:

> But I don't like the output "990405", what I'd really like to see is
> something like "05/04/1999". Any hints?

Hi Steffi,

I've tried the following which seems to do what you want:

(setq gnus-group-line-format "%M\%S\%L\%P\%5y: %(%-40,40g%) %uT\n")

(defun gnus-user-format-function-T (dummy)
  (format-time-string "%D - %T"))

My group-line now is

  3      2: nnml+nk:xemacs                           04/06/99 - 18:18:10
* 3      0: nnml+nk:ding                             04/06/99 - 18:18:10

Hth, cheers, norbert.



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

* Re: Timestamps
  1999-04-06 16:18 ` Timestamps Norbert Koch
@ 1999-04-07  6:46   ` Norbert Koch
  1999-04-17  6:27     ` Timestamps Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 8+ messages in thread
From: Norbert Koch @ 1999-04-07  6:46 UTC (permalink / raw)
  Cc: ding

Norbert Koch <n.koch@delta-ii.de> writes:

> (setq gnus-group-line-format "%M\%S\%L\%P\%5y: %(%-40,40g%) %uT\n")
> 
> (defun gnus-user-format-function-T (dummy)
>   (format-time-string "%D - %T"))

Blah ..

sorry for the follow-up but this version is seriously flawed, since
all group lines will be updated  ...

I ended up with (horrors)

(setq gnus-group-line-format 
  "%M\%S\%L\%P\%5y: %(%-40,40g%) %2,2~(cut 4)d %2,2~(cut 4)d %-4,4d\n")

I tried something along the lines gnus-find-group-parameter, but (on a 
first impression) don't have the necessary group-name.

Any leads? 

TIA, norbert.


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

* Re: Timestamps
  1999-04-07  6:46   ` Timestamps Norbert Koch
@ 1999-04-17  6:27     ` Lars Magne Ingebrigtsen
  1999-04-19 21:37       ` Timestamps David Hedbor
  0 siblings, 1 reply; 8+ messages in thread
From: Lars Magne Ingebrigtsen @ 1999-04-17  6:27 UTC (permalink / raw)


Norbert Koch <n.koch@delta-ii.de> writes:

> I tried something along the lines gnus-find-group-parameter, but (on a 
> first impression) don't have the necessary group-name.

The group name is in gnus-tmp-group.

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


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

* Re: Timestamps
  1999-04-17  6:27     ` Timestamps Lars Magne Ingebrigtsen
@ 1999-04-19 21:37       ` David Hedbor
  1999-04-21 19:02         ` Timestamps Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 8+ messages in thread
From: David Hedbor @ 1999-04-19 21:37 UTC (permalink / raw)


While we're talking about dates.. I use the X-sent feature, and I
love it. I would like to have the normal date header as well
though. Is it possible to have both at the same time?
-- 
[ Below is a random fortune, which is unrelated to the above message. ]
McEwan's Rule of Relative Importance:
	When traveling with a herd of elephants, don't be the first to
	lie down and rest.



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

* Re: Timestamps
  1999-04-19 21:37       ` Timestamps David Hedbor
@ 1999-04-21 19:02         ` Lars Magne Ingebrigtsen
  1999-04-21 19:22           ` Timestamps Colin Rafferty
  0 siblings, 1 reply; 8+ messages in thread
From: Lars Magne Ingebrigtsen @ 1999-04-21 19:02 UTC (permalink / raw)


David Hedbor <david@hedbor.org> writes:

> While we're talking about dates.. I use the X-sent feature, and I
> love it. I would like to have the normal date header as well
> though. Is it possible to have both at the same time?

This will be possible in 0.83.

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


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

* Re: Timestamps
  1999-04-21 19:02         ` Timestamps Lars Magne Ingebrigtsen
@ 1999-04-21 19:22           ` Colin Rafferty
  1999-04-22  7:37             ` Timestamps Didier Verna
  0 siblings, 1 reply; 8+ messages in thread
From: Colin Rafferty @ 1999-04-21 19:22 UTC (permalink / raw)


Lars Magne Ingebrigtsen writes:
> David Hedbor <david@hedbor.org> writes:

>> [ Is it possible to have X-Sent and Date headers? ]

> This will be possible in 0.83.

How?

Or do you mean 0.84?

-- 
Colin


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

* Re: Timestamps
  1999-04-21 19:22           ` Timestamps Colin Rafferty
@ 1999-04-22  7:37             ` Didier Verna
  0 siblings, 0 replies; 8+ messages in thread
From: Didier Verna @ 1999-04-22  7:37 UTC (permalink / raw)


Colin Rafferty <craffert@ms.com> writes:

> Lars Magne Ingebrigtsen writes:
> > David Hedbor <david@hedbor.org> writes:
> 
> >> [ Is it possible to have X-Sent and Date headers? ]
> 
> > This will be possible in 0.83.
> 
> How?
> 
> Or do you mean 0.84?

        Yes. I submitted a patch against 0.83 to do this.

-- 
    /     /   _   _       Didier Verna        http://www.inf.enst.fr/~verna/
 - / / - / / /_/ /      E.N.S.T. INF C201.1      mailto:verna@inf.enst.fr
/_/ / /_/ / /__ /        46 rue Barrault        Tel.   (33) 01 45 81 73 46
                      75634 Paris  cedex 13     Fax.   (33) 01 45 81 31 19


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

end of thread, other threads:[~1999-04-22  7:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-04-05 14:52 Timestamps Stefanie Teufel
1999-04-06 16:18 ` Timestamps Norbert Koch
1999-04-07  6:46   ` Timestamps Norbert Koch
1999-04-17  6:27     ` Timestamps Lars Magne Ingebrigtsen
1999-04-19 21:37       ` Timestamps David Hedbor
1999-04-21 19:02         ` Timestamps Lars Magne Ingebrigtsen
1999-04-21 19:22           ` Timestamps Colin Rafferty
1999-04-22  7:37             ` Timestamps Didier Verna

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