emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Checkboxes and Blank Lines
@ 2009-02-26 20:56 Ed Hirgelt
  2009-02-26 21:31 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Ed Hirgelt @ 2009-02-26 20:56 UTC (permalink / raw)
  To: emacs-orgmode

There is a difference in behavior of checkboxes when blank lines
are inserted between list items.  This is the default, I believe,
when using M-Return to create a new list item.

The following reproduces the problem.  Type C-c# in the Works case
and the count is updated to 0/2 (with C-cC-c in the check box it
gets updates to 1/2).

But in the second the counts get updated to 1.

Is this the intent?

org-blank-behavior is set to

((heading . auto)
  (plain-list-item . auto))


Thanks,
Ed


-------------------------
* Test Case

** TODO Works [/]

    - [ ] a
    - [ ] b

** TODO Fails [/]

    - [ ] a

    - [ ] b
	

------------------------

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

* Re: Checkboxes and Blank Lines
  2009-02-26 20:56 Checkboxes and Blank Lines Ed Hirgelt
@ 2009-02-26 21:31 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2009-02-26 21:31 UTC (permalink / raw)
  To: Ed Hirgelt; +Cc: emacs-orgmode

Hi Ed,

looks like you have set `org-empty-line-terminates-plain-list'.

Maybe I should never insert an empty line in lists if this is set...


...  OK, I changed this.

Thank you for the report.

- Carsten

On Feb 26, 2009, at 9:56 PM, Ed Hirgelt wrote:

> There is a difference in behavior of checkboxes when blank lines
> are inserted between list items.  This is the default, I believe,
> when using M-Return to create a new list item.
>
> The following reproduces the problem.  Type C-c# in the Works case
> and the count is updated to 0/2 (with C-cC-c in the check box it
> gets updates to 1/2).
>
> But in the second the counts get updated to 1.
>
> Is this the intent?
>
> org-blank-behavior is set to
>
> ((heading . auto)
> (plain-list-item . auto))
>
>
> Thanks,
> Ed
>
>
> -------------------------
> * Test Case
>
> ** TODO Works [/]
>
>   - [ ] a
>   - [ ] b
>
> ** TODO Fails [/]
>
>   - [ ] a
>
>   - [ ] b
> 	
>
> ------------------------
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

end of thread, other threads:[~2009-02-26 21:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-26 20:56 Checkboxes and Blank Lines Ed Hirgelt
2009-02-26 21:31 ` Carsten Dominik

Code repositories for project(s) associated with this 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).