* 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/)]
@ 2016-04-26 15:32 Mathieu Marques
2016-04-28 19:58 ` Kaushal Modi
2016-04-28 21:29 ` Nicolas Goaziou
0 siblings, 2 replies; 4+ messages in thread
From: Mathieu Marques @ 2016-04-26 15:32 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 3456 bytes --]
Remember to cover the basics, that is, what you expected to happen and
what in fact did happen. You don't know how to make a good report? See
http://orgmode.org/manual/Feedback.html#Feedback
Your bug report will be posted to the Org-mode mailing list.
------------------------------------------------------------------------
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.
Let me know if I can be of further help.
Emacs : GNU Emacs 24.5.1 (x86_64-apple-darwin15.2.0, Carbon Version 157
AppKit 1404.34)
of 2015-12-28 on sandman.local
Package: Org-mode version 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/)
current state:
==============
(setq
org-tab-first-hook '(org-hide-block-toggle-maybe
org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe
org-babel-header-arg-expand)
org-speed-command-hook '(org-speed-command-default-hook
org-babel-speed-command-hook)
org-occur-hook '(org-first-headline-recenter)
org-metaup-hook '(org-babel-load-in-session-maybe)
org-src-window-setup 'current-window
org-confirm-shell-link-function 'yes-or-no-p
org-startup-folded nil
org-support-shift-select 'always
org-after-todo-state-change-hook '(org-clock-out-if-current)
org-from-is-user-regexp "\\<Mathieu Marques\\>"
org-src-mode-hook '(org-src-babel-configure-edit-buffer
org-src-mode-configure-edit-buffer)
org-agenda-before-write-hook '(org-agenda-add-entry-text)
org-babel-pre-tangle-hook '(save-buffer)
org-mode-hook '(er/add-org-mode-expansions whitespace-turn-on
turn-on-auto-fill yas-minor-mode
#[nil "\300\301\302\303\304$\207" [org-add-hook
change-major-mode-hook org-show-block-all append local] 5]
#[nil "\300\301\302\303\304$\207" [org-add-hook
change-major-mode-hook org-babel-show-result-all append local] 5]
org-babel-result-hide-spec org-babel-hide-all-hashes)
org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point
org-babel-execute-safely-maybe)
org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
org-cycle-hide-inline-tasks org-cycle-show-empty-lines
org-optimize-window-after-visibility-change)
org-confirm-elisp-link-function 'yes-or-no-p
org-edit-src-content-indentation 0
org-metadown-hook '(org-babel-pop-to-session-maybe)
org-startup-truncated nil
org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
org-src-fontify-natively t
)
[-- Attachment #2: Type: text/html, Size: 4520 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* 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/)]
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
1 sibling, 0 replies; 4+ messages in thread
From: Kaushal Modi @ 2016-04-28 19:58 UTC (permalink / raw)
To: Mathieu Marques, emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 3946 bytes --]
Here's the thread and comment for context (the reddit markdown formatting
of crossed-out text is lost in the above plain text):
https://www.reddit.com/r/emacs/comments/4gcjep/cant_movebeginningofline_while_marking_region_in/d2hyxt6
On Thu, Apr 28, 2016 at 3:50 PM Mathieu Marques <mathieumarques78@gmail.com>
wrote:
> Remember to cover the basics, that is, what you expected to happen and
> what in fact did happen. You don't know how to make a good report? See
>
> http://orgmode.org/manual/Feedback.html#Feedback
>
> Your bug report will be posted to the Org-mode mailing list.
> ------------------------------------------------------------------------
>
> 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.
>
> Let me know if I can be of further help.
>
>
> Emacs : GNU Emacs 24.5.1 (x86_64-apple-darwin15.2.0, Carbon Version 157
> AppKit 1404.34)
> of 2015-12-28 on sandman.local
> Package: Org-mode version 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/)
>
> current state:
> ==============
> (setq
> org-tab-first-hook '(org-hide-block-toggle-maybe
> org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe
> org-babel-header-arg-expand)
> org-speed-command-hook '(org-speed-command-default-hook
> org-babel-speed-command-hook)
> org-occur-hook '(org-first-headline-recenter)
> org-metaup-hook '(org-babel-load-in-session-maybe)
> org-src-window-setup 'current-window
> org-confirm-shell-link-function 'yes-or-no-p
> org-startup-folded nil
> org-support-shift-select 'always
> org-after-todo-state-change-hook '(org-clock-out-if-current)
> org-from-is-user-regexp "\\<Mathieu Marques\\>"
> org-src-mode-hook '(org-src-babel-configure-edit-buffer
> org-src-mode-configure-edit-buffer)
> org-agenda-before-write-hook '(org-agenda-add-entry-text)
> org-babel-pre-tangle-hook '(save-buffer)
> org-mode-hook '(er/add-org-mode-expansions whitespace-turn-on
> turn-on-auto-fill yas-minor-mode
> #[nil "\300\301\302\303\304$\207" [org-add-hook
> change-major-mode-hook org-show-block-all append local] 5]
> #[nil "\300\301\302\303\304$\207" [org-add-hook
> change-major-mode-hook org-babel-show-result-all append local] 5]
> org-babel-result-hide-spec org-babel-hide-all-hashes)
> org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point
> org-babel-execute-safely-maybe)
> org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
> org-cycle-hide-inline-tasks org-cycle-show-empty-lines
> org-optimize-window-after-visibility-change)
> org-confirm-elisp-link-function 'yes-or-no-p
> org-edit-src-content-indentation 0
> org-metadown-hook '(org-babel-pop-to-session-maybe)
> org-startup-truncated nil
> org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
> org-src-fontify-natively t
> )
>
> --
--
Kaushal Modi
[-- Attachment #2: Type: text/html, Size: 5291 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* 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/)]
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
1 sibling, 1 reply; 4+ messages in thread
From: Nicolas Goaziou @ 2016-04-28 21:29 UTC (permalink / raw)
To: Mathieu Marques; +Cc: emacs-orgmode
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* 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/)]
2016-04-28 21:29 ` Nicolas Goaziou
@ 2016-04-28 21:36 ` Mathieu Marques
0 siblings, 0 replies; 4+ messages in thread
From: Mathieu Marques @ 2016-04-28 21:36 UTC (permalink / raw)
To: emacs-orgmode
[-- 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 --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-04-28 21:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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).