emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Robert Yates <robert.francis.yates@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Checkboxes for description lists
Date: Sat, 09 Jun 2012 15:43:29 +0200	[thread overview]
Message-ID: <87mx4ceh32.fsf@gmail.com> (raw)
In-Reply-To: <CAAyP=yiKwr30UK5i0PqZE3et-0m1Sr6sMCWQEFZKb4oA_XU6gw@mail.gmail.com> (Robert Yates's message of "Fri, 8 Jun 2012 07:05:47 +0300")

Hello,

Robert Yates <robert.francis.yates@gmail.com> 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

  reply	other threads:[~2012-06-09 13:46 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-08  4:05 Checkboxes for description lists Robert Yates
2012-06-09 13:43 ` Nicolas Goaziou [this message]
2012-06-12  9:37   ` Robert Yates
2012-06-12 13:06     ` Sebastien Vauban
2012-06-12 13:29       ` Nicolas Goaziou
2012-06-14  9:30         ` Sebastien Vauban
2012-06-18 10:45           ` Nicolas Goaziou
2012-06-21 21:47             ` Sebastien Vauban
2012-06-22  9:42               ` Nicolas Goaziou
     [not found]                 ` <8762ajptrd.fsf-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-06-22 18:27                   ` **: " Sebastien Vauban
     [not found]                 ` <1340389685.WXHGMQZGWMUF@spammotel.com>
2012-06-23  8:53                   ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mx4ceh32.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=robert.francis.yates@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).