emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Mathieu Marques <mathieumarques78@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Bug: Inconsistency with C-S-a and C-S-e [8.2.10 (release_8.2.10 @ /usr/local/Cellar/emacs-mac/emacs-24.5-z-mac-5.15/share/emacs/24.5/lisp/org/)]
Date: Thu, 28 Apr 2016 21:36:40 +0000	[thread overview]
Message-ID: <CANgONYLHC1jSYMJFW55Gixq2SdjMFJ5aHGhL3oO=kcqjMst6pw@mail.gmail.com> (raw)
In-Reply-To: <87oa8tifqj.fsf@saiph.selenimh>

[-- Attachment #1: Type: text/plain, Size: 1359 bytes --]

Awesome, thanks!

On Thu, Apr 28, 2016, 23:30 Nicolas Goaziou <mail@nicolasgoaziou.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 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
>

[-- Attachment #2: Type: text/html, Size: 1895 bytes --]

      reply	other threads:[~2016-04-28 21:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-26 15:32 Bug: Inconsistency with C-S-a and C-S-e [8.2.10 (release_8.2.10 @ /usr/local/Cellar/emacs-mac/emacs-24.5-z-mac-5.15/share/emacs/24.5/lisp/org/)] Mathieu Marques
2016-04-28 19:58 ` Kaushal Modi
2016-04-28 21:29 ` Nicolas Goaziou
2016-04-28 21:36   ` Mathieu Marques [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CANgONYLHC1jSYMJFW55Gixq2SdjMFJ5aHGhL3oO=kcqjMst6pw@mail.gmail.com' \
    --to=mathieumarques78@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).