unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#71603: Mouse clicking on a list-bookmarks' entry can not jump the cursor
@ 2024-06-17  0:31 Siyuan Chen
  2024-06-17  6:34 ` Eshel Yaron via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 6+ messages in thread
From: Siyuan Chen @ 2024-06-17  0:31 UTC (permalink / raw)
  To: 71603

[-- Attachment #1: Type: text/plain, Size: 1341 bytes --]

The reproduce steps:

1. Open Emacs 29.3 on Windows with -Q

2. Open a .el file which included some code, e.g. init.el

3. M-x `bookmark-delete-all` to cleanup bookmarks if you have

4. M-x `bookmark-set` at some locations, e.g. bk1 bk2

5. M-x `list-bookmarks` to open *Bookmark List* which should have 2 entries

6. Split 2 windows, the up window displays init.el, the bottom window
displays *Bookmark List*

7. Mouse left click (or press 'on' ) on bk1 or bk2 in *Bookmark List*

The expected behavior: jump cursor to bk1 or bk2

The actual behavior: nothing happens, except the left fringe displays an
additional bookmark icon if your current point is not at one of the
bookmark locations.

I don't know if this is a bug or the intended behavior, but when I put the
mouse on the bk1 or bk2 entry it will show "mouse-1: go to this bookmark in
other window", so I believe it is a bug.

In addition, if you click the entries via Mouse middle click, i.e. mouse-2,
then it seems to half work with a different weird behavior. Simply traced
the code and found that both invoke
`bookmark-bmenu-other-window-with-mouse` but I don't know why they have
different behaviors.

P.s. I can workaround it via hacking bookmark.el because `bookmark-jump`
works perfectly, but I just want to know if this is a real bug.

Thanks.

Best regards,

Siyuan Chen

[-- Attachment #2: Type: text/html, Size: 2330 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-06-22  8:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-17  0:31 bug#71603: Mouse clicking on a list-bookmarks' entry can not jump the cursor Siyuan Chen
2024-06-17  6:34 ` Eshel Yaron via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-06-17 11:58   ` Eli Zaretskii
2024-06-17 15:15     ` Eshel Yaron via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-06-17 18:33       ` Siyuan Chen
2024-06-22  8:55       ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).