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 #8 received at 17822 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Shigeru Fukaya <shigeru.fukaya <at> gmail.com>
Cc: 17822 <at> debbugs.gnu.org
Subject: Re: bug#17822: bs-show with mulitbyte characters doesn't work well
Date: Fri, 20 Jun 2014 15:16:08 -0400
> `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).
Can you provide a patch?


        Stefan




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.