From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: Poll: new keybinding for org-insert-structure-template? Date: Mon, 18 Dec 2017 10:23:43 -0800 Message-ID: <877etjlwsw.fsf@ericabrahamsen.net> References: <87r2s3ctxh.fsf@ericabrahamsen.net> <87d13m3jt2.fsf@gmx.us> <87efo2wf0s.fsf@ericabrahamsen.net> <87y3m8s7ym.fsf@gmx.us> <87fu8gwfbr.fsf@nicolasgoaziou.fr> <87k1xs2h0h.fsf@gmx.us> <87h8svpt1r.fsf@ericabrahamsen.net> <87o9n11xxi.fsf@gmx.us> <87vah9ovmi.fsf@ericabrahamsen.net> <87po7gxmka.fsf@gmx.us> <87k1xoxhbl.fsf@gmx.us> <877etnq48m.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45765) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eR09a-0002RP-5A for emacs-orgmode@gnu.org; Mon, 18 Dec 2017 13:29:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eR08T-0004r7-Ma for emacs-orgmode@gnu.org; Mon, 18 Dec 2017 13:28:40 -0500 Received: from [195.159.176.226] (port=48402 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eR08Q-0004oh-PS for emacs-orgmode@gnu.org; Mon, 18 Dec 2017 13:27:31 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1eR064-00071U-9I for emacs-orgmode@gnu.org; Mon, 18 Dec 2017 19:25:04 +0100 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: emacs-orgmode@gnu.org Eric Abrahamsen writes: > Rasmus writes: > >> Kaushal Modi writes: >> >>> On Fri, Dec 15, 2017 at 6:23 AM Rasmus wrote: >>> >>>> The only way it’s "bad" is in the sense it limits the flexibility of >>>> snippets, like ">>> I can no longer have " > I don't see any way around that. Any system that allows string keys of > arbitrary length is going to run into that problem. One possible fix, a bit arbitrary: in the default value, provide as an artificial "stop key" in the sub-menus. So "s" starts the "source code" sub-menu, and a after that simply inserts "#+begin_src", and leaves point after that.