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

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

Re: address@hidden: *Buffer List* column headers don't sort unless selec


From: Daniel Pfeiffer
Subject: Re: address@hidden: *Buffer List* column headers don't sort unless select buffer first]
Date: Wed, 27 Oct 2004 12:01:42 +0200

Saluton,
Richard Stallman <address@hidden> skribis:

> Maybe I understand the problem.  The other window has its own
> value of point.  Every window does, except for the selected window.
> I wonder if the right value of point is getting into the buffer,
> but not getting into the window it is selected in.
> 
> The brute-force way to fix this is to find the window that the
> buffer is visible in, and call set-window-point on that window.
> 
> There may also be some elegant fix, but I am not sure.  Could you try
> the brute-force fix?

I'm not really keen on that.  There seems a fundamental mouse handling problem
in Emacs, in that the basis for the command is still the active window.  Some
things have workarounds for this, like mouse-wheel-follow-mouse, which to me
seems the only obvious thing to do.  For compilation Stef also did some
workaround, that was hard to get right.

Many others don't work right.  For example when you hover over a previous
comint input, it says that mouse-2 will copy it down.  But when you do, the
key binding comes from the active window, with normally the result of pasting
into the middle of the old input instead.

Likewise I only recently noticed (maybe because I'm exploring hundreds of conf
files) that when the active window is read only, I can't paste into another
writable window.

Mouse activated commands should go to the clicked window _before_ looking up
and performing the command.  Then we could just bind mouse-2 to yank, etc.,
instead of needing a special mouse variant of everything.

I don't know if there are any remote control mechanisms (emerge style) where
this kind of behaviour is undesirable.  In that case those should locally set
inhibit-follow-mouse.  Anybody who feels strongly about the current way, could
also set that.

coralament / best Grötens / liebe Grüße / best regards / elkorajn salutojn
Daniel Pfeiffer

-- 
lerne / learn / apprends / lär dig / ucz się    Esperanto:
                              http://lernu.net/




reply via email to

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