[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] function for inserting a block
From: |
Eric Abrahamsen |
Subject: |
Re: [O] function for inserting a block |
Date: |
Sat, 21 Oct 2017 08:56:29 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) |
Kaushal Modi <address@hidden> writes:
> On Fri, Oct 20, 2017 at 5:15 PM Eric Abrahamsen <address@hidden> wrote:
>
> The template really only inserts the block type, not anything specific
> like the source language or export backend.
>
> Right, but based on the code you have, you can easily add "SRC org", "SRC
> emacs-lisp" to the default value of that list. Looking at that, users can
> also get an idea that
> they can add their favorite languages to that list too.
>
> I think prompting for
> "second-level" information like that might be a little overkill.
>
> I second that. The first-level prompt also feels a bit slow, honestly,
> compared to using easy templates like "<e". So in my config, I make "<e"
> (just an example) to insert
> the, well, EXAMPLE block as usual. But *if region is selected*, it does the
> wrapping as in your code.
Perhaps it would make sense to combine the two functionalities; that's
not a decision I can make, though.
- Re: [O] function for inserting a block, (continued)
- Re: [O] function for inserting a block, Carsten Dominik, 2017/10/19
- Re: [O] function for inserting a block, Eric Abrahamsen, 2017/10/20
- Re: [O] function for inserting a block, Kaushal Modi, 2017/10/20
- Re: [O] function for inserting a block, Kaushal Modi, 2017/10/20
- Re: [O] function for inserting a block, Eric Abrahamsen, 2017/10/20
- Re: [O] function for inserting a block, Eric Abrahamsen, 2017/10/20
- Re: [O] function for inserting a block, Kaushal Modi, 2017/10/20
- Re: [O] function for inserting a block, Xebar Saram, 2017/10/21
- Re: [O] function for inserting a block, Marco Wahl, 2017/10/21
- Re: [O] function for inserting a block, Xebar Saram, 2017/10/21
- Re: [O] function for inserting a block,
Eric Abrahamsen <=
- Re: [O] function for inserting a block, Kaushal Modi, 2017/10/23
- Re: [O] function for inserting a block, Carsten Dominik, 2017/10/23
- Re: [O] function for inserting a block, Kaushal Modi, 2017/10/23
- Re: [O] function for inserting a block, Eric Abrahamsen, 2017/10/23
- Re: [O] function for inserting a block, Nicolas Goaziou, 2017/10/23
- Re: [O] function for inserting a block, Eric Abrahamsen, 2017/10/23
- Re: [O] function for inserting a block, Eric Abrahamsen, 2017/10/23
- Re: [O] function for inserting a block, Nicolas Goaziou, 2017/10/24
- Re: [O] function for inserting a block, Eric Abrahamsen, 2017/10/28
- Re: [O] function for inserting a block, Nicolas Goaziou, 2017/10/30