[Top][All Lists]

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

bug#32790: 27.0.50; point jumps unexpectedly after delete-window

From: Juri Linkov
Subject: bug#32790: 27.0.50; point jumps unexpectedly after delete-window
Date: Sat, 27 Oct 2018 22:51:05 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)

>> Please note that in the code posted 3 days ago I used the hook that you
>> proposed recently window-state-change-functions, so this code is not yet
>> functional :)
> Ahh.. That hook has not been written yet and I'm not sure whether I'll
> be able to ever do that.  In either case: The window state will not
> change when a window gets just reused by 'display-buffer' and no
> selection takes place.  So can't you simply use 'post-command-hook'
> for your purpose?

The implementation of window-state-change-functions posted to bug#32672
uses post-command-hook.  It makes possible display-buffer-directionally,
e.g. S-M-up ffap RET will open a file link in the upper window, etc.

Attachment: display-buffer-directionally.2.el
Description: application/emacs-lisp

reply via email to

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