GNU bug report logs - #1369
string-width problem in buff-menu.el

Previous Next

Package: emacs;

Reported by: "Toru TSUNEYOSHI" <t_tuneyosi <at> hotmail.com>

Date: Tue, 18 Nov 2008 15:55:04 UTC

Severity: normal

Done: Stefan Monnier <monnier <at> IRO.UMontreal.CA>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 1369 in the body.
You can then email your comments to 1369 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1369; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to "Toru TSUNEYOSHI" <t_tuneyosi <at> hotmail.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Toru TSUNEYOSHI" <t_tuneyosi <at> hotmail.com>
To: <bug-gnu-emacs <at> gnu.org>
Subject: string-width problem in buff-menu.el
Date: Wed, 19 Nov 2008 00:48:02 +0900
[Message part 1 (text/plain, inline)]
hello.

I found a problem in buff-menu.el.
(I use GNU Emacs 22.3.1 (i386-msvc-nt5.0.2195).)

`list-buffers' function can't deal with buffer name in multilingual environment.
it can't truncate buffer name properly.

example:
========================================================================
CRM Buffer                Size  Mode              File
.%  あいうえおかきくけこさしすせそ        271  Dired by name ~/temp/あいうえおかきくけこさしすせそ/
 %  あいう                    247  Dired by name  ~/temp/あいう/
 %  *GNU Emacs*            669  Fundamental
    *scratch*              191  Lisp Interaction
  * *Messages*             691  Fundamental
========================================================================

i made a patch for this problem. please check it. if ok, please apply.
[buff-menu.el.diff (application/octet-stream, attachment)]

Reply sent to Stefan Monnier <monnier <at> IRO.UMontreal.CA>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to "Toru TSUNEYOSHI" <t_tuneyosi <at> hotmail.com>:
bug acknowledged by developer. Full text and rfc822 format available.

Message #10 received at 1369-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Toru TSUNEYOSHI <t_tuneyosi <at> hotmail.com>
Cc: 1369-done <at> debbugs.gnu.org
Subject: Re: bug#1369: string-width problem in buff-menu.el
Date: Thu, 20 Nov 2008 10:22:35 -0500
> I found a problem in buff-menu.el.
> (I use GNU Emacs 22.3.1 (i386-msvc-nt5.0.2195).)

> `list-buffers' function can't deal with buffer name in multilingual
> environment.  it can't truncate buffer name properly.

> i made a patch for this problem. please check it. if ok, please apply.

Thank you, applied,


        Stefan




Message #11 received at 1369-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Toru TSUNEYOSHI" <t_tuneyosi <at> hotmail.com>
To: "Stefan Monnier" <monnier <at> IRO.UMontreal.CA>
Cc: <1369-done <at> debbugs.gnu.org>
Subject: Re: bug#1369: string-width problem in buff-menu.el
Date: Sat, 22 Nov 2008 12:43:39 +0900
Thanks a lot for your dealing and fixing code.

----- Original Message ----- 
From: "Stefan Monnier" <monnier <at> IRO.UMontreal.CA>
To: "Toru TSUNEYOSHI" <t_tuneyosi <at> hotmail.com>
Cc: <1369-done <at> debbugs.gnu.org>
Sent: Friday, November 21, 2008 12:22 AM
Subject: Re: bug#1369: string-width problem in buff-menu.el


> > I found a problem in buff-menu.el.
> > (I use GNU Emacs 22.3.1 (i386-msvc-nt5.0.2195).)
> 
> > `list-buffers' function can't deal with buffer name in multilingual
> > environment.  it can't truncate buffer name properly.
> 
> > i made a patch for this problem. please check it. if ok, please apply.
> 
> Thank you, applied,
> 
> 
>         Stefan
> 




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Sat, 20 Dec 2008 15:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 16 years and 242 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.