From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xebar Saram Subject: Re: switch M-RET and C-RET in org mode with no sucess Date: Sat, 15 Aug 2015 17:29:58 +0300 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11398aa02b839a051d5a6782 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35099) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQcTB-0007CX-Cd for emacs-orgmode@gnu.org; Sat, 15 Aug 2015 10:30:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZQcTA-0006qX-0W for emacs-orgmode@gnu.org; Sat, 15 Aug 2015 10:30:01 -0400 Received: from mail-yk0-x234.google.com ([2607:f8b0:4002:c07::234]:34053) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQcT9-0006p8-Ij for emacs-orgmode@gnu.org; Sat, 15 Aug 2015 10:29:59 -0400 Received: by ykdt205 with SMTP id t205so91490113ykd.1 for ; Sat, 15 Aug 2015 07:29:58 -0700 (PDT) In-Reply-To: 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Grant Rettke Cc: org mode , Peter Salazar --001a11398aa02b839a051d5a6782 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable thx! good to know :) z On Sat, Aug 15, 2015 at 4:57 PM, Grant Rettke wrote: > http://ergoemacs.org/emacs/emacs_key_notation_return_vs_RET.html > Grant Rettke > -- > gcr@wisdomandwonder.com | http://www.wisdomandwonder.com/ > =E2=80=9CWisdom begins in wonder.=E2=80=9D --Socrates > =E2=80=9CAll creativity is an extended form of a joke.=E2=80=9D --Kay > ((=CE=BB (x) (x x)) (=CE=BB (x) (x x))) > =E2=80=9CLife has become immeasurably better since I have been forced to = stop > taking it seriously.=E2=80=9D --Thompson > > > On Wed, Aug 12, 2015 at 10:33 AM, Xebar Saram 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 > > wrote: > >> > >> Maybe try using instead of RET? Something like this: > >> > >> (define-key org-mode-map (kbd "") 'org-insert-heading) > >> > >> > >> On Tue, Aug 11, 2015 at 1:45 PM, Xebar Saram wrote= : > >>> > >>> Hi guys > >>> > >>> im trying to switch between C-RET and M-RET (i use M-ret alot more bu= t > >>> 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 > >> > >> > > > --001a11398aa02b839a051d5a6782 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
thx!=C2=A0

good to know :)
z

On Sat, Aug 15, 2015 at 4:57 PM, Grant Rettke &l= t;gcr@wisdoman= dwonder.com> wrote:
http://ergoemacs.org/emacs/emacs_key_nota= tion_return_vs_RET.html
Grant Rettke
--
gcr@wisdomandwonder.com | http://www.wisdomandwonder.com/
=E2=80=9CWisdom begins in wonder.=E2=80=9D --Socrates
=E2=80=9CAll creativity is an extended form of a joke.=E2=80=9D --Kay
((=CE=BB (x) (x x)) (=CE=BB (x) (x x)))
=E2=80=9CLife has become immeasurably better since I have been forced to st= op
taking it seriously.=E2=80=9D --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>") 'o= rg-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 ha= ve 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-inse= rt-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 sti= ll defaults
>>> to org-insert-heading-respect-content
>>>
>>> best
>>>
>>> Z
>>
>>
>

--001a11398aa02b839a051d5a6782--