Switching to previous buffer

14 views
Skip to first unread message

Vivien

unread,
Sep 3, 2015, 12:16:59 AM9/3/15
to emacs-helm
Hello,

When you switch to another buffer (C-x b RET), helm first proposes the previous buffer, except when this buffer is already shown in another window. How can you tell helm to always propose the previous buffer in first place? even when this previous buffer is already opened in the current frame?

Thanks!

Michael Heerdegen

unread,
Sep 4, 2015, 1:26:43 AM9/4/15
to emacs...@googlegroups.com
AFAIK we use `ido-make-buffer-list' for calculating `helm-buffer-list'.
What you want is unfortunately not configurable for ido's
`ido-make-buffer-list', so you would need to redefine (advice) it.


Regards,

Michael.

Thierry Volpiatto

unread,
Sep 4, 2015, 1:37:07 AM9/4/15
to emacs...@googlegroups.com

Michael Heerdegen <michael_...@web.de> writes:

> Vivien <vivien...@gmail.com> writes:
>
>> When you switch to another buffer (C-x b RET), helm first proposes the
>> previous buffer, except when this buffer is already shown in another
>> window. How can you tell helm to always propose the previous buffer in
>> first place? even when this previous buffer is already opened in the
>> current frame?
>
> AFAIK we use `ido-make-buffer-list' for calculating
> `helm-buffer-list'.

No, OP is using here C-x b which I guess is the vanilla switch-to-buffer
helmized, and switch-to-buffer is using buffer-list.

--
Thierry

https://emacs-helm.github.io/helm/
Reply all
Reply to author
Forward
0 new messages