Subject: bug#60781: closed (Re: bug#60781: 28.2; column-number-mode counts differently based on character encoding)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 14 Jan 2023 07:27:02 +0000

Your bug report

#60781: 28.2; column-number-mode counts differently based on character encoding

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
60781: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60781
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#60781: 28.2; column-number-mode counts differently based on character encoding
From: Eli Zaretskii <[email-masked]>
To: Van Ly <[email-masked]>
Cc: [email-masked]
Date: Sat, 14 Jan 2023 09:26:41 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

> Date: Sat, 14 Jan 2023 03:10:50 GMT
> From: Van Ly <[email-masked]>
> Cc: [email-masked]
> 
> 
> Thanks.
> 
> I will file it a bug in my idea of human centered design principle. \smiley

I'm therefore closing the bug.

Subject: 28.2; column-number-mode counts differently based on character encoding
From: Van Ly <[email-masked]>
To: [email-masked]
Date: Fri, 13 Jan 2023 13:31:29 GMT
List-Id: <debbugs-submit.debbugs.gnu.org>

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