Gnus development mailing list
 help / color / mirror / Atom feed
* Re: %C in gnus-summary-line-format.
       [not found] <hh8yxy8a7g.fsf@blah.pl>
@ 2003-01-07  4:48 ` Lars Magne Ingebrigtsen
       [not found]   ` <hhu1gl2dmp.fsf@blah.pl>
  0 siblings, 1 reply; 8+ messages in thread
From: Lars Magne Ingebrigtsen @ 2003-01-07  4:48 UTC (permalink / raw)


Maciej Matysiak <phoner.ding@blah.pl> writes:

> c-h v gnus-summary-line-format says:
> %C If present, indicates desired cursor position (instead of after first colon).
>
> but when i add this to my g-s-l-f, the only effect is a * in the place where
> the cursor should be. is the %C broken somehow?

What's the value of your `gnus-summary-line-format' variable?

> also, could we have (working) %C-like specifier in gnus-group-line-format?
> unfortunately, the %C is already taken there, but there's still few free
> letters we could use.

Uhm...  Would that be useful?

> and one thing which bothers me: when i evaluate the g-s-l-f, i have to enter
> the group two times to make it working. the old format is still valid once
> after the evaluation. a bug?

Do you set that variable before or after you exit the (old) summary
buffer? 

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



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

* Re: %C in gnus-summary-line-format.
       [not found]   ` <hhu1gl2dmp.fsf@blah.pl>
@ 2003-01-08  4:39     ` Lars Magne Ingebrigtsen
  2003-01-08 16:06       ` Nevin Kapur
  0 siblings, 1 reply; 8+ messages in thread
From: Lars Magne Ingebrigtsen @ 2003-01-08  4:39 UTC (permalink / raw)


Maciej Matysiak <phoner.ding@blah.pl> writes:

> i'm using now: "%U%R %3t | (%4k:%4L) %-42,42B %f\n"
> after i inserted the %C, it looks: "%U%R %3t | (%4k:%4L) %C%-42,42B %f\n"

Yup.  Fix in Oort Gnus v0.11 (i. e., CVS).

> yes. i don't have : in my gnus-group-line-format (it just doesn't fit there
> imho), so the cursor is always at the begining of the line. i'd like to have
> it near the group name.

%C is taken in the group line format.  I think it would make more
sense to change th %C in the summary line format to something else,
and have the cursor spec be the same in all formats.

How about %~?  I'll change the code to use that instead, which will
make the thing work, as if by magic, in all the modes.

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



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

* Re: %C in gnus-summary-line-format.
  2003-01-08  4:39     ` Lars Magne Ingebrigtsen
@ 2003-01-08 16:06       ` Nevin Kapur
  2003-01-08 16:08         ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 8+ messages in thread
From: Nevin Kapur @ 2003-01-08 16:06 UTC (permalink / raw)


Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> %C is taken in the group line format.  I think it would make more
> sense to change th %C in the summary line format to something else,
> and have the cursor spec be the same in all formats.
>
> How about %~?  I'll change the code to use that instead, which will
> make the thing work, as if by magic, in all the modes.

Something weird seems to have happened.  My gnus-summary-line-format
is "%C%U%R%z %10&user-date; %~(ignore 1)3t%B%(%[%-20,20f%]%) %s
"
and the my summary lines now look like

*R +        Tue (ignore 1)3t+[Maciej Matysiak     ] Re: %C in gnus-summary-line-format.

I can guess why the "*" appears at the beginning of the line but the
%~ seems to have broken something.

-Nevin



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

* Re: %C in gnus-summary-line-format.
  2003-01-08 16:06       ` Nevin Kapur
@ 2003-01-08 16:08         ` Lars Magne Ingebrigtsen
       [not found]           ` <hh8yxvvcyk.fsf@blah.pl>
  0 siblings, 1 reply; 8+ messages in thread
From: Lars Magne Ingebrigtsen @ 2003-01-08 16:08 UTC (permalink / raw)


Nevin Kapur <nevin@jhu.edu> writes:

> Something weird seems to have happened.  My gnus-summary-line-format
> is "%C%U%R%z %10&user-date; %~(ignore 1)3t%B%(%[%-20,20f%]%) %s

Eh, "oops".  I had forgotten that %~ was already taken.

Uhm...  %*, then?

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



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

* Re: %C in gnus-summary-line-format.
       [not found]           ` <hh8yxvvcyk.fsf@blah.pl>
@ 2003-01-11 20:12             ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 8+ messages in thread
From: Lars Magne Ingebrigtsen @ 2003-01-11 20:12 UTC (permalink / raw)


Maciej Matysiak <phoner.ding@blah.pl> writes:

> maybe %:, as it's replacement for 'put cursor on first :'?

%: is used in `gnus-group-mode-line-format' already.  (OK, the point
spec doesn't make any sense in mode line format spec variables, but
still...)

I think we'll keep %*.

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



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

* Re: %C in gnus-summary-line-format
  2003-01-12 22:16   ` Frank Haun
@ 2003-01-12 22:51     ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 8+ messages in thread
From: Lars Magne Ingebrigtsen @ 2003-01-12 22:51 UTC (permalink / raw)


Frank Haun <pille3003@fhaun.de> writes:

> `C-h v gnus-summary-line-format' still shows the `%C'. The Info-Manual
> is up to date. Unfortunately I looked up with `C-h v'. :-)

Yup.  Fix in Oort Gnus v0.13 (i. e., CVS).

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



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

* Re: %C in gnus-summary-line-format
       [not found] ` <hhel7it5f2.fsf@blah.pl>
@ 2003-01-12 22:16   ` Frank Haun
  2003-01-12 22:51     ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 8+ messages in thread
From: Frank Haun @ 2003-01-12 22:16 UTC (permalink / raw)


Maciej Matysiak <phoner.ding@blah.pl> writes:

> On the 12th of January 2003 at 22:29, Frank Haun <pille3003#fhaun.de> wrote:
>
>> the specifier `%C'[1] doesn't work anymore, since I've upgraded
>> to Oort v.012. At the position of the `%C' I get a `*'.
>
> it's changed into "%*",

Ah, thanks, works fine now.

> probably the docs are not updated yet.

`C-h v gnus-summary-line-format' still shows the `%C'. The Info-Manual
is up to date. Unfortunately I looked up with `C-h v'. :-)

Frank



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

* %C in gnus-summary-line-format
@ 2003-01-12 21:29 Frank Haun
       [not found] ` <hhel7it5f2.fsf@blah.pl>
  0 siblings, 1 reply; 8+ messages in thread
From: Frank Haun @ 2003-01-12 21:29 UTC (permalink / raw)


Hi,

the specifier `%C'[1] doesn't work anymore, since I've upgraded
to Oort v.012. At the position of the `%C' I get a `*'.

gnus-summary-line-format's value is 
"%U%R%z%I%(%[%4L%C %-23,23f%]%) %s\n"
Local in buffer *Summary gnus.ding*;

Frank

Footnotes: 
[1] %C   If present, indicates desired cursor position
     (instead of after first colon).





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

end of thread, other threads:[~2003-01-12 22:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <hh8yxy8a7g.fsf@blah.pl>
2003-01-07  4:48 ` %C in gnus-summary-line-format Lars Magne Ingebrigtsen
     [not found]   ` <hhu1gl2dmp.fsf@blah.pl>
2003-01-08  4:39     ` Lars Magne Ingebrigtsen
2003-01-08 16:06       ` Nevin Kapur
2003-01-08 16:08         ` Lars Magne Ingebrigtsen
     [not found]           ` <hh8yxvvcyk.fsf@blah.pl>
2003-01-11 20:12             ` Lars Magne Ingebrigtsen
2003-01-12 21:29 Frank Haun
     [not found] ` <hhel7it5f2.fsf@blah.pl>
2003-01-12 22:16   ` Frank Haun
2003-01-12 22:51     ` 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).