From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Custom keymaps on org blocks Date: Wed, 07 Jun 2017 15:21:53 +0200 Message-ID: <87o9u0ylu6.fsf@nicolasgoaziou.fr> References: <878tl5ugl9.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52998) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dIauO-0001lk-1e for emacs-orgmode@gnu.org; Wed, 07 Jun 2017 09:22:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dIauM-0006UD-Sc for emacs-orgmode@gnu.org; Wed, 07 Jun 2017 09:22:00 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:47977) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dIauM-0006TV-Lr for emacs-orgmode@gnu.org; Wed, 07 Jun 2017 09:21:58 -0400 In-Reply-To: (John Kitchin's message of "Wed, 07 Jun 2017 06:58:17 -0600") 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" To: John Kitchin Cc: emacs-orgmode@gnu.org Hello, John Kitchin writes: > For once in a while uses this works, but this isn't really a solution > for key-bindings that are composable, e.g. in lispy. There you can use > single key-presses to navigate, rearrange, insert code, etc... > > Also it adds three chords to every key-binding out of the box, it would > be fewer keys to just go to special edit mode unless you make a simpler > key definition! Sure, but I have the feeling that it isn't Org job to allow keybindings for multiple major modes in the same buffer. Note that we already did this with links, but I think that specific part of link revamp may have gone too far. Also, it could be troublesome because some interactive functions may depend on a mode specific variables, which are not initialized while in Org mode. As far as Org is concerned, C-c ', i.e., `org-edit-special' is the way to go, IMO. WDYT? Regards, -- Nicolas Goaziou 0x80A93738