[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: |
Nicolas Goaziou |
Subject: |
Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]") |
Date: |
Sun, 29 Apr 2018 23:53:28 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Hello,
Rasmus <address@hidden> writes:
> FWIW, I strongly disagree that Yasnippet is a suitable replacement. IMO
> it’s not at all intuitive.
You must be kidding. Consider the following snippet:
# key: <s
# --
#+begin_src $1
$0
#+end_src
In a buffer, "<s" and TAB lets me insert the language and possible
header arguments, then another TAB puts point within the block.
Note that by changing "$1" into "${1:emacs-lisp}", you can even default
to emacs-lisp block if you use "<s" TAB TAB.
No offense intended, but Yasnippet is more powerful and also more
versatile than what we offer, since we stick to "<" prefix for
historical reasons.
> Why is using tempo NIH?
Using Tempo is fine. But we're writing a template system on top of it,
which is a different beast.
Regards,
--
Nicolas Goaziou
- Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]"), (continued)
- Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]"), Eric S Fraga, 2018/04/30
- Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]"), Christian Moe, 2018/04/29
- Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]"), Charles Millar, 2018/04/29
- Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]"), Diego Zamboni, 2018/04/29
- Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]"), Rasmus, 2018/04/29
- Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]"), Bastien, 2018/04/29
- Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]"), Bernt Hansen, 2018/04/29
Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]"), Rasmus, 2018/04/29
- Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]"),
Nicolas Goaziou <=
Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]"), Steve Downey, 2018/04/30
[O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]"), Jon Snader, 2018/04/30
- Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]"), Richard Lawrence, 2018/04/30
- Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]"), Jon Snader, 2018/04/30
- Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]"), Tim Cross, 2018/04/30
- Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]"), Cook, Malcolm, 2018/04/30
- Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]"), Jon Snader, 2018/04/30
- Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]"), Kaushal Modi, 2018/04/30