bufler-list-switch-buffer-action not respected when using bufler-switch-buffer
#99
Replies: 5 comments
-
|
Display buffer actions are complicated. Please try to reproduce the problem in a clean Emacs configuration. If you can, then please provide a step-by-step recipe. |
Beta Was this translation helpful? Give feedback.
-
|
This can be reproduced in a clean configuration as follows: Create a directory (use-package package
:defer t
:init
(package-initialize)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
:custom
(package-native-compile t))
(use-package bufler
:defer t
:ensure t
:custom
(bufler-indent-per-level 4)
(bufler-list-switch-buffer-action '((display-buffer-same-window)))
:bind (("C-x C-b" . bufler)
("C-x b" . bufler-switch-buffer)))Then run I hope this is useful enough, let me know if you need anything more. |
Beta Was this translation helpful? Give feedback.
-
|
Or does the "list" in |
Beta Was this translation helpful? Give feedback.
-
|
Ah, I think this is the responsible code for buffer switching ( So this turns out to be a feature request rather than a bug report I guess, sorry for the noise. |
Beta Was this translation helpful? Give feedback.
-
That's correct, that option is for the buffer list, not for just any switching command.
We could add an option for that, but take a look at the option |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
I set
bufler-list-switch-buffer-actionto'((display-buffer-same-window)), however when switching buffers withbufler-switch-bufferit still acts as ifdisplay-buffer-reuse-windowis being used (other window displaying the selected buffer is focused, while I want to have the currently selected window display the buffer regardless of whether other windows in the current frame already do so).According to package, the installed version is
20240312.552.I searched a bit in the source but couldn't find the issue, I'll continue to look for it though.
Beta Was this translation helpful? Give feedback.
All reactions