GNU bug report logs - #18934
24.4; ibuffer with double-width characters doesn't work correctly

Previous Next

Package: emacs;

Reported by: Shigeru Fukaya <shigeru.fukaya <at> gmail.com>

Date: Mon, 3 Nov 2014 15:26:02 UTC

Severity: normal

Merged with 24972

Found in versions 24.4, 26.0.50

Done: Mark Oteiza <mvoteiza <at> udel.edu>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Shigeru Fukaya <shigeru.fukaya <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.4; ibuffer with double-width characters doesn't work correctly
Date: Tue, 04 Nov 2014 00:25:07 +0900
Hello,

`ibuffer' displays buffer information on incorrect column position if
buffer name includes double-width characters or singile-width
multibyte characters.  It is mostly because they wrongly use `length'
for string width.

It can be fixed almost by replacing length, substring with
string-width, truncate-string-to-width in several functions.

Regards,
Shigeru




This bug report was last modified 8 years and 164 days ago.

Previous Next


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