From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bastien Newsgroups: gmane.emacs.help Subject: Re: org mode checkboxes from file Date: Wed, 22 Jan 2014 22:57:17 +0100 Message-ID: <87ppnjel36.fsf@bzg.ath.cx> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1390427909 20136 80.91.229.3 (22 Jan 2014 21:58:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Jan 2014 21:58:29 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Zebee Johnstone Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 22 22:58:36 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W65oc-0003PR-Ac for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Jan 2014 22:58:30 +0100 Original-Received: from localhost ([::1]:37730 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W65oc-0006uF-0a for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Jan 2014 16:58:30 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55622) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W65ne-00062R-Lx for help-gnu-emacs@gnu.org; Wed, 22 Jan 2014 16:57:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W65nW-0006pl-7E for help-gnu-emacs@gnu.org; Wed, 22 Jan 2014 16:57:30 -0500 Original-Received: from mail-wg0-x235.google.com ([2a00:1450:400c:c00::235]:39725) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W65nW-0006pP-15 for help-gnu-emacs@gnu.org; Wed, 22 Jan 2014 16:57:22 -0500 Original-Received: by mail-wg0-f53.google.com with SMTP id y10so885373wgg.32 for ; Wed, 22 Jan 2014 13:57:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type; bh=/5C+pQxeDlQVCHQM2E2/GPlmyEJsgWSUgOzGojefMSc=; b=M9JEovMCleI9YQ4n8xrId1pqz92SQGqYn3s3IhQsFMtMXBVmGVuT5m74YXwb3KYlqo 9yj8TlcuTcLI3GOn9eR/w7VWMyo4FJ8LB1caaF0iKLwn3xIV5IeWNK0yMjeO0ad0A/C7 Nx0bITshQATgqTJfMbC6ofRgGk7DUpeX6BxYzR7jfjs1jpg3yJQwxKxd3w0x8kp88CYr pmMdXwkssPh4i+ExybENyr53QSGyxZI4gvHUw1zs2NOP6//UupPtlxbmtjAKzOrydjvl YdSufiS0YK99SzyGEfrJ2JbmHM9kzdrbMEqNprEc2oNQYLtEMi7tv3V1so9/jOyTcsEb uHKA== X-Received: by 10.180.208.73 with SMTP id mc9mr13292949wic.54.1390427841128; Wed, 22 Jan 2014 13:57:21 -0800 (PST) Original-Received: from bzg.localdomain (mar75-2-81-56-68-112.fbx.proxad.net. [81.56.68.112]) by mx.google.com with ESMTPSA id hv3sm22127676wib.5.2014.01.22.13.57.19 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Jan 2014 13:57:20 -0800 (PST) Original-Received: by bzg.localdomain (Postfix, from userid 1000) id 477951C208DF; Wed, 22 Jan 2014 22:57:17 +0100 (CET) In-Reply-To: (Zebee Johnstone's message of "Wed, 22 Jan 2014 21:24:15 +0000 (UTC)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c00::235 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:95543 Archived-At: Hi Zebee, Zebee Johnstone writes: > and I have a set of steps that I have to go through when raising a purchase order such as > > - [ ] get quotes > - [ ] update cost forecasts > - [ ] request PO > - [ ] check note and match > Pain to type all those each time... >From a plain list, go back to the beginning and type C-u C-c C-c to add checkboxes to all items at once. > > But if I put them in a file, then do C-x i to import that file under > the todo item and add [/] to the todo item, that checkbox counter is > not updated. Inserting from the file will not update the counter, updating at least one checkbox will. > I think this means the todo item does not see the imported checkboxes > as its children. > > How do I convince it that they are? > > Is it a matter of whitespace before the -? Nope. > Is there some toggle I can use to associate them to the TODO? No need :) > However.. if I position cursor on the TODO and hit TAB then the > checkboxes vanish meaning that they are seen as children? No, the list is seen as contents. "children" is for subtrees. A subtree can be the child of another subtree, but each subtree contains "contents", like the list in your example. > If I position the cursor at the end of the TODO line then delete until > the first line of the imported file moves to that line, then hit RET, > well suddenly all is well... You lost me here... > Has to be a more sensible way? Updating a checkbox should do. Let us know, -- Bastien