emacs-orgmode
[Top][All Lists]
Advanced

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

[Help needed] Re: [Discuss] separate (recenter window-line) out of org-a


From: address@hidden
Subject: [Help needed] Re: [Discuss] separate (recenter window-line) out of org-agenda-redo
Date: Tue, 28 Jul 2020 09:07:12 +0800

The `recenter` is useful for keeping position. I checked docstring of `recenter`, have no clue how to implement a better solution. I also thinked about ways like `with-current-buffer` etc. But can get around the `recenter`.

Does anybody have any idea?

[stardiviner]           <Hack this world!>      GPG key ID: 47C32433
IRC(freeenode): stardiviner                     Twitter:  @numbchild
Key fingerprint = 9BAA 92BC CDDD B9EF 3B36  CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/


On Mon, Jul 27, 2020 at 3:46 PM Marco Wahl <marcowahlsoft@gmail.com> wrote:
"numbchild@gmail.com" <numbchild@gmail.com> writes:

[...]

> I dive into source code of ~org-agenda-redo~ function.
> Found this error is caused by ~(recenter window-line)~.
>
> I'm thinking what about to separate this code out? So function
> ~org-agenda-redo~ can be used to non-interactive usage?

My gut feeling says this is a good idea.

Do you have a concrete implementation yet?


Best regards,
--
Marco


reply via email to

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