From: Daniel Pittman <daniel@rimspace.net>
Subject: Slight bug in the `gnus-use-correct-string-widths' implementation.
Date: Fri, 31 Aug 2001 19:17:11 +1000 [thread overview]
Message-ID: <87itf461hj.fsf@inanna.rimspace.net> (raw)
The implementation of `gnus-use-correct-string-widths' is really nifty
and stuff, but it's not /quite/ complete at the moment.
When I go into a summary buffer with the following format:
(setq gnus-summary-line-format "%U%R%[%(%4,-4uL %ub%-20,20f%)%]: %B%S\n")
This expands, in the evaluation of the code, to the following Lisp:
,----
| (let ((val (eval (gnus-summary-from-or-to-or-newsgroups gnus-tmp-header))))
| (if (> (gnus-correct-length val) 20)
| (gnus-correct-substring val 0 20) val))
`----
As far as I can see, this is the /only/ time that Gnus tries to limit
the length for the `%-20,20f' expansion in the code above.
Now, that isn't strictly correct because, deep inside the code
somewhere, the result of that function (6 columns) is padded with spaces
-- 17 of them.
I get the following header:
! [ 668 Brian J. Watson ]: [PATCH 2.4.7] generic hash table implementation
! [ 251 Jason Thomas ]: [PATCH] patch's for vmware 2.0.4 for use with linux-2.4.8 kernel
[ 810 김용일 ]: presario 1700 lan card
[ 20 +David S. Miller ]: Re: [UPDATE] 2.4.10-pre2 PCI64, API changes README
So, it looks like something in the padding code for summary lines isn't
quite right, at least on XEmacs, for `gnus-use-correct-string-widths'.
Daniel
--
It's a kind of war
Where I plant bombs inside
of myself
-- Anne Sexton, _The Addict_
next reply other threads:[~2001-08-31 9:17 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-31 9:17 Daniel Pittman [this message]
2001-09-03 1:32 ` Jinhyok Heo
2001-09-07 12:07 ` Daniel Pittman
2001-09-07 12:12 ` Daniel Pittman
2001-09-08 1:12 ` Jinhyok Heo
2001-09-08 7:55 ` Simon Josefsson
2001-09-09 3:31 ` Michael Totschnig
2001-09-10 1:13 ` Daniel Pittman
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=87itf461hj.fsf@inanna.rimspace.net \
--to=daniel@rimspace.net \
/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).