From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: org-toggle-item on region is buggy [8.3.4 (8.3.4-93-g0d72c3-elpaplus @ /home/sindikat/.emacs.d/elpa/org-plus-contrib-20160627/)] Date: Mon, 04 Jul 2016 23:57:47 +0200 Message-ID: <87h9c5f4mc.fsf@saiph.selenimh> References: <87zipy8wfk.fsf@nixos.lan> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50314) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKBsM-0002wV-BL for emacs-orgmode@gnu.org; Mon, 04 Jul 2016 17:57:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bKBsK-0008Qh-Il for emacs-orgmode@gnu.org; Mon, 04 Jul 2016 17:57:58 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:50674) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKBsK-0008QF-DQ for emacs-orgmode@gnu.org; Mon, 04 Jul 2016 17:57:56 -0400 In-Reply-To: <87zipy8wfk.fsf@nixos.lan> (sindikat@mail36.net's message of "Sun, 03 Jul 2016 18:26:39 +0100") 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" To: "sindikat@mail36.net" Cc: emacs-orgmode@gnu.org Hello, sindikat@mail36.net (sindikat@mail36.net) writes: > `org-toggle-item` transforms a heading into a list item. It transforms a > heading with a TODO into a list item with a checkbox. It works on a > region, so intuitively it should correctly transform all headings with > TODOs in a region into a list with checkboxes. Instead, it does this: > > * TODO a > * TODO b > * TODO c > > becomes > > - [ ] a > - [ ] TODO b > - [ ] TODO c > > This extraneous TODOs should be removed. Fixed. Thank you. Regards, -- Nicolas Goaziou