From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: BUG: refile leaves END line of inline tasks Date: Mon, 3 Aug 2009 06:27:32 +0200 Message-ID: <9C2B3D60-B0EE-4E2F-B2EE-B17632DF118A@gmail.com> References: <1245420528.15084.1321200653@webmail.messagingengine.com> Mime-Version: 1.0 (Apple Message framework v935.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MXp9B-0001yC-7Q for emacs-orgmode@gnu.org; Mon, 03 Aug 2009 00:27:41 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MXp96-0001wN-In for emacs-orgmode@gnu.org; Mon, 03 Aug 2009 00:27:40 -0400 Received: from [199.232.76.173] (port=52642 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXp96-0001wH-9b for emacs-orgmode@gnu.org; Mon, 03 Aug 2009 00:27:36 -0400 Received: from mail-ew0-f211.google.com ([209.85.219.211]:56138) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MXp95-0001Ao-UH for emacs-orgmode@gnu.org; Mon, 03 Aug 2009 00:27:36 -0400 Received: by mail-ew0-f211.google.com with SMTP id 7so1037417ewy.42 for ; Sun, 02 Aug 2009 21:27:35 -0700 (PDT) In-Reply-To: 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: Matthew Lundin Cc: "emacs-orgmode@gnu.org" Hi Peter, hi Matt, On Jun 19, 2009, at 4:44 PM, Matthew Lundin wrote: > "Peter Westlake" writes: > >> If you have a multi-line inline task, with an END line, then >> refiling it >> leaves the END line behind. Since it isn't needed at the >> destination, it >> should just be deleted. >> >> *************** TODO example of refile bug >> C-c C-w takes these lines, >> but leaves the END line. >> *************** END > > I've discovered a couple of related issues: > > 1) Archiving an inline task leaves the END line behind. > > 2) Footnotes. If org-footnote-section is set to nil, the > org-footnote-action treats inline tasks as sections and thus sorts > footnotes under inline tasks. All three issues are fixed now. However, in order to make refiling and archiving work properly, the inline tasks *must* have the END line. org-inlinetask.el now installs a new key `C-c C-x t' to insert an inline task at point, including the corresponding END line. HTH - Carsten