GNU bug report logs - #32744
There seems to be a bug in current-column in character mode

Previous Next

Package: emacs;

Reported by: Kalman Reti <kalman.reti <at> gmail.com>

Date: Sun, 16 Sep 2018 16:26:02 UTC

Severity: normal

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: Kalman Reti <kalman.reti <at> gmail.com>
To: 32744 <at> debbugs.gnu.org
Subject: bug#32744: There seems to be a bug in current-column in character mode
Date: Sun, 16 Sep 2018 09:28:47 -0400
[Message part 1 (text/plain, inline)]
In an empty buffer, m-: of

(let ((p (point))) (insert " ") (add-text-properties p (point) `(display
(space :width 7))) (insert ".") (current-column))

returns 2 in gui mode but 8 in character mode of emacsen more recent than
emacs 22.  (I tried it in several emacs versions including the most recent
27.0.50 snapshot.)

I discovered this by figuring out why the m-x bubbles game hasn't worked in
character mode since emacs 22.
[Message part 2 (text/html, inline)]

This bug report was last modified 6 years and 306 days ago.

Previous Next


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