[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Edit whole session with org-edit-src-edit
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Edit whole session with org-edit-src-edit |
Date: |
Tue, 10 Oct 2017 09:25:51 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Hello,
"Yury G. Kudryashov" <address@hidden> writes:
> I propose the following feature:
>
> 1. When the temporary buffer is created,
>
> - the whole session (or all the code with that will go to one file
> when tangling) is written to the buffer;
> - all the code except for the current block is marked as read-only.
>
> 2. When writing the temporary buffer back to the main file, drop the
> read-only regions.
This is an interesting idea. However that could slow down src block
editing so it would need to be explicitly required by the user (e.g.,
with an optional argument).
Also, it should be necessary to mark somehow the read-only parts or it
could be confusing. Maybe with some glyph in the margin.
> Unfortunately, I'm new to (e)lisp, so I'm not sure whether I'll manage
> to implement these features myself.
You can only know if you try. You will find help on this mailing list
whenever you hit a road block.
Regards,
--
Nicolas Goaziou