bug#81467: [PATCH] Make bookmark-jump work with other-window/frame/tab-prefix

Stéphane Marks <[email protected]> Fri, 31 Jul 2026 19:46:55 +0200
Newsgroups gmane.emacs.bugs
Message-ID <CAN+1HboEB23GiUYMtsqbhRayMQmqiHRzzuTprTsEOTNE1bMW+g@mail.gmail.com>
On Fri, Jul 31, 2026 at 1:42 PM Juri Linkov <[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`.
>
> Or maybe simply wrap the handler call in
>
>   (let ((display-buffer-overriding-action
>          '(display-buffer-no-window (allow-no-window . t))))
>
> But I don't use bookmarks for shells, so don't know
> whether users expect shell-bookmark-jump to display
> the shell buffer the same way as ordinary 'M-x shell' does.
>

shell bookmarks are new in Emacs 31 so there's not much experience with use
in "the wild."  I think we need to use our judgement about the best way to
recommend core handlers behave and document the policy as Eshel proposed
(with whatever policy we wind up choosing) but silence on policy leads to
where we are today.