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: Van Ly <van.ly <at> sdf.org>
Subject: bug#60781: closed (Re: bug#60781: 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 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 60781 <at> debbugs.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: 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.

[Message part 3 (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 4 (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)]

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.