bug#81467: [PATCH] Make bookmark-jump work with other-window/frame/tab-prefix
Juri Linkov <[email protected]>
| Newsgroups | gmane.emacs.bugs |
|---|---|
| Organization | LINKOV.NET |
| Message-ID | <[email protected]> |
>> As the OP pointed out, an Emacs built-in case is >> shell-bookmark-jump which calls shell which calls >> pop-to-buffer. > > shell-bookmark-jump is not a command, it is a handler. > The command that invokes that handler goes on to display whichever > buffer the handler leaves as current. That's just how bookmark commands > (currently) work. The above diff is just an attempt to document it. :) Unlike Man-bookmark-jump that can let-bind Man-notify-method to 'meek', there is no easy way to refactor shell-bookmark-jump to not use pop-to-buffer. And there are other existing handlers that display the buffer too. So we are back to the same problem of preventing the double display in bookmark--jump-via.