From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Poll: new keybinding for org-insert-structure-template? Date: Tue, 12 Dec 2017 08:48:01 +0100 Message-ID: <87y3m8s7ym.fsf@gmx.us> References: <87r2s3ctxh.fsf@ericabrahamsen.net> <87d13m3jt2.fsf@gmx.us> <87efo2wf0s.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]:46029) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOfIY-00051A-J2 for emacs-orgmode@gnu.org; Tue, 12 Dec 2017 02:48:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eOfIQ-0008M0-IT for emacs-orgmode@gnu.org; Tue, 12 Dec 2017 02:48:14 -0500 Received: from [195.159.176.226] (port=56326 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eOfIQ-0008LJ-Ao for emacs-orgmode@gnu.org; Tue, 12 Dec 2017 02:48:10 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1eOfIF-0000E5-Vz for emacs-orgmode@gnu.org; Tue, 12 Dec 2017 08:47:59 +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 Cc: mail@nicolasgoaziou.fr Hi, >> Let me know when you want me to do the change to strings. > > No time like the present! I don't think there's anything else remaining > to be done. One stumbling block is how to input key strings to org-insert-structure-template. Currently, it employs read-key which is really fast. The other easy alternative is completing-read with the keys. However, there you’d have to click RET at the end. The ideal interface for inputting the keys is something like the ox expert export UI. I looked at the code and it seems a bit complex. Nicolas, are there any public interfaces to make ox export like interfaces? Rasmus -- m-mm-mmm-mmmm bacon!