[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] cannot edit two source code examples simultaneously
From: |
Hsiu-Khuern Tang |
Subject: |
Re: [Orgmode] cannot edit two source code examples simultaneously |
Date: |
Mon, 18 May 2009 17:32:17 -0700 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
* On Sat 05:39PM +0000, 16 May 2009, Carsten Dominik (address@hidden) wrote:
> Hi Hsiu-Khuern,
>
> On May 15, 2009, at 7:38 AM, Hsiu-Khuern Tang wrote:
>
> Hi Carsten,
>
> You recently changed org-edit-src-code to use a separate buffer instead of an
> indirect buffer. One side effect of this is that I can no longer edit several
> code examples at the same time: opening the second buffer will silently
> discard
> any changes made in the first. I would prefer this behavior: when opening the
> second edit source buffer, write any changes in the first buffer to the
> originating Org buffer (but don't save it, of course).
>
> Another approach is to use different buffer names.
>
> I think the second idea is better, provided that a mechanism
> ensures that not two editing instances of the same region
> are created. This is what I have implemented now. Thank
> you for your report.
Thanks for implementing this and the subsequent refinements based on Dan's and
Taru's inputs!
--
Best,
Hsiu-Khuern.
- [Orgmode] cannot edit two source code examples simultaneously, Hsiu-Khuern Tang, 2009/05/15
- Re: [Orgmode] cannot edit two source code examples simultaneously, Carsten Dominik, 2009/05/16
- Re: [Orgmode] cannot edit two source code examples simultaneously, Dan Davison, 2009/05/17
- Re: [Orgmode] cannot edit two source code examples simultaneously, Taru Karttunen, 2009/05/18
- Re: [Orgmode] cannot edit two source code examples simultaneously, Dan Davison, 2009/05/18
- Re: [Orgmode] cannot edit two source code examples simultaneously, Taru Karttunen, 2009/05/18
- Re: [Orgmode] cannot edit two source code examples simultaneously, Carsten Dominik, 2009/05/18
- Re: [Orgmode] cannot edit two source code examples simultaneously, Carsten Dominik, 2009/05/18
- Re: [Orgmode] cannot edit two source code examples simultaneously, Dan Davison, 2009/05/18
- Re: [Orgmode] cannot edit two source code examples simultaneously, Carsten Dominik, 2009/05/18
Re: [Orgmode] cannot edit two source code examples simultaneously,
Hsiu-Khuern Tang <=