From: Lars Magne Ingebrigtsen <larsi@gnus.org>
Subject: Re: %C
Date: Thu, 23 Aug 2001 18:41:25 +0200 [thread overview]
Message-ID: <m3k7zu91ai.fsf@quimbies.gnus.org> (raw)
In-Reply-To: <wqsn14rdsal.fsf@modesty.pdc.kth.se>
torkel@acc.umu.se (Björn Torkelsson) writes:
> %C is not working if the spec begins with %C, i.e %C%U%R...
> then I get:
>
> Args out of range: #<buffer " *gnus work*">, 0, 1
Hm; yes. One can't use zero-width text props (which is how %C is
implemented), so it sets the property on the preceding character. And
that's not possible when the %C comes first.
Although I guess I could just special-case for that and just leave the
text prop off entirely if it comes first. That will leave point at
the start of the line. (Except when there's a colon on the line.)
>> %50T to go to column 50
>> %-50T to go to column 50 -- possibly deleting text that's already
>> been inserted to get to the column
>
> shouldn't T be = ? Or do I missinterpret the docs?
I changed my mind between writing the mail and writing the code. It's
"%=".
> By the way both %C and %nn= (or %nnT) is missing in the
> gnus-summary-line-format description.
None of the general specs are described in any of the specific line
format doc strings.
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
prev parent reply other threads:[~2001-08-23 16:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-19 16:28 %C Lars Magne Ingebrigtsen
2001-08-19 16:54 ` %C Lars Magne Ingebrigtsen
2001-08-23 9:44 ` %C Björn Torkelsson
2001-08-23 16:41 ` Lars Magne Ingebrigtsen [this message]
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=m3k7zu91ai.fsf@quimbies.gnus.org \
--to=larsi@gnus.org \
/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).