GNU bug report logs -
#9092
movement cursor in speedbar
Previous Next
Reported by: Juanma Barranquero <lekktu <at> gmail.com>
Date: Fri, 15 Jul 2011 15:25:02 UTC
Severity: normal
Tags: confirmed, fixed
Fixed in version 28.1
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 9092 in the body.
You can then email your comments to 9092 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#9092
; Package
emacs
.
(Fri, 15 Jul 2011 15:25:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Juanma Barranquero <lekktu <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Fri, 15 Jul 2011 15:25:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
emacs -Q -f speedbar
The cursor is at the bottom of the speedbar window.
<up> ; the cursor moves over the icon in the previous line
<up>
...
<up> ; the cursor moves over the icons normally
<right> <left> ; the cursor is again over the icon
<down> ; now the cursor moves to the space next to the icon.
and from that moment on, even if you move over the icon, the cursor
moves back outside it.
According to Eli, line-move-visual tells vertical-motion which column
the cursor should move to, and that does not work too well with stuff
that isn't text, like an image or a stretch glyph (like the one for
`(space :align-to NN)') display property.
Juanma
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#9092
; Package
emacs
.
(Tue, 08 Dec 2020 14:47:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 9092 <at> debbugs.gnu.org (full text, mbox):
Juanma Barranquero <lekktu <at> gmail.com> writes:
> emacs -Q -f speedbar
>
> The cursor is at the bottom of the speedbar window.
>
> <up> ; the cursor moves over the icon in the previous line
> <up>
> ...
> <up> ; the cursor moves over the icons normally
> <right> <left> ; the cursor is again over the icon
> <down> ; now the cursor moves to the space next to the icon.
>
> and from that moment on, even if you move over the icon, the cursor
> moves back outside it.
This behaviour is still present in Emacs 28.
> According to Eli, line-move-visual tells vertical-motion which column
> the cursor should move to, and that does not work too well with stuff
> that isn't text, like an image or a stretch glyph (like the one for
> `(space :align-to NN)') display property.
Speedbar seems to have some invisible characters at the start, and then
an image, and I think that's what's confusing Emacs here. If it has
been just an image, Emacs usually handles that fine.
Here's a simpler recipe to reproduce:
(dotimes (i 5)
(insert (propertize "a" 'invisible t)
(propertize "c" 'display
(find-image '((:type xpm :file "search.xpm"))))
(format " foo %s\n" i)))
If we don't have the invisible text before the image, then motion
commands work as expected.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Added tag(s) confirmed.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Tue, 08 Dec 2020 14:47:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#9092
; Package
emacs
.
(Tue, 15 Dec 2020 17:37:01 GMT)
Full text and
rfc822 format available.
Message #13 received at 9092 <at> debbugs.gnu.org (full text, mbox):
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Date: Tue, 08 Dec 2020 15:46:21 +0100
> Cc: 9092 <at> debbugs.gnu.org
>
> (dotimes (i 5)
> (insert (propertize "a" 'invisible t)
> (propertize "c" 'display
> (find-image '((:type xpm :file "search.xpm"))))
> (format " foo %s\n" i)))
>
> If we don't have the invisible text before the image, then motion
> commands work as expected.
Yes, the invisible text immediately before the image was the trigger
here.
Should be fixed now on the master branch.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#9092
; Package
emacs
.
(Thu, 17 Dec 2020 11:22:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 9092 <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
> Yes, the invisible text immediately before the image was the trigger
> here.
>
> Should be fixed now on the master branch.
Yup; works great, so I'm closing this bug report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Added tag(s) fixed.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Thu, 17 Dec 2020 11:22:02 GMT)
Full text and
rfc822 format available.
bug marked as fixed in version 28.1, send any further explanations to
9092 <at> debbugs.gnu.org and Juanma Barranquero <lekktu <at> gmail.com>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Thu, 17 Dec 2020 11:22:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#9092
; Package
emacs
.
(Thu, 17 Dec 2020 14:38:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 9092 <at> debbugs.gnu.org (full text, mbox):
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Cc: lekktu <at> gmail.com, 9092 <at> debbugs.gnu.org
> Date: Thu, 17 Dec 2020 12:21:07 +0100
>
> Eli Zaretskii <eliz <at> gnu.org> writes:
>
> > Yes, the invisible text immediately before the image was the trigger
> > here.
> >
> > Should be fixed now on the master branch.
>
> Yup; works great, so I'm closing this bug report.
FTR, this also fixed posn-at-point and pos-visible-in-window-p, which
were reporting incorrect information when cursor was placed on the
image that follows invisible text at BOL.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 15 Jan 2021 12:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 214 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.