emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Setting properties when scrolling around buffer puts property in


From: John Hendy
Subject: Re: [O] Setting properties when scrolling around buffer puts property in wrong headline
Date: Sun, 3 Nov 2013 08:22:16 -0600


On Nov 1, 2013 3:34 PM, "Thorsten Jolitz" <address@hidden> wrote:
>
> John Hendy <address@hidden> writes:
>
> >> I'm supposing there's no way around this... but I'm creating a
> >> taskjuggler document that's fairly wrong. I often find myself in a
> >> situation where I go to set a :depends: property to reference another
> >> headline and need to go see what it's task_id is. So, I scroll down,
> >> look at the task, then enter the correct task_id in the minibuffer
> >> (which is still active after doing C-c C-x p property-name RET), and
> >> then find that it's been inserted in a different headline since
> >> scrolling moves the point/cursor to a different headline.
>
> I would say its the expected behaviour - when the mini-buffer is still
> active, the command wasn't sent yet, and when you finally send it,
> Org-mode acts on the property drawer where point is at that moment.
>

Understood, and that's what I figured but wanted to check!

> You might want to read about using the mark, i.e. how to set the mark
> before searching the task-id, and then go back to that point before
> sending the command from the mini-buffer:

Will do. I constantly lose my mark when searching and selecting, so sounds really helpful.

Thanks,
John

>
> ,----------------------------------------------------------------------------------
> | http://www.gnu.org/software/emacs/manual/html_node/emacs/Mark-Ring.html#Mark-Ring
> `----------------------------------------------------------------------------------
>
> --
> cheers,
> Thorsten
>
>


reply via email to

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