bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#57081: 29.0.50; [PATCH] Point associated with Window for good reason


From: Lars Ingebrigtsen
Subject: bug#57081: 29.0.50; [PATCH] Point associated with Window for good reasons
Date: Tue, 09 Aug 2022 19:55:54 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

dick.r.chiang@gmail.com writes:

> When temporarily switching out one window, say to check a definition,
> our flow gets wrecked by C-x b's refusal to flip back to the original
> buffer since it's already displayed in another window, albeit, and
> very importantly, at a different point (which to belabor things, is
> the whole reason we want the same buffer in two windows).

I think adding this might make sense, but with a user option to control
the action.

> * lisp/ido.el (ido-make-buffer-list-1): De-obfuscate.
> (ido-make-buffer-list): Include visible buffer when switching.
> (ido-get-buffers-in-frames): De-obfuscate.
> * lisp/window.el (read-buffer-to-switch): Include visible buffer.
> * test/lisp/ido-tests.el (ert-deftest): Test it.

And as usual, your patch includes a whole bunch of apparently irrelevant
stuff.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]