[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] function for inserting a block
From: |
Rasmus |
Subject: |
Re: [O] function for inserting a block |
Date: |
Fri, 10 Nov 2017 10:31:57 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) |
Hi Eric,
Eric Abrahamsen <address@hidden> writes:
>> Also, Eric, it seems that org-structure-template-alist only supports a
>> single letter for short-hands (the car of an entry in
>> org-structure-template-alist is a char). I used to have blocks like "<ab"
>> expanding to an "abstract" special-block, which I guess isn’t possible
>> anymore?
>
> I hadn't thought of that. Really, all I ever wanted was to wrap things
> in blocks...
>
> I don't see any reason why org-structure-template-alist couldn't go back
> to using string keys. Then we could use read-string, and wouldn't have
> to have special <TAB> behavior -- a string that didn't exist in the
> alist could just be used literally to make a block.
I’d prefer that. For some special blocks, a few characters might makes it
more intuitive, e.g. "def" → "definition", "hyp" → "hypothesis" etc.
Thanks,
Rasmus
--
Warning: Everything saved will be lost
- Re: [O] function for inserting a block, (continued)
- Re: [O] function for inserting a block, Takaaki Ishikawa, 2017/11/08
- Re: [O] function for inserting a block, Eric Abrahamsen, 2017/11/08
- Re: [O] function for inserting a block, Nicolas Goaziou, 2017/11/08
- Re: [O] function for inserting a block, Thomas S. Dye, 2017/11/08
- Re: [O] function for inserting a block, Carsten Dominik, 2017/11/09
- Re: [O] function for inserting a block, Matt Lundin, 2017/11/11
- Re: [O] function for inserting a block, address@hidden, 2017/11/12
- Re: [O] function for inserting a block, Rasmus, 2017/11/09
- Re: [O] function for inserting a block, Rasmus, 2017/11/09
- Re: [O] function for inserting a block, Eric Abrahamsen, 2017/11/09
- Re: [O] function for inserting a block,
Rasmus <=
- Re: [O] function for inserting a block, Eric Abrahamsen, 2017/11/10
- Re: [O] function for inserting a block, Thomas S. Dye, 2017/11/11
- Re: [O] function for inserting a block, Eric Abrahamsen, 2017/11/14
- Re: [O] function for inserting a block, address@hidden, 2017/11/15
- Re: [O] function for inserting a block, Eric Abrahamsen, 2017/11/15
- Re: [O] function for inserting a block, address@hidden, 2017/11/17
- Re: [O] function for inserting a block, Eric Abrahamsen, 2017/11/17
- Re: [O] function for inserting a block, address@hidden, 2017/11/17
- Re: [O] function for inserting a block, Rasmus, 2017/11/20
- Re: [O] function for inserting a block, Eric Abrahamsen, 2017/11/20