[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates
From: |
Rasmus |
Subject: |
Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]") |
Date: |
Tue, 08 May 2018 00:30:33 +0200 |
User-agent: |
Emacs Gnus |
Aaron Ecay <address@hidden> writes:
> Hi Rasmus,
>
> 2018ko maiatzak 5an, Rasmus-ek idatzi zuen:
>
>> Cool, I at least did not know that one.
>> Can you a reproducible way to try it out?
>> Without having to make my own templates etc.
>
> I havenʼt done anything with it myself.
>
> You can open up a blank .el file and test out some of emacsʼs built-in
> templates. M-x srecode-minor-mode, and then “C-c / /” will prompt you for
> the name of a template to insert. Entering file:major-mode at the
> resulting prompt might be the most interesting one. Certain keys are
> bound to common templates, examples are “C-c / f” for inserting a function
> and “C-c / v” for a variable
Srecode seems pretty neat, though it might only work in file buffers.
Other than being shipped with Emacs, does it have any advantage over yas?
Are there any plans to merge the two or make them more compatible?
> Just as an aside, I have now also learned that emacs also includes
> skeleton.el, which is yet a third template expansion library. Sigh.
I think it was too restrictive. I think I also tried abbrev and found it
not sufficient.
Rasmus
--
It was you, Jezebel, it was you
- Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]"), Nick Helm, 2018/05/01
- Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]"), Nicolas Goaziou, 2018/05/01
- Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]"), Aaron Ecay, 2018/05/01
- Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]"), Rasmus, 2018/05/05
- Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]"), Aaron Ecay, 2018/05/06
- Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]"), Tim Cross, 2018/05/06
- Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]"),
Rasmus <=
- Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]"), Aaron Ecay, 2018/05/07
- Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]"), Bastien, 2018/05/08
- Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]"), Rasmus, 2018/05/13
Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]"), Cook, Malcolm, 2018/05/01
Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]"), Rasmus, 2018/05/05
Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]"), Bastien, 2018/05/08
Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]"), Rasmus, 2018/05/21
Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]"), Adrian Bradd, 2018/05/05