[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, 07 Oct 2017 13:03:17 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.60 (gnu/linux) |
Nicolas Goaziou <address@hidden> writes:
> Hello,
>
> Eric Abrahamsen <address@hidden> writes:
>
>> Nicolas Goaziou <address@hidden> writes:
>>
>>
>> [...]
>>
>>> C-c C-x t is free, tho.
>>
>> Oops, I think that's what I meant to type. Here's the latest version of
>> the patch -- I removed the bit fooling with the location of point at the
>> end, as it seemed simpler was better. How's this look?
>
> `newline-and-indent' and `mark' shouldn't be used in the function.
This must be a personal record for number of screw-ups in a single
commit... That was an old version from a different computer.
But still, I'm not entirely confident about the indentation handling.
This is my best guess -- it seems to work, and doesn't get confused by
`org-indent-mode'.
> Otherwise, it looks good. Could you provide some tests for that in
> "test-org.el"?
How does this look?
Eric
0001-New-function-org-insert-structure-template.patch
Description: Text Data
- Re: [O] function for inserting a block, Nicolas Goaziou, 2017/10/05
- Re: [O] function for inserting a block,
Eric Abrahamsen <=
- Re: [O] function for inserting a block, Nicolas Goaziou, 2017/10/14
- Re: [O] function for inserting a block, Eric Abrahamsen, 2017/10/16
- Re: [O] function for inserting a block, Eric Abrahamsen, 2017/10/16
- Re: [O] function for inserting a block, Nicolas Goaziou, 2017/10/17
- Re: [O] function for inserting a block, Eric Abrahamsen, 2017/10/17
- Re: [O] function for inserting a block, Nicolas Goaziou, 2017/10/17
- Re: [O] function for inserting a block, Eric Abrahamsen, 2017/10/17
- Re: [O] function for inserting a block, Eric Abrahamsen, 2017/10/17
- Re: [O] function for inserting a block, Carsten Dominik, 2017/10/18
- Re: [O] function for inserting a block, Eric Abrahamsen, 2017/10/18