bug#81467: [PATCH] Make bookmark-jump work with other-window/frame/tab-prefix
Stéphane Marks <[email protected]> Fri, 31 Jul 2026 17:20:14 +0200
| Newsgroups | gmane.emacs.bugs |
|---|---|
| Message-ID | <CAN+1HboK4J8TvDpcRrvg=AfgoGcPgF-qSKTYBiDHX++Xtquhdw@mail.gmail.com> |
On Fri, Jul 31, 2026 at 10:48 AM Stéphane Marks <[email protected]> wrote: > On Fri, Jul 31, 2026 at 10:35 AM Stefan Monnier <[email protected]> > wrote: > >> > 1. A bookmark handler 'shell-bookmark-jump' calls the function 'shell', >> > because for the authors it was the simplest way to implement the >> handler. >> >> And that's the part that needs fixing. >> E.g. by adding a `shell-no-select`. >> > > I'm happy to prepare a patch for that and at least a demonstration of how > I see using the bookmark-inhibit handler property that we'd assign to the > bufferlo handlers and bypass save-window-excursion, et.al. Would these > be for emacs-31 or leave it alone for now and focus on master? > Thinking more about shell-bookmark-jump, if the default changes to shell-no-select, it would break bufferlo bookmarks that contain shell bookmarks. Bufferlo currently passes #'ignore as display-function (via the advice I discussed earlier). We'd need to come up with a way not to break those kinds of use cases.