Editing: Allow separate special settings for C-a and C-e
commit405186a16a5751966fc321e32e7187f335a64269
authorCarsten Dominik <carsten.dominik@gmail.com>
Sun, 22 Feb 2009 14:08:33 +0000 (22 15:08 +0100)
committerCarsten Dominik <carsten.dominik@gmail.com>
Sun, 22 Feb 2009 14:08:33 +0000 (22 15:08 +0100)
tree5d8e722fa101f3579b297027ccc298cc1e887c54
parent4138be27ba8145c93742ea0b18b64f918a633dcc
Editing: Allow separate special settings for C-a and C-e

Alan E. Davis writes:

>  I have found the behavior of the cursor at the beginning of
>  the line to be clumsy, and troublesome.  I cannot easily set
>  a region, for example.
>
>  However, the special setting of ctrl-e is extremely useful.
>
>  A single variable controls these two variables, in a unified
>  way.  This variable also has two aliases.  The aliases are
>  not recognized by the functions that are affected by these
>  variables in org.el: org-beginning-of-line, and
>  org-end-of-line.  As far as I can see, there seems no reason
>  to keep these two aliased variables as references to a
>  single unified variable, insofar as the underlying code is
>  concerned.
>
>  Because, at least for me, the behaviors have sufficiently
>  distinct behaviors, I propose these should be separated.

This is a reasonable request, and this commit implements it.
To have separate values, set org-special-ctrl-a/e to a cons
cell with the setting for C-a in the car and the setting for
C-e in the cdr.
lisp/ChangeLog
lisp/org.el