From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Peter Westlake" Subject: Re: Re: BUG: refile leaves END line of inline tasks Date: Mon, 22 Jun 2009 16:48:57 +0100 Message-ID: <1245685737.29060.1321585343@webmail.messagingengine.com> References: <1245420528.15084.1321200653@webmail.messagingengine.com> <9D1BEFD4-BA54-40B4-9F5F-2E46CECCA2AB@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MIlnD-0005zA-Ll for emacs-orgmode@gnu.org; Mon, 22 Jun 2009 11:50:47 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MIln8-0005wO-Vt for emacs-orgmode@gnu.org; Mon, 22 Jun 2009 11:50:47 -0400 Received: from [199.232.76.173] (port=38285 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MIln8-0005wA-RA for emacs-orgmode@gnu.org; Mon, 22 Jun 2009 11:50:42 -0400 Received: from out1.smtp.messagingengine.com ([66.111.4.25]:60941) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MIln8-00031w-GX for emacs-orgmode@gnu.org; Mon, 22 Jun 2009 11:50:42 -0400 In-Reply-To: <9D1BEFD4-BA54-40B4-9F5F-2E46CECCA2AB@gmail.com> 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: Carsten Dominik Cc: "emacs-orgmode@gnu.org" On Sun, 21 Jun 2009 08:31 +0200, "Carsten Dominik" wrote: > > 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 > > > Hmm, refiling inline tasks? Isn't this a contradiction in itself? Well, I certainly understand what you mean, but the fact that I tried to do it shows that it's sometimes needed! The use case is a small TODO, noted in passing, being absorbed into a larger piece of work when it becomes clear that there is a general problem to be solved. These inline tasks mostly appear in the middle of my work log file, which is the digital equivalent of a lab book or diary. Everything I do at work gets written down as it happens, and that sometimes includes TODO items. > P.S. Of course we can change the behavior also in the first two points, > but I would like to discuss first if this makes sense..... Fair enough! It's also worth considering the point that the function does actually work; it just leaves a spare END line. Regards, Peter.