emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] function for inserting a block


From: Kaushal Modi
Subject: Re: [O] function for inserting a block
Date: Sun, 05 Nov 2017 14:24:40 +0000

On Sun, Nov 5, 2017 at 4:07 AM Nicolas Goaziou <address@hidden> wrote:
Hello,

Eric Abrahamsen <address@hidden> writes:

> From 055af9e9545947b9aeccc3370c8b67a237eea5d8 Mon Sep 17 00:00:00 2001
> From: Eric Abrahamsen <address@hidden>
> Date: Mon, 30 Oct 2017 10:55:29 -0700
> Subject: [PATCH] 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.

Thank you. I applied your patch with the changes below.

I'll try this out soon. This is a breaking change though (org-try-structure-completion doesn't exist any more.. it breaks at least my config.. could be breaking more). Can you please also mention this breakage in the ORG-NEWS? 
--

Kaushal Modi


reply via email to

[Prev in Thread] Current Thread [Next in Thread]