[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] A Microsoftesque detail in org

From: Suvayu Ali
Subject: Re: [O] A Microsoftesque detail in org
Date: Tue, 19 May 2015 11:39:41 +0200
User-agent: Mutt/ (2014-03-12)

Hi Rasmus,

On Mon, May 18, 2015 at 05:39:36PM +0200, Rasmus wrote:
> Suvayu Ali <address@hidden> 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.


Open source is the future. It sets us free.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]