From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: Setting properties when scrolling around buffer puts property in wrong headline Date: Fri, 01 Nov 2013 21:33:32 +0100 Message-ID: <871u2zlv4z.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50884) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VcLPl-0005kE-Be for emacs-orgmode@gnu.org; Fri, 01 Nov 2013 16:33:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VcLPf-0007TP-H9 for emacs-orgmode@gnu.org; Fri, 01 Nov 2013 16:33:53 -0400 Received: from plane.gmane.org ([80.91.229.3]:54258) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VcLPf-0007TK-Az for emacs-orgmode@gnu.org; Fri, 01 Nov 2013 16:33:47 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VcLPd-0002IN-2B for emacs-orgmode@gnu.org; Fri, 01 Nov 2013 21:33:45 +0100 Received: from g231108014.adsl.alicedsl.de ([92.231.108.14]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Nov 2013 21:33:45 +0100 Received: from tjolitz by g231108014.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Nov 2013 21:33:45 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org John Hendy 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. 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: ,---------------------------------------------------------------------------------- | http://www.gnu.org/software/emacs/manual/html_node/emacs/Mark-Ring.html#Mark-Ring `---------------------------------------------------------------------------------- -- cheers, Thorsten