emacs-devel
[Top][All Lists]
Advanced

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

Re: New keybinding suggestion: C-x _ for `shrink-window'


From: Bastien
Subject: Re: New keybinding suggestion: C-x _ for `shrink-window'
Date: Fri, 16 Nov 2007 12:58:49 +0000
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.0 (gnu/linux)

Juri Linkov <address@hidden> writes:

>>> Hm. I started with a global minor mode (or really from the beginning with
>>> a loop while testing). I have not much against that (if you put it in
>>> emulation-mode-map-alist). The key bindings should be rather similar though.
>>
>> I think the most sensible choice is to use the same approach as used by
>> isearch (i.e. overriding-terminal-local-map).
>
> If using the same approach as used by isearch then it makes sense also
> to add a feature like isearch-allow-scroll that after setting a property
> like isearch-scroll on a command's symbol (e.g. `other-window') will accept
> this command without exiting during window resizing.

Maybe I'm a bit dim on this, but I don't really get the point about
using `overriding-terminal-local-map'.

Stefan proposed this when Lennart replied to Juri's suggestion to
implement winsize.el (bw-interative.el at that time) as a major mode.
Can `overriding-terminal-local-map' be useful in the context of a major
mode?  of a minor mode?  of a loop waiting for an event?

For now I don't see any good reasons to implement window-resize.el as a
minor mode or to use `overriding-terminal-local-map'.  I guess I miss
something here.

Can anyone shed some light?

Thanks,

-- 
Bastien




reply via email to

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