all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Unexpected behaviour while adding checkboxes
@ 2012-01-30  2:49 François Pinard
  2012-01-30  6:18 ` Bastien
       [not found] ` <87aa55oews.fsf@tomsdiner.org>
  0 siblings, 2 replies; 4+ messages in thread
From: François Pinard @ 2012-01-30  2:49 UTC (permalink / raw
  To: emacs-orgmode

Hi, Org people.

Given this Org fragment:

--8<---------------cut here---------------start------------->8---
* Essai
- Le
- petit :: chaperon
- rouge
--8<---------------cut here---------------end--------------->8---

with the cursor on the "L", command `C-u C-c C-c' yields:

--8<---------------cut here---------------start------------->8---
* Essai
- [ ] Le
- petit :: chaperon
- [ ] rouge
--8<---------------cut here---------------end--------------->8---

while I was expecting:

--8<---------------cut here---------------start------------->8---
* Essai
- [ ] Le
- [ ] petit :: chaperon
- [ ] rouge
--8<---------------cut here---------------end--------------->8---

Is there a bug, or do I miss something?

François

P.S. In case it matters, I'm using a recent pull of Org mode.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Unexpected behaviour while adding checkboxes
  2012-01-30  2:49 Unexpected behaviour while adding checkboxes François Pinard
@ 2012-01-30  6:18 ` Bastien
  2012-01-30 15:17   ` François Pinard
       [not found] ` <87aa55oews.fsf@tomsdiner.org>
  1 sibling, 1 reply; 4+ messages in thread
From: Bastien @ 2012-01-30  6:18 UTC (permalink / raw
  To: François Pinard; +Cc: emacs-orgmode

Hi François,

pinard@iro.umontreal.ca (François Pinard) writes:

> Given this Org fragment:
>
> * Essai
> - Le
> - petit :: chaperon
> - rouge
>
> with the cursor on the "L", command `C-u C-c C-c' yields:
>
> * Essai
> - [ ] Le
> - petit :: chaperon
> - [ ] rouge
>
> while I was expecting:
>
> * Essai
> - [ ] Le
> - [ ] petit :: chaperon
> - [ ] rouge
>
> Is there a bug, or do I miss something?

If you try C-u C-c C-c on the "- petit :: chaperon" item, 
you will read this message

  "Cannot add a checkbox to a description list item"

So no, there is no bug here.

HTH,

Ps: I would advise not mixing list types, e.g. not mixing
plain list and descriptive list.

-- 
 Bastien

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Unexpected behaviour while adding checkboxes
  2012-01-30  6:18 ` Bastien
@ 2012-01-30 15:17   ` François Pinard
  0 siblings, 0 replies; 4+ messages in thread
From: François Pinard @ 2012-01-30 15:17 UTC (permalink / raw
  To: Bastien; +Cc: emacs-orgmode

Bastien <bzg@altern.org> writes:

> Hi François,

Bonjour, mon cher Bastien! :-)

> Ps: I would advise not mixing list types, e.g. not mixing plain list
> and descriptive list.

Advice taken!  Thanks!

> If you try C-u C-c C-c on the "- petit :: chaperon" item, 
> you will read this message
>   "Cannot add a checkbox to a description list item"
> So no, there is no bug here.

OK.  I've been a bit mislead by the fact that if I explicitly write:

   - [ ] petit :: chaperon

both the "[ ]" and the "petit" word get highlighted.  If we may not mix
plain lists and descriptive lists, and I happen to write lines like
above, maybe the "petit" word should lose its highlighting?  Org mode
helps me a bit more, say, if I replace "-" by "*" above, none of "[ ]"
or "petit" are highlighted, so I immediately see I am doing something
wrong.

François

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Unexpected behaviour while adding checkboxes
       [not found] ` <87aa55oews.fsf@tomsdiner.org>
@ 2012-01-30 15:52   ` François Pinard
  0 siblings, 0 replies; 4+ messages in thread
From: François Pinard @ 2012-01-30 15:52 UTC (permalink / raw
  To: Tom Regner; +Cc: emacs-orgmode

Tom Regner <tomgoochesa.de@iro.umontreal.ca> writes:

> Hi François,

Hi, Tom.  

> if you check the *Messages* buffer, you should notice a message like :
> Cannot add a checkbox to a description list item

Thanks as well, Tom! :-)

François.

P.S. Tom, I tried to reply to you alone instead of through the list, but
the message was rejected.  Strangely, your message had:

  From: Tom Regner <tomgoochesa.de@iro.umontreal.ca>

I'm re-replying through the list as a way to tell you, just in case the
problem would lie nearer your end than mine, and that you might be lucky
enough to have some control over it.  Who knows! :-)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-01-30 15:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-30  2:49 Unexpected behaviour while adding checkboxes François Pinard
2012-01-30  6:18 ` Bastien
2012-01-30 15:17   ` François Pinard
     [not found] ` <87aa55oews.fsf@tomsdiner.org>
2012-01-30 15:52   ` François Pinard

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.