[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] How to insert/replace during `org-elemment-map' call?
From: |
Nicolas Goaziou |
Subject: |
Re: [O] How to insert/replace during `org-elemment-map' call? |
Date: |
Thu, 07 Aug 2014 15:14:44 +0200 |
Hello,
Thorsten Jolitz <address@hidden> writes:
> When I set that argument to non-nil (t or 'append or 'prepend), things
> stop working because replacing/appending changes the parsed buffer,
> but the :begin and :end properties of the already parsed elements are
> not adjusted and I use them e.g. to delete a region.
>
> Without using the export-framework (which seems overkill in this
> case), is there a way to make this work anyway?
You can make replacements backwards, i.e., starting from the bottom of
the buffer.
Regards,
--
Nicolas Goaziou