|Subject:||Re: [O] function for inserting a block|
|Date:||Thu, 9 Nov 2017 08:55:59 +0100|
Nicolas Goaziou writes:
> Takaaki Ishikawa <address@hidden> writes:
>> I also support the idea of keeping "<s" as it was.
>> Please give importance to the backward compatibility in this case.
> I explained why I thought it could be removed. I also suggested
> solutions to get an equivalent feature without implementing it in Org.
> What is wrong with Abbrev mode, skeletons, tempo.el, expand.el, all
> bundled with Emacs, or YASnippet, in the Emacs ecosystem? It sounds like
> NIH. Or, to put it differently: why in the world would Org implement its
> own template system?
The "why in the world" question is likely one that can be answered by
the author of the Org template system.
> The only argument so far is "<" cannot be expanded since it not word
> constituent. Seriously. "<" has no meaning anyway. You can use "@",
> which is word constituent and just as meaningless. So, you can define,
> e.g., a skeleton, that will expand "@s" to "#+begin_src\n#+end_src".
> We can even document how to do it in the manual.
For me, the issue isn't about how the template system is implemented, it
is about backwards compatibility of (org-try-structure-completion)
All the best,
Thomas S. Dye
|[Prev in Thread]||Current Thread||[Next in Thread]|