From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [PATCH] Fix "Not on a heading" error when setting priority inside a task Date: Mon, 03 Aug 2009 03:03:24 +0800 Message-ID: <873a8aj9ek.fsf@bzg.ath.cx> References: <87ab2jt6eg.fsf@gimli.intra.norang.ca> <878wi2b6ub.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MXgqs-0004DV-Fq for emacs-orgmode@gnu.org; Sun, 02 Aug 2009 15:36:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MXgqn-0004BF-G0 for emacs-orgmode@gnu.org; Sun, 02 Aug 2009 15:36:13 -0400 Received: from [199.232.76.173] (port=42166 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXgqn-0004BC-Cp for emacs-orgmode@gnu.org; Sun, 02 Aug 2009 15:36:09 -0400 Received: from rv-out-0708.google.com ([209.85.198.240]:25635) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MXgqn-0002pj-0g for emacs-orgmode@gnu.org; Sun, 02 Aug 2009 15:36:09 -0400 Received: by rv-out-0708.google.com with SMTP id f25so1391418rvb.6 for ; Sun, 02 Aug 2009 12:36:08 -0700 (PDT) In-Reply-To: <878wi2b6ub.fsf@gollum.intra.norang.ca> (Bernt Hansen's message of "Sun, 02 Aug 2009 10:58:36 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bernt Hansen Cc: emacs-orgmode@gnu.org Bernt Hansen writes: > Changing the priority of a task when the point is after the heading > (anywhere inside the task) worked but aligning the tags failed with > a not on a heading error due to the save-excursion not including > the tag alignment. This change moves back to the heading and > includes that during tag alignment to remove the error text. > --- > This patch is available at git://git.norang.ca/org-mode.git > for-carsten Applied, thanks! -- Bastien