From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: A Microsoftesque detail in org Date: Tue, 19 May 2015 11:39:41 +0200 Message-ID: <20150519093941.GA29449@chitra.no-ip.org> References: <87382yji8z.fsf@iki.fi> <87lhgqxeq0.fsf@gmx.us> <87k2w754vk.fsf@iki.fi> <874mnaykh0.fsf@gmx.us> <20150518143733.GF7797@chitra.no-ip.org> <87pp5xuc7b.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59357) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yue03-0005eG-Tn for emacs-orgmode@gnu.org; Tue, 19 May 2015 05:39:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yue03-0002R0-2k for emacs-orgmode@gnu.org; Tue, 19 May 2015 05:39:47 -0400 Received: from mail-wi0-x22a.google.com ([2a00:1450:400c:c05::22a]:35560) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yue02-0002Qj-SH for emacs-orgmode@gnu.org; Tue, 19 May 2015 05:39:46 -0400 Received: by wicmx19 with SMTP id mx19so109909234wic.0 for ; Tue, 19 May 2015 02:39:46 -0700 (PDT) Received: from chitra.no-ip.org ([2001:610:120:3001:2ad2:44ff:fe4a:b029]) by mx.google.com with ESMTPSA id lh8sm20912030wjc.23.2015.05.19.02.39.44 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 May 2015 02:39:45 -0700 (PDT) Content-Disposition: inline In-Reply-To: <87pp5xuc7b.fsf@gmx.us> 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: emacs-orgmode@gnu.org Hi Rasmus, On Mon, May 18, 2015 at 05:39:36PM +0200, Rasmus wrote: > Suvayu Ali writes: > > > As for Rasmus's examples of similar behaviour in other modes, I don't > > like them either. Unfortunately again, I'm too short on time to fix the > > behaviour in my setup. > > So far nobody has felt strongly enough about this to supply a patch, even > to org.texi or, I think, worg. > > Here's an untested start to get rid of those pesky Microsoftesque detail > in org-mode > > (with-eval-after-load 'org > (add-hook 'org-mode-hook > (defun org-keyboard-purist () > (org-defkey org-mode-map (kbd "RET") nil) > (mapc (lambda (key) > (org-defkey org-mode-map key nil)) > (list [(control return)] > [(shift control return)] > [(meta return)]))))) I didn't realise it is this simple! I'm always afraid of fiddling with Org key bindings because of all the context sensitive magic going on. Thank you. -- Suvayu Open source is the future. It sets us free.