From mboxrd@z Thu Jan 1 00:00:00 1970 From: Noorul Islam Subject: Re: capture initial "level" and refile of capture buffer Date: Sat, 23 Oct 2010 16:04:25 +0530 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=59943 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P9bY6-0007bs-1c for emacs-orgmode@gnu.org; Sat, 23 Oct 2010 06:42:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P9bQh-0006BC-Dw for emacs-orgmode@gnu.org; Sat, 23 Oct 2010 06:34:28 -0400 Received: from mail-yx0-f169.google.com ([209.85.213.169]:60542) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P9bQh-0006B2-9L for emacs-orgmode@gnu.org; Sat, 23 Oct 2010 06:34:27 -0400 Received: by yxm34 with SMTP id 34so631657yxm.0 for ; Sat, 23 Oct 2010 03:34:26 -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: Richard Riley Cc: emacs-orgmode@gnu.org On Sat, Oct 23, 2010 at 3:46 PM, Noorul Islam wrote: > On Sat, Oct 23, 2010 at 2:12 PM, Noorul Islam wrote: >> On Fri, Oct 22, 2010 at 5:13 PM, Richard Riley = wrote: >>> >>> What determines the level of a new capture element? e.g I just created >>> one and it started at "****". >>> >>> feature request : when I added some sub elements to a capture buffer e.= g >>> >>> * my new capture >>> >>> ** sub point >>> >>> *** sub sub point 1 >>> *** sub sub point 2 >>> >>> and hit C-c C-w to refile, it only refiled the sub element (where curso= r >>> was) and then lost the rest. I would like to suggest that refile from >>> the capture buffer should refile the entire buffer and not only the >>> "current nested org item". Or am I missing something in my setup? >> >> On my box I have this observation. >> >> If I have something like this in my capture buffer >> >> * TODO Test >> >> * my new capture >> >> ** sub point >> >> *** sub sub point 1 >> *** sub sub point 2 >> >> >> and if I press C-c C-w at the last line (*** sub sub point 2) and >> refile it to refile.org then what I get in refile.org is this >> >> >> * TODO Test >> >> * my new capture >> >> ** sub point >> >> *** sub sub point 1 >> * sub sub point 2 >> >> >> The last one's level got changed. >> I have latest pull from git repo. >> >> Org-mode version 7.01trans (release_7.01h.833.g21ad0) >> GNU Emacs 23.2.2 (i686-pc-linux-gnu) >> =A0of 2010-06-08 on sajida >> > > Fix org-capture bug. > > * lisp/org.el (org-capture-refile): Consider entire temporary buffer > for refiling. > Sorry incorrect log message. Here is the correct one. Fix org-capture bug. * lisp/org-capture.el (org-capture-refile): Consider entire temporary buffe= r for refiling. Thanks and Regards Noorul