0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-21 23:10:42 +00:00
Commit graph

1373 commits

Author SHA1 Message Date
Bastien Guerry 135085b2c2 doc/org.texi: slight rewriting on using #+INCLUDE with lines ranges 2011-01-18 01:25:15 +01:00
Puneeth Chaganti 7b399fe128 How do I include text between a range of line numbers with #INCLUDE
Hi Carsten,

On Sat, Jan 8, 2011 at 11:35 PM, Carsten Dominik
<carsten.dominik@gmail.com> wrote:
> Hi Puneeth,
>
> can cou please augment the patch with a propert ChangeLog-like entry, and
> with documentation for the manual, and then resubmit?

Here is a patch with a ChangeLog entry and documentation for the
manual. Please tell me if it looks OK. Also, I hope using
git-format-patch is the right way to send this page. If not, what is
the right way?

Thanks,
Puneeth

>From 4a9be5b1a7a19c5d092ed14a86d29ad83122e9a8 Mon Sep 17 00:00:00 2001
From: Puneeth Chaganti <punchagan@gmail.com>
Date: Sun, 9 Jan 2011 00:48:51 +0530
Subject: [PATCH] Include only specified range of line numbers of a file

* doc/org.texi (Include files): Document :lines.
* lisp/org-exp.el (org-export-handle-include-files): Support :lines
property.
(org-get-file-contents): New argument lines to include specify a range
of lines to include.

On Fri, Jan 7, 2011 at 1:29 PM, Puneeth <punchagan@gmail.com> wrote:
> On Fri, Jan 7, 2011 at 10:03 AM, Venkatesh Choppella
> <venkatesh.choppella@iiit.ac.in> wrote:
>> I would like to include a part of a file (between a given range of
>> line numbers) instead of the whole file.  Is there a way to do that
>> in org-mode?
>
> It isn't possible to include files using line numbers, as of now.
> Here's a quick patch that would add this feature.  I have tested it
> with small files and works fine. Can somebody tell me if it looks
> good?
>
> :lines "5-10"  will include the lines from 5 to 10, 10 excluded.
> :lines "-10"  will include the lines from 1 to 10, 10 excluded.
> :lines "5-"  will include the lines from 1 to the end of the file.
>
> HTH,
> Puneeth
2011-01-18 01:02:04 +01:00
Vincent Belaïche ce131e286c Doors links
> Date: Fri, 14 Jan 2011 23:18:21 +0100
> From: mail@christianmoe.com
> To: emacs-orgmode@gnu.org
> Subject: Re: [Orgmode] Doors links
>
> Hi,
>
> Try these:
>
> [[info:org:Link abbreviations]]
>
> [[info:org:Adding%20hyperlink%20types][info:org:Adding hyperlink types]]
>
> Yours,
> Christian
>
[...]

Thanks, I will try that ! I think that the trick deserves a forward link
in the documentation. I made a patch to the doc, attached.

   Vincent.
2011-01-17 19:23:03 +01:00
Eric Schulte 821082b5b0 doc: documentation of the ":comments noweb" code block header argument
* doc/org.texi (comments): Documentation of the ":comments noweb" code
  block header argument.
2011-01-16 08:24:19 -07:00
Bastien Guerry 8be17c8c62 org.texi: more small typos. 2011-01-15 19:36:34 +01:00
Bastien Guerry 3e476a3ba2 org.texi: fix small typo. 2011-01-15 19:35:53 +01:00
Carsten Dominik c747c7f7fb Merge branch 'global-skipping-condition' 2011-01-15 12:43:20 +01:00
Eric Schulte 6b5953818b doc: fixes to "yasnippet" sub-section in Conflicts
* doc/org.texi (Conflicts): Changed "yasnippets" to "yasnippet" and
  added extra whitespace around functions to be consistent with the
  rest of the section.
2011-01-14 06:30:36 -07:00
Carsten Dominik a2ec41c79a Implement a global skipping condition
* lisp/org-agenda.el (org-agenda-skip-function-global): New option.
(org-agenda-skip-eval): New function.
(org-agenda-skip): Use `org-agenda-skip-eval' and also check for the
global skipping condition.

This was a request by John Wiegley
2011-01-14 11:28:41 +01:00
Eric Schulte ca0e61d784 doc: improved documentation of optional #+call: line header arguments
* doc/org.texi (Evaluating code blocks):  Expanded discussion of
  #+call: line syntax.
  (Header arguments in function calls):  Expanded discussion of #+call:
  line syntax.
2011-01-11 17:51:45 -07:00
Eric Schulte b092d31d68 doc: passing variables to #+call: lines
* doc/org.texi (Evaluating code blocks): More explicit about how to
  pass variables to #+call lines.
2011-01-11 17:32:51 -07:00
Eric Schulte 9318030ba3 doc: link to 14.8.2 from 14.9 -- Thanks to Leo Alekseyev for suggesting
* doc/org.texi (Results of evaluation): Link to the :results header
  argument list from the "Results of evaluation" section.
2011-01-11 10:34:19 -07:00
Eric Schulte 59773dbef8 doc: additional information about resolving org-mode/yasnippet conflicts
Thanks to Jeff Horn for compiling this patch.

* doc/org.texi (Conflicts): Adding additional information about
  resolving org/yasnippet conflicts
2011-01-11 10:18:48 -07:00
Carsten Dominik bd11460542 Make file and path accessible in capture templates
* lisp/org-capture.el (org-capture-templates): Add %f and %F escapes
(org-capture): Add more information to capture property list
(org-capture-fill-template): Handle %f and %F escapes
2011-01-07 15:28:57 +01:00
David Maus 252d244466 Document style-include-scripts publishing project property
* doc/org.texi (Publishing options): Document style-include-scripts
publishing project property.
2011-01-06 20:52:54 +01:00
Carsten Dominik dd23461349 Implement next-error and previous-error functionality for sparse trees
* lisp/org.el (org-occur-next-match): New function.
(org-mode): Set the variable `next-error-function'.
(org-highlight-new-match): Add an `org-type' property to the overlays.
* doc/org.texi (Sparse trees): Document the next-error / previous-error
functionality.

After a sparse tree construction, `M-g n' and `M-g p' will now jump to
the location of matches.
2011-01-06 12:36:22 +01:00
Tom Dye c3cd82d577 Improved documentation of code block caches
* doc/org.texi (cache): Improved documentation of code block caches.
2011-01-05 09:17:44 -07:00
Tom Dye c867ce2c02 Documentation of multi-line header arguments.
* doc/org.texi (Code block specific header arguments): Documentation
  of multi-line header arguments.
2011-01-05 09:09:29 -07:00
Bastien Guerry de39bf05be org.texi: use message-mode instead of mail-mode in examples.
Message-mode is the default mode for composing emails in Emacs
since 2009-07-14.  See Stefan's message in Emacs lisp/ChangeLog:

2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>

* simple.el (mail-user-agent): Default to the upwardly-UI-compatible
  and more featureful message-mode.
2011-01-04 17:48:35 +01:00
Bastien Guerry c66d94fe18 org.texi: mention the ability to add several tags thru C-c C-q TAB.
C-c C-q TAB now accepts several tags when separated by a comma.
2011-01-04 15:17:50 +01:00
Bastien Guerry aa157b5cb8 org.texi: Remove wrong quotes in lisp example.
This was spotted by Steve Hafner.
2011-01-03 19:44:07 +01:00
Bastien Guerry dfe713d08a org.texi: update links to http://orgmode.org (php->html). 2011-01-03 19:33:28 +01:00
Dan Davison a33a4003a1 Manual: edits to Working With Source Code chapter
- Clarify that switches and header arguments are optional
- Document `org-src-fontify-natively'
2010-12-24 11:40:08 +00:00
Eric Schulte ece347e32c org-babel-confirm-evaluate: better doc and code when using function as
Thanks to Vladimir Alexiev for submitting this patch

* lisp/ob.el (org-babel-confirm-evaluate): Fix for the case when
  org-confirm-babel-evaluate is a function (used to always ask no matter
  what the function returns).
* doc/org.texi (Code evaluation security): Add example for using a
  function.
2010-12-21 09:37:19 -07:00
Eric Schulte 00dd6c3cb2 documentation of the :sep header argument for code blocks 2010-12-21 14:19:25 +00:00
Eric Schulte 44392f1a41 documentation of the :file header argument for code blocks 2010-12-21 14:19:25 +00:00
Carsten Dominik 2d47a109b2 Modify activation section in manual 2010-12-20 15:38:40 +01:00
Carsten Dominik af33cb709a Fix bug with capture to datetree
* lisp/org-capture.el (org-capture-set-target-location): Use `current-time'.
2010-12-20 15:14:00 +01:00
Eric Schulte 5f1850af40 documentation of new attr_latex options for tables
* doc/org.texi (Tables in LaTeX export): Documentation of new
  attr_latex options for tables.
2010-12-17 14:00:51 -07:00
Carsten Dominik 3324942408 Link to book edition of manual, and update news 2010-12-17 16:08:38 +01:00
John Wiegley 14350cac34 Added FILE meta-property 2010-12-14 02:02:40 -05:00
Carsten Dominik 7666ba421f Version number back to 7.4 2010-12-10 18:49:40 +01:00
Carsten Dominik 76a25715c9 Bump version number to 7.5 2010-12-10 18:43:10 +01:00
Carsten Dominik 9df61b6c3e Fix typos 2010-12-10 11:12:56 +01:00
Carsten Dominik 77e51ec5b8 Improve wording
Patch by Brian Gough
2010-12-10 11:07:27 +01:00
Carsten Dominik 972b0a581e Use @LaTeX macro 2010-12-09 22:44:14 +01:00
Carsten Dominik 9e87fc670a Fix plain text that looks better with markup 2010-12-09 22:31:11 +01:00
Carsten Dominik 1cf808c744 Fix commas that should be full stops, semicolons or emdashes 2010-12-09 22:27:19 +01:00
Carsten Dominik d9db1c114d Use kbd font 2010-12-09 22:11:16 +01:00
Carsten Dominik 35817ab9ba Fix missing word in math formatting section 2010-12-09 22:09:08 +01:00
Carsten Dominik 6e49bb7c67 Use emdashes 2010-12-09 22:07:06 +01:00
Carsten Dominik b1f01f926c Proofreading credits for Brian Gough and Niels Giesen 2010-12-06 15:12:58 +01:00
Carsten Dominik 6388a8cd57 Cleanup the refcard 2010-12-06 10:54:30 +01:00
Carsten Dominik 71d9592fbc Some more minor fixes for the refcard 2010-12-06 10:51:04 +01:00
Carsten Dominik 6535babc34 Minor fixes to refcard 2010-12-06 09:54:30 +01:00
Carsten Dominik 970b2f7b88 Allow to jump to capture template after finalizing
* lisp/org-capture.el (org-capture-finalize): New prefix argument
STAY-WITH-CAPTURE.
(org-capture-refile): Improve docstring.
* doc/org.texi (Using capture): Document using prefix arguments for
finalizing capture.
2010-12-06 09:32:24 +01:00
Carsten Dominik cf766fb781 Document the prefix commands for capture
* doc/org.texi (Using capture): Document the prefix commands for capture.
2010-12-06 09:16:37 +01:00
Carsten Dominik 0d77381472 Document prefix argument for the bulk scatter command
* doc/org.texi (Agenda commands): Document prefix argument for the bulk
scatter command.
2010-12-06 09:09:10 +01:00
John Wiegley df4b79e051 Fixed a typo in the doc/org.texi manual 2010-12-06 00:25:13 -05:00
Carsten Dominik 13637b018f Brian's UTF-8 changes 2010-12-05 12:34:08 +01:00
Carsten Dominik dea921c8a7 Merge branch 't/patch425' into brian 2010-12-04 19:12:46 +01:00
Carsten Dominik 1cb57f37fd Merge branch 't/patch423' into brian 2010-12-04 19:12:35 +01:00
Carsten Dominik 3c98036f2a Merge branch 't/patch422' into brian 2010-12-04 19:12:34 +01:00
Carsten Dominik 8b0c323608 Merge branch 't/patch421' into brian 2010-12-04 19:12:30 +01:00
Brian Gough 2f9e1e48b8 correct grammar 2010-12-04 19:11:41 +01:00
Brian Gough 5e38e053f5 make Nth consistent 2010-12-04 19:10:12 +01:00
Brian Gough 57dd2fd7a9 mismatched quotes 2010-12-04 19:09:50 +01:00
Brian Gough 09ec91b1db more typos 2010-12-04 19:09:20 +01:00
Brian Gough 3420bb04d5 correct doc typos
Hi

Here is a patch for some proofreading corrections for the Org manual.
This is just an sample to check if it is in suitable format.  We have
a lot more corrections to come.

Because there are more than 20 lines affected I'm assuming we will
need to do copyright assignments.  If not I can send all the patches
now.  Alternatively would you prefer us to wait until the assignment
is done?

I haven't included a changelog entry since these are just for typos
etc and don't make any major changes to the meaning of the text.

Credit to my colleague Barry Gidden for the proofreading, he did the
real work on this.
2010-12-04 19:08:47 +01:00
Carsten Dominik 6578203623 Document John's modifications to bulk commands 2010-12-04 00:37:48 +01:00
Julien Danjou 0d0edd6d21 org-agenda: rework ndays and span handling
* org-agenda.el (org-agenda-custom-commands-local-options):
Allow org-agenda-span to be a symbol.
(org-agenda-ndays): Make obsolete.
(org-agenda-span): New variable superseding org-agenda-ndays.
(org-agenda-menu): Use org-agenda-current-span.
(org-agenda-current-span): New local variable storing current
span.
(org-agenda-list): Take a span instead of ndays as argument.
This function is now responsible for computing the ndays based
on span.
(org-agenda-ndays-to-span): Return span only if number of days
really matches.
(org-agenda-span-to-ndays): New function.
(org-agenda-manipulate-query): Use org-agenda-compute-starting-span.
(org-agenda-goto-today): Use org-agenda-compute-starting-span.
(org-agenda-later): Do not give compute a new span, use the
current one.
(org-agenda-day-view, org-agenda-week-view)
(org-agenda-month-view, org-agenda-year-view): Stop touching
org-agenda-ndays.
(org-agenda-change-time-span): Only compute starting-span.
(org-agenda-compute-starting-span): New function derived from
the old org-agenda-compute-time-span.
(org-agenda-set-mode-name): Compute mode based on
org-agenda-current-span.
(org-agenda-span-name): New function.

* org-mouse.el: Replace Replace org-agenda-ndays by
org-agenda-current-span.

* org.texi, orgguide.texi: Replace org-agenda-ndays by
org-agenda-span. Add a paragraph about org-agenda-span and say that
org-agenda-ndays is now deprecated.

This patch is pretty huge, so I'll give a bit of context about it.

I'm weird, but I used org-agenda-ndays set to 14. Unfortunately, this
settings was interpreted as a month view. Pressing 'f' key to see later,
would show me the next month, which was not at all what I wanted.

On the same idea, day view or week view would change my org-agenda-ndays
settings, which I think is not a good idea. Changing user setting is *bad*.
:-)

So I rewrote the things this way:
- Rename org-agenda-span to org-agenda-current-span
 Which has the same meaning has before, except it can be numeric.
- Rename org-agenda-ndays to org-agenda-span
 I think the name is better choosen. You can set it to a symbol instead of
 only a numeric value. That means you can set it to 'month and it will show
 you the number of days of the current month in your agenda. Better than
 30. But you can still set it to 30, or 31, or whatever you want.
- Do not change org-agenda-span. Never.
- Use org-agenda-current-span for navigation.
 That means if you press 'f', it will shows you really the next
 org-agenda-current-span ndays, and not something based on "I think you
 want a weekly view".
2010-12-03 13:07:31 +01:00
Carsten Dominik 12b153ed8b Implement clocktables for quarters
* lisp/org-clock.el (org-day-of-week): New function.
(org-quarter-to-date): New function.
(org-clock-special-range): Implement quarters.

Patch by Erwin Vrolijk
2010-11-29 11:27:47 +01:00
Julien Danjou 9de7ad3593 Add org-agenda-todo-ignore-timestamp
* lisp/org-agenda.el: Add org-agenda-todo-ignore-timestamp.
(org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
Honor org-agenda-todo-ignore-timestamp.
* doc/org.texi: Mention org-agenda-todo-ignore-timestamp.

Signed-off-by: Julien Danjou <julien@danjou.info>
2010-11-29 10:25:22 +01:00
Carsten Dominik 6e98e5dd0f Add some more acknowledgements 2010-11-26 19:08:30 +01:00
Carsten Dominik 2613f27f8e More acknowledgements 2010-11-26 08:14:21 +01:00
Carsten Dominik 80a6674178 BEAMER export: Allow overlay options for column environments
* lisp/org-beamer.el (org-beamer-sectioning): Allow overlay arguments for
the column as well.
* doc/org.texi (Beamer class export): Document that also overlay arguments
can be passed to the column environment.

Eric Fraga writes:

> I am trying to create a beamer slide which has two columns.  The second
> column should only appear after a while (the 6th uncovering operation).
> In latex, I would do:
>
> : \begin{column}<6->{0.4\textwidth}
>
> say.  In org, I would expect to be able to get this latex code generated
> by the following:
>
> --8<---------------cut here---------------start------------->8---
> ***** column heading			      :BMCOL:B_block:
>      :PROPERTIES:
>      :BEAMER_col: 0.4
>      :BEAMER_envargs: c<6->
>      :BEAMER_extra:
>      :BEAMER_env: block
>      :END:
> --8<---------------cut here---------------end--------------->8---
>
> according to the info documentation (Beamer class export).
>
> However, this does not work: the "c<6->" is placed verbatim in
> the \begin{block} that comes after the \begin{column}.  Furthermore, if
> I ask for the heading to be ignored (instead of defining a block), the
> envargs are lost completely!
2010-11-26 08:02:58 +01:00
Carsten Dominik 341e9ce1d7 Date tree capture with prompt for date
* doc/org.texi (Template elements): Document the new entry type.

* lisp/org-capture.el (org-capture-templates): Add new option to customize
type and docstring.
(org-capture-set-target-location): Interpret the file+datetree+prompt
entry.
2010-11-25 17:00:57 +01:00
Carsten Dominik cc01ef59f2 Minor fixes for the manual 2010-11-24 12:16:43 +01:00
Puneeth Chaganti 29e2b27b5a Document the :recursive option for org-publish
Hi,

Here's a patch to document the recursive option for org-publish. It's
a documentation TODO on Worg.
2010-11-22 21:38:56 +01:00
Eric Schulte 88947588bc lists are now a data type recognized by code blocks
* lisp/ob-ref.el (org-babel-ref-resolve): Recognize `list' as a unique
  type of data
  (org-babel-ref-at-ref-p): Recognize `list' as a unique type of data

* lisp/ob.el (org-babel-read-result): Recognize `list' as a unique
  type of data
  (org-babel-read-list): A function to read a textual Org-mode list
  into an emacs-lisp list.
  (org-babel-insert-result): Recognizes the "list" result param to
  insert data as an Org-mode list.
  (org-babel-result-end): Find the end of an Org-mode list.
  (org-babel-merge-params): Add "list" as a result param.

* doc/org.texi (results): Documentation of the new "list" results
  header argument.
2010-11-17 16:47:55 -07:00
Carsten Dominik cae52eb288 Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode 2010-11-17 08:58:52 +01:00
Carsten Dominik e2567e9e93 Add link to MathJax site 2010-11-17 08:58:49 +01:00
Carsten Dominik 9b8118c48c Fix typo 2010-11-16 17:28:13 +01:00
Carsten Dominik 5dd4d30be5 Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode 2010-11-16 08:55:39 +01:00
Carsten Dominik a05f317553 Minor documentation updates 2010-11-16 08:55:32 +01:00
Puneeth Chaganti 249ae99b18 Include an .org file and lower the level of all its headers
* doc/org.texi (Include files): Document :minlevel.
* lisp/org-exp.el (org-export-handle-include-files): Support :minlevel
property.
(org-get-file-contents): New argument minlevel to demote included
content.

On Sat, Nov 13, 2010 at 1:12 AM, Carsten Dominik
<carsten.dominik@gmail.com> wrote:
>
> On Nov 10, 2010, at 3:46 AM, Jianshi Huang wrote:
>
>> Hi,
>>
>> I know I can include any file using #+INCLUDE.
>>
>> I need to include several org files, but they were edited
>> independently as a complete document.
>>
>> Now I want to lower the levels of headers in these org files
>> automatically during inclusion. Is there a way to do that?
>
> No. But since #+include accepts arguments, it could be implemented,
> something like
>
> #+include "aaa.org" :minlevel 4
>
> or so. I would accept a good patch to this effect.

Here's a patch. I tested it with a simple document and works fine.

Thanks,
Puneeth
2010-11-15 11:15:53 +01:00
Carsten Dominik 0adcd5d619 Fix typo 2010-11-14 03:54:16 -06:00
Carsten Dominik c2a366ac5a Add command names for chapters 4-7 2010-11-13 10:09:15 -06:00
Carsten Dominik 8c31cce753 Merge branch 'command-name-fixes' 2010-11-13 07:08:20 -06:00
Carsten Dominik 6fee2ffa57 Add command names for the table functions 2010-11-12 12:14:55 -06:00
Bastien Guerry 6630edbd0f Set version number to 7.3 2010-11-07 14:52:14 +01:00
Carsten Dominik d96c998019 Fix issue with narrowing and links in clocktables
* lisp/org-clock.el (org-clocktable-write-default): Better handling of
narrowing.

Liang Wang writes:

> After I upgrade orgmode to latest version, clock report shows link
> text literally.
>
> For example,
>
>   [[file:/home/liang/gtd/todo.org::Task...
>
> Unfortunately, in this way, I can not see what this task actually is.
> I have to temporarily disable link in clock report.
2010-11-06 16:16:49 -04:00
Carsten Dominik 9dd2eebba4 Fix some command names 2010-11-06 15:59:01 -04:00
Carsten Dominik 874467d6b6 org-sparse-tree command name
Patch by Andreas Rhler
2010-11-05 18:02:52 +01:00
Carsten Dominik 0020380614 Add command names for Capture/refile/archive chapter 2010-11-05 17:07:42 +01:00
Carsten Dominik 4d0252b8ac Merge branch 'add-more-command-names' 2010-11-05 06:53:20 +01:00
Carsten Dominik 8d993aef42 Add command names for publishing and export 2010-11-05 06:53:02 +01:00
Carsten Dominik da0f4997fb Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode 2010-11-04 16:46:25 +01:00
Julien Danjou aaffdb4732 org-agenda: add support for category icons
Signed-off-by: Julien Danjou <julien@danjou.info>

* doc/org.texi (Categories): Document category icons.
* lisp/org-agenda.el (org-agenda-prefix-format): Insert place holder for icon.
(org-agenda-category-icon-alist): New option.
(org-agenda-get-category-icon): New function.
(org-format-agenda-item): Support for icons.
(org-compile-prefix-format): Support for icons.
2010-11-04 13:01:37 +01:00
Carsten Dominik 73fc8241da Merge branch 'add-agenda-command-names' 2010-11-04 09:26:06 +01:00
Carsten Dominik a21ef85233 Manual: Add command names for agenda keys
This patch also defines a number of macros to typeset keys.  Too many,
maybe, because at first I wanted to be able to include all the
previous typesetting.  I think I will try to reduce the number
eventually - but for now this is it.
2010-11-04 09:24:59 +01:00
Eric Schulte 913fdd4527 fixed typo in the manual -- Thanks to Eric S Fraga for pointing this out
* doc/org.texi (noweb): typo
2010-11-03 09:33:22 -06:00
Carsten Dominik f0d2bcb1bf Add command names to the clocking chapter 2010-11-02 17:54:02 +01:00
Carsten Dominik 1197b73769 Minor fixes 2010-11-02 09:24:06 +01:00
Carsten Dominik 350b75be63 Rewrite of the clock table code
* lisp/org.el (org-shorten-string): New function.
* lisp/org-exp.el (org-export-convert-protected-spaces): New function.
(org-export-preprocess-string): Call
`org-export-convert-protected-spaces' to handle new hard spaces.

* lisp/org-clock.el (org-clocktable): New customization group.
(org-clocktable-defaults): New option.
(org-clock-clocktable-formatter): New option.
(org-clock-clocktable-default-properties): New option.
(org-dblock-write:clocktable): Rewrite to split out functionality
into separate functions.
(org-clocktable-write-default):
(org-clocktable-indent-string):
(org-clock-get-table-data): New functions.
* lisp/org-agenda.el (org-agenda-list):
(org-agenda-redo):
(org-agenda-clockreport-mode):
(org-agenda-set-mode-name): Rewrite to implement filtered clock tables.
* doc/org.texi (Clocking commands):
(The clock table): New sections.
(Agenda commands): Document filtered clock reports.
2010-11-02 08:47:23 +01:00
Bastien Guerry 52c87c93b2 Merge branch 't/patch352' 2010-10-29 17:03:03 +02:00
Noorul Islam 491a39825b Worg: link broken
2010/10/28 Sébastien Vauban <wxhgmqzgwmuf@spammotel.com>:
> Hello,
>
> In page http://orgmode.org/guide/Working-With-Source-Code.html,
> see "further reading": link "chapter 14" broken (recursive, BTW?).
>

Fix recursive link

* doc/orgguide.texi: Remove broken recursive link

Thanks and Regards
Noorul
2010-10-29 17:02:57 +02:00
Andreas Röhler 61ea499e74 20101029_orgtexi_names.patch
org-return
2010-10-29 16:54:09 +02:00
Carsten Dominik 82af72eef7 Push version number to 7.02trans 2010-10-29 09:11:46 +02:00
Andreas Röhler b61b10847d 20101028_orgtexi_names.patch - (2) 2010-10-28 16:00:04 +02:00
Bastien Guerry 132131b57b doc/org.texi: Fix missing menu item for the Countdown timer section 2010-10-27 19:56:08 +02:00
Andreas Röhler 8471886cee 20101027_orgtexi_names.patch 2010-10-27 18:40:55 +02:00
Noorul Islam a9e338c01e Fix typo
make doc/org is failing because of syntax error.

* doc/org.texi: Fix typo

Thanks and Regards
Noorul
2010-10-27 18:39:39 +02:00
Bastien Guerry 840570c2a3 Update Changes.org and org.texi to reflect changes in org-timer.el
Update org.texi with a new section: Countdown timer.
Update ORGWEBPAGE/Changes.org with a section about timer/clock.
Also fix a small typo in a org-timer.el.
2010-10-27 18:20:27 +02:00
Nicolas Goaziou 3cee2ee2a3 Document list changes in manual 2010-10-27 09:27:58 +02:00
Carsten Dominik 7635429d44 New capture property :kill-buffer
* lisp/org-capture.el (org-capture-templates): New capture
property `:kill-buffer'. (org-capture-finalize): Kill target buffer
if that is desired.
(org-capture-target-buffer): Remember if we have to make the buffer.

Proposal by Samuel Wales.
2010-10-26 17:46:48 +02:00
Carsten Dominik 29ec63acc5 Manual: Document that capture refiling is sensitive to the cursor position
* doc/org.texi (Using capture): Explain that refiling is sensitive
to cursor position.
2010-10-26 10:50:48 +02:00
Andreas Röhler 7b184df4e7 command names patch
org-time-stamp and others
2010-10-26 10:25:47 +02:00
Carsten Dominik 594a764adb Add a cross reference from Markup to links
* doc/org.texi (Images and tables): Add cross reference to link section.
2010-10-22 17:55:10 +02:00
Carsten Dominik ca991d2ad4 HTML export: Improved support for field alignment, including centering
* doc/org.texi: Document the <c> cookie.
* lisp/org-exp.el (org-store-forced-table-alignment):
(org-export-remove-special-table-lines): Allow the "c" cookie for
table alignment.
* lisp/org-html.el (org-export-table-header-tags):
(org-export-table-data-tags): Add another %s format for the alignment.
(org-export-html-table-align-individual-fields): New option.
(org-format-org-table-html): Implement field-by-field alignment and
support centering.
(org-format-table-table-html): Make sure the new table tag formats
don't break this function.
* lisp/org-table.el (org-table-cookie-line-p):
(org-table-align): Allow for the <c> cookie.
* lisp/org.el (org-set-font-lock-defaults): Allow for the <c> cookie.
2010-10-22 09:19:39 +02:00
Carsten Dominik b0fae37687 Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode 2010-10-21 19:35:09 +02:00
Carsten Dominik 52b07a584c Manual: Minor improvement in priority section 2010-10-21 17:47:57 +02:00
Bastien Guerry 4cd56cfa7b org.texi: add a menu description. 2010-10-20 14:10:46 +02:00
Andreas Röhler 3829447296 20101020_texi-command-names.patch
BTW can't see where the meaning of key "S" is told...

Cheers
2010-10-20 14:05:43 +02:00
Carsten Dominik 7335254531 Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode 2010-10-18 12:36:27 +02:00
Thomas S. Dye 0cb3c523df documentation patch, Babel header arguments 2010-10-17 16:27:57 -06:00
Andreas Röhler 217ceb8983 command-name org-insert-heading-respect-content
Hi Carsten,

herewith a first patch continuing command-name insertion (should be sent
already but seems not).
As the remaining has to be done manually, several patches will result.
Maybe consider granting write-access.

Cheers

Andreas

--
https://code.launchpad.net/~a-roehler/python-mode/python-mode-components
https://code.launchpad.net/s-x-emacs-werkstatt/
2010-10-17 18:11:31 +02:00
Carsten Dominik c40247d4dd Document :HTML_CONTAINER_CLASS: property
* doc/org.texi (CSS support): Document :HTML_CONTAINER_CLASS: property
2010-10-17 07:53:48 +02:00
Carsten Dominik 00171622f2 Add #+CATEGORY to the main index 2010-10-16 00:36:05 +02:00
Carsten Dominik b9105a5acf Fix typo 2010-10-15 07:55:06 +02:00
Carsten Dominik 6cd6028b1a Improve documentation
* doc/org.texi (Project alist): Mention that this is a property list
2010-10-14 14:18:31 +02:00
Carsten Dominik 7ff4d78cbd Improve habit documentation.
Patch by Robert Horn.
TINYCHANGE
2010-10-14 14:05:40 +02:00
Carsten Dominik 9f5c6557f2 Add publishing functions for ASCII, Latin-1 and UTF-8
* lisp/org-publish.el (org-publish-org-to-ascii):
(org-publish-org-to-latin1):
(org-publish-org-to-utf8): New functions.

* doc/org.texi (Publishing action): Document the new publishing functions.

Thanks to Matthias Danzl for showing how to do this.
2010-10-14 13:51:23 +02:00
Carsten Dominik 2f1a92c3b6 Be more vocal about security in section on MobileOrg 2010-10-14 08:58:35 +02:00
Carsten Dominik b39f3ec692 Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode 2010-10-13 10:53:50 +02:00
Carsten Dominik 9755e09bbc Fix a number of issues with MobileOrg encryption.
* lisp/org-mobile.el (org-mobile-create-index-file): Encrypt the index file
if encryption has been turned on.
(org-mobile-copy-agenda-files): Avoid double encryption of `mobileorg.org'.
* doc/org.texi (Setting up the staging area): Document that file names remain
visible when encrypting the MobileOrg files.
2010-10-13 10:48:35 +02:00
Dan Davison 60fa8cf31a LaTeX minted package for fontified source code export
* org-exp.el (org-export-format-source-code-or-example): latex
    formatting of source code blocks using the minted package
    (org-export-plist-vars): Add :latex-minted property
    (org-export-latex-minted): Ensure variable is defined
    (org-export-latex-minted-langs): Ensure variable is defined

    * org-latex.el (org-export-latex-minted): new variable
    (org-export-latex-minted-langs): new variable
    (org-export-latex-minted-with-line-numbers): new variable
    (org-export-latex-minted):
2010-10-12 23:20:28 +01:00
Carsten Dominik aaab45081b Document encryption for MobileOrg
* doc/org.texi (Setting up the staging area): Document which versions are
needed for encryption.
2010-10-08 09:35:59 +02:00
Eric Schulte 3701c0aeb3 doc: updating :noweb documentation to reflect the new "tangle" argument
* doc/org.texi (noweb): updating :noweb documentation to reflect the
  new "tangle" argument
2010-10-06 10:42:43 -06:00
Eric Schulte 4d48d10b6a improved tangling script in documentation
* doc/org.texi (Batch execution): improved tangling script in documentation
2010-10-01 13:40:18 -06:00
Carsten Dominik 9f96a1ead1 New STARTUP keywords to turn on inline images
* lisp/org.el (org-startup-with-inline-images): New option.
(org-startup-options): Add new keywords inlineimages and
noinlineimages.
(org-mode): Inline images when this has been configured.
* doc/org.texi (Handling links):
(In-buffer settings): Document inlining images on startup.
2010-09-29 08:18:39 +02:00
Carsten Dominik 5460c4b7d8 Prompt for MobileOrg encryption password
* doc/org.texi (Setting up the staging area): Document use of crypt password.
* lisp/org-mobile.el (org-mobile-encryption-password): Improve docstring.
(org-mobile-encryption-password-session): New variable.
(org-mobile-encryption-password): New function.
(org-mobile-check-setup):
(org-mobile-encrypt-file):
(org-mobile-decrypt-file): Use the new function.
2010-09-26 11:16:34 +02:00
Carsten Dominik 91af408bf4 Encryption was not in MobileOrg 1.4 2010-09-25 08:41:27 +02:00
Carsten Dominik a3348311b4 Add Sebastian's examples for links to OpenStreetMap and Google maps 2010-09-24 09:17:50 +02:00
David Maus 59cb09f34c Add date related link type escapes
* org.texi (Template expansion): Add date related link type escapes
2010-09-23 18:59:11 +02:00
David Maus 234ba54cef Add mew in table for link type escapes
* org.texi (Template expansion): Add mew in table for link type
escapes.
2010-09-23 18:49:15 +02:00
David Maus 2e54d6ee0d Fix typo in link type escapes
* org.texi (Template expansion): Fix typo in link type escapes.
2010-09-23 18:48:08 +02:00
Eric Schulte 88b8b83951 interactive demarcation of code blocks
Thanks to Richard Riley for the initial idea and implementation

* lisp/ob.el (org-babel-demarcate-block): interactive demarcation of
  code blocks
* lisp/ob-keys.el (org-babel-key-bindings): key bindings for block
  demarcation
* doc/orgcard.tex: documentation in the ref card
2010-09-20 08:27:20 -06:00
aaa bbb 200f7541e8 Mention Nicaloas in acknowledgements 2010-09-11 07:39:11 +02:00
aaa bbb 87d0950f69 Get rid of TABs in menu lines, fix copyright line 2010-09-09 09:52:29 +02:00
Eric Schulte 0c6f14f17d another documentation tweak suggested by Rainer M Krug
* doc/org.texi (Structure of code blocks): another documentation tweak
2010-09-08 14:28:49 -06:00
Eric Schulte f4fe989add documentation tweak
* doc/org.texi (Structure of code blocks): documentation tweak
2010-09-08 12:30:06 -06:00
Eric Schulte 3c8dc1eb52 updating documentation to mention inline code block syntax
* doc/org.texi (Structure of code blocks): updating documentation to
  mention inline code block syntax
2010-09-08 12:23:49 -06:00
Eric Schulte 14fc5cc1b9 adding new Babel key sequences to the org refcard
* doc/orgcard.tex: adding new Babel key sequences to the org refcard
2010-09-08 00:21:46 -06:00
Eric Schulte 0bb2e3005c tangling documentation -- Thanks to Jambunathan K. for new wording
* doc/org.texi (comments): improved wording
2010-09-05 14:21:58 -06:00
Eric Schulte c881fa0760 ob-tangle: :comments header argument can now tangle surrounding text
This commit introduces a new set of :comments header arguments
- no :: retains its behavior of not tangling any comments
- yes :: retains its behavior of wrapping the code in links back to
         the original org-mode file
- link :: is synonymous with "yes"
- org :: does not wrap the code in links back to the original org
         file, but does include preceding text from the org-mode
         file as a comment before the code block
- both :: turns on both the "link" and "org" options

* lisp/ob-tangle.el (org-babel-tangle-pad-newline): can be used to
  control the amount of extra newlines inserted into tangled code
  (org-babel-tangle-collect-blocks): now conditionally collects
  information to be used for "org" style comments
  (org-babel-spec-to-string): now inserts "org" style comments, and
  obeys the newline configuration variable when inserting whitespace
* doc/org.texi (comments): documenting the new :comments header
  arguments
2010-09-04 08:45:45 -06:00
Bastien Guerry f4143ddf1b org.texi: be explicit on which agenda views support `org-agenda-skip-function'. 2010-09-03 10:57:51 +02:00
Carsten Dominik fc567582a8 Fix typos
patch by Stephen Eglen
2010-08-31 08:23:11 +02:00
Carsten Dominik 190e88cfc9 Remove the special noutline.el file for XEmacs
The latest XEmacs package release does now contain a modern version of
outline.el, put there by Michael Sperber.

* Makefile: Remove targets related to noutline.el.
* README: Remove the entry for the xemacs directory.
* README_DIST: Remove the entry for the xemacs directory.
* doc/org.texi (Installation): Remove the special installation
instructions for XEmacs.
* lisp/org.el (outline): Remove special code to load noutline.el
for XEmacs.
* xemacs/README: File removed.
* xemacs/noutline.el: File removed.
* xemacs/ps-print-invisible.el: File removed.
2010-08-20 14:19:29 +02:00
Carsten Dominik 838cb818de Show command names in manual
First batch, largely from Andreas Rhler
2010-08-20 13:09:05 +02:00
Carsten Dominik 3aa4ba493e Mention that bug reports should be using the latest Org version if possible 2010-08-16 17:58:33 +02:00
Jambunathan K a4c9d361f0 Document quick insertion of empty structural elements
* org.texi (Easy Templates): New section. Documents quick insertion of empty
structural elements.

Sources:

1. http://article.gmane.org/gmane.emacs.orgmode/6670/
   See section titled 'Completion of structure elements'

2. http://article.gmane.org/gmane.emacs.orgmode/18004/

TINYCHANGE
2010-08-15 09:13:44 +02:00
Noorul Islam aa6e939818 typo in org.texi?
On Fri, Aug 13, 2010 at 10:27 PM, Andreas Röhler <
andreas.roehler@easy-emacs.de> wrote:

> Hi Bastien,
>
> looks like a typo in org.texi
> make info sends a warning.
>
> git blame -L 4735 org.texi
>
> 3f0d9351 doc/org.texi ...  2010-08-03 18:34:47 +0200  4735) @var{(title)}
>       @r{The header text for the column. If omitted, the property}
>
>
Attached is the patch for this.

* doc/org.texi: Fix doc

Thanks and Regards
Noorul
2010-08-15 08:43:38 +02:00
Carsten Dominik 999078b0bf Implement MathJax support
* lisp/org-exp.el (org-export-with-LaTeX-fragments): New default t, which
now means to use MathJax processing for HTML.  Also allow new value
`dvipng' to force the old image processing.
(org-infile-export-plist): Parse for MATHJAX setup line.
* lisp/org-html.el (org-export-html-mathjax-options): New option.
(org-export-html-mathjax-config): New function.
(org-export-html-mathjax-template): New option.
(org-export-html-preprocess): Call the LaTeX snippet processor with an
additional argument to declare special ways of processing.
(org-export-as-html): Bind the dynamical variable
`org-export-have-math'.  Insert the MathJax script template when it is
needed by the document.
* lisp/org.el (org-preview-latex-fragment): Call `org-format-latex' with
the additional processing argument.
(org-export-have-math): New variable, for dynamic scoping.
(org-format-latex): Implement specific ways of processing.  New
function argument for processing type.
(org-org-menu): Remove the entry to configure LaTeX snippet
processing.

MathJax is now the default for displaying math in a browser.
2010-08-13 14:22:16 +02:00
Bastien Guerry 2ec42a4c12 org.texi: document the `J' agenda command. 2010-08-11 16:23:19 +02:00
Bastien Guerry b704f53c1f org.texi: update the definition of C-c C-x C-j to reflect previous commit. 2010-08-11 16:19:37 +02:00
Jambunathan K 1cdb1201f7 Org Manual: Document time range spec at the date/time prompt
* org.texi (The date/time prompt): Document specification of time
ranges.

TINYCHANGE
2010-08-11 09:52:10 +02:00
Bastien Guerry 4272bde092 doc: Document `C-c C-x C-j' behavior in the agenda buffer.
In the agenda buffer, `C-c C-x C-j' jumps to the headline of the
currently clocked in task.
2010-08-06 20:33:24 +02:00
Carsten Dominik a84c8a2cba Make internal links in Org files search for an exact headline match
* lisp/org.el (org-link-search-must-match-exact-headline): New option.
(org-link-search-inhibit-query): New variable.
(org-link-search): Search for exact headline match in Org files
* doc/org.texi (Internal links): Document the changes in internal links.

Internal links used to do a fuzzy text search for the link text.  This
patch changes the behavior for Org files.  Here a link [[My Target]]
now searches for an exact headline match, i.e. for a headline that
does look like "* My Target", optionally with TODO keyword, priority
cookie and tags.

The new option `org-link-search-must-match-exact-headline' is
`query-to-create' by default.  This means that a failed link search
will offer to create the headline as a top-level headline at the end
of the buffer.  This corresponds to a wiki-like behavior where missing
targets are automatically created.  If you do not like this behavior,
change the option to t.
2010-08-06 08:34:33 +02:00
Bastien Guerry 3f0d935115 Fix typo. 2010-08-03 18:34:47 +02:00
Eric Schulte c32ece6e76 ob-keys: org-babel-load-in-session now using "l", org-babel-lob-ingest switched to "i"
* doc/orgcard.tex: "l" used for org-babel-load-in-session and
  org-babel-lob-ingest switched to "i"
2010-07-30 11:02:42 -06:00
Puneeth Chaganti 344f860bb8 A patch to fix beamer class export documentation 2010-07-28 02:33:37 -04:00
Carsten Dominik 22567f5ea0 Agenda: Document the limitation of the filter preset
* lisp/org-agenda.el (org-agenda-filter-preset): Document the limitation
for the filter preset - it can only be used for an entire agenda view,
not in an individual block in a block agenda.
* doc/org.texi (Agenda commands):  Document the limitation
for the filter preset - it can only be used for an entire agenda view,
not in an individual block in a block agenda.
2010-07-22 09:11:12 +02:00
Eric S Fraga 2c31a3b00a iCalendar export: Implement alarms
* lisp/org-icalendar.el (org-icalendar-alarm-time): New option.
* lisp/org-icalendar.el (org-print-icalendar-entries): timed events
are exported with alarm events, a.k.a. reminders
* doc/org.texi (iCalendar export): Document alarm creation.
2010-07-21 09:47:57 +02:00
Dan Davison 2d01cb7db1 doc: Footnote indicating that org-R is obsolete 2010-07-20 12:50:59 -04:00
Dan Davison 2a0809263e doc: reverse order of names in org-babel author attribution 2010-07-20 12:40:06 -04:00
Carsten Dominik cee04fa632 Make org-capture use `org-default-notes-file' if the file is not specified
* lisp/org-macs.el (org-string-nw-p): New function.
* lisp/org-capture.el (org-capture-import-remember-templates): Interpret
an empty string as request to use `org-default-notes-file'.
(org-capture-target-buffer): If the FILE is not a (non-empty) string,
use `org-default-notes-file'.
2010-07-20 09:05:31 +02:00
Carsten Dominik 78ef1ed410 Fix manual and guide tools to remove broken links 2010-07-19 19:00:24 +02:00
Carsten Dominik f267fb88ac Fix some typos 2010-07-19 14:58:28 +02:00
Carsten Dominik 899e89518b Estimate ranges in column view
* lisp/org-colview-xemacs.el (org-columns-compile-map):
(org-columns-number-to-string):
(org-columns-string-to-number): Handle estimate ranges.
(org-estimate-mean-and-var):  New function.
(org-estimate-combine):  New function.
(org-estimate-print):  New function.
(org-string-to-estimate): New function.
2010-07-19 13:56:17 +02:00
Michael Gauland 55ea8ca071 Estimate ranges in column view
Carsten,
Here is a patch for a new 'est+' summary type, including corresponding changes for xemacs and the manual. I've done basic testing on the GNU emacs version, but not the xemacs code.

I'm not sure the change to the manual provides the right amount of information
in the right place; I'd be happy to re-write to make it find in
better. Similarly, the name of the summary type is entirely up to you.

I didn't know whether to send this directly to you, or to the list; if it should go to the list I'd be happy to send it there directly.

Thanks for the chance to contribute,
Mike
2010-07-19 13:35:49 +02:00
Carsten Dominik c024dfde4a org.texi: Fix info file path 2010-07-19 13:33:24 +02:00
Carsten Dominik d1347d01a6 Remove the various ChangeLog files
We are no longer using them - when a ChangeLog is need, we generate it
from the git history.
2010-07-19 12:59:30 +02:00
Carsten Dominik 6268cceec3 Mention release 7.01 on the website, push release number to 7.01trans 2010-07-19 08:33:24 +02:00
Carsten Dominik f2ec34f004 Final fixes for release 2010-07-19 07:34:37 +02:00
Eric Schulte 9ae4555b8d added link to "literal export" from Babel in orgguide 2010-07-18 13:38:12 -07:00
Eric Schulte 819d2dae12 orgguide: slight babel documentation change for better page breaks 2010-07-18 11:11:11 -07:00
Phil Rooke f4c0c0b417 Fix some trivial typos
People like Douglas Crockford (a member of the JavaScript 2.0 committee
at ECMA and author of JavaScript: The Good Parts) capitalize the J and
the S in JavaScript.  This patch fixes some references to follow this
standard.
2010-07-18 17:01:48 +02:00
David Maus 8cedabd603 Use proper quote and backtick in PDF output
* texinfo.tex: Update to Texinfo 4.13.

* org.texi: Use proper quote and backtick in PDF output.

* orgguide.texi: Use proper quote and backtick in PDF output.
2010-07-18 11:51:03 +02:00
Carsten Dominik de01fd0b1d Credit to David Maus in the manual 2010-07-18 08:11:33 +02:00
Carsten Dominik c3cfb22fcc Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode 2010-07-18 07:33:53 +02:00
Carsten Dominik d5810cf41c Minor documentation fix
Patch by Sebastian Rose
2010-07-18 07:33:50 +02:00
Tom Dye 4a64aa51c9 orgguide.texi: Corrected a typo in the new Babel chapter 2010-07-16 14:53:04 -10:00
Eric Schulte 49586dfdbd minor babel documentation fixes 2010-07-16 17:28:53 -07:00
Eric Schulte e0f6f73e8b A good start on the Babel section of the orgguide 2010-07-16 17:28:53 -07:00
Carsten Dominik 619b8591fc More credit in the manual 2010-07-16 14:27:23 +02:00
Dan Davison 94361a58d6 babel doc: minor edits 2010-07-14 15:20:29 -04:00
Eric Schulte e3af061f90 doc: two tiny tweaks to the babel indexing documentation 2010-07-14 11:08:58 -07:00
Eric Schulte 32b7a76d41 babel: cleaned up code and improved documentation of indexing into variables
* lisp/ob-ref.el (org-babel-ref-index-list): slight code cleanup, also
  now allowing an empty index to mean the entire range

* doc/org.texi (var): updated the documentation of Babel index
  referencing to include working examples covering the full range of
  index behavior
2010-07-14 11:01:57 -07:00
Eric Schulte e6a274824d babel doc: cleaned up documentation on "Evaluating code blocks" 2010-07-14 09:53:59 -07:00
Carsten Dominik d5229333cd Finalize documentation about radio lists 2010-07-13 13:42:03 +02:00
Carsten Dominik acf44c879a Fix radio lists
* lisp/org-list.el (org-list-send-list): Parse list from its true beginning.
* lisp/org.el (org-ctrl-c-ctrl-c): Maybe send the list when at a list item.
* doc/org.texi (Radio lists): Fix bug in description of radio lists.
2010-07-13 13:36:14 +02:00
Carsten Dominik ceb63ae94e Fix typo, ORGLIST versus ORGLST 2010-07-12 19:06:14 +02:00
Carsten Dominik c1efc0a1d7 Use Slashdot.org as feed example in the documentation
* doc/org.texi (RSS Feeds): Use slashdot.org as the example,
and mention atoms feeds as well.
2010-07-12 14:01:35 +02:00
Nicolas Goaziou 94689a04b0 Fix regexp for `org-list-send-list'.
* lisp/org-list.el (org-list-send-list): regexp defining the start of
a radio list is now on par with the one used for radio tables.
2010-07-12 11:48:44 +02:00
Carsten Dominik 227b24f517 Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode 2010-07-12 07:46:30 +02:00
Carsten Dominik fb732b2a15 Fix typo ORGLST versus ORGLIST in the manual
Reported by Nick Dokos
2010-07-12 07:46:22 +02:00
Eric Schulte 433b374c10 babel: enhanced code block movement functions
Thanks to Austin Frank for suggesting these features and to Jonathan
  Arkell for an implementation suggestion

This commit
 - adds `org-babel-goto-named-result' for jumping to named results
 - adds TAB-completion to `org-babel-goto-named-src-block'
 - standardizes on "-src-" instead of "-source-" in all babel functions
 - adds `org-babel-[next/previous]-src-block' functions and keybindings
 - documents the above in orgcard.tex

* doc/orgcard.tex: update documentation of babel keybindings

* lisp/ob-exp.el (org-exp-res/src-name-cleanup): standardized on
  "-src-" instead of "-source-"

* lisp/ob-keys.el (org-babel-key-bindings): updating keybindings for
  new movement functions

* lisp/ob-lob.el (org-babel-lob-ingest): standardized on "-src-"
  instead of "-source-"

* lisp/ob-ref.el (org-babel-ref-resolve-reference): standardized on
  "-src-" instead of "-source-"

* lisp/ob-tangle.el (org-babel-tangle-collect-blocks): standardized on
  "-src-" instead of "-source-"

* lisp/ob.el (org-babel-src-name-regexp): standardized on "-src-"
  instead of "-source-"

  (org-babel-src-name-w-name-regexp): adding regexp for matching
  source names along with their names

  (org-babel-get-src-block-info): using new named source block regexp

  (org-babel-result-regexp): adding optional whitespace after result
  regexp

  (org-babel-result-w-name-regexp): adding regexp for matching results
  which have names

  (org-babel-named-src-block-regexp-for-name): standardized on "-src-"
  instead of "-source-"

  (org-babel-map-src-blocks): standardized on "-src-" instead of
  "-source-"

  (org-babel-where-is-src-block-head): standardized on "-src-" instead of
  "-source-"

  (org-babel-goto-named-src-block): standardized on "-src-" instead of
  "-source-", also added completing read

  (org-babel-src-block-names): collects source block names from a file
  or the current buffer

  (org-babel-goto-named-result): function for jumping to a named
  result

  (org-babel-result-names): returns results names from a file or the
  current buffer

  (org-babel-next-src-block): jump to the next source block

  (org-babel-previous-src-block): jump to the previous source block
2010-07-11 21:37:24 -07:00
Eric Schulte f95a8b7d2f documentation for `org-babel-post-tangle-hook
* doc/org.texi (Extracting source code): documentation for
`org-babel-post-tangle-hook
'
2010-07-11 21:37:10 -07:00
Eric Schulte 19e98b1b0f documentation of new `org-export-babel-evaluate' variable
* doc/org.texi (Exporting code blocks): adding documentation of the
  `org-export-babel-evaluate' variable
2010-07-08 10:47:22 -07:00
Philip Rooke ca2d633d51 A few typos
Correct a few spelling mistakes.  Some of these are American vs British
spelling disagreements but the Org documentation uses the US spellings.
2010-07-08 06:43:05 +02:00
Carsten Dominik 04e21124c3 Fix typo 2010-07-06 08:25:59 +02:00
Eric Schulte 07b8908903 ob-mscgen: support for mscgen code blocks by Juan Pechiar
from the comments of the new file

This software provides EMACS org-babel export support for message
sequence charts. The mscgen utility is used for processing the
sequence definition, and must therefore be installed in the system.

Mscgen is available and documented at
http://www.mcternan.me.uk/mscgen/index.html

This code is directly inspired by Eric Schulte's ob-dot.el

Example:

msc {
 A,B;
 A -> B [ label = "send message" ];
 A <- B [ label = "get answer" ];
}

Header for alternative file type:

This differs from most standard languages in that

1) there is no such thing as a "session" in mscgen
2) we are generally only going to return results of type "file"
3) we are adding the "file" and "filetype" header arguments
4) there are no variables
2010-07-05 18:48:47 -07:00
Eric Schulte e4cfd468a0 babel: :eval header argument takes arguments "never" and "query" to limit evaluation
* lisp/ob.el (org-babel-confirm-evaluate): adding a new :eval header
  argument which can be used to control evaluation

* doc/org.texi (eval): adding documentation for the new :eval header
  argument
2010-07-05 15:51:36 -07:00
Eric Schulte 5ded079a1a Merge branch 'safety-babel' 2010-07-05 11:31:03 -07:00
Eric Schulte f268317f70 babel: added documentation of the :comments header argument 2010-07-05 11:14:51 -07:00
Eric Schulte b2734943ca babel doc points to code security doc and to babel security variables 2010-07-05 11:14:50 -07:00
Carsten Dominik 040b2aa6b2 Indent-mode: Disable in Emacs 21 and earlier
* lisp/org-indent.el (org-indent-mode): Refuse to turn on prior to Emacs 23.2
2010-07-05 17:46:19 +02:00
Carsten Dominik 3c4b18c00c Capture: Fix documentation bug (%! and %& o longer meaningful) 2010-07-05 15:27:07 +02:00
Stephen Eglen 586ce3f7f2 Fix typos and wording in the new manual section about capture.
patch by Stephen Eglen.

Here is a patch for the 'capture' section of org.texi .  I've added a
few lines of @comments:

+@comment SJE: Should be Org file or Org-mode file (see prev two items)?

+@comment SJE: should these sentences terminate in period?
(i.e. the following lines in the table)

+@comment SJE: org-feed is not autoloaded - should that be mentioned?

Stephen
2010-07-05 15:03:48 +02:00
Carsten Dominik b3c9fedef0 Fix leftover merge conflicts 2010-07-02 07:04:57 +02:00
Carsten Dominik 42f239cb0e Merge branch 'new-pw'
Conflicts:
	doc/org.texi
2010-07-02 06:06:27 +02:00
Carsten Dominik 15829f207f Add section on code evaluation security
* doc/org.texi (Code evaluation security): New section
2010-07-02 06:04:17 +02:00
Carsten Dominik 929f8b385d Add section on code evaluation security
* doc/org.texi (Code evaluation security): New section
2010-07-02 05:50:52 +02:00
Carsten Dominik 115a2d1c95 Prepare the html manual and guide generation for release 7
There is a new chapter in both manual and guide, this needs to be
reflected in the content links.
2010-07-01 18:21:02 +02:00
Carsten Dominik 48730be21f Fix typo 2010-07-01 13:52:43 +02:00
Carsten Dominik 1318128a24 Make Org-babel key table more readable
Insert extra space around "or".
2010-06-29 06:25:01 +02:00
Carsten Dominik ec51d1fee3 Clean up capitalization of headings in the manual
Patch by Thomas S Dye.
2010-06-27 00:23:33 +02:00
Carsten Dominik d3e3a3ce0a Document nil as a special property value 2010-06-26 07:59:00 +02:00
Carsten Dominik 6aac0a449f Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode 2010-06-26 06:38:31 +02:00
Julien Danjou 8c17c53002 Fix missing : in documentation
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-06-26 06:37:01 +02:00
Carsten Dominik 41c832ef6f Fix typo 2010-06-25 20:49:55 +02:00
Carsten Dominik 312081b376 More tweaks at the capture documentation 2010-06-25 18:28:04 +02:00
Carsten Dominik 808115a4cf Document org-capture in the guide 2010-06-25 17:54:48 +02:00
Carsten Dominik 9bf78c7db4 Point to a PDF copy of the old org-remember documentation 2010-06-25 17:32:29 +02:00
Carsten Dominik 8f83ac51ee Add documentation for capture 2010-06-25 16:40:47 +02:00
Carsten Dominik eae7ccd5b0 Augment the acknowledgements to reflect the addition of Org Babel 2010-06-25 09:51:57 +02:00
Carsten Dominik 6724bcfa94 Clean up org-babel documentation
Patch by Thomas S. Dye
2010-06-25 09:09:34 +02:00
Eric Schulte 024974299c babel: updating documentation for new babel 'ob* require syntax
Thanks to Bernt Hansen for pointing this out

* doc/org.texi (Languages): updating require statements for the next
  org-babel syntax

  (Batch execution): updating require statements for the next
  org-babel syntax
2010-06-23 17:27:23 -07:00
Eric Schulte 3429a496a3 merged with master 2010-06-22 11:55:19 -07:00
Carsten Dominik 36b6471858 Merge branch 'improve-todo-match-documentation' 2010-06-22 14:47:45 +02:00
Carsten Dominik 2e73ce2177 Clarify that TODO matches only match not-DONE states by default
Bernt Hansen writes:

> I was talking to Jeff Stern about tags todo matching offlist and we
> think the documentation for tags-todo matching can probably be improved.
>
> The description of C-c a M at
> http://orgmode.org/manual/Matching-tags-and-properties.html
> states
>
> C-c a M
>
>    Like C-c a m, but only select headlines that are also TODO items and
>    force checking subitems (see variable
>    org-tags-match-list-sublevels). To exclude scheduled/deadline items,
>    see the variable org-agenda-tags-todo-honor-ignore-options. Matching
>    specific TODO keywords together with a tags match is also possible,
>    see Tag searches.
>
> When I read this I think TODO items is any todo keyword but this isn't
> the case.  It is only non-done TODO state keywords.  This makes
> tags-todo matching not work for finding tasks to archive (normally
> DONE | CANCELLED keywords in my setup)
>
> Should we explicitly state that 'headlines that are also TODO items'
> does not match DONE state keywords?  Or alternatively should TODO items
> and DONE items be separate (and explicitly defined) in the documentation
> -- like org-todo-keywords and org-done-keywords?
>
> I still think 'TODO keyword' matches any todo keyword defined in
> org-todo-keywords and maybe I need to be re-educated :)

Bernt is right, and this patch tries to clarify the issue.
2010-06-22 14:47:37 +02:00
Carsten Dominik 1d52e54efd New capture system org-capture
* lisp/org-agenda.el (org-agenda-action): Make `c' key call org-capture.
* lisp/org-capture.el: New file.
* lisp/org-compat.el (org-get-x-clipboard): Function moved here from
remember.el.
* lisp/org-mks.el: New file
* lisp/org.el (org-set-regexps-and-options): Allow statistic cookies as
part of complex headlines.
(org-find-olp): New argument THIS-BUFFER.  When set, assume that the
OLP does not contain a file name.
2010-06-22 14:19:18 +02:00
Eric Schulte cab1e23d61 babel-doc: adding c++ and sqlite as supported languages, and removing table comment 2010-06-17 18:15:35 -07:00
Eric Schulte 9c7bad1fab babel-doc: adding buffer-wide header argument documentation 2010-06-17 18:15:35 -07:00
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
Dan Davison 52fd87ad3c Working on syntax section 2010-04-11 15:54:14 -04:00
Dan Davison ba5e0f06a1 Add material to introduction of source code chapter 2010-04-11 14:57:09 -04:00
Dan Davison b056b2cd77 Convert level 4 headings to subsubheadings.
Also some promotion of some of the most deeply nested headings.
2010-04-11 12:42:43 -04:00
Dan Davison 2263127360 Add an example block that was missed 2010-04-11 12:35:17 -04:00
Dan Davison 3cba424a69 Convert level 3 headings to @subsubsections 2010-04-11 12:28:25 -04:00
Dan Davison dbcd54f16f 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-04-11 12:21:57 -04:00
Dan Davison 3cfe6d565b Merge branch 'babel' of git://repo.or.cz/org-mode into babel 2010-04-11 12:02:33 -04:00
Dan Davison 7b0e07461f Quote some @ symbols and clean up.
make info and make pdf work now.
2010-04-11 12:00:44 -04:00
Dan Davison 93c6a66303 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-04-11 11:48:07 -04:00
Carsten Dominik 6f3026edf1 Release 6.35g 2010-04-08 20:15:15 +02:00
Carsten Dominik a589c7a22e Release 6.35f 2010-04-08 10:36:32 +02:00
Carsten Dominik 9a8b05cb70 Document that the LaTeX setup might not work well with XeTeX 2010-04-07 17:59:50 +02:00
Carsten Dominik 50e5924d8a Release 6.35e 2010-04-07 16:33:52 +02:00
Carsten Dominik f722763f8a Release 6.35d 2010-04-07 16:26:42 +02:00
Carsten Dominik d65ed03be6 Update copyright notices and fix wrong version tags 2010-04-07 16:26:10 +02:00