From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: master: org-complete-expand-structure-template gone? Date: Tue, 19 Dec 2017 12:43:21 -0500 Message-ID: <873746r4ue.fsf@alphaville.usersys.redhat.com> References: <873746brmk.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39683) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eRLvU-0008Vh-Bz for emacs-orgmode@gnu.org; Tue, 19 Dec 2017 12:43:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eRLvQ-0007FR-JB for emacs-orgmode@gnu.org; Tue, 19 Dec 2017 12:43:36 -0500 Received: from [195.159.176.226] (port=57932 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eRLvQ-0007E8-Bg for emacs-orgmode@gnu.org; Tue, 19 Dec 2017 12:43:32 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1eRLtP-0003Cm-Oz for emacs-orgmode@gnu.org; Tue, 19 Dec 2017 18:41:27 +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 Uwe Brauer writes: > Hi > > I just pulled the actual master (the last time I did this was in July). > It seems that the function org-complete-expand-structure-template is > gone. > > Is this true? If so > > - what is the substitute. > > - what is the rationale to break backward compatibility? > > - couldn't there be a file announcing deleted or renamed functions. > I tried to search the logs but could not find any reference to > when I was deleted and why. > --8<---------------cut here---------------start------------->8--- $ git log --grep=org-complete-expand-structure-template commit c04e357f3d5d93484277a7e439847b1233b872bd Author: Eric Abrahamsen Date: Sun Nov 5 09:25:15 2017 +0100 Replace easy templates with org-insert-structure-template * lisp/org.el (org-insert-structure-template): New function for wrapping region (or element at point) in a begin/end block. (org-structure-predefined-blocks): New option holding predefined blocks, for completion. (org-try-structure-completion, org-complete-expand-structure-template): Remove functions. * doc/org.texi (Inserting structure templates): Document. * testing/lisp/test-org.el (test-org/insert-template): New test. ... --8<---------------cut here---------------end--------------->8--- There's been a lot of back-and-forth on the list about this. -- Nick