emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] org-map-entries moves point


From: Nick Dokos
Subject: Re: [O] org-map-entries moves point
Date: Wed, 05 Feb 2014 18:00:27 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Florian Beck <address@hidden> writes:

> On 05.02.2014 21:59, Nick Dokos wrote:
>
>> John Kitchin reported this last week and Bastien reverted that commit:
>>
>>    http://thread.gmane.org/gmane.emacs.orgmode/81587
>
> Missed that. But this reverts commit
> 3ec38f5c064c3270f54876ba33c5ca1097b46853 [1] (in org-map-entries)
>
> I was talking about
> fe3379bda6ca23474639b114592958bf14431c88 [2] (which did the same to
> org-agenda-prepare-buffer)
>
> In fact, the revert *caused* my bug. Again, the recipe:
>
> The bug doesn't really move the point, rather it recenters the current
> line. To see it, move into the middle of a document, unfold a second
> level headline and in the middle of the window execute
>
> (org-map-entries (lambda ()
>            ;; do something or even nothing
>            ) nil 'tree)
>
> This works correctly if either commit [1] is restored or [2] is reverted.
>
>
Does all of [2] have to be reverted? Or can save-window-excursion be
changed back to save-excursion? AFAICT, the rest of the fix is
independent of that.

-- 
Nick




reply via email to

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