GNU bug report logs - #17822
bs-show with mulitbyte characters doesn't work well

Previous Next

Package: emacs;

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

Date: Fri, 20 Jun 2014 17:27:01 UTC

Severity: minor

Tags: fixed, patch

Fixed in version 26.2

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Shigeru Fukaya <shigeru.fukaya <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 17822 <at> debbugs.gnu.org
Subject: Re: bug#17822: bs-show with mulitbyte characters doesn't work well
Date: Sat, 21 Jun 2014 12:35:55 +0900
[Message part 1 (text/plain, inline)]
>> `bs-show' displays buffer information on incorrect column position.
>> It is because `bs-show' calculates column using `length' for multibyte
>> strings.
>
>> Just changing `length' to `string-width' in `bs-show-in-buffer' and
>> `bs--insert-one-entry' will solve the problem.
>
>Indeed (tho this is not a "multibyte" problem, but a problem with
>double-width chars).
Oh, I'll remember the term.

>Can you provide a patch?
OK

Shigeru
[bs.diff (application/octet-stream, attachment)]

This bug report was last modified 6 years and 246 days ago.

Previous Next


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