[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] bug#11774: bug#11774: org-mode causes undo boundaries to be lost
From: |
Martin Pohlack |
Subject: |
[O] bug#11774: bug#11774: org-mode causes undo boundaries to be lost |
Date: |
Tue, 03 Jul 2012 20:33:35 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 |
On 25.06.2012 13:35, Toby Cubitt wrote:
> On Sun, Jun 24, 2012 at 11:52:41PM +0200, Toby Cubitt wrote:
>> On Sun, Jun 24, 2012 at 11:39:08PM +0200, Bastien wrote:
>>> Hi Toby,
>>>
>>> Toby Cubitt <address@hidden> writes:
>>>
>>>> For some unknown reason, org-mode is causing the undo boundary between
>>>> the (2 . 4) and (1 . 2) entries to be removed from `buffer-undo-list'.
>>>
>>> Can you try again with
>>>
>>> (setq org-self-insert-cluster-for-undo nil)
>>>
>>> and report?
>>
>> Yup, that fixes the problem.
>>
>> I don't fully understand the purpose of
>> `org-self-insert-cluster-for-undo', given that the Emacs command loop
>> already groups consecutive undo entries together, but presumably it
>> enables a more aggressive form of clustering.
Just to clarify this little piece here: I originally introduces this
clustering code to mimic emacs' behavior in text mode. Org-mode's
aggressive interception seemed to prevent that and undoing in org-mode
felt unnatural compared to vanilla text mode. It was never meant to be
*more* aggressive than emacs' original behavior.
The grouping did not happen at the time. The original thread is here:
http://lists.gnu.org/archive/html/emacs-orgmode/2009-02/msg00691.html
Martin
- [O] bug#11774: bug#11774: org-mode causes undo boundaries to be lost, Martin Pohlack, 2012/07/02
- [O] bug#11774: bug#11774: org-mode causes undo boundaries to be lost, Toby Cubitt, 2012/07/03
- [O] bug#11774: bug#11774: org-mode causes undo boundaries to be lost, Martin Pohlack, 2012/07/03
- [O] bug#11774: bug#11774: org-mode causes undo boundaries to be lost, Stefan Monnier, 2012/07/03
- [O] bug#11774: bug#11774: bug#11774: org-mode causes undo boundaries to be lost, Samuel Wales, 2012/07/03
- [O] bug#11774: bug#11774: bug#11774: org-mode causes undo boundaries to be lost, Stefan Monnier, 2012/07/03
- [O] bug#11774: bug#11774: bug#11774: org-mode causes undo boundaries to be lost, Samuel Wales, 2012/07/03
- [O] bug#11774: bug#11774: bug#11774: bug#11774: org-mode causes undo boundaries to be lost, Samuel Wales, 2012/07/03
- [O] bug#11774: bug#11774: bug#11774: org-mode causes undo boundaries to be lost, Toby Cubitt, 2012/07/04
- [O] bug#11774: bug#11774: bug#11774: org-mode causes undo boundaries to be lost, Stefan Monnier, 2012/07/18
- [O] bug#11774: bug#11774: org-mode causes undo boundaries to be lost,
Martin Pohlack <=