Mercurial > emacs
comparison man/org.texi @ 71525:f3876738c127
(Checkboxes): New section.
author | Carsten Dominik <dominik@science.uva.nl> |
---|---|
date | Thu, 29 Jun 2006 10:37:54 +0000 |
parents | c12f8a27aae5 |
children | 947e64a6bc0e |
comparison
equal
deleted
inserted
replaced
71524:d408779d0af3 | 71525:f3876738c127 |
---|---|
1 \input texinfo | 1 \input texinfo |
2 @c %**start of header | 2 @c %**start of header |
3 @setfilename ../info/org | 3 @setfilename ../info/org |
4 @settitle Org Mode Manual | 4 @settitle Org Mode Manual |
5 | 5 |
6 @set VERSION 4.40 | 6 @set VERSION 4.41 |
7 @set DATE June 2006 | 7 @set DATE June 2006 |
8 | 8 |
9 @dircategory Emacs | 9 @dircategory Emacs |
10 @direntry | 10 @direntry |
11 * Org Mode: (org). outline-based notes management and organizer | 11 * Org Mode: (org). outline-based notes management and organizer |
109 * Motion:: Jumping to other headlines | 109 * Motion:: Jumping to other headlines |
110 * Structure editing:: Changing sequence and level of headlines | 110 * Structure editing:: Changing sequence and level of headlines |
111 * Archiving:: Move done task trees to a different place | 111 * Archiving:: Move done task trees to a different place |
112 * Sparse trees:: Matches embedded in context | 112 * Sparse trees:: Matches embedded in context |
113 * Plain lists:: Editing hand-formatted lists | 113 * Plain lists:: Editing hand-formatted lists |
114 * Checkboxes:: Easily checking off things. | |
114 | 115 |
115 Archiving | 116 Archiving |
116 | 117 |
117 * ARCHIVE tag:: Marking a tree as inactive | 118 * ARCHIVE tag:: Marking a tree as inactive |
118 * Moving subtrees:: Moving a tree to an archive file | 119 * Moving subtrees:: Moving a tree to an archive file |
417 * Motion:: Jumping to other headlines | 418 * Motion:: Jumping to other headlines |
418 * Structure editing:: Changing sequence and level of headlines | 419 * Structure editing:: Changing sequence and level of headlines |
419 * Archiving:: Move done task trees to a different place | 420 * Archiving:: Move done task trees to a different place |
420 * Sparse trees:: Matches embedded in context | 421 * Sparse trees:: Matches embedded in context |
421 * Plain lists:: Editing hand-formatted lists | 422 * Plain lists:: Editing hand-formatted lists |
423 * Checkboxes:: Easily checking off things. | |
422 @end menu | 424 @end menu |
423 | 425 |
424 @node Outlines, Headlines, Document structure, Document structure | 426 @node Outlines, Headlines, Document structure, Document structure |
425 @section Outlines | 427 @section Outlines |
426 @cindex outlines | 428 @cindex outlines |
778 XEmacs uses selective display for outlining, not text properties.}. | 780 XEmacs uses selective display for outlining, not text properties.}. |
779 Or you can use the command @kbd{C-c C-x v} to export only the visible | 781 Or you can use the command @kbd{C-c C-x v} to export only the visible |
780 part of the document and print the resulting file. | 782 part of the document and print the resulting file. |
781 | 783 |
782 | 784 |
783 @node Plain lists, , Sparse trees, Document structure | 785 @node Plain lists, Checkboxes, Sparse trees, Document structure |
784 @section Plain lists | 786 @section Plain lists |
785 @cindex plain lists | 787 @cindex plain lists |
786 @cindex lists, plain | 788 @cindex lists, plain |
787 @cindex lists, ordered | 789 @cindex lists, ordered |
788 @cindex ordered lists | 790 @cindex ordered lists |
824 @end group | 826 @end group |
825 @end example | 827 @end example |
826 | 828 |
827 Org-mode supports these lists by tuning filling and wrapping commands | 829 Org-mode supports these lists by tuning filling and wrapping commands |
828 to deal with them correctly. | 830 to deal with them correctly. |
829 | |
830 @cindex checkboxes | |
831 Every item in a plain list can be made a checkbox by starting it with | |
832 the string @samp{[ ]}. The checkbox status can conveniently be toggled | |
833 with @kbd{C-c C-c}. | |
834 | |
835 @example | |
836 * Stupid mistakes when distributing a new version | |
837 - [ ] update also Emacs CVS | |
838 - [X] forget to update index.html on the website | |
839 - [X] leaving a `(debug)' form in the code | |
840 @end example | |
841 | 831 |
842 The following commands act on items when the cursor is in the first line | 832 The following commands act on items when the cursor is in the first line |
843 of an item (the line with the bullet or number). | 833 of an item (the line with the bullet or number). |
844 | 834 |
845 @table @kbd | 835 @table @kbd |
860 command is executed in the white space before the text that is part of | 850 command is executed in the white space before the text that is part of |
861 an item but does not contain the bullet, a bullet is added to the | 851 an item but does not contain the bullet, a bullet is added to the |
862 current line. | 852 current line. |
863 @kindex M-S-@key{RET} | 853 @kindex M-S-@key{RET} |
864 @item M-S-@key{RET} | 854 @item M-S-@key{RET} |
865 Insert a new item with a checkbox. | 855 Insert a new item with a checkbox (@pxref{Checkboxes}). |
866 @kindex S-@key{up} | 856 @kindex S-@key{up} |
867 @kindex S-@key{down} | 857 @kindex S-@key{down} |
868 @item S-@key{up} | 858 @item S-@key{up} |
869 @itemx S-@key{down} | 859 @itemx S-@key{down} |
870 Jump to the previous/next item in the current list. | 860 Jump to the previous/next item in the current list. |
885 the initially selected region is used, even if the new indentation | 875 the initially selected region is used, even if the new indentation |
886 would imply a different hierarchy. To use the new hierarchy, break | 876 would imply a different hierarchy. To use the new hierarchy, break |
887 the command chain with a cursor motion or so. | 877 the command chain with a cursor motion or so. |
888 @kindex C-c C-c | 878 @kindex C-c C-c |
889 @item C-c C-c | 879 @item C-c C-c |
890 If there is a checkbox in the item line, toggle the state of the | 880 If there is a checkbox (@pxref{Checkboxes}) in the item line, toggle the |
891 checkbox. Otherwise, if this is an ordered list, renumber the ordered | 881 state of the checkbox. Otherwise, if this is an ordered list, renumber |
892 list at the cursor. | 882 the ordered list at the cursor. |
893 @end table | 883 @end table |
894 | 884 |
885 @page | |
886 @node Checkboxes, , Plain lists, Document structure | |
887 @section Checkboxes | |
888 @cindex checkboxes | |
889 | |
890 Every item in a plain list (ordered and unordered) can be made a | |
891 checkbox by starting it with the string @samp{[ ]}. This feature is | |
892 similar to TODO items (@pxref{TODO items}), but more lightweight. | |
893 Checkboxes are not included into the global TODO list, so they are often | |
894 great to split a task into a number of simple steps. Or you can use | |
895 them in a shopping list to select the items you need to buy. To toggle | |
896 a checkbox, use @kbd{C-c C-c}, or try Piotr Zielinski's | |
897 @file{org-mouse.el}. Here is an example of a checkbox list. | |
898 | |
899 @example | |
900 * Avoid stupid mistakes when distributing a new version | |
901 - [ ] update also Emacs CVS | |
902 - [X] forget to update index.html on the website | |
903 - [X] leaving a `(debug)' form in the code | |
904 @end example | |
905 | |
906 @noindent The following commands work with checkboxes: | |
907 | |
908 @table @kbd | |
909 @kindex C-c C-c | |
910 @item C-c C-c | |
911 Toggle checkbox at point. | |
912 @kindex C-c C-x C-b | |
913 @item C-c C-x C-b | |
914 Toggle checkbox at point. | |
915 @itemize @minus | |
916 @item | |
917 If there is an active region, toggle the first checkbox in the region | |
918 and set all remaining boxes to the same status as the first. If you | |
919 want to toggle all boxes in the region independently, use a prefix | |
920 argument. | |
921 @item | |
922 If the cursor is in a headline, toggle checkboxes in the region between | |
923 this headline and the next. This does @emph{not} act on the entire | |
924 subtree, just the current entry. | |
925 @item | |
926 If no active region, just toggle the checkbox at point. | |
927 @end itemize | |
928 @kindex M-S-@key{RET} | |
929 @item M-S-@key{RET} | |
930 Insert a new item with a checkbox. | |
931 This works only if the cursor is already in a plain list item | |
932 (@pxref{Plain lists}). | |
933 @end table | |
895 | 934 |
896 @node Tables, Hyperlinks, Document structure, Top | 935 @node Tables, Hyperlinks, Document structure, Top |
897 @chapter Tables | 936 @chapter Tables |
898 @cindex tables | 937 @cindex tables |
899 @cindex editing tables | 938 @cindex editing tables |