From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: Poll: new keybinding for org-insert-structure-template? Date: Sun, 10 Dec 2017 11:37:23 -0800 Message-ID: <87efo2wf0s.fsf@ericabrahamsen.net> References: <87r2s3ctxh.fsf@ericabrahamsen.net> <87d13m3jt2.fsf@gmx.us> 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]:35859) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eO7Pt-0001mQ-TR for emacs-orgmode@gnu.org; Sun, 10 Dec 2017 14:37:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eO7Pp-0006Yj-KM for emacs-orgmode@gnu.org; Sun, 10 Dec 2017 14:37:37 -0500 Received: from [195.159.176.226] (port=35691 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eO7Pp-0006W7-CT for emacs-orgmode@gnu.org; Sun, 10 Dec 2017 14:37:33 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1eO7Pd-0000jy-KX for emacs-orgmode@gnu.org; Sun, 10 Dec 2017 20:37:21 +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 Rasmus writes: > Eric Abrahamsen writes: > >> Hello all, >> >> Rasmus' org-tempo patch has landed, and it's time to make a few >> adjustments to org-insert-structure-template: I think we're moving to >> string keys in the template alist, rather than character keys, > > 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. >> and also >> some people noted that the keybinding "C-c C-x w" is too close to "C-c >> C-x C-w", which kills a whole subtree. Not a good command to run >> accidentally! > > Two other things that might be nice to changer are > > - Perhaps there could be a space after at least "#+begin_src" so that > it’s ready to insert :keys. > - Perhaps there could be a newline between "#+begin_x" and "#+end_x". > > These things might already have been discussed in which case I missed > them. The first was mentioned, not the second; I think they're both good ideas. There's a clause in o-i-s-t that puts point at the begin line for certain structure types, that would be a fine spot to insert a space. >> Given that the template system has been re-instated, are there any good >> suggestions out there for a new keybinding for >> `org-insert-structure-template'? This is the command that wraps existing >> text in blocks. > > These aren’t too bad to typo on my keyboard: C-c C-. or C-c C-, I like either of these...