emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: master: org-complete-expand-structure-template gone?
Date: Tue, 19 Dec 2017 12:43:21 -0500	[thread overview]
Message-ID: <873746r4ue.fsf@alphaville.usersys.redhat.com> (raw)
In-Reply-To: 873746brmk.fsf@mat.ucm.es

Uwe Brauer <oub@mat.ucm.es> 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 <eric@ericabrahamsen.net>
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

  parent reply	other threads:[~2017-12-19 17:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-19 16:37 master: org-complete-expand-structure-template gone? Uwe Brauer
2017-12-19 17:25 ` Rasmus
2017-12-19 17:43 ` Nick Dokos [this message]
2017-12-19 19:30   ` Uwe Brauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=873746r4ue.fsf@alphaville.usersys.redhat.com \
    --to=ndokos@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).