From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xebar Saram Subject: switch M-RET and C-RET in org mode with no sucess Date: Tue, 11 Aug 2015 20:45:01 +0300 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c0854ce5fe93d051d0ca99e Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58625) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPDbm-0003A1-KY for emacs-orgmode@gnu.org; Tue, 11 Aug 2015 13:45:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZPDbi-0000XQ-Ml for emacs-orgmode@gnu.org; Tue, 11 Aug 2015 13:45:06 -0400 Received: from mail-yk0-x22e.google.com ([2607:f8b0:4002:c07::22e]:33959) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPDbi-0000W0-JJ for emacs-orgmode@gnu.org; Tue, 11 Aug 2015 13:45:02 -0400 Received: by ykdt205 with SMTP id t205so92824171ykd.1 for ; Tue, 11 Aug 2015 10:45:02 -0700 (PDT) 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: org mode --94eb2c0854ce5fe93d051d0ca99e Content-Type: text/plain; charset=UTF-8 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 --94eb2c0854ce5fe93d051d0ca99e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi guys

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

<= div>this is what i have so far

(with-eval-aft= er-load "org"=C2=A0
(define-key org-mode-map (kbd "= ;C-RET") 'org-insert-heading)
(define-key org-mode-map (= kbd "M-RET") 'org-insert-heading-respect-content)
)= =C2=A0

any ideas what im doing wrong? after = reloading emacs C-RET still defaults to=C2=A0org-insert-heading-respect-con= tent

best

Z
--94eb2c0854ce5fe93d051d0ca99e--