GNU bug report logs -
#22537
25.1.50; cursor-sensor-mode strangeness
Previous Next
Reported by: Helmut Eller <eller.helmut <at> gmail.com>
Date: Tue, 2 Feb 2016 21:21:02 UTC
Severity: normal
Found in version 25.1.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 22537 in the body.
You can then email your comments to 22537 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#22537
; Package
emacs
.
(Tue, 02 Feb 2016 21:21:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Helmut Eller <eller.helmut <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Tue, 02 Feb 2016 21:21:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
When executing the example below with: emacs -Q -nw -l test.el
Emacs prints
"result: ((1 2 entered) (5 6 left))"
I would expect this instead:
((1 2 entered) (2 3 left) (4 5 entered) (5 6 left))
(progn
(defvar test-result '())
(defun test-sensor (_ pos entered/left)
(push (list pos (point) entered/left) test-result))
(defun test ()
(interactive)
(setq test-result '())
(with-current-buffer (get-buffer-create "test")
(erase-buffer)
(insert "x")
(insert (propertize "a" 'cursor-sensor-functions (list #'test-sensor)))
(insert "y")
(insert (propertize "b" 'cursor-sensor-functions (list #'test-sensor)))
(insert "z")
(cursor-sensor-mode 1)
(save-selected-window
(let ((win (display-buffer (current-buffer))))
(select-window win)
(goto-char (point-min)))
(while (not (eobp))
(redisplay t)
(forward-char))
(redisplay t)))
(message "result: %S" (reverse test-result)))
(test))
In GNU Emacs 25.1.50.3 (i686-pc-linux-gnu, GTK+ Version 3.14.5)
of 2016-01-29 built on ix
Repository revision: 487bd7aedf9bbbf0b939b653912253fbeb7d16b9
System Description: Debian GNU/Linux 8.0 (jessie)
Configured using:
'configure --with-jpeg=no --with-gif=no --with-tiff=no'
Configured features:
XPM PNG RSVG SOUND DBUS GSETTINGS NOTIFY LIBXML2 FREETYPE XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11
Important settings:
value of $LANG: C.UTF-8
locale-coding-system: utf-8-unix
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#22537
; Package
emacs
.
(Thu, 03 Dec 2020 09:50:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 22537 <at> debbugs.gnu.org (full text, mbox):
Helmut Eller <eller.helmut <at> gmail.com> writes:
> When executing the example below with: emacs -Q -nw -l test.el
> Emacs prints
> "result: ((1 2 entered) (5 6 left))"
> I would expect this instead:
> ((1 2 entered) (2 3 left) (4 5 entered) (5 6 left))
(This bug report unfortunately got no response at the time.)
In Emacs 28, I'm getting:
"result: ((1 2 entered) (2 3 left) (3 4 entered) (4 5 left))"
And I think that's correct? So it looks like this has been fixed at
some point in the years that's passed since this was reported, and I'm
closing this bug report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
bug closed, send any further explanations to
22537 <at> debbugs.gnu.org and Helmut Eller <eller.helmut <at> gmail.com>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Thu, 03 Dec 2020 09:50:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 31 Dec 2020 12:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 169 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.