Kirill M. Katsnelson wrote:
When I drop a file onto XEmacs frame, I would expect that it will be
open in a window under mouse cursor. This is not the case, it seems
to appear in (other-window).
The mswindows-specific drop code in mouse-mswindows-drop used to do
something like:
(let (window (event-window event))
...
(cond (window
(select-window (window)))
(switch-to-buffer (find-file-noselect file))
...
to behave as Kirill describes. This was lost in the tidying up of the
dnd code. The new generic code does:
(pop-to-buffer (find-file-noselect file))
Oliver, is there any reason why doing the former would be a bad thing in
the new generic code?
Jonathan.
--
Jonathan Harris | jhar(a)tardis.ed.ac.uk
London, England | Jonathan-Harris(a)psion.com