* gnus-summary-line-format rather daunting to the average user
@ 2011-07-21 0:19 jidanni
2011-08-21 3:47 ` Lars Magne Ingebrigtsen
0 siblings, 1 reply; 2+ messages in thread
From: jidanni @ 2011-07-21 0:19 UTC (permalink / raw)
To: ding
Gentlemen,
gnus-summary-line-format is a variable defined in `gnus.el'.
Its value is
"%U%R%z%I%(%t %3{%~(cut-left 2)~(max-right 6)~(pad 6)o%}%3L|%us|%-14,14f%)%3{%un%}:%s\n"
Original value was <---**** P.S., extra blank here ****
"%U%R%z%I%(%[%4L: %-23,23f%]%) %s\n"
...The %U (status), %R (replied) and %z (zcore) specs have to be handled
with care. For reasons of efficiency, Gnus will compute what column
these characters will end up in, and "hard-code" that. This means that
it is invalid to have these specs after a variable-length spec. Well,
you might not be arrested, but your summary buffer will look strange,
which is bad enough.
Forget it. I give up trying to understand all this.
All I know is with what I have now, things aren't lining up.
1 110707 19|2.1|Zoe :Signup Complete
1 110714 6|4.4|<complaints@cb:Your complaint has been received
1 110714 43|-97.7|Support :[forum.userstyles.org] luckymouse commented on your
1 110714 11|-97.7|Support :[forum.userstyles.org] makondo commented on your di
1 110717232|4.6|PChome相簿 :[PChome相簿]訊息通知小天使
1 110717103|11.2|PChome名片盒 :Missme 已確認你們為PChome好友
1 110719208|-0.4|Flickr Mail :[Flickr] michael_137 added your photo "2009台灣同志
1 110719 16|1.0|變裝姊妹的奇幻:[變裝姊妹的奇幻私密] 《》新回復通知
1 110719 13|-101.0|Cron Daemon :Cron <jidanni@hoffa> set -e; cd youtube; test -f o
1 110721 5||-> root@jidann:Output from your job 85
OK, we are about to set off on a trip ti make the 2.1, 4.4 field above
have a minimal width.
I decided to take the reader along so he sees how painful it is.
Firstly all those arcane one letter codes. They should be full names.
OK, it seems I want to adjust the %us string.
(setq gnus-summary-line-format
"%U%R%z%I%(%t %3{%~(cut-left 2)~(max-right 6)~(pad 6)o%}%3L|%6us|%-14,14f%)%3{%un%}:%s\n")
OK, that wasn't that tough. OK, See ya. Bye.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: gnus-summary-line-format rather daunting to the average user
2011-07-21 0:19 gnus-summary-line-format rather daunting to the average user jidanni
@ 2011-08-21 3:47 ` Lars Magne Ingebrigtsen
0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-08-21 3:47 UTC (permalink / raw)
To: jidanni; +Cc: ding
jidanni@jidanni.org writes:
> OK, that wasn't that tough. OK, See ya. Bye.
You're welcome, I'm sure. :-)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-08-21 3:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-21 0:19 gnus-summary-line-format rather daunting to the average user jidanni
2011-08-21 3:47 ` 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).