Subject: bug#71603: Mouse clicking on a list-bookmarks' entry can not jump the cursor

From: Eli Zaretskii <[email-masked]>
Date: Mon, 17 Jun 2024 14:58:18 +0300

> Cc: [email-masked]
> Date: Mon, 17 Jun 2024 08:34:29 +0200
> From:  Eshel Yaron via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <[email-masked]>
> 
> > 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.
> 
> Thanks, I can reproduce this issue on master.  Does the diff below yield
> the expected behavior?

Thanks, I have independently came to the same solution.  So please
install this on master, but with a comment explaining why we record
point before calling display-function.