aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc
diff options
context:
space:
mode:
authorCarsten Dominik2009-09-02 13:08:31 +0000
committerCarsten Dominik2009-09-02 13:08:31 +0000
commit6eb023476d7914566930cb33640a26c96287a4dd (patch)
tree653436d4ba719c99b7fd0c67847d6e4039546367 /doc/misc
parent54a0dee5730ebe50f1f14c0ebc5976ff062e6193 (diff)
downloademacs-6eb023476d7914566930cb33640a26c96287a4dd.tar.gz
emacs-6eb023476d7914566930cb33640a26c96287a4dd.zip
2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
* org.texi (Effort estimates): Document new effort setting commands. (Agenda commands): Document the new keys fro agenda time motion. Document entry text mode. Improve documentation of the keys to include inactive time stamps into the agenda view. (Feedback): Document the new bug report command. (Structure editing): Added an index entry for the sorting of subtrees.
Diffstat (limited to 'doc/misc')
-rw-r--r--doc/misc/ChangeLog9
-rw-r--r--doc/misc/org.texi314
2 files changed, 205 insertions, 118 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index 1f5d58afe97..ec148e19e92 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,12 @@
12009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
2
3 * org.texi (Effort estimates): Document new effort setting commands.
4 (Agenda commands): Document the new keys fro agenda time motion.
5 Document entry text mode. Improve documentation of the keys to include
6 inactive time stamps into the agenda view.
7 (Feedback): Document the new bug report command.
8 (Structure editing): Added an index entry for the sorting of subtrees.
9
12009-09-02 Glenn Morris <rgm@gnu.org> 102009-09-02 Glenn Morris <rgm@gnu.org>
2 11
3 * emacs-mime.texi (time-date): Mention float-time. 12 * emacs-mime.texi (time-date): Mention float-time.
diff --git a/doc/misc/org.texi b/doc/misc/org.texi
index 64e0145128f..0a6f2142041 100644
--- a/doc/misc/org.texi
+++ b/doc/misc/org.texi
@@ -3,8 +3,8 @@
3@setfilename ../../info/org 3@setfilename ../../info/org
4@settitle The Org Manual 4@settitle The Org Manual
5 5
6@set VERSION 6.29c 6@set VERSION 6.30c
7@set DATE August 2009 7@set DATE September 2009
8 8
9@c Version and Contact Info 9@c Version and Contact Info
10@set MAINTAINERSITE @uref{http://orgmode.org,maintainers webpage} 10@set MAINTAINERSITE @uref{http://orgmode.org,maintainers webpage}
@@ -415,7 +415,7 @@ Hacking
415 415
416Tables and lists in arbitrary syntax 416Tables and lists in arbitrary syntax
417 417
418* Radio tables:: Sending and receiving 418* Radio tables:: Sending and receiving radio tables
419* A LaTeX example:: Step by step, almost a tutorial 419* A LaTeX example:: Step by step, almost a tutorial
420* Translator functions:: Copy and modify 420* Translator functions:: Copy and modify
421* Radio lists:: Doing the same for lists 421* Radio lists:: Doing the same for lists
@@ -646,15 +646,23 @@ active region by using the mouse to select a region, or pressing
646 646
647If you find problems with Org, or if you have questions, remarks, or ideas 647If you find problems with Org, or if you have questions, remarks, or ideas
648about it, please mail to the Org mailing list @email{emacs-orgmode@@gnu.org}. 648about it, please mail to the Org mailing list @email{emacs-orgmode@@gnu.org}.
649If you are not a member of the mailing list, your mail will be reviewed by a 649If you are not a member of the mailing list, your mail will be passed to the
650moderator and then passed through to the list. 650list after a moderator has approved it.
651 651
652For bug reports, please provide as much information as possible, 652For bug reports, please provide as much information as possible, including
653including the version information of Emacs (@kbd{C-h v emacs-version 653the version information of Emacs (@kbd{M-x emacs-version @key{RET}}) and Org
654@key{RET}}) and Org (@kbd{C-h v org-version @key{RET}}), as well as 654(@kbd{M-x org-version @key{RET}}), as well as the Org related setup in
655the Org related setup in @file{.emacs}. If an error occurs, a 655@file{.emacs}. The easiest way to do this is to use the command
656backtrace can be very useful (see below on how to create one). Often a 656@example
657small example file helps, along with clear information about: 657@kbd{M-x org-submit-bug-report}
658@end example
659@noindent which will put all this information into an Emacs mail buffer so
660that you only need to add your description. If you re not sending the Email
661from within Emacs, please copy and paste the content into your Email program.
662
663If an error occurs, a backtrace can be very useful (see below on how to
664create one). Often a small example file helps, along with clear information
665about:
658 666
659@enumerate 667@enumerate
660@item What exactly did you do? 668@item What exactly did you do?
@@ -957,6 +965,7 @@ See also the variable @code{org-goto-interface}.
957@cindex pasting, of subtrees 965@cindex pasting, of subtrees
958@cindex cutting, of subtrees 966@cindex cutting, of subtrees
959@cindex copying, of subtrees 967@cindex copying, of subtrees
968@cindex sorting, of subtrees
960@cindex subtrees, cut and paste 969@cindex subtrees, cut and paste
961 970
962@table @kbd 971@table @kbd
@@ -2586,7 +2595,7 @@ All lines that should be recalculated should be marked with @samp{#}
2586or @samp{*}. 2595or @samp{*}.
2587@item / 2596@item /
2588Do not export this line. Useful for lines that contain the narrowing 2597Do not export this line. Useful for lines that contain the narrowing
2589@samp{<N>} markers. 2598@samp{<N>} markers or column group markers.
2590@end table 2599@end table
2591 2600
2592Finally, just to whet your appetite for what can be done with the 2601Finally, just to whet your appetite for what can be done with the
@@ -3027,7 +3036,9 @@ with Emacs and select a suitable application for local non-text files.
3027Classification of files is based on file extension only. See option 3036Classification of files is based on file extension only. See option
3028@code{org-file-apps}. If you want to override the default application and 3037@code{org-file-apps}. If you want to override the default application and
3029visit the file with Emacs, use a @kbd{C-u} prefix. If you want to avoid 3038visit the file with Emacs, use a @kbd{C-u} prefix. If you want to avoid
3030opening in Emacs, use a @kbd{C-u C-u} prefix. 3039opening in Emacs, use a @kbd{C-u C-u} prefix.@*
3040If the cursor is on a headline, but not on a link, offer all links in the
3041headline and entry text.
3031@c 3042@c
3032@kindex mouse-2 3043@kindex mouse-2
3033@kindex mouse-1 3044@kindex mouse-1
@@ -3802,6 +3813,7 @@ priority):
3802@node Breaking down tasks, Checkboxes, Priorities, TODO Items 3813@node Breaking down tasks, Checkboxes, Priorities, TODO Items
3803@section Breaking tasks down into subtasks 3814@section Breaking tasks down into subtasks
3804@cindex tasks, breaking down 3815@cindex tasks, breaking down
3816@cindex statistics, for TODO items
3805 3817
3806@vindex org-agenda-todo-list-sublevels 3818@vindex org-agenda-todo-list-sublevels
3807It is often advisable to break down large tasks into smaller, manageable 3819It is often advisable to break down large tasks into smaller, manageable
@@ -3810,7 +3822,8 @@ with detailed subtasks on the tree@footnote{To keep subtasks out of the
3810global TODO list, see the @code{org-agenda-todo-list-sublevels}.}. To keep 3822global TODO list, see the @code{org-agenda-todo-list-sublevels}.}. To keep
3811the overview over the fraction of subtasks that are already completed, insert 3823the overview over the fraction of subtasks that are already completed, insert
3812either @samp{[/]} or @samp{[%]} anywhere in the headline. These cookies will 3824either @samp{[/]} or @samp{[%]} anywhere in the headline. These cookies will
3813be updates each time the todo status of a child changes. For example: 3825be updates each time the todo status of a child changes, or when pressing
3826@kbd{C-c C-c} on the cookie. For example:
3814 3827
3815@example 3828@example
3816* Organize Party [33%] 3829* Organize Party [33%]
@@ -3827,6 +3840,20 @@ the statistics cookie become ambiguous. Set the property
3827@code{COOKIE_DATA} to either @samp{checkbox} or @samp{todo} to resolve 3840@code{COOKIE_DATA} to either @samp{checkbox} or @samp{todo} to resolve
3828this issue. 3841this issue.
3829 3842
3843@vindex org-hierarchical-todo-statistics
3844If you would like to have the statistics cookie count any TODO entries in the
3845subtree (not just direct children), confgure the variable
3846@code{org-hierarchical-todo-statistics}. To do this for a single subtree,
3847include the word @samp{recursive} into the value of the @code{COOKIE_DATA}
3848property.
3849
3850@example
3851* Parent capturing statistics [2/20]
3852 :PROPERTIES:
3853 :COOKIE_DATA: todo recursive
3854 :END:
3855@end example
3856
3830If you would like a TODO entry to automatically change to DONE 3857If you would like a TODO entry to automatically change to DONE
3831when all children are done, you can use the following setup: 3858when all children are done, you can use the following setup:
3832 3859
@@ -3877,6 +3904,7 @@ checked.
3877@cindex statistics, for checkboxes 3904@cindex statistics, for checkboxes
3878@cindex checkbox statistics 3905@cindex checkbox statistics
3879@cindex property, COOKIE_DATA 3906@cindex property, COOKIE_DATA
3907@vindex org-hierarchical-checkbox-statistics
3880The @samp{[2/4]} and @samp{[1/3]} in the first and second line are cookies 3908The @samp{[2/4]} and @samp{[1/3]} in the first and second line are cookies
3881indicating how many checkboxes present in this entry have been checked off, 3909indicating how many checkboxes present in this entry have been checked off,
3882and the total number of checkboxes present. This can give you an idea on how 3910and the total number of checkboxes present. This can give you an idea on how
@@ -3884,7 +3912,7 @@ many checkboxes remain, even without opening a folded entry. The cookies can
3884be placed into a headline or into (the first line of) a plain list item. 3912be placed into a headline or into (the first line of) a plain list item.
3885Each cookie covers checkboxes of direct children structurally below the 3913Each cookie covers checkboxes of direct children structurally below the
3886headline/item on which the cookie appears@footnote{Set the variable 3914headline/item on which the cookie appears@footnote{Set the variable
3887@code{org-recursive-checkbox-statistics} if you want such cookies to 3915@code{org-hierarchical-checkbox-statistics} if you want such cookies to
3888represent the all checkboxes below the cookie, not just the direct 3916represent the all checkboxes below the cookie, not just the direct
3889children.}. You have to insert the cookie yourself by typing either 3917children.}. You have to insert the cookie yourself by typing either
3890@samp{[/]} or @samp{[%]}. With @samp{[/]} you get an @samp{n out of m} 3918@samp{[/]} or @samp{[%]}. With @samp{[/]} you get an @samp{n out of m}
@@ -3943,12 +3971,13 @@ for better visibility, customize the variable
3943@code{org-track-ordered-property-with-tag}. 3971@code{org-track-ordered-property-with-tag}.
3944@kindex C-c # 3972@kindex C-c #
3945@item C-c # 3973@item C-c #
3946Update the checkbox statistics in the current outline entry. When 3974Update the statistics cookie in the current outline entry. When called with
3947called with a @kbd{C-u} prefix, update the entire file. Checkbox 3975a @kbd{C-u} prefix, update the entire file. Checkbox statistic cookies are
3948statistic cookies are updated automatically if you toggle checkboxes 3976updated automatically if you toggle checkboxes with @kbd{C-c C-c} and make
3949with @kbd{C-c C-c} and make new ones with @kbd{M-S-@key{RET}}. If you 3977new ones with @kbd{M-S-@key{RET}}. TODO statistics cookies update when
3950delete boxes or add/change them by hand, use this command to get things 3978changing TODO states. If you delete boxes/entries or add/change them by
3951back into sync. Or simply toggle any checkbox twice with @kbd{C-c C-c}. 3979hand, use this command to get things back into sync. Or simply toggle any
3980entry twice (checkboxes with @kbd{C-c C-c}).
3952@end table 3981@end table
3953 3982
3954@node Tags, Properties and Columns, TODO Items, Top 3983@node Tags, Properties and Columns, TODO Items, Top
@@ -5501,11 +5530,25 @@ assign effort estimates to entries. If you are also clocking your work, you
5501may later want to compare the planned effort with the actual working time, a 5530may later want to compare the planned effort with the actual working time, a
5502great way to improve planning estimates. Effort estimates are stored in a 5531great way to improve planning estimates. Effort estimates are stored in a
5503special property @samp{Effort}@footnote{You may change the property being 5532special property @samp{Effort}@footnote{You may change the property being
5504used with the variable @code{org-effort-property}.}. Clearly the best way to 5533used with the variable @code{org-effort-property}.}. You can set the effort
5505work with effort estimates is through column view (@pxref{Column view}). You 5534for an entry with the following commands:
5506should start by setting up discrete values for effort estimates, and a 5535
5507@code{COLUMNS} format that displays these values together with clock sums (if 5536@table @kbd
5508you want to clock your time). For a specific buffer you can use 5537@kindex C-c C-x e
5538@item C-c C-x e
5539Set the effort estimate for the current entry. With a numeric prefix
5540argument, set it to the NTH allowed value (see below). This command is also
5541accessible from the agenda with the @kbd{e} key.
5542@kindex C-c C-x C-e
5543@item C-c C-x C-e
5544Modify the effort estimate of the item currently being clocked.
5545@end table
5546
5547Clearly the best way to work with effort estimates is through column view
5548(@pxref{Column view}). You should start by setting up discrete values for
5549effort estimates, and a @code{COLUMNS} format that displays these values
5550together with clock sums (if you want to clock your time). For a specific
5551buffer you can use
5509 5552
5510@example 5553@example
5511#+PROPERTY: Effort_ALL 0 0:10 0:30 1:00 2:00 3:00 4:00 5:00 6:00 7:00 8:00 5554#+PROPERTY: Effort_ALL 0 0:10 0:30 1:00 2:00 3:00 4:00 5:00 6:00 7:00 8:00
@@ -5717,8 +5760,9 @@ more than one template) and then prepare the buffer like
5717@end example 5760@end example
5718 5761
5719@noindent 5762@noindent
5720During expansion of the template, special @kbd{%}-escapes allow dynamic 5763During expansion of the template, special @kbd{%}-escapes@footnote{If you
5721insertion of content: 5764need one of these sequences literally, escape the @kbd{%} with a backslash.}
5765allow dynamic insertion of content:
5722@example 5766@example
5723%^@{@var{prompt}@} @r{prompt the user for a string and replace this sequence with it.} 5767%^@{@var{prompt}@} @r{prompt the user for a string and replace this sequence with it.}
5724 @r{You may specify a default value and a completion table with} 5768 @r{You may specify a default value and a completion table with}
@@ -6882,8 +6926,8 @@ Go to the original location of the item in another window. Under Emacs
6882@itemx @key{RET} 6926@itemx @key{RET}
6883Go to the original location of the item and delete other windows. 6927Go to the original location of the item and delete other windows.
6884@c 6928@c
6885@kindex f 6929@kindex F
6886@item f 6930@item F
6887@vindex org-agenda-start-with-follow-mode 6931@vindex org-agenda-start-with-follow-mode
6888Toggle Follow mode. In Follow mode, as you move the cursor through 6932Toggle Follow mode. In Follow mode, as you move the cursor through
6889the agenda buffer, the other window always shows the corresponding 6933the agenda buffer, the other window always shows the corresponding
@@ -6891,43 +6935,18 @@ location in the Org file. The initial setting for this mode in new
6891agenda buffers can be set with the variable 6935agenda buffers can be set with the variable
6892@code{org-agenda-start-with-follow-mode}. 6936@code{org-agenda-start-with-follow-mode}.
6893@c 6937@c
6894@kindex b 6938@kindex C-c C-x b
6895@item b 6939@item C-c C-x b
6896Display the entire subtree of the current item in an indirect buffer. With a 6940Display the entire subtree of the current item in an indirect buffer. With a
6897numeric prefix argument N, go up to level N and then take that tree. If N is 6941numeric prefix argument N, go up to level N and then take that tree. If N is
6898negative, go up that many levels. With a @kbd{C-u} prefix, do not remove the 6942negative, go up that many levels. With a @kbd{C-u} prefix, do not remove the
6899previously used indirect buffer. 6943previously used indirect buffer.
6900@c 6944
6901@kindex v l 6945@kindex C-c C-o
6902@kindex l 6946@item C-c C-o
6903@item v l @ @r{or short} @ l 6947Follow a link in the entry. This will offer a selection of any links in the
6904@vindex org-log-done 6948text belonging to the referenced Org node. If there is only one link, it
6905@vindex org-agenda-log-mode-items 6949will be followed without a selection prompt.
6906Toggle Logbook mode. In Logbook mode, entries that were marked DONE while
6907logging was on (variable @code{org-log-done}) are shown in the agenda, as are
6908entries that have been clocked on that day. You can configure the entry
6909types that should be included in log mode using the variable
6910@code{org-agenda-log-mode-items}. When called with a @kbd{C-u} prefix, show
6911all possible logbook entries, including state changes. When called with two
6912prefix args @kbd{C-u C-u}, show only logging information, nothing else.
6913@c
6914@kindex v a
6915@kindex v A
6916@item v a
6917@itemx v A
6918Toggle Archives mode. In Archives mode, trees that are marked
6919@code{ARCHIVED} are also scanned when producing the agenda. When you use the
6920capital @kbd{A}, even all archive files are included. To exit archives mode,
6921press @kbd{v a} again.
6922@c
6923@kindex R
6924@item R
6925@vindex org-agenda-start-with-clockreport-mode
6926Toggle Clockreport mode. In Clockreport mode, the daily/weekly agenda will
6927always show a table with the clocked times for the timespan and file scope
6928covered by the current agenda view. The initial setting for this mode in new
6929agenda buffers can be set with the variable
6930@code{org-agenda-start-with-clockreport-mode}.
6931 6950
6932@tsubheading{Change display} 6951@tsubheading{Change display}
6933@cindex display changing, in agenda 6952@cindex display changing, in agenda
@@ -6956,10 +6975,78 @@ argument as well. For example, @kbd{200712 w} will jump to week 12 in
69562007. If such a year specification has only one or two digits, it will 69752007. If such a year specification has only one or two digits, it will
6957be mapped to the interval 1938-2037. 6976be mapped to the interval 1938-2037.
6958@c 6977@c
6978@kindex f
6979@item f
6980@vindex org-agenda-ndays
6981Go forward in time to display the following @code{org-agenda-ndays} days.
6982For example, if the display covers a week, switch to the following week.
6983With prefix arg, go forward that many times @code{org-agenda-ndays} days.
6984@c
6985@kindex b
6986@item b
6987Go backward in time to display earlier dates.
6988@c
6989@kindex .
6990@item .
6991Go to today.
6992@c
6993@kindex j
6994@item j
6995Prompt for a date and go there.
6996@c
6959@kindex D 6997@kindex D
6960@item D 6998@item D
6961Toggle the inclusion of diary entries. See @ref{Weekly/daily agenda}. 6999Toggle the inclusion of diary entries. See @ref{Weekly/daily agenda}.
6962@c 7000@c
7001@kindex v l
7002@kindex l
7003@item v l @ @r{or short} @ l
7004@vindex org-log-done
7005@vindex org-agenda-log-mode-items
7006Toggle Logbook mode. In Logbook mode, entries that were marked DONE while
7007logging was on (variable @code{org-log-done}) are shown in the agenda, as are
7008entries that have been clocked on that day. You can configure the entry
7009types that should be included in log mode using the variable
7010@code{org-agenda-log-mode-items}. When called with a @kbd{C-u} prefix, show
7011all possible logbook entries, including state changes. When called with two
7012prefix args @kbd{C-u C-u}, show only logging information, nothing else.
7013@c
7014@kindex v [
7015@kindex [
7016@item v [ @ @r{or short} @ [
7017Include inactive timestamps into the current view. Only for weekly/daily
7018agenda and timeline views.
7019@c
7020@kindex v a
7021@kindex v A
7022@item v a
7023@itemx v A
7024Toggle Archives mode. In Archives mode, trees that are marked
7025@code{ARCHIVED} are also scanned when producing the agenda. When you use the
7026capital @kbd{A}, even all archive files are included. To exit archives mode,
7027press @kbd{v a} again.
7028@c
7029@kindex v R
7030@kindex R
7031@item v R @ @r{or short} @ R
7032@vindex org-agenda-start-with-clockreport-mode
7033Toggle Clockreport mode. In Clockreport mode, the daily/weekly agenda will
7034always show a table with the clocked times for the timespan and file scope
7035covered by the current agenda view. The initial setting for this mode in new
7036agenda buffers can be set with the variable
7037@code{org-agenda-start-with-clockreport-mode}.
7038@c
7039@kindex v E
7040@kindex E
7041@item v E @ @r{or short} @ E
7042@vindex org-agenda-start-with-entry-text-mode
7043@vindex org-agenda-entry-text-maxlines
7044Toggle entry text mode. In entry text mode, a number of lines from the Org
7045outline node referenced by an agenda line will be displayed below the line.
7046The maximum number of lines is given by the variable
7047@code{org-agenda-entry-text-maxlines}. Calling this command with a numeric
7048prefix argument will temporarily modify that number to the prefix value.
7049@c
6963@kindex G 7050@kindex G
6964@item G 7051@item G
6965@vindex org-agenda-use-time-grid 7052@vindex org-agenda-use-time-grid
@@ -6985,25 +7072,6 @@ Same as @kbd{r}.
6985Save all Org buffers in the current Emacs session, and also the locations of 7072Save all Org buffers in the current Emacs session, and also the locations of
6986IDs. 7073IDs.
6987@c 7074@c
6988@kindex @key{right}
6989@item @key{right}
6990@vindex org-agenda-ndays
6991Display the following @code{org-agenda-ndays} days. For example, if
6992the display covers a week, switch to the following week. With prefix
6993arg, go forward that many times @code{org-agenda-ndays} days.
6994@c
6995@kindex @key{left}
6996@item @key{left}
6997Display the previous dates.
6998@c
6999@kindex .
7000@item .
7001Go to today.
7002@c
7003@kindex j
7004@item j
7005Prompt for a date and go there.
7006@c
7007@kindex C-c C-x C-c 7075@kindex C-c C-x C-c
7008@item C-c C-x C-c 7076@item C-c C-x C-c
7009@vindex org-columns-default-format 7077@vindex org-columns-default-format
@@ -7077,14 +7145,15 @@ the effort criterion. You can achieve the same effect by pressing @kbd{+} or
7077@kindex @{ 7145@kindex @{
7078@kindex @} 7146@kindex @}
7079@item [ ] @{ @} 7147@item [ ] @{ @}
7080In the @i{search view} (@pxref{Keyword search}), these keys add new search 7148@table @i
7081words (@kbd{[} and @kbd{]}) or new regular expressions (@kbd{@{} and 7149@item @r{in} search view
7082@kbd{@}}) to the query string. The opening bracket/brace will add a positive 7150add new search words (@kbd{[} and @kbd{]}) or new regular expressions
7083search term prefixed by @samp{+}, indicating that this search term @i{must} 7151(@kbd{@{} and @kbd{@}}) to the query string. The opening bracket/brace will
7084occur/match in the entry. The closing bracket/brace will add a negative 7152add a positive search term prefixed by @samp{+}, indicating that this search
7085search term which @i{must not} occur/match in the entry for it to be 7153term @i{must} occur/match in the entry. The closing bracket/brace will add a
7154negative search term which @i{must not} occur/match in the entry for it to be
7086selected. 7155selected.
7087 7156@end table
7088 7157
7089@tsubheading{Remote editing} 7158@tsubheading{Remote editing}
7090@cindex remote editing, from agenda 7159@cindex remote editing, from agenda
@@ -8178,11 +8247,13 @@ Here is an example
8178@cindex formatting source code, markup rules 8247@cindex formatting source code, markup rules
8179If the example is source code from a programming language, or any other text 8248If the example is source code from a programming language, or any other text
8180that can be marked up by font-lock in Emacs, you can ask for the example to 8249that can be marked up by font-lock in Emacs, you can ask for the example to
8181look like the fontified Emacs buffer@footnote{Currently this works only for 8250look like the fontified Emacs buffer@footnote{Currently this works for the
8182the HTML backend, and requires the @file{htmlize.el} package version 1.34 or 8251HTML backend, and requires the @file{htmlize.el} package version 1.34 or
8183later.}. This is done with the @samp{src} block, where you also need to 8252later. It also works for LaTeX with the listings package, if you turn on the
8184specify the name of the major mode that should be used to fontify the 8253option @code{org-export-latex-listings} and make sure that the listings
8185example: 8254package is included by the LaTeX header.}. This is done with the @samp{src}
8255block, where you also need to specify the name of the major mode that should
8256be used to fontify the example:
8186@cindex #+BEGIN_SRC 8257@cindex #+BEGIN_SRC
8187 8258
8188@example 8259@example
@@ -8265,7 +8336,7 @@ include your @file{.emacs} file, you could use:
8265#+INCLUDE: "~/.emacs" src emacs-lisp 8336#+INCLUDE: "~/.emacs" src emacs-lisp
8266@end example 8337@end example
8267@noindent 8338@noindent
8268The optional second and third parameter are the markup (@samp{quote}, 8339The optional second and third parameter are the markup (e.g. @samp{quote},
8269@samp{example}, or @samp{src}), and, if the markup is @samp{src}, the 8340@samp{example}, or @samp{src}), and, if the markup is @samp{src}, the
8270language for formatting the contents. The markup is optional, if it is not 8341language for formatting the contents. The markup is optional, if it is not
8271given, the text will be assumed to be in Org mode format and will be 8342given, the text will be assumed to be in Org mode format and will be
@@ -9664,6 +9735,7 @@ respective variable for details.
9664@item @code{:priority} @tab @code{org-export-with-priority} 9735@item @code{:priority} @tab @code{org-export-with-priority}
9665@item @code{:TeX-macros} @tab @code{org-export-with-TeX-macros} 9736@item @code{:TeX-macros} @tab @code{org-export-with-TeX-macros}
9666@item @code{:LaTeX-fragments} @tab @code{org-export-with-LaTeX-fragments} 9737@item @code{:LaTeX-fragments} @tab @code{org-export-with-LaTeX-fragments}
9738@item @code{:latex-listings} @tab @code{org-export-latex-listings}
9667@item @code{:skip-before-1st-heading} @tab @code{org-export-skip-text-before-1st-heading} 9739@item @code{:skip-before-1st-heading} @tab @code{org-export-skip-text-before-1st-heading}
9668@item @code{:fixed-width} @tab @code{org-export-with-fixed-width} 9740@item @code{:fixed-width} @tab @code{org-export-with-fixed-width}
9669@item @code{:timestamps} @tab @code{org-export-with-timestamps} 9741@item @code{:timestamps} @tab @code{org-export-with-timestamps}
@@ -9938,6 +10010,12 @@ This may be necessary in particular if files include other files via
9938@cindex tag completion 10010@cindex tag completion
9939@cindex link abbreviations, completion of 10011@cindex link abbreviations, completion of
9940 10012
10013Emacs would not be Emacs without completion, and Org-mode uses it whenever it
10014makes sense. If you prefer an @i{iswitchb}- or @i{ido}-like interface for
10015some of the completion prompts, you can specify your preferece by setting at
10016most one of the variables @code{org-completion-use-iswitchb}
10017@code{org-completion-use-ido}.
10018
9941Org supports in-buffer completion. This type of completion does 10019Org supports in-buffer completion. This type of completion does
9942not make use of the minibuffer. You simply type a few letters into 10020not make use of the minibuffer. You simply type a few letters into
9943the buffer and use the key to complete text right there. 10021the buffer and use the key to complete text right there.
@@ -10259,6 +10337,8 @@ drawer, offer property commands.
10259If the cursor is at a footnote reference, go to the corresponding 10337If the cursor is at a footnote reference, go to the corresponding
10260definition, and vice versa. 10338definition, and vice versa.
10261@item 10339@item
10340If the cursor is on a statistics cookie, update it.
10341@item
10262If the cursor is in a plain list item with a checkbox, toggle the status 10342If the cursor is in a plain list item with a checkbox, toggle the status
10263of the checkbox. 10343of the checkbox.
10264@item 10344@item
@@ -10278,9 +10358,9 @@ block is updated.
10278 10358
10279Some people find it noisy and distracting that the Org headlines start with a 10359Some people find it noisy and distracting that the Org headlines start with a
10280potentially large number of stars, and that text below the headlines is not 10360potentially large number of stars, and that text below the headlines is not
10281indented. While this is no problem when writing a book where the outline 10361indented. While this is no problem when writing a @emph{book-like} document
10282headings are really section headlines, in a more list-oriented outline, 10362where the outline headings are really section headings, in a more
10283indented structure is a lot cleaner: 10363@emph{list-oriented} outline, indented structure is a lot cleaner:
10284 10364
10285@example 10365@example
10286@group 10366@group
@@ -10295,19 +10375,19 @@ more text | more text
10295@end example 10375@end example
10296 10376
10297@noindent 10377@noindent
10298If you are using Emacs 23 and at least version 6.29 of Org, this kind of view 10378If you are using at least Emacs 23.1.50.3 and version 6.29 of Org, this kind
10299can be achieved dynamically at display time using @code{org-indent-mode}. In 10379of view can be achieved dynamically at display time using
10300this minor mode, all lines are prefixed for display with the necessary amount 10380@code{org-indent-mode}. In this minor mode, all lines are prefixed for
10301of space. Also headlines are prefixed with additional stars, so that the 10381display with the necessary amount of space. Also headlines are prefixed with
10302amount of indentation shifts by two@footnote{See the variable 10382additional stars, so that the amount of indentation shifts by
10303@code{org-indent-indentation-per-level}.} spaces per level. All headline 10383two@footnote{See the variable @code{org-indent-indentation-per-level}.}
10304stars but the last one are made invisible using the @code{org-hide} 10384spaces per level. All headline stars but the last one are made invisible
10305face@footnote{Turning on @code{org-indent-mode} sets 10385using the @code{org-hide} face@footnote{Turning on @code{org-indent-mode}
10306@code{org-hide-leading-stars} to @code{t} and @code{org-adapt-indentation} to 10386sets @code{org-hide-leading-stars} to @code{t} and
10307@code{nil}.} - see below under @samp{2.} for more information on how this 10387@code{org-adapt-indentation} to @code{nil}.} - see below under @samp{2.} for
10308works. You can turn on @code{org-indent-mode} for all files by customizing 10388more information on how this works. You can turn on @code{org-indent-mode}
10309the variable @code{org-startup-indented}, or you can turn it on for 10389for all files by customizing the variable @code{org-startup-indented}, or you
10310individual files using 10390can turn it on for individual files using
10311 10391
10312@example 10392@example
10313#+STARTUP: indent 10393#+STARTUP: indent
@@ -10808,7 +10888,7 @@ or Texinfo.)
10808 10888
10809 10889
10810@menu 10890@menu
10811* Radio tables:: Sending and receiving 10891* Radio tables:: Sending and receiving radio tables
10812* A LaTeX example:: Step by step, almost a tutorial 10892* A LaTeX example:: Step by step, almost a tutorial
10813* Translator functions:: Copy and modify 10893* Translator functions:: Copy and modify
10814* Radio lists:: Doing the same for lists 10894* Radio lists:: Doing the same for lists
@@ -11070,12 +11150,10 @@ others can benefit from your work.
11070@cindex radio lists 11150@cindex radio lists
11071@cindex org-list-insert-radio-list 11151@cindex org-list-insert-radio-list
11072 11152
11073Sending and receiving radio lists works exactly the same way than 11153Sending and receiving radio lists works exactly the same way than sending and
11074sending and receiving radio tables (@pxref{Radio tables}) @footnote{You 11154receiving radio tables (@pxref{Radio tables}). As for radio tables, you can
11075need to load the @code{org-export-latex.el} package to use radio lists 11155insert radio lists templates in HTML, La@TeX{} and Texinfo modes by calling
11076since the relevant code is there for now.}. As for radio tables, you 11156@code{org-list-insert-radio-list}.
11077can insert radio lists templates in HTML, La@TeX{} and Texinfo modes by
11078calling @code{org-list-insert-radio-list}.
11079 11157
11080Here are the differences with radio tables: 11158Here are the differences with radio tables:
11081 11159