From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Horn Subject: Re: Refiling list items Date: Mon, 8 Aug 2011 20:40:40 -0400 Message-ID: References: <8762m8ns2e.fsf@gmail.com> <87d3gfmrpy.fsf@gmail.com> <13875.1312849225@alphaville.americas.hpqcorp.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:35643) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QqaNT-0004vd-NW for emacs-orgmode@gnu.org; Mon, 08 Aug 2011 20:41:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QqaNS-0004zW-GM for emacs-orgmode@gnu.org; Mon, 08 Aug 2011 20:41:03 -0400 Received: from mail-vw0-f41.google.com ([209.85.212.41]:55560) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QqaNS-0004zR-8Z for emacs-orgmode@gnu.org; Mon, 08 Aug 2011 20:41:02 -0400 Received: by vwm42 with SMTP id 42so3581119vwm.0 for ; Mon, 08 Aug 2011 17:41:01 -0700 (PDT) In-Reply-To: <13875.1312849225@alphaville.americas.hpqcorp.net> 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: nicholas.dokos@hp.com Cc: Org-mode ml , Nicolas Goaziou On Mon, Aug 8, 2011 at 20:20, Nick Dokos wrote: > Jeff Horn wrote: > >> > What would be the specifications of that function? Would it only send >> > the item at point to the end of the headline specified through the >> > refile interface? >> >> I hope its clear that this is all above my head. I know enough to make >> suggestions, but not contribute to implementing them. That makes me a >> free-rider, but a free-rider that recognizes he's at the mercy of >> others' talents. >> > > Ah, no - you don't get off that easily! This is not "implementing" > anything. =A0He is asking about your expectations: > > I haven't read the thread (apologies) but ISTR you provided such a > description to begin with. What Nicolas is asking is: what should happen > in other cases of interest? You may want to cover just that one special > case, but an implementation has to worry about *all* cases[fn:1]: > otherwise, there *will* be bug reports in the very near future and guess > who their target will be (hint: it won't be you :-) ) I see, thanks Nicholas. As a start, in a subjectively ideal world, org-refile-list-item would work on list items: 1) and their children to arbitrary depth 2) in the current buffer, or any agenda file 3) using either path-like headline specification or IDO completion But I'd settle for an in-buffer restriction like Florian used. I just noticed org-goto makes the manual workaround a bit easier. I guess this really amounts to the first time I've ever been convinced that "treating list items like headlines" would be useful to me. At least, it feels like list items might benefit from being a proper subset of headlines. I don't remember what the disadvantages of such a move would be, but I suspect there's a lot of tacit knowledge in the codebase already. > Hope-your-sense-of-humor-is-working-today-ly yours, It is. :) --=20 Jeffrey Horn http://www.failuretorefrain.com/jeff/