From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Checkboxes for description lists Date: Sat, 09 Jun 2012 15:43:29 +0200 Message-ID: <87mx4ceh32.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:58072) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SdLzt-00064S-9W for emacs-orgmode@gnu.org; Sat, 09 Jun 2012 09:46:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SdLzr-0007VE-Mb for emacs-orgmode@gnu.org; Sat, 09 Jun 2012 09:46:32 -0400 Received: from mail-we0-f169.google.com ([74.125.82.169]:41963) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SdLzr-0007Uo-Db for emacs-orgmode@gnu.org; Sat, 09 Jun 2012 09:46:31 -0400 Received: by wefh52 with SMTP id h52so1513056wef.0 for ; Sat, 09 Jun 2012 06:46:29 -0700 (PDT) In-Reply-To: (Robert Yates's message of "Fri, 8 Jun 2012 07:05:47 +0300") 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: Robert Yates Cc: emacs-orgmode@gnu.org Hello, Robert Yates writes: > What is the reason for disallowing the commands for adding and > toggling checkboxes on descripton list items (that is "- partA :: > partB" list items) ? (attempting to do so results in the message > "Cannot add a checkbox to a description list item") Good question. I think I thought I had a good reason to do so when I implemented this rule... Oh, well. I removed this limitation in org-list.el and modified new exporters so they handle checkboxes in description lists correctly (that is by adding checkbox before the tag, not before the description). If it breaks something beyond repair, I'll just revert the patch. While at simplifying this `org-list-automatic-rules' variable, I think that `indent' and `bullet' rules should be hard-coded too. There's no real reason to make them configurable after all. Then `org-list-automatic-rules' could be set to a boolean value and renamed to `org-list-update-statistics-cookies' or something similar. Any objection to that? Regards, -- Nicolas Goaziou