From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Zebee Johnstone Newsgroups: gmane.emacs.help Subject: Re: org mode checkboxes from file Date: Wed, 22 Jan 2014 23:50:01 +0000 (UTC) Organization: Firedrake Synthesis Message-ID: References: Reply-To: zebeej@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1390434615 31442 80.91.229.3 (22 Jan 2014 23:50:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Jan 2014 23:50:15 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 23 00:50:23 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 1W67Yr-0003Rw-RF for geh-help-gnu-emacs@m.gmane.org; Thu, 23 Jan 2014 00:50:21 +0100 Original-Received: from localhost ([::1]:38025 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W67Yr-0006pK-Am for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Jan 2014 18:50:21 -0500 X-Received: by 10.204.179.68 with SMTP id bp4mr1341066bkb.7.1390434601130; Wed, 22 Jan 2014 15:50:01 -0800 (PST) Original-Path: usenet.stanford.edu!ez13no518850wid.0!news-out.google.com!ep20ni247wic.1!nntp.google.com!proxad.net!feeder1-2.proxad.net!weretis.net!feeder4.news.weretis.net!cs.uu.nl!news0.firedrake.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 50 Original-NNTP-Posting-Host: 156.10.233.220.static.exetel.com.au Original-X-Trace: parhelion.firedrake.org 1390434601 23154 220.233.10.156 (22 Jan 2014 23:50:01 GMT) Original-X-Complaints-To: usenet@parhelion.firedrake.org Original-NNTP-Posting-Date: Wed, 22 Jan 2014 23:50:01 +0000 (UTC) User-Agent: slrn/0.9.9p1 (Darwin) Original-Xref: usenet.stanford.edu gnu.emacs.help:203280 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:95548 Archived-At: In gnu.emacs.help on Wed, 22 Jan 2014 22:57:17 +0100 Bastien wrote: > > Inserting from the file will not update the counter, > updating at least one checkbox will. The counter on the todo line stays at [0/0] It doesn't see the checkboxes underneath. > >> 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... > Start like this: * TODO buy things. [/] Then position cursor on the next line. use C-x i to import a file that looks like this - [ ] first thing to do - [ ] second thing to do Position cursor on [/] on todo line. do C-c C-c. [/] is now [0/0] update checkbox in first line with C-c C-c no change in TODO count. >> Has to be a more sensible way? > > Updating a checkbox should do. nope... What has worked is to not have the check boxes in the list in the imported file, but to do the C-u C-c C-c once it is imported. Now to see if that works when your imported list is - thing to do - subthing 1 - subthing 2 - other thing to do Zebee