emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* enhancement request: include check-boxes in Shift-<arrow> cycling on lists
@ 2010-03-01  2:26 Livin Stephen Sharma
  2010-03-01  7:29 ` David Maus
  2010-03-01  7:32 ` Carsten Dominik
  0 siblings, 2 replies; 4+ messages in thread
From: Livin Stephen Sharma @ 2010-03-01  2:26 UTC (permalink / raw)
  To: emacs-org-mode-help gnu gnu

I think this would be a useful in daily use: to be able to easily convert a list [whether numbers or bullets] into a list of " - [ ] foo" check-box items.
 FWIW, I use regex'es to achieve this for now.

Livin Stephen Sharma

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

* Re: enhancement request: include check-boxes in Shift-<arrow> cycling on lists
  2010-03-01  2:26 enhancement request: include check-boxes in Shift-<arrow> cycling on lists Livin Stephen Sharma
@ 2010-03-01  7:29 ` David Maus
  2010-03-01  7:45   ` Livin Stephen Sharma
  2010-03-01  7:32 ` Carsten Dominik
  1 sibling, 1 reply; 4+ messages in thread
From: David Maus @ 2010-03-01  7:29 UTC (permalink / raw)
  To: Livin Stephen Sharma; +Cc: emacs-org-mode-help gnu gnu


[-- Attachment #1.1: Type: text/plain, Size: 1115 bytes --]

Livin Stephen Sharma wrote: 

> I think this would be a useful in daily use: to be able to easily
> convert a list [whether numbers or bullets] into a list of " - [ ]
> foo" check-box items.  FWIW, I use regex'es to achieve this for now.

Turning plain list items into checkboxes is already possible:

,----
| C-c C-x C-b
| 
| Toggle checkbox status or (with prefix arg) checkbox presence at point. With double prefix argument, set it to ‘[-]’, which i s considered to be an intermediate state.
| 
|   * If there is an active region, toggle the first checkbox in the
|     region and set all remaining boxes to the same status as the
|     first. With a prefix arg, add or remove the checkbox for all items
|     in the region.
| 
|   * If the cursor is in a headline, toggle checkboxes in the region
|     between this headline and the next (so not the entire subtree).
| 
|   * If there is no active region, just toggle the checkbox at point.
`----
(Manual, Chp. 5.6)

HTH
 -- David
-- 
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... maus.david@gmail.com

[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please 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] 4+ messages in thread

* Re: enhancement request: include check-boxes in Shift-<arrow> cycling on lists
  2010-03-01  2:26 enhancement request: include check-boxes in Shift-<arrow> cycling on lists Livin Stephen Sharma
  2010-03-01  7:29 ` David Maus
@ 2010-03-01  7:32 ` Carsten Dominik
  1 sibling, 0 replies; 4+ messages in thread
From: Carsten Dominik @ 2010-03-01  7:32 UTC (permalink / raw)
  To: Livin Stephen Sharma; +Cc: emacs-org-mode-help gnu gnu


On Mar 1, 2010, at 3:26 AM, Livin Stephen Sharma wrote:

> I think this would be a useful in daily use: to be able to easily  
> convert a list [whether numbers or bullets] into a list of " - [ ]  
> foo" check-box items.
> FWIW, I use regex'es to achieve this for now.

That is what `C-c C-x C-b' does.

HTH

- Carsten

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

* Re: enhancement request: include check-boxes in Shift-<arrow> cycling on lists
  2010-03-01  7:29 ` David Maus
@ 2010-03-01  7:45   ` Livin Stephen Sharma
  0 siblings, 0 replies; 4+ messages in thread
From: Livin Stephen Sharma @ 2010-03-01  7:45 UTC (permalink / raw)
  To: emacs-org-mode-help gnu gnu

I just tried this and found it to work well enough for my requirements.
Thanks for the information [and for the Manual-reference], David.

Livin Stephen Sharma



On Mar 01, 2010, at 12:59:27 , David Maus wrote:

> Livin Stephen Sharma wrote: 
> 
>> I think this would be a useful in daily use: to be able to easily
>> convert a list [whether numbers or bullets] into a list of " - [ ]
>> foo" check-box items.  FWIW, I use regex'es to achieve this for now.
> 
> Turning plain list items into checkboxes is already possible:
> 
> ,----
> | C-c C-x C-b
> | 
> | Toggle checkbox status or (with prefix arg) checkbox presence at point. With double prefix argument, set it to ‘[-]’, which i s considered to be an intermediate state.
> | 
> |   * If there is an active region, toggle the first checkbox in the
> |     region and set all remaining boxes to the same status as the
> |     first. With a prefix arg, add or remove the checkbox for all items
> |     in the region.
> | 
> |   * If the cursor is in a headline, toggle checkboxes in the region
> |     between this headline and the next (so not the entire subtree).
> | 
> |   * If there is no active region, just toggle the checkbox at point.
> `----
> (Manual, Chp. 5.6)
> 
> HTH
> -- David
> -- 
> OpenPGP... 0x99ADB83B5A4478E6
> Jabber.... dmjena@jabber.org
> Email..... maus.david@gmail.com

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

end of thread, other threads:[~2010-03-01  8:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-01  2:26 enhancement request: include check-boxes in Shift-<arrow> cycling on lists Livin Stephen Sharma
2010-03-01  7:29 ` David Maus
2010-03-01  7:45   ` Livin Stephen Sharma
2010-03-01  7:32 ` Carsten Dominik

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).