emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Restore old easy template feature (Re: function for inserting a


From: Rasmus
Subject: Re: [O] Restore old easy template feature (Re: function for inserting a block)
Date: Tue, 19 Dec 2017 11:04:08 +0100
User-agent: Emacs Gnus

Matt Price <address@hidden> writes:

> On Wed, Nov 8, 2017 at 9:08 AM, Bastien Guerry <address@hidden> wrote:
>
>> Hi Kaushal,
>>
>> Kaushal Modi <address@hidden> writes:
>>
>> > I am suggesting to have a minor mode that simply binds "<" to do the
>> > template insertion (only when that is typed at BOL with optional
>> > leading whitespace, or if a region is selected).
>>
>> I think this is a great suggestion and brings the best of both the new
>> and the old system.
>>
>> I cannot test this myself until this week-end, but I'd happy too then.
>>
>
> I guess I missed this ocnversation while I was busy wiht other stuff  --
> the old easy templating has been removed? I am certainly very sorry to see
> it go, esp. as I have found yasnippet to work only intermittently in
> org-mode buffers (at least for me).   I see Kaushal has added it back in
> his config files, but if someone has a slightly less specialized solution
> for restoring it I would love to see it.
>
> I see Nicolas's point that this functionality exists elsewhere, but maybe
> someone can point to a ready-made replacement for those of us who rely on
> <s, etc., as part of our daily workflow?

(require ’org-tempo)

At the moment you can only use one character after the "<"
cf. ‘org-structure-template-alist’.  Perhaps this will change in the
future.

Rasmus

-- 
History is what should never happen again




reply via email to

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