Gnus development mailing list
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
Subject: Re: % in group name is not displayed
Date: Fri, 27 Oct 2006 20:24:24 +0900	[thread overview]
Message-ID: <b9yr6wuypav.fsf@jpl.org> (raw)
In-Reply-To: <7zslhbvjyv.fsf@emmie.koka-in.org>

>>>>> 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))




  reply	other threads:[~2006-10-27 11:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-26  3:23 Katsuhiro Hermit Endo
2006-10-27 11:24 ` Katsumi Yamaoka [this message]
2006-10-28  3:12   ` hermit
2006-10-29  0:38     ` Katsumi Yamaoka

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=b9yr6wuypav.fsf@jpl.org \
    --to=yamaoka@jpl.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).