* % in group name is not displayed
@ 2006-10-26 3:23 Katsuhiro Hermit Endo
2006-10-27 11:24 ` Katsumi Yamaoka
0 siblings, 1 reply; 4+ messages in thread
From: Katsuhiro Hermit Endo @ 2006-10-26 3:23 UTC (permalink / raw)
Hi,
'%' in group name is not displayed on mode-line in summary buffer.
ex.
nnimap:INBOX.aa-100% => nnimap:INBOX.aa-100
nnmaildir:aa-100% => nnmaildir:aa-100
'%' must be escaped for mode-line-buffer-identification ?
Or '%' does not have to be used in group name ?
--
Katsuhiro Hermit Endo
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: % in group name is not displayed
2006-10-26 3:23 % in group name is not displayed Katsuhiro Hermit Endo
@ 2006-10-27 11:24 ` Katsumi Yamaoka
2006-10-28 3:12 ` hermit
0 siblings, 1 reply; 4+ messages in thread
From: Katsumi Yamaoka @ 2006-10-27 11:24 UTC (permalink / raw)
>>>>> In <7zslhbvjyv.fsf@emmie.koka-in.org>
>>>>> Katsuhiro Hermit Endo <hermit@koka-in.org> wrote:
> '%' in group name is not displayed on mode-line in summary buffer.
> ex.
> nnimap:INBOX.aa-100% => nnimap:INBOX.aa-100
> nnmaildir:aa-100% => nnmaildir:aa-100
> '%' must be escaped for mode-line-buffer-identification ?
Yes, it should be. I believe the following patch fixes this,
however I have no time to verify its rightfulness thoroughly
(because my main computer is in bad condition :-<). I would
very much appreciate someone looking into it.
Best regards,
--- gnus-sum.el~ 2006-10-25 07:24:37 +0000
+++ gnus-sum.el 2006-10-27 11:21:04 +0000
@@ -5832,8 +5832,9 @@
(let* ((mformat (symbol-value
(intern
(format "gnus-%s-mode-line-format-spec" where))))
- (gnus-tmp-group-name (gnus-group-decoded-name
- gnus-newsgroup-name))
+ (gnus-tmp-group-name (gnus-mode-string-quote
+ (gnus-group-decoded-name
+ gnus-newsgroup-name)))
(gnus-tmp-article-number (or gnus-current-article 0))
(gnus-tmp-unread gnus-newsgroup-unreads)
(gnus-tmp-unread-and-unticked (length gnus-newsgroup-unreads))
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: % in group name is not displayed
2006-10-27 11:24 ` Katsumi Yamaoka
@ 2006-10-28 3:12 ` hermit
2006-10-29 0:38 ` Katsumi Yamaoka
0 siblings, 1 reply; 4+ messages in thread
From: hermit @ 2006-10-28 3:12 UTC (permalink / raw)
>> '%' must be escaped for mode-line-buffer-identification ?
>
> Yes, it should be. I believe the following patch fixes this,
Thanks, your patch works good.
I try using it for a while.
--
Katsuhiro Hermit Endo
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: % in group name is not displayed
2006-10-28 3:12 ` hermit
@ 2006-10-29 0:38 ` Katsumi Yamaoka
0 siblings, 0 replies; 4+ messages in thread
From: Katsumi Yamaoka @ 2006-10-29 0:38 UTC (permalink / raw)
>>>>> In <7zu01prv5a.fsf@emmie.koka-in.org>
>>>>> hermit@koka-in.org wrote:
>>> '%' must be escaped for mode-line-buffer-identification ?
>> Yes, it should be. I believe the following patch fixes this,
> Thanks, your patch works good.
> I try using it for a while.
I verified that fix is effective to every gnus-.*-format
containing %g, and there seems to be no other format items that
also should be fixed. So, I installed the change in the trunk
and the v5-10 branch.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-10-29 0:38 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-26 3:23 % in group name is not displayed Katsuhiro Hermit Endo
2006-10-27 11:24 ` Katsumi Yamaoka
2006-10-28 3:12 ` hermit
2006-10-29 0:38 ` Katsumi Yamaoka
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).