:e# works at first, but not after using :ls
i have emacs 24.3.1 and evil-20131220.342. :e# works at first, but, after using :ls, :e# no longer works.
Am 12.02.2014 16:58, schrieb gregrwm:
i have emacs 24.3.1 and evil-20131220.342.
:e# works at first, but, after using :ls, :e# no longer works.
Actually, :e# does not work after any command that opens a (temporary) buffer (as :ls does). The reason is that the buffer # refers to is the buffer returned by `other-buffer`. Maybe another rule would be more appropriate, e.g. the most recent buffer that has an associated file? The attached patch implements this behaviour. Please check if this comes closer to the desired behaviour (it will never be the same as in Vim because Emacs and Vim buffer handling have some fundamental differences). Best regards, Frank
participants (2)
-
Frank Fischer -
gregrwm