From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: proposal to separate org-special-ctrl-a/e into two variables Date: Sun, 22 Feb 2009 18:39:25 +0100 Message-ID: <4A0C65D1-908B-4DC4-B05D-0EDA0664841E@uva.nl> References: <7bef1f890902220538o101ceb45gaa421c45a988f74f@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: multipart/mixed; boundary="===============1919471368==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LbIId-0007b3-Kf for emacs-orgmode@gnu.org; Sun, 22 Feb 2009 12:39:31 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LbIIc-0007an-VH for emacs-orgmode@gnu.org; Sun, 22 Feb 2009 12:39:31 -0500 Received: from [199.232.76.173] (port=50248 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LbIIc-0007aj-SP for emacs-orgmode@gnu.org; Sun, 22 Feb 2009 12:39:30 -0500 Received: from ug-out-1314.google.com ([66.249.92.174]:51417) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LbIIc-0005HH-Gl for emacs-orgmode@gnu.org; Sun, 22 Feb 2009 12:39:30 -0500 Received: by ug-out-1314.google.com with SMTP id b39so435272ugd.17 for ; Sun, 22 Feb 2009 09:39:29 -0800 (PST) In-Reply-To: <7bef1f890902220538o101ceb45gaa421c45a988f74f@mail.gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Alan E. Davis" Cc: emacs-orgmode Mailinglist --===============1919471368== Content-Type: multipart/alternative; boundary=Apple-Mail-3--680872322 --Apple-Mail-3--680872322 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Hi Alan, your arguments make sense, and I have implemented this. 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. - Carsten On Feb 22, 2009, at 2:38 PM, Alan E. Davis wrote: > 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. > > I am unable to code lisp to the level of skill necessary to do the > work myself. At some point, I would be willing to work on this as a > "first off" hack. I cannot do so at present due to work obligations. > > Alan > > -- > Alan Davis > > It is undesirable to believe a proposition when > there is no ground whatsoever for supposing it is true. > ---- Bertrand Russell > They are ill discoverers that think there is no land, when they can > see nothing but sea. > ---- Sir Francis Bacon > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode --Apple-Mail-3--680872322 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi = Alan,

your arguments make sense, and I have = implemented this.

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.

- Carsten

On Feb 22, = 2009, at 2:38 PM, Alan E. Davis wrote:

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. 

I am unable to code = lisp to the level of skill necessary to do the work myself.  At = some point, I would be willing to work on this as a "first off" = hack.  I cannot do so at present due to work obligations.
=
Alan

--
Alan Davis

It is = undesirable to believe a proposition when
there is no ground = whatsoever for supposing it is true.
    ---- Bertrand = Russell
They are ill discoverers that think there is no land, when = they can see nothing but sea.
    ----   Sir Francis = Bacon

= _______________________________________________
Emacs-orgmode mailing = list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://= lists.gnu.org/mailman/listinfo/emacs-orgmode

= --Apple-Mail-3--680872322-- --===============1919471368== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1919471368==--