emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Org buffer corruption with ediff-files


From: Nicolas Goaziou
Subject: Re: [O] Org buffer corruption with ediff-files
Date: Fri, 30 Jan 2015 00:26:24 +0100

Hello,

Michael Brand <address@hidden> writes:

> Can you please have a look?
>
> On Sat, Jan 24, 2015 at 1:39 PM, Michael Brand
> <address@hidden> wrote:
>> Hi all
>>
>> There seems to be a bug when ediff-files is used to compare and edit
>> two Org files. Reproduced with Emacs 24.4 (-Q), today's
>> release_8.3beta-750-gb6fce5 and these steps:
>>
>> 1) M-: (ediff-files "a.org" "b.org")
>> 2) Move point to the buffer "b.org" to the line with "b"
>> 3) M-<up> M-<up>
>> 4) Move point back to Ediff Control Panel
>> 5) !
>>
>> The result is that an unexpected difference is left: In the buffer
>> "b.org" the last two lines with "f" and "g" have been removed.
>> org-element-use-cache set to nil does not make a difference.
>
> Also Emacs 23.4 makes no difference.
>
> Now I made a bisect which ends up in
>
>     commit 56fe788c8f4ff44430a79052d4d758a0a233ac40
>     Author: Nicolas Goaziou <address@hidden>
>     Date:   2012-05-08 09:00:18 +0200
>
>         org-list: Fix visibility preservation
>
>         * lisp/org-list.el (org-list-struct): Fix white spaces.
>         (org-list-swap-items, org-list-send-item): Fix visibility
>         preservation.
>
> Understanding the problem or for a workaround resolve the merge
> conflict of the revert seems too hard for me.

This should be fixed. Thank you for reporting it.

However, the buffer was not corrupted, but narrowed.


Regards,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]