emacs-devel
[Top][All Lists]
Advanced

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

RE: C-n and C-a


From: Drew Adams
Subject: RE: C-n and C-a
Date: Sat, 31 Jan 2009 14:35:28 -0800

> >> I think `C-up' and `C-down' are better keys for real line 
> >> motion commands when `up'/`C-p' and `down'/`C-n' are used
> >> for screen line motion commands.
> >
> > C-up and C-down are too far away from the regular position 
> > of fingers to be useful as the only option for anything, one
> > needs a C-p/C-n like equivalent binding.
> 
> If we can't find key bindings equivalent to C-n/C-p/C-a/C-e/C-k
> for real line commands in visual line mode then we should find
> a key sequence to toggle visual line mode easily.

1. I don't use this mode and am ignorant of it. But when it is active, do you
still also need the ordinary line movement bindings? If not, then why not
reuse/co-opt those when the mode is active?

2. If you must use a binding for the mode toggle, then please set that binding
only by visual-line mode itself. Let some command in the mode initialize the
binding for the mode command (even if that binding is in the global map), so
that users who never use the mode do not lose that binding to it. Somewhat a la
mode `ffap-bindings'.

> I propose `C-x n v' (similar to the related key `C-x C-n' plus `v'
> that stands for "visual") or `C-x l v' (with the mnemonics of
> "line visual").

3. C-x n is the narrowing/widening prefix. This seems unrelated to narrowing.

C-x n d         narrow-to-defun
C-x n n         narrow-to-region
C-x n p         narrow-to-page
C-x n w         widen
...               (future)

4. C-x l is count-lines-page.






reply via email to

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