Commit Graph

888 Commits

Author SHA1 Message Date
Eric Schulte 7b19b0e547 delete trailing whitespace 2010-06-17 18:15:35 -07:00
Tom Dye b5efd50fb5 Last chance clean-up of org.texi 2010-06-17 18:15:35 -07:00
Eric Schulte 0f633df264 babel-doc: now compiling again 2010-06-17 18:15:34 -07:00
Tom Dye 3afe60dcde babel-doc: Changed description of function that asks before switching buffers 2010-06-17 18:15:34 -07:00
Tom Dye cbd9bba834 First pass through babel documentation (on airplane) 2010-06-17 18:15:34 -07:00
Eric Schulte 7dba834dbe minor bug fix 2010-06-17 18:15:34 -07:00
Tom Dye b548c3e794 Minor editorial changes to babel documentation (Seattle Airport) 2010-06-17 18:15:33 -07:00
Tom Dye 5fa1dcccad babel-doc: edits 2010-06-17 18:15:31 -07:00
Eric Schulte 97928ae08e babel-doc: tiny doc tweak 2010-06-17 18:15:31 -07:00
Eric Schulte 3bb8bdb7e5 babel-doc: changed header-argument order 2010-06-17 18:15:31 -07:00
Eric Schulte bb834903dd babel-doc: adding no-expand header argument 2010-06-17 18:15:31 -07:00
Eric Schulte bb6f835d12 babel-doc: tweak 2010-06-17 18:15:31 -07:00
Eric Schulte 16fa9b6c99 babel-doc: adding information on hlines colnames and rownames header args 2010-06-17 18:15:31 -07:00
Eric Schulte b89ce3712e babel-doc: host of minor aesthetic changes to babel documentation
also stripped out superfluous function documentation.
2010-06-17 18:15:31 -07:00
Eric Schulte 8d2e2caa37 babel-doc: a completed first pass through and it's looking pretty good 2010-06-17 18:15:31 -07:00
Eric Schulte 653694fff7 babel-doc: exhausting formulation of babel documentation into texinfo 2010-06-17 18:15:31 -07:00
Eric Schulte 33cc42ef53 babel-doc: stripped some @code{} wrappers and everything is now compiling 2010-06-17 18:15:30 -07:00
Eric Schulte 2760c8e798 babel-doc: working on Header Arguments -- not quite compiling 2010-06-17 18:15:30 -07:00
Eric Schulte d7b2397184 pushing through first half or so of babel documentation, compiling 2010-06-17 18:15:30 -07:00
Tom Dye 9e8b6c0831 Changed old C-c M-b prefixes to C-c C-v 2010-06-17 18:15:30 -07:00
Dan Davison 3ac08f1b4e Edits, mainly to header args section 2010-06-17 18:15:30 -07:00
Dan Davison f5e8f5e878 Work on initial sections. 2010-06-17 18:15:30 -07:00
Dan Davison 77fd62ec3b Add entry to main menu 2010-06-17 18:15:30 -07:00
Dan Davison 27dcffe592 Minor edits 2010-06-17 18:15:30 -07:00
Dan Davison f2b1a0fd7c Use angle bracket tags to refer to structural elements of code block 2010-06-17 18:15:30 -07:00
Dan Davison 1e5cd51736 Delete separate file for new chapter 2010-06-17 18:15:30 -07:00
Dan Davison e25035855f Move new chapter into main org.texi file
It is currently impractical to work with it as an @included file,
because the automatic node pointer updates do not work by default.
2010-06-17 18:15:30 -07:00
Dan Davison 10010aa326 Create texinfo node structures for new chapter 2010-06-17 18:15:30 -07:00
Dan Davison 98957ed300 Edits to initial sections 2010-06-17 18:15:29 -07:00
Dan Davison 36767ff4b6 Working on syntax section 2010-06-17 18:15:29 -07:00
Dan Davison a8616afcac Add material to introduction of source code chapter 2010-06-17 18:15:29 -07:00
Dan Davison 787e2746a5 Convert level 4 headings to subsubheadings.
Also some promotion of some of the most deeply nested headings.
2010-06-17 18:15:29 -07:00
Dan Davison 59193e2e2c Add an example block that was missed 2010-06-17 18:15:29 -07:00
Dan Davison 50716ee1e7 Convert level 3 headings to @subsubsections 2010-06-17 18:15:29 -07:00
Dan Davison a465cff872 Wrap verbatim examples in @example ... @end example
Note that there are some cases where the #+begin_src itself is part of
the example, and others where only the body of the source block is the
example.
2010-06-17 18:15:29 -07:00
Dan Davison 12e9b0a567 Quote some @ symbols and clean up.
make info and make pdf work now.
2010-06-17 18:15:29 -07:00
Dan Davison df2252b87f Initialise new source code chapter with reference.org from Worg
source-code-chapter.texi is just reference.org with level 1 headings
replaced with @section, and level 2 headings replaced with
@subsection, and with a top level @chapter node. This file is included
in org.texi with an @include line for now.
2010-06-17 18:15:29 -07:00
Bastien Guerry 76d212e8fd Fix an error in documentation of date/time prompt section.
Thanks to Puneeth Chaganti <punchagan@gmail.com> for this patch.
2010-06-16 21:34:04 +02:00
Bastien Guerry 476d24320c org.texi: Fix tiny typo. 2010-06-16 16:04:11 +02:00
Eric Schulte d3b7952159 Fix typo in documentation
thanks to Puneeth Chaganti for the patch
2010-06-12 10:46:12 -07:00
Christian Egli 964f8dab5b Add documentation for TaskJuggler export 2010-06-08 09:20:34 +02:00
Carsten Dominik fd1d2992f6 Make it possible to protect hidden subtrees to be killed by `C-k'
* lisp/org.el (org-ctrl-k-protect-subtree): New option.
(org-kill-line): Protect hidden subtrees if the user wants it.
* doc/org.texi (Headlines): Mention the special behavior of C-k
in headlines.

Scott Otterson writes:

> For what must be the dozenth time, I've just accidentally deleted a
> large tree by typing C-k while in a headline.
>
> This is really easy to do because emacs users have "C-k deletes to the
> end of the line" worn deeply into their neural pathways -- it's so
> automatic for me that the keystroke is close to subconscious.  A
> mistaken C-k is especially hard to detect because org-mode displays
> the result exactly like what your subconscious expects, that is, a
> collapsed headline is deleted to the end -- and the tree underneath is
> wiped out with no noticeable warning.
>
> Feature request: add an option preventing tree deletion with C-k
> without user confirmation.  Actually, I'd like an option to prevent it
> period.
>
> If this option is already in there, then you're encouraged to tell me
> to RTFM.  But then also please tell me where it is, because I can't
> find it.

Carsten replies

> This is now possible due to the variable
> `org-ctrl-k-protect-subtree'.  But I predict that you are going to set
> it to nil again soon :D
2010-06-03 00:18:44 +02:00
Carsten Dominik 70d24c5d03 Implement pretty display of sub- and superscripts.
* doc/org.texi (Subscripts and superscripts): Document that `C-c C-x \'
will also format sub and superscripts.
* doc/orgcard.tex: Document that `C-c C-x \'
will also format sub and superscripts.
* lisp/org.el (org-use-sub-superscripts):
(org-pretty-entities-include-sub-superscripts): Move here from
org-exp.el.
(org-set-regexps-and-options): Parse subscript option and set
`org-use-sub-superscripts' as a local variable.
(org-match-sexp-depth):
(org-create-multibrace-regexp):
(org-match-substring-regexp):
(org-match-substring-with-braces-regexp): Moved here from org-exp.el
(org-set-font-lock-defaults): Call `org-raise-scripts'.
(org-remove-font-lock-display-properties): New function.
(org-unfontify-region): Call
`org-remove-font-lock-display-properties'.
(org-script-display): New constant.
(org-raise-scripts): New function.

When turning on entity display with `C-c C-x \', sub- and superscripts
will also be displayed in a smaller font, and raised/lowered.
2010-06-03 00:06:19 +02:00
Carsten Dominik 5f168ad614 Minor documentation fix 2010-06-01 06:01:10 +02:00
Carsten Dominik ea3cdc75f8 Improve MobileOrg documentation
* doc/org.texi (MobileOrg): Improve documentation about MobileOrg,
move all webdav server configuration to the FAQ.
2010-05-31 09:14:58 +02:00
Carsten Dominik e7a3e1a223 Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode 2010-05-28 09:18:37 +02:00
Carsten Dominik 03c98ecabd Document Emacs crashes with org-indent-mode prior to Emacs 23.2
* doc/org.texi (Clean view): Mention that org-indent-mode can
crash Emacs prior to 23.2.
2010-05-28 08:41:58 +02:00
Eric Schulte 8d78778c89 babel: updated key bindings in refcard
and removed a binding which was shadowing the `keyboard-quit'
2010-05-26 16:55:48 -06:00
Carsten Dominik a49a64575b Document the use of `org-list-demote-modify-bullet'.
* doc/org.texi (Plain lists): Document
`org-list-demote-modify-bullet'.

* lisp/org-list.el (org-list-demote-modify-bullet): Improve docstring
by showing an example.

This change was triggered by a request by Livin Stephen Sharma.
2010-05-23 07:11:01 +02:00
Carsten Dominik 5b68cf4c4f Allow to skip steps in clock reports that have zero time
* org-clock.el (org-dblock-write:clocktable): Return total time.
(org-clocktable-steps): Skip step when time is zero and the
:stepskip0 property is set.

Rainer Stengele writes:

> Creating clocktables for each day of a month is an excellent feature
> in org!  Problem for me is that many resulting tables have a total
> time of 0:00.  The problem is not really the zero time I spent but the
> appearance of the tables with zero total time.
>
> Is there a possibility to skip getting such tables?  Rational: I do
> not need to show my boss or customer days where I spent 0:00 time on
> the project.

Now you can set :stepskip0 to achieve this.
2010-05-22 08:18:20 +02:00
Carsten Dominik 7403cb1992 Hide subtree before exposing the headings with `C-c C-k'
Proposed by Ali Tofigh.

Now `C-c C-k' always creates the same view, independent of what the
subtree visibility was before.
2010-05-20 08:51:54 +02:00
Carsten Dominik 80133cb059 Documentation fix 2010-05-19 11:37:13 +02:00
Carsten Dominik 245b300a2e Fix documentation about link abbreviations 2010-05-19 01:05:50 +02:00
Carsten Dominik 679e3b7f03 Implement caching of refile targets 2010-05-17 19:27:08 +02:00
Carsten Dominik b84aa975e0 Fix some typos 2010-05-17 11:24:10 +02:00
Carsten Dominik 7f86e0dedb Display entites as UTF8 characters
Based on code by Eric Schulte
2010-05-16 07:46:37 +02:00
Carsten Dominik 2d3817d51a LaTeX export: Implement table* environment for wide tables
Patch by Chris Gray.
2010-05-15 14:26:38 +02:00
Carsten Dominik f4ac28844e Document the use of the org-export-docbook-xslt-stylesheet variable
Patch by Baoqiu Cui.
2010-05-15 08:07:02 +02:00
Eric Schulte d0fcc199c7 babel: adding org-babel key bindings to the org reference card orgcard 2010-05-12 23:53:04 -06:00
Carsten Dominik c069b7c5c6 Make update of ascii refcard auomatic 2010-05-12 16:22:06 +02:00
Carsten Dominik 70354f0898 Minor doc fixes 2010-05-12 08:12:01 +02:00
Carsten Dominik 3d8b6de2ad Free up the `C-c C-v' key for Org Babel
TODO sparse trees are also accessible with `C-c / t'.
2010-05-12 08:04:27 +02:00
Carsten Dominik ae1ebe59ba Make space in refcard for Org-babel 2010-05-10 10:42:37 +02:00
Carsten Dominik 3352fc0c62 Make C-v and M-v work when entering date with popup calendar
Requested by Leo.
2010-05-10 08:57:20 +02:00
Carsten Dominik c86a3fc4aa Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
Carsten Dominik 88100d1580 Release 6.36a 2010-05-09 06:13:54 +02:00
Carsten Dominik 7147508d81 Implement inline display of linked images 2010-05-08 09:20:32 +02:00
Carsten Dominik 1db26a94fe Remove a line break in the refcard source 2010-05-07 16:49:50 +02:00
Carsten Dominik e27bc453de Add commands to recalculate and iterate all tables in a buffer
This was a request by Johna Ekh.
2010-05-07 09:45:34 +02:00
Carsten Dominik 57afeb8585 Revert org.texi back to the state before I mistakenly merged the babel branch 2010-05-01 21:40:44 +02:00
Carsten Dominik d3315ff844 Minor fixes 2010-05-01 20:42:46 +02:00
Carsten Dominik a087cf455d Merge branch 'guide' 2010-05-01 07:43:01 +02:00
Carsten Dominik c38d101fff New compact Org-mode guide 2010-05-01 07:42:54 +02:00
Carsten Dominik 23a1f40e3a Fix more typos 2010-05-01 06:30:02 +02:00
Carsten Dominik 702c1f8398 Merge branch 'babel' of git+ssh://repo.or.cz/srv/git/org-mode 2010-05-01 06:23:57 +02:00
Dan Davison b502a3d862 Some manual typos 2010-04-30 22:36:01 -04:00
Carsten Dominik 7d6013dc41 Fix typo 2010-04-29 07:27:02 +02:00
Carsten Dominik 3c9a47cccc Fix typo 2010-04-28 09:57:46 +02:00
Carsten Dominik ce6caec446 Automatically remove lines with formatting cookies when exporting tables
Lines that only contain formatting cookies like <l20> or <10> will now
be removed automatically.  Optionally, the first field in a row can
also be "/".
2010-04-28 08:49:35 +02:00
Carsten Dominik a9539f449c Implement doi: links
Patch by Lennart Borgman.
2010-04-26 17:12:45 +02:00
Carsten Dominik 489f41f366 Document counter start cookies for ordered lists 2010-04-26 16:41:33 +02:00
Carsten Dominik 35204940d2 Document windmove work-around 2010-04-26 11:06:10 +02:00
Carsten Dominik 3a7f7dbcca Fix typos 2010-04-24 02:17:07 +02:00
Carsten Dominik c59da3a3dd Add tags matching to clock tables
Adam Elliott writes:

> I have attached a git patch against master that implements a new
> parameter to clock tables, "tags".  This parameter is a tags-query as a
> string and is used to filter the headlines which are consulted when
> building the clock table.
>
> In my search of the archives to see if this feature already existed, I
> found a reference here:
>  http://article.gmane.org/gmane.emacs.orgmode/17304
> suggesting it was difficult.  The patch is not so large, though, so
> perhaps I am missing something.
>
> My rationale in implementing this feature was to keep track of the
> occasional task item that is not billable, yet still makes sense to
> include in the overall project structure.  Of course I could just avoid
> clocking the task item, or manually delete clock lines before generating
> a report, but this feature reduces the chance for error; no doubt there
> are other workflows enabled with this feature as well.  I don't make
> significant use of tags myself, but I know many do.
>
> In order to maintain a sensible report, headlines that don't match the
> tag filter may be included if they have descendants that do.  Any time
> clocked directly on non-matching headlines, however, is excluded.
>
> Specifying even a simple filter noticeably slows down clock table
> generation for non-toy reports, particularly for clock table reports
> with :step.  If there is no filter, though, there is no degradation in
> performance.
>
> Tag filter syntax is the standard one, as described at:
>  http://orgmode.org/manual/Matching-tags-and-properties.html
> Only tags are considered at the moment, although I suspect querying
> against all properties would be possible (if even slower).
>
> Examples:
>
> * development
>  CLOCK: => 1:00
> *** task 1
>    CLOCK: => 1:00
> *** task 2                                              :must:
> ***** task 2a
>      CLOCK: => 1:00
> ***** task 2b                                           :mustnot:
>      CLOCK: => 1:00
>
> Note I am using an unconventional but legal(ish) clock format for
> brevity.  Clock tables are also pruned to only relevant lines.
>
> [1] #+BEGIN: clocktable
> |   | *Total time* | *4:00* |      |      |
> |---+--------------+--------+------+------|
> | 1 | development  | 4:00   |      |      |
> | 2 | task 1       |        | 1:00 |      |
> | 2 | task 2       |        | 2:00 |      |
> | 3 | task 2a      |        |      | 1:00 |
> | 3 | task 2b      |        |      | 1:00 |
>
> [2] #+BEGIN: clocktable :tags "must"
> |   | *Total time* | *2:00* |      |      |
> |---+--------------+--------+------+------|
> | 1 | development  | 2:00   |      |      |
> | 2 | task 2       |        | 2:00 |      |
> | 3 | task 2a      |        |      | 1:00 |
> | 3 | task 2b      |        |      | 1:00 |
>
> [3] #+BEGIN: clocktable :tags "-mustnot"
> |   | *Total time* | *3:00* |      |      |
> |---+--------------+--------+------+------|
> | 1 | development  | 3:00   |      |      |
> | 2 | task 1       |        | 1:00 |      |
> | 2 | task 2       |        | 1:00 |      |
> | 3 | task 2a      |        |      | 1:00 |
>
> [4] #+BEGIN: clocktable :tags "must-mustnot"
> |   | *Total time* | *1:00* |      |      |
> |---+--------------+--------+------+------|
> | 1 | development  | 1:00   |      |      |
> | 2 | task 2       |        | 1:00 |      |
> | 3 | task 2a      |        |      | 1:00 |
>
> [5] #+BEGIN: clocktable :tags "must+mustnot"
> |   | *Total time* | *1:00* |      |      |
> |---+--------------+--------+------+------|
> | 1 | development  | 1:00   |      |      |
> | 2 | task 2       |        | 1:00 |      |
> | 3 | task 2b      |        |      | 1:00 |
>
> As you can see, in examples 2, 4, and 5, the time clocked on
> "development" itself is being removed.  Example 2 illustrates the effect
> of tag inheritance.
>
> Adam
2010-04-23 21:24:19 +02:00
Carsten Dominik 11baa7cf77 Make M-left and M-right affect only the item, not its children
This behavior is now parallel to the treatment of outline nodes.

This commit also introduces another change.  When an outline node or a
plain list item is folded by outline and contains hidden children,
M-left/right will refuse to act on this item.  You must either open
the tree, or use the subtree commands M-S-left and M-S-right.

Based on a patch by Matti De Craene, but significantly modified after
a discussion involving Bernt Hansen and others.
2010-04-23 10:26:15 +02:00
Carsten Dominik bc4b5de764 Add more acknowledgements 2010-04-22 09:27:43 +02:00
Carsten Dominik 2bc8590755 HTML export: Allow sorting of the site map
Patch by Sebastian Rose
2010-04-22 09:27:35 +02:00
Carsten Dominik aca565ca61 Document info links
Patch by Nick Dokos.
2010-04-20 20:04:19 +02:00
Dan Davison 91a169177a Edits, mainly to header args section 2010-04-17 21:47:57 -04:00
Dan Davison 020cfb0dfa Work on initial sections. 2010-04-17 20:19:55 -04:00
Carsten Dominik 36d3e189a8 Fix some typos 2010-04-16 08:17:57 +02:00
Carsten Dominik 43bf1bbbd7 Push version number to 6.35trans 2010-04-15 12:24:55 +02:00
Dan Davison c6af0f9479 Add entry to main menu 2010-04-14 16:47:44 -04:00
Carsten Dominik 32340d0389 Make the repeater target state configurable
The target state can now be fixed locally with the REPEAT_TO_STATE
property, or globally with the variable `org-todo-repeat-to-state'.

This was a request by John Wiegley.
2010-04-12 12:02:56 +02:00
Dan Davison e72d8b71c8 Minor edits 2010-04-11 22:19:32 -04:00
Dan Davison b5bbbc1be1 Use angle bracket tags to refer to structural elements of code block 2010-04-11 22:19:19 -04:00
Dan Davison c2a1f16556 Delete separate file for new chapter 2010-04-11 22:13:18 -04:00
Dan Davison fe6521b9b0 Move new chapter into main org.texi file
It is currently impractical to work with it as an @included file,
because the automatic node pointer updates do not work by default.
2010-04-11 22:12:41 -04:00
Dan Davison 58c3358a0e Create texinfo node structures for new chapter 2010-04-11 22:10:17 -04:00
Dan Davison 850bcdac6c Edits to initial sections 2010-04-11 22:09:36 -04:00