GNU bug report logs -
#19553
25.0.50; vertical-motion returns erroneous positive value
Previous Next
Reported by: Dmitry Gutov <dgutov <at> yandex.ru>
Date: Sat, 10 Jan 2015 06:22:02 UTC
Severity: normal
Found in version 25.0.50
Fixed in version 24.5
Done: Dmitry Gutov <dgutov <at> yandex.ru>
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 19553 in the body.
You can then email your comments to 19553 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#19553
; Package
emacs
.
(Sat, 10 Jan 2015 06:22:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Dmitry Gutov <dgutov <at> yandex.ru>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sat, 10 Jan 2015 06:22:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
1. Create an empty buffer.
2. Create an overlay at the end of it with a tricky after-string:
(setq my-ov (make-overlay (point-max) (point-max) nil t t))
(overlay-put my-ov 'after-string "~\n~\n~")
3. Move point to the end of the buffer (it will be rendered after the
display string; not sure if it's a bug).
4. Evaluate (vertical-motion 1). Point won't move (it has nowhere to
go), but the function call with return 2. Repeat indefinitely.
It's apparently an old bug, but it's been reported in
https://github.com/company-mode/company-mode/issues/274 two days ago,
because it causes an error in company-mode's popup rendering code when
used together with a new-ish package.
(I think I have a workaround, though, if this only happens at eob).
In GNU Emacs 25.0.50.25 (x86_64-unknown-linux-gnu, GTK+ Version 3.12.2)
of 2015-01-05 on axl
Repository revision: 1ac42bca8886267dac029a2f19df1a43313e0d95
Windowing system distributor `The X.Org Foundation', version 11.0.11601901
System Description: Ubuntu 14.10
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#19553
; Package
emacs
.
(Sat, 10 Jan 2015 13:07:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 19553 <at> debbugs.gnu.org (full text, mbox):
> From: Dmitry Gutov <dgutov <at> yandex.ru>
> Date: Sat, 10 Jan 2015 09:21:12 +0300
>
> 1. Create an empty buffer.
>
> 2. Create an overlay at the end of it with a tricky after-string:
>
> (setq my-ov (make-overlay (point-max) (point-max) nil t t))
> (overlay-put my-ov 'after-string "~\n~\n~")
>
> 3. Move point to the end of the buffer (it will be rendered after the
> display string; not sure if it's a bug).
>
> 4. Evaluate (vertical-motion 1). Point won't move (it has nowhere to
> go), but the function call with return 2. Repeat indefinitely.
>
> It's apparently an old bug, but it's been reported in
> https://github.com/company-mode/company-mode/issues/274 two days ago,
> because it causes an error in company-mode's popup rendering code when
> used together with a new-ish package.
Fixed in commit b544ab5 on the emacs-24 branch.
Thanks.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#19553
; Package
emacs
.
(Sat, 10 Jan 2015 13:25:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 19553 <at> debbugs.gnu.org (full text, mbox):
> From: Dmitry Gutov <dgutov <at> yandex.ru>
> Date: Sat, 10 Jan 2015 09:21:12 +0300
>
> 1. Create an empty buffer.
>
> 2. Create an overlay at the end of it with a tricky after-string:
>
> (setq my-ov (make-overlay (point-max) (point-max) nil t t))
> (overlay-put my-ov 'after-string "~\n~\n~")
>
> 3. Move point to the end of the buffer (it will be rendered after the
> display string; not sure if it's a bug).
Sorry, forgot to answer that question: no, it's not a bug. We always
display the cursor _after_ overlay strings.
Reply sent
to
Dmitry Gutov <dgutov <at> yandex.ru>
:
You have taken responsibility.
(Sat, 10 Jan 2015 20:36:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Dmitry Gutov <dgutov <at> yandex.ru>
:
bug acknowledged by developer.
(Sat, 10 Jan 2015 20:36:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 19553-done <at> debbugs.gnu.org (full text, mbox):
Version: 24.5
On 01/10/2015 04:06 PM, Eli Zaretskii wrote:
> Fixed in commit b544ab5 on the emacs-24 branch.
Thanks!
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#19553
; Package
emacs
.
(Sun, 11 Jan 2015 02:03:01 GMT)
Full text and
rfc822 format available.
Message #19 received at 19553 <at> debbugs.gnu.org (full text, mbox):
> Sorry, forgot to answer that question: no, it's not a bug. We always
> display the cursor _after_ overlay strings.
"Always" of course can be overruled using the `cursor' text-property on
the after-string.
Stefan
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 08 Feb 2015 12:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 10 years and 53 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.