emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* switch M-RET and C-RET in org mode with no sucess
@ 2015-08-11 17:45 Xebar Saram
  2015-08-12  3:22 ` Peter Salazar
  0 siblings, 1 reply; 6+ messages in thread
From: Xebar Saram @ 2015-08-11 17:45 UTC (permalink / raw)
  To: org mode

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

Hi guys

im trying to switch between C-RET and M-RET (i use M-ret alot more but
C-RET is much more accessible for me :)) but i dont seem to have any
success in doing so

this is what i have so far

(with-eval-after-load "org"
(define-key org-mode-map (kbd "C-RET") 'org-insert-heading)
(define-key org-mode-map (kbd "M-RET") 'org-insert-heading-respect-content)
)

any ideas what im doing wrong? after reloading emacs C-RET still defaults
to org-insert-heading-respect-content

best

Z

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: switch M-RET and C-RET in org mode with no sucess
  2015-08-11 17:45 switch M-RET and C-RET in org mode with no sucess Xebar Saram
@ 2015-08-12  3:22 ` Peter Salazar
  2015-08-12 15:33   ` Xebar Saram
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Salazar @ 2015-08-12  3:22 UTC (permalink / raw)
  To: Xebar Saram; +Cc: org mode

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

Maybe try using <return> instead of RET? Something like this:

(define-key org-mode-map (kbd "<C-return>") 'org-insert-heading)


On Tue, Aug 11, 2015 at 1:45 PM, Xebar Saram <zeltakc@gmail.com> wrote:

> Hi guys
>
> im trying to switch between C-RET and M-RET (i use M-ret alot more but
> C-RET is much more accessible for me :)) but i dont seem to have any
> success in doing so
>
> this is what i have so far
>
> (with-eval-after-load "org"
> (define-key org-mode-map (kbd "C-RET") 'org-insert-heading)
> (define-key org-mode-map (kbd "M-RET") 'org-insert-heading-respect-content)
> )
>
> any ideas what im doing wrong? after reloading emacs C-RET still defaults
> to org-insert-heading-respect-content
>
> best
>
> Z
>

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: switch M-RET and C-RET in org mode with no sucess
  2015-08-12  3:22 ` Peter Salazar
@ 2015-08-12 15:33   ` Xebar Saram
  2015-08-12 20:14     ` Peter Salazar
  2015-08-15 13:57     ` Grant Rettke
  0 siblings, 2 replies; 6+ messages in thread
From: Xebar Saram @ 2015-08-12 15:33 UTC (permalink / raw)
  To: Peter Salazar; +Cc: org mode

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

Thx Peter

that did the trick, never know when to use RET or return :)

z

On Wed, Aug 12, 2015 at 6:22 AM, Peter Salazar <cycleofsong@gmail.com>
wrote:

> Maybe try using <return> instead of RET? Something like this:
>
> (define-key org-mode-map (kbd "<C-return>") 'org-insert-heading)
>
>
> On Tue, Aug 11, 2015 at 1:45 PM, Xebar Saram <zeltakc@gmail.com> wrote:
>
>> Hi guys
>>
>> im trying to switch between C-RET and M-RET (i use M-ret alot more but
>> C-RET is much more accessible for me :)) but i dont seem to have any
>> success in doing so
>>
>> this is what i have so far
>>
>> (with-eval-after-load "org"
>> (define-key org-mode-map (kbd "C-RET") 'org-insert-heading)
>> (define-key org-mode-map (kbd "M-RET")
>> 'org-insert-heading-respect-content)
>> )
>>
>> any ideas what im doing wrong? after reloading emacs C-RET still defaults
>> to org-insert-heading-respect-content
>>
>> best
>>
>> Z
>>
>
>

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: switch M-RET and C-RET in org mode with no sucess
  2015-08-12 15:33   ` Xebar Saram
@ 2015-08-12 20:14     ` Peter Salazar
  2015-08-15 13:57     ` Grant Rettke
  1 sibling, 0 replies; 6+ messages in thread
From: Peter Salazar @ 2015-08-12 20:14 UTC (permalink / raw)
  To: Xebar Saram; +Cc: org mode

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

Glad to be of help!

On Wed, Aug 12, 2015 at 11:33 AM, Xebar Saram <zeltakc@gmail.com> wrote:

> Thx Peter
>
> that did the trick, never know when to use RET or return :)
>
> z
>
> On Wed, Aug 12, 2015 at 6:22 AM, Peter Salazar <cycleofsong@gmail.com>
> wrote:
>
>> Maybe try using <return> instead of RET? Something like this:
>>
>> (define-key org-mode-map (kbd "<C-return>") 'org-insert-heading)
>>
>>
>> On Tue, Aug 11, 2015 at 1:45 PM, Xebar Saram <zeltakc@gmail.com> wrote:
>>
>>> Hi guys
>>>
>>> im trying to switch between C-RET and M-RET (i use M-ret alot more but
>>> C-RET is much more accessible for me :)) but i dont seem to have any
>>> success in doing so
>>>
>>> this is what i have so far
>>>
>>> (with-eval-after-load "org"
>>> (define-key org-mode-map (kbd "C-RET") 'org-insert-heading)
>>> (define-key org-mode-map (kbd "M-RET")
>>> 'org-insert-heading-respect-content)
>>> )
>>>
>>> any ideas what im doing wrong? after reloading emacs C-RET still
>>> defaults to org-insert-heading-respect-content
>>>
>>> best
>>>
>>> Z
>>>
>>
>>
>

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: switch M-RET and C-RET in org mode with no sucess
  2015-08-12 15:33   ` Xebar Saram
  2015-08-12 20:14     ` Peter Salazar
@ 2015-08-15 13:57     ` Grant Rettke
  2015-08-15 14:29       ` Xebar Saram
  1 sibling, 1 reply; 6+ messages in thread
From: Grant Rettke @ 2015-08-15 13:57 UTC (permalink / raw)
  To: Xebar Saram; +Cc: org mode, Peter Salazar

http://ergoemacs.org/emacs/emacs_key_notation_return_vs_RET.html
Grant Rettke
--
gcr@wisdomandwonder.com | http://www.wisdomandwonder.com/
“Wisdom begins in wonder.” --Socrates
“All creativity is an extended form of a joke.” --Kay
((λ (x) (x x)) (λ (x) (x x)))
“Life has become immeasurably better since I have been forced to stop
taking it seriously.” --Thompson


On Wed, Aug 12, 2015 at 10:33 AM, Xebar Saram <zeltakc@gmail.com> wrote:
> Thx Peter
>
> that did the trick, never know when to use RET or return :)
>
> z
>
> On Wed, Aug 12, 2015 at 6:22 AM, Peter Salazar <cycleofsong@gmail.com>
> wrote:
>>
>> Maybe try using <return> instead of RET? Something like this:
>>
>> (define-key org-mode-map (kbd "<C-return>") 'org-insert-heading)
>>
>>
>> On Tue, Aug 11, 2015 at 1:45 PM, Xebar Saram <zeltakc@gmail.com> wrote:
>>>
>>> Hi guys
>>>
>>> im trying to switch between C-RET and M-RET (i use M-ret alot more but
>>> C-RET is much more accessible for me :)) but i dont seem to have any success
>>> in doing so
>>>
>>> this is what i have so far
>>>
>>> (with-eval-after-load "org"
>>> (define-key org-mode-map (kbd "C-RET") 'org-insert-heading)
>>> (define-key org-mode-map (kbd "M-RET")
>>> 'org-insert-heading-respect-content)
>>> )
>>>
>>> any ideas what im doing wrong? after reloading emacs C-RET still defaults
>>> to org-insert-heading-respect-content
>>>
>>> best
>>>
>>> Z
>>
>>
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: switch M-RET and C-RET in org mode with no sucess
  2015-08-15 13:57     ` Grant Rettke
@ 2015-08-15 14:29       ` Xebar Saram
  0 siblings, 0 replies; 6+ messages in thread
From: Xebar Saram @ 2015-08-15 14:29 UTC (permalink / raw)
  To: Grant Rettke; +Cc: org mode, Peter Salazar

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

thx!

good to know :)

z

On Sat, Aug 15, 2015 at 4:57 PM, Grant Rettke <gcr@wisdomandwonder.com>
wrote:

> http://ergoemacs.org/emacs/emacs_key_notation_return_vs_RET.html
> Grant Rettke
> --
> gcr@wisdomandwonder.com | http://www.wisdomandwonder.com/
> “Wisdom begins in wonder.” --Socrates
> “All creativity is an extended form of a joke.” --Kay
> ((λ (x) (x x)) (λ (x) (x x)))
> “Life has become immeasurably better since I have been forced to stop
> taking it seriously.” --Thompson
>
>
> On Wed, Aug 12, 2015 at 10:33 AM, Xebar Saram <zeltakc@gmail.com> wrote:
> > Thx Peter
> >
> > that did the trick, never know when to use RET or return :)
> >
> > z
> >
> > On Wed, Aug 12, 2015 at 6:22 AM, Peter Salazar <cycleofsong@gmail.com>
> > wrote:
> >>
> >> Maybe try using <return> instead of RET? Something like this:
> >>
> >> (define-key org-mode-map (kbd "<C-return>") 'org-insert-heading)
> >>
> >>
> >> On Tue, Aug 11, 2015 at 1:45 PM, Xebar Saram <zeltakc@gmail.com> wrote:
> >>>
> >>> Hi guys
> >>>
> >>> im trying to switch between C-RET and M-RET (i use M-ret alot more but
> >>> C-RET is much more accessible for me :)) but i dont seem to have any
> success
> >>> in doing so
> >>>
> >>> this is what i have so far
> >>>
> >>> (with-eval-after-load "org"
> >>> (define-key org-mode-map (kbd "C-RET") 'org-insert-heading)
> >>> (define-key org-mode-map (kbd "M-RET")
> >>> 'org-insert-heading-respect-content)
> >>> )
> >>>
> >>> any ideas what im doing wrong? after reloading emacs C-RET still
> defaults
> >>> to org-insert-heading-respect-content
> >>>
> >>> best
> >>>
> >>> Z
> >>
> >>
> >
>

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-08-15 14:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-11 17:45 switch M-RET and C-RET in org mode with no sucess Xebar Saram
2015-08-12  3:22 ` Peter Salazar
2015-08-12 15:33   ` Xebar Saram
2015-08-12 20:14     ` Peter Salazar
2015-08-15 13:57     ` Grant Rettke
2015-08-15 14:29       ` Xebar Saram

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).