powerline
powerline copied to clipboard
Unescaped percent characters in buffer names
Create a new buffer named "%sfoobar". The modeline shows the buffer name as "no processfoobar". (At least it does, in one experiment.)
The bug shows up in real life with the mail package mew, which tends to name buffers associated with imap folders with a beginning %
character. In these cases, I usually get a five digit number instead. For example, right now the "%inbox" buffer shows as "14835nbox".
This is with emacs 25.0.50, source from git repo on savannah about a week ago.
Oops, discovered just now that this is not maintained. I am leaving this here anyhow, in case someone who does maintain a fork comes along and sees it.
You could submit a pull request that escapes things like this. It's just cause we're formatting a string that is getting that but I'm not sure off the top of my head where that might be happening. On Mon, Dec 1, 2014 at 11:40 hanche [email protected] wrote:
Oops, discovered just now that this is not maintained. I am leaving this here anyhow, in case someone who does maintain a fork comes along and sees it.
— Reply to this email directly or view it on GitHub https://github.com/milkypostman/powerline/issues/74#issuecomment-65103183 .
Okay, I will give it some thought. I was hoping you (or someone) could spot the right fix easily, but if not, I will have a look myself when I have time. Which may not be soon.