From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mathieu Marques Subject: =?UTF-8?B?UmU6IEJ1ZzogSW5jb25zaXN0ZW5jeSB3aXRoIEMtUy1hIGFuZCBD?= =?UTF-8?B?LVMtZSBbOC4yLjEwIChyZWxlYXNlXzguMi4xMCBAIC91c3IvbG9jYWwvQ2Vs?= =?UTF-8?B?bGFyL2VtYWNzLW1hYy9lbWFjcy0yNC41LXotbWFjLTUuMTUvc2hhcmUvZW1h?= =?UTF-8?B?Y3MvMjQuNS9saXNwL29yZy8pXQ==?= Date: Thu, 28 Apr 2016 21:36:40 +0000 Message-ID: References: <87oa8tifqj.fsf@saiph.selenimh> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a114e8aa2e996d905319252bc Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52217) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avtcB-00009R-Cj for emacs-orgmode@gnu.org; Thu, 28 Apr 2016 17:36:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1avtcA-00063n-7j for emacs-orgmode@gnu.org; Thu, 28 Apr 2016 17:36:51 -0400 Received: from mail-yw0-x22b.google.com ([2607:f8b0:4002:c05::22b]:35484) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avtcA-000631-3R for emacs-orgmode@gnu.org; Thu, 28 Apr 2016 17:36:50 -0400 Received: by mail-yw0-x22b.google.com with SMTP id g133so129680045ywb.2 for ; Thu, 28 Apr 2016 14:36:49 -0700 (PDT) In-Reply-To: <87oa8tifqj.fsf@saiph.selenimh> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org --001a114e8aa2e996d905319252bc Content-Type: text/plain; charset=UTF-8 Awesome, thanks! On Thu, Apr 28, 2016, 23:30 Nicolas Goaziou wrote: > Hello, > > Mathieu Marques writes: > > > In other modes, C-S-a and C-S-e behave as expected that is, move cursor > > to the beginning/end of line while marking region. In other words, it > > does what C-SPC C-a and C-SPC C-e would do. > > > > However in org-mode, C-a and C-e are bound to org-beginning-of-line and > > org-end-of-line respectively. > > In org-mode, C-S-e works as expected. But C-S-a does not. > > > > I have had these details over a discussion about my issue on /r/emacs: > > > > The interactive arg for both org-beginning-of-line and > > org-end-of-line is "P". So it carries over the raw arguments > > received by the command. So ^ is not needed. The reason C-S-e still > > works as expected is because of (call-interactively 'end-of-line) in > > org-end-of-line, and so the raw args are passed to end-of-line > > without any modification. > > > > ~~Whereas we do not have (call-interactively 'beginning-of-line) in > > org-beginning-of-line~~. > > *Well, we do have (call-interactively 'move-beginning-of-line)*. > > Instead we have goto-char calls to place the point before/after the > > stars. > > Fixed in master. Thank you. > > Regards, > > -- > Nicolas Goaziou > --001a114e8aa2e996d905319252bc Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Awesome, thanks!


On Thu, Apr 28, 2016, 23:30= Nicolas Goaziou <mail@nicolas= goaziou.fr> wrote:
Hello,
Mathieu Marques <mathieumarques78@gmail.com> writes:

> In other modes, C-S-a and C-S-e behave as expected that is, move curso= r
> to the beginning/end of line while marking region. In other words, it<= br> > does what C-SPC C-a and C-SPC C-e would do.
>
> However in org-mode, C-a and C-e are bound to org-beginning-of-line an= d
> org-end-of-line respectively.
> In org-mode, C-S-e works as expected. But C-S-a does not.
>
> I have had these details over a discussion about my issue on /r/emacs:=
>
>=C2=A0 =C2=A0 =C2=A0The interactive arg for both org-beginning-of-line = and
>=C2=A0 =C2=A0 =C2=A0org-end-of-line is "P". So it carries ove= r the raw arguments
>=C2=A0 =C2=A0 =C2=A0received by the command. So ^ is not needed. The re= ason C-S-e still
>=C2=A0 =C2=A0 =C2=A0works as expected is because of (call-interactively= 'end-of-line) in
>=C2=A0 =C2=A0 =C2=A0org-end-of-line, and so the raw args are passed to = end-of-line
>=C2=A0 =C2=A0 =C2=A0without any modification.
>
>=C2=A0 =C2=A0 =C2=A0~~Whereas we do not have (call-interactively 'b= eginning-of-line) in
>=C2=A0 =C2=A0 =C2=A0org-beginning-of-line~~.
>=C2=A0 =C2=A0 =C2=A0*Well, we do have (call-interactively 'move-beg= inning-of-line)*.
>=C2=A0 =C2=A0 =C2=A0Instead we have goto-char calls to place the point = before/after the
>=C2=A0 =C2=A0 =C2=A0stars.

Fixed in master. Thank you.

Regards,

--
Nicolas Goaziou
--001a114e8aa2e996d905319252bc--