bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#60781: 28.2; column-number-mode counts differently based on characte


From: Van Ly
Subject: bug#60781: 28.2; column-number-mode counts differently based on character encoding
Date: Fri, 13 Jan 2023 13:31:29 GMT

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

Attachment: bug-report.text
Description: bug report data

Attachment: example.text
Description: example file to reproduce steps


reply via email to

[Prev in Thread] Current Thread [Next in Thread]