GNU bug report logs - #60781
28.2; column-number-mode counts differently based on character encoding

Previous Next

Package: emacs;

Reported by: Van Ly <van.ly <at> sdf.org>

Date: Fri, 13 Jan 2023 13:42:02 UTC

Severity: normal

Tags: notabug

Found in version 28.2

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#60781: closed (28.2; column-number-mode counts differently
 based on character encoding)
Date: Sat, 14 Jan 2023 07:27:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 14 Jan 2023 09:26:41 +0200
with message-id <83o7r18tla.fsf <at> gnu.org>
and subject line Re: bug#60781: 28.2; column-number-mode counts differently based on character encoding
has caused the debbugs.gnu.org bug report #60781,
regarding 28.2; column-number-mode counts differently based on character encoding
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
60781: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60781
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Van Ly <van.ly <at> sdf.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 28.2;
 column-number-mode counts differently based on character encoding
Date: Fri, 13 Jan 2023 13:31:29 GMT
[Message part 3 (text/plain, inline)]
Hello,

// one right arrow key move of the cursor from the left most position
// numbers differently in column-number-mode based on character encoding

These steps reproduce the observed unexpected behavior:

* emacs -Q /tmp/example.text
* move cursor to line two at left most position, then right arrow key once
* M-x column-number-mode
* the modeline indicator shows (2,2)
* move cursor to line nine at left most position, then right arrow key once
* the modeline indicator shows (9,1)

// for cjk the column number is two
// for ascii the column number is one

* expected modeline indicator to show (2,1) and (9,1)

See attached: bug-report.text, example.text
[bug-report.text (application/octet-stream, attachment)]
[example.text (application/octet-stream, attachment)]
[Message part 6 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Van Ly <van.ly <at> sdf.org>
Cc: 60781-done <at> debbugs.gnu.org
Subject: Re: bug#60781: 28.2;
 column-number-mode counts differently based on character encoding
Date: Sat, 14 Jan 2023 09:26:41 +0200
> Date: Sat, 14 Jan 2023 03:10:50 GMT
> From: Van Ly <van.ly <at> sdf.org>
> Cc: 60781 <at> debbugs.gnu.org
> 
> 
> Thanks.
> 
> I will file it a bug in my idea of human centered design principle. \smiley

I'm therefore closing the bug.


This bug report was last modified 2 years and 166 days ago.

Previous Next


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