Commit Graph

459 Commits

Author SHA1 Message Date
Bastien Guerry 01c8c83a67 doc/org.texi: Fix wrong date in example. 2009-01-13 00:09:15 +01:00
Bastien Guerry 280cc41c09 doc/org.texi: Fix two other typos (lets->let's) 2009-01-13 00:07:33 +01:00
Bastien Guerry ce5b9abd87 doc/org.texi: Fix typo. 2009-01-12 23:53:50 +01:00
Carsten Dominik 74a4244db1 Archiving: Allow file name interpolation in target headline
Matt Lundin writes:

    I had one more question/request concerning archives. Would
    it perhaps be possible to enable the file name
    substitution (i.e., "%s") after the double semi-colon, so
    that the file name can be used as a headline within the
    archive file? My ideal setup would be to have a single
    archive file for each year's work, with headlines named
    according to the original files of the archived subtrees.

    E.g.,

    ,----
    | * finances.org
    | ** archived item
    | * notes.org
    | ** archived item
    | ** another archived item
    `----

This commit does implement this request.
2009-01-11 21:51:53 +01:00
Carsten Dominik b3d6d903bc Export: Better handling of colon examples.
Lines preceded by a colon are treated as fixed-width examples.
This commit improves the moment when the protection of these lines
happens during preprocessing.  And it enforces that a space must
follow the colon for the line to be treated in this way.
2009-01-09 08:28:43 +01:00
Carsten Dominik 32ba462be1 Export: Make id: links work after export.
id: links to entries in other files will now work after export to
HTML, provided that the published target file is on the same relative
path.
2009-01-08 22:35:57 +01:00
Carsten Dominik b0f848e873 Timer: Pause and continue, and mode-line display.
The relative timer is now shown in the mode-line while running.
There is a new command to pause and continue it.

Thanks to Alan Davis for driving this change.
2009-01-08 11:07:27 +01:00
Carsten Dominik 34867369df Push version number to 6.17trans 2009-01-07 13:27:02 +01:00
Carsten Dominik 6b686333fb Release 6.17c 2009-01-06 23:35:50 +01:00
Carsten Dominik 3bfed1ed35 LaTeX export: Better analysis of math environments
We now use the export preprocessor to identify all math snippets in
advance, this is superior to calling org-inside-LaTeX-fragment-p from
the inside.
2009-01-06 12:56:30 +01:00
Carsten Dominik da36bd29ab Release 6.17b 2009-01-06 09:56:42 +01:00
Carsten Dominik 0be9a61e40 Fix typo. 2009-01-06 06:31:41 +01:00
Carsten Dominik 35c0798d69 Release 6.17a 2009-01-05 13:25:58 +01:00
Carsten Dominik 1a3abc8018 Coderefs: Revamp label syntax.
This commit revamps the syntax used for code line references in
literal examples.  See the documentation for details about the new
format.
2009-01-05 13:25:21 +01:00
Carsten Dominik 2f38ef0c60 Release 6.17 2009-01-04 09:00:34 +01:00
Carsten Dominik d79cc1aebf Footnotes: New startup keyowrd fnlocal
The fnlocal startup keyword sets `org-footnote-section' to nil.
2009-01-04 08:53:59 +01:00
Carsten Dominik 2b2c603903 Footnotes: When sorting footnotes, respect the location settings.
Sorting footnotes used to be almost like normalization, in that all
footnotes would be collected into a single location.  Now sorting
respects the setting of `org-footnote-section'.  If that is nil,
sorting will actually move each footnote into the outline node of its
first reference.
2009-01-03 09:06:36 +01:00
Carsten Dominik 3559b2dc93 Footnotes: Activate labels as links
This commit add a new face for footnote labels, and activates footnote
labels for mouse clicks and for `C-c C-o', to jump to the
corresponding reference or definition.
2009-01-02 16:28:35 +01:00
Carsten Dominik 317990dd8a Footnotes: Automatic label creation.
This patch implements fully automatic creation of unique labels for
footnotes, which is also turned on as the default setting.  The
automatic labels look like [fn:1], [fn:2], etc, using the first
available unused number.

The commit introduces a new variable, `org-footnote-auto-label' with a
number of different options ranging from no auto creation (prompting
the user for a label) to fully automatic creation.

Also, the commit introduces new #+STARTUP options that can be used to
select these settings on a per-file basis.
2009-01-02 15:54:34 +01:00
Carsten Dominik ffd89f5752 Documentation: More credits. 2008-12-31 18:22:46 +01:00
Carsten Dominik cd92610d1a Footnotes: Credits 2008-12-31 09:25:07 +01:00
Carsten Dominik 71aeeec70a Footnotes: Add ChangeLog entries. 2008-12-31 01:21:48 +01:00
Carsten Dominik da7e417d0b Footnotes: Documentation
Add a new section about footnotes to the TeXInfo documentation, and
copy it also to the Changes.org file.
2008-12-31 00:49:05 +01:00
Carsten Dominik 03c538b5e3 Coderefs: Credits.
This patch gives credits to the people who help designing and
implementing this feature set.
2008-12-26 23:49:57 +01:00
Carsten Dominik 3018b775e2 Coderefs: Add ChangeLog entries. 2008-12-26 23:23:39 +01:00
Carsten Dominik 27bcab1371 Coderefs: Documentation in the manual
This patch adds documentation about code references and line numbering
to the manual, and also adds an example to Changes.org.
2008-12-26 23:23:39 +01:00
Carsten Dominik 8915859c08 Version number back to 6.16trans. 2008-12-25 11:10:02 +01:00
Carsten Dominik 20f2f8e1e1 Release 6.16c 2008-12-25 11:06:35 +01:00
Carsten Dominik 2deee3e6e4 Column view: Capture also from locations in other files.
The dynamic block capturing column view has an :id parameter that does
select from where the column view should be captured.  The routine
searching for this entry so far only searched the current file, now it
uses the full ID API to find the entry also in another file.

Furthermore, a value "file:path/to/file.org" will capture the global
column view of that file.

Report by Francois Lagarde.
2008-12-22 08:56:42 +01:00
Carsten Dominik a8282e38c3 Version number: Pushed to 6.16trans. 2008-12-22 07:35:14 +01:00
Carsten Dominik f35b0549ec Release 6.16a 2008-12-21 12:47:50 +01:00
Carsten Dominik d89284b240 Release 6.16 2008-12-20 11:16:01 +01:00
Carsten Dominik dadc9a1af1 Tables: Implement last-row references.
After the failed implementation of `@0' as a reference for the last
line, this is a second attempt to provide such references.  I would
have liked to allow `@last' as the reference, that would have been
beautiful.  However, too many regular expressions directly search for
`@' followed by a number, so this is too hard to implement.

Therefore, I am now turning the last row into a row of implicitly
named fields.  From now on, $LR1, $LR2,... can be used to refer to
fields in the last row.  These names may also appear on the left hand
side of formulas.
2008-12-19 18:28:58 +01:00
Carsten Dominik 952c6b9901 Version number to 6.15trans. 2008-12-19 09:14:00 +01:00
Carsten Dominik 326b22bf6c Add mode documentation about transient-mark-mode.
Patch by Robert Goldman.
2008-12-19 09:13:17 +01:00
Carsten Dominik 8ff0c60894 Release 6.15f 2008-12-18 23:38:53 +01:00
Carsten Dominik 0805d7ec9f Reverse the introduction of @0 as a reference to the last row. 2008-12-18 23:05:21 +01:00
Carsten Dominik 9cd1518bad Allow to view full entry from agenda.
A prefix argument to the `org-agenda-show' command is now interpreted
to make sure the entire entry is made visible in the other window, not
only the headline.
2008-12-18 09:22:21 +01:00
Carsten Dominik 2075b26a92 Pushing version number to 6.15trans. 2008-12-18 09:04:15 +01:00
Carsten Dominik 0c9218bfa4 Add .nosearch file to the doc/ subdirectory.
This is to make sure that no conflicts arise if people put the
while distribution onto the Lisp path.
2008-12-17 17:25:31 +01:00
Carsten Dominik 020c9cb3bf Fix typos and grammatical issues in the documentation. 2008-12-17 12:10:24 +01:00
Carsten Dominik ec702aa4ba Release 6.15d. 2008-12-17 11:52:55 +01:00
Carsten Dominik 181235f605 Release 6.15c. 2008-12-17 09:59:25 +01:00
Carsten Dominik 9029d93e3a Release 6.15b. 2008-12-17 09:18:32 +01:00
Carsten Dominik 96d9a2e467 Release 6.15a 2008-12-16 10:40:42 +01:00
Carsten Dominik 67a50839e9 Release 6.15 2008-12-16 08:30:55 +01:00
Carsten Dominik 0ea9fb46c5 Implement longtable support for LaTeX export.
Exporting tables to LaTeX suffered from the problem that Org tables
are often long, but that the tabular environment in LaTeX cannot
handle long tables.  This patch fixes this issue.

LaTeX export can now deal with very long tables, by setting an option
in the "ATTR_LaTeX:" line.  Also, you can specify the alignment by
hand.  Here is an example:

Also, table export now correctly deals with tables that start with a
hline.  In such a case, also the LaTeX version will have this extra
hline before the first line.
2008-12-16 07:04:05 +01:00
Carsten Dominik 16b63233ab Fix typos.
Patch by Alan Davis.
2008-12-12 14:38:19 +01:00
Carsten Dominik 5ff646fc90 Make @0 reference the last data line in a table.
The last data line in a table is often a line with important data, for
example sums of a column.  In tables with varying length, the row
number of this line is constantly changing, which makes it hard to
write programs creating tables and then installing formulas.

This patch introduces @0 as a special reference to the last row, so
that @0$3 would be the field in the last row, 3rd column.
2008-12-12 08:53:43 +01:00
Carsten Dominik c5ca477c38 Pushed version number to 6.14trans. 2008-12-10 23:34:16 +01:00
Carsten Dominik ac83bc01d7 Better implementation of unique entry IDs.
Unique identifiers for entries can now be used more efficiently.
Internally, a hash array has replaced the alist used so far to
keep track of the files in which an ID is defined.  This makes it
quite fast to find an entry by ID.

There is now a new link type which looks like this:

id:GLOBALLY-UNIQUE-IDENTIFIER

This link points to a specific entry.  When you move the entry to
a different file, for example if you move it to an archive
file, this link will continue to work.

The file /org-id.el/ contains an API that can be used to write
code using these identifiers, including creating IDs and finding
them wherever they are.

Org has its own method to create unique identifiers, but if the
system has /uuidgen/ command installed (Mac's and Linux systems
generally do), it will be used by default.  You an also select
the method by hand, using the variable =org-id-method=.

If the ID system ever gets confused about where a certain ID is,
it initiates a global scan of all agenda files with associated
archives, all files previously known containing any IDs, and all
currently visited Org-mode files to rebuild the hash.  You can
also initiate this by hand: =M-x org-id-update-id-locations=.
Running this command will also dump into the =*Messages*= buffer
information about any duplicate IDs.  These should not exist, but
if you /copy/ an entry with its properties, duplicate IDs will
inevitably be produced.  This is unavoidable in a plain text
system that allows you to edit the text in arbitrary ways, and a
portion of care on your side is needed to keep this system clean.

The hash is stored in the file =~/.emacs.d/.org-id-locations=.
This is also a change from previous versions where the file was
=~/.org=id-locations=.  Therefore, you can remove this old file
if you have it.  I am not sure what will happen if the =.emacs.d=
directory does not exists in your setup, but in modern Emacsen, I
believe it should exist.  If you do not want to use IDs across
files, you can avoid the overhead with tracking IDs by
customizing the variable =org-id-track-globally=.  IDs can then
still be used for links inside a single file.

IDs will also be used when you create a new link to an Org-mode
buffer.  If you use =org-store-link= (normally at =C-c l=) inside
en entry in an Org-mode buffer, and ID property will be created
if it does not exist, and the stored link will be an =id:= link.
If you prefer the much less secure linking to headline text, you
can configure the variable =org-link-to-org-use-id=.  The default
setting for this variable is =create-if-interactive=, meaning
that an ID will be created when you store a link interactively,
but not if you happen to be in an Org-mode file while you create
a remember note (which usually has a link to the place where you
were when starting remember).
2008-12-10 23:32:37 +01:00
Carsten Dominik 45102b68ce Captions and attributes for images and tables during export
Tables, and Hyperlinks that represent inlined images, can now be
equipped with additional information that will be used during
export.  The information will be taken from the following special
lines in the buffer and apply to the first following table or
link.

  - #+CAPTION: :: The caption of the image or table.  This string
       should be processed according to the export backend, but
       this is not yet done.
  - #+LABEL: :: A label to identify the figure/table for cross
       references.  For HTML export, this string will become the
       ID for the `<div class="figure">' element that encapsulates
       the image tag and the caption.  For LaTeX export, this
       string will be used as the argument of a `\label{...}'
       macro.  These lables will be available for internal links
       like `[[label][Table] ]'.
  - #+ATTR_HTML: :: Attributes for HTML export of image, to be
       added as attributes into the `<img...>' tag.  This string
       will not be processed, so it should have immediately the
       right format.
  - #+ATTR_LaTeX: :: Attributes for LaTeX export of images, to
       be inserted into the optional argument of the
       `\includegraphics[...]{file}' command, to specify scaling,
       clipping and other options.  This string will not be
       processed, so it should have immediately the right
       format, like `width=5cm,angle=90'

For LaTeX export, if either a caption or a label is given, the
element will be exported as a float, i.e. wrapped into a figure
or table environment.
2008-12-10 12:50:07 +01:00
Carsten Dominik 25064ee113 Document that all internal links will work in HTML.
The text used to be that only links to dedicated <<targets>> would
work, but this has been fixed a long time ago.

Noted by Ilya Shylakhter.
2008-12-08 17:35:36 +01:00
Carsten Dominik 7b6ad9054e Release 6.14. 2008-12-06 07:34:30 +01:00
Carsten Dominik 0e157c59ba 6.14pre01
Moving toward a release.
2008-12-05 14:55:58 +01:00
Carsten Dominik db782da26b Remove unnecessary whitespace. 2008-12-04 15:33:43 +01:00
Carsten Dominik 8981f5f043 Make the compiler happier. 2008-12-04 15:27:25 +01:00
Carsten Dominik d996cbb312 Customizable faces for individual tags.
Samuel Wales writes:

> It would be really nice if you could set tags to different
> faces the way you can with todo keywords.
>
> For example, you could set :urgent: to a bright color.  Or
> set a face for all contexts.

This patch add a new customization variable `org-tag-faces' that can
be used to specify such faces.  The rest of the patch implements these
new faces in Org-mode buffers as well as in the agenda.
2008-12-04 14:24:21 +01:00
Carsten Dominik b266f5a90c Make LOCATION property inheritable for iCalendar export.
Harri Kiiskinen suggested that it might be useful to make the LOCATION
property an inherited property during iCalendar export.  In this way
you can have set the LOCATION for a whole set of items by setting it
only in the parent.

While this will slow down iCalendar export for large files, I think it
can be quite useful.  This patch does implement the basic code needed
for this functionality.  However, you still need to tell Org that
LOCATION should be inherited, by setting org-use-property-inheritance.
If you set it to t, beware that this may trigger a significant
slowdown when creating the match view in the agenda.  So it may be
better to set this variable to

(setq org-use-property-inheritance '("LOCATION"))

instead.
2008-12-03 08:28:26 +01:00
Carsten Dominik aa07f68c12 Better handling of export options.
This patch improves the internal handling of the large number of
export options that Org-mode has.  In particular, it now defines a
single constant, `org-export-plist-vars' that contains the full list
of options, and how these can be accessed through variables, and
through the #+OPTIONS line.  Before the patch, there used to be a
separate list or the OPTIONS handling, which has gotten out of sync.
This now no longer can happen.

Also, this patch adds two new variables, `org-export-with-priority',
and `org-export-with-todo-keywords', which can be used to turn the
export of TODO keywords and priority cookies on and off, so that these
can simply disappear and not be shown in the exported file.  In fact,
the default for the priority cookie is to remove it.
2008-12-03 07:33:05 +01:00
Carsten Dominik 4800fd8b7c Fix bugs in implementation and documentation of the mapping API.
There were bugs in the mapping API, pointed to by Samuel Wales:

    Manual says:

     The following example counts the number of entries with TODO keyword
     WAITING, in all agenda files.

        (length (org-map-entries t "/+WAITING" nil 'agenda))

    Org says invalid function for the string.

First of all, the example in the manual was wrong, the "nil" should be
gone.  Second, the mapping function did not return all results in a
list, so that `length' could not count them.

This patch fixes these issues.
2008-12-02 16:53:25 +01:00
Carsten Dominik 269c5a85bc New ways to specify time comparison values in property searches.
In addition to "<now>", "<today>", "<yesterday>", and
"<tomorrow>", there are more special values accepted now in
time comparisons in property searches:  You may use strings
like =<+3d>= or =<-2w>=, with units d, w, m, and y for day,
week, month, and year, respectively

Thanks to Linday Todd for this proposal.
2008-11-29 19:12:03 +01:00
Carsten Dominik 733dfca36b Allow to exclude specific tags from inheritance.
So far, the only way to select tags for inheritance was to
allow it for all tags, or to do a positive selection using
one of the more complex settings for
`org-use-tag-inheritance'.  It may actually be better to
allow inheritance for all but a few tags, which was difficult
to achieve with this methodology.

This patch introduces a new option,
`org-tags-exclude-from-inheritance' which allows to specify an
exclusion list for inherited tags.
2008-11-27 13:15:29 +01:00
Carsten Dominik f6b9e77ded Show inherited tags in the agenda.
This patch does a lot of things.  First, it makes sure that the tags
transferred to the agenda as text properties on each line are do carry
information about there origin (in the form of an `inherited' text
property).  Then it modifies the function creating agenda lines so
that inherited tags will be listed and identified as such in the
agenda.

This new feature can be turned off with a new variable,
`org-agenda-show-inherited-tags'.
2008-11-27 09:25:50 +01:00
Carsten Dominik a196eaa15c New file org-w3m.el, by Andy Stewart.
This file implements a special function to copy text from a w3m buffer
in a way that when the text is yanked back into an Org-mode buffer,
the links will be translated to Org syntax.
2008-11-26 15:45:50 +01:00
Carsten Dominik 825fdfa95e Change version number to 6.13trans. 2008-11-25 20:42:53 +01:00
Carsten Dominik 7e3aa26628 Finalize the relative-timer setup.
This cleans up the implementation of the timer.  Most important change
is that, after starting a time list with `C-c C-x -', you can then
simply use M-RET to add new items, which is addictive!
2008-11-25 20:20:52 +01:00
Carsten Dominik 4b2d3c6feb Implement timer for timed notes.
This patch implements a relative time for taking timed notes, useful
for example while watching a video, or during a meeting which is also
recorded.  Here are the new commands:

    - `C-c C-x .' ::
      Insert a relative time into the buffer.  The first time
      you use this, the timer will be started.  When called
      with a prefix argument, the timer is reset to 0.

    - `C-c C-x -' ::
      Insert a description list item with the current relative
      time.  With a prefix argument, first reset the timer to 0.

    - `C-c C-x 0' ::
      Reset the timer without inserting anything into the buffer.
      By default, the timer is reset to 0.  When called with a
      `C-u' prefix, reset the timer to specific starting
      offset.  The user is prompted for the offset, with a
      default taken from a timer string at point, if any, So this
      can be used to restart taking notes after a break in the
      process.  When called with a double prefix argument
      `C-c C-u', change all timer strings in the active
      region by a certain amount.  This can be used to fix timer
      strings if the timer was not started at exactly the right
      moment.
2008-11-25 12:07:23 +01:00
Carsten Dominik 8e31f6f99c Fix publishing of component files.
When starting the publishing process with
`org-publish-current-project' from a file that is located in a project
that is also a component of a parent project, this patch now makes
sure that the entire parent project is published instead.
2008-11-25 10:56:37 +01:00
Carsten Dominik eb48aaa7c1 Release 6.13a. 2008-11-24 12:22:56 +01:00
Carsten Dominik 1ba1ac5045 Merge changes from downstream Emacs. 2008-11-24 12:21:40 +01:00
Carsten Dominik 3cf4f07030 Fix typo. 2008-11-24 11:32:31 +01:00
Carsten Dominik 74e7111a5f Implement outline-path-completion in one go. 2008-11-24 10:59:10 +01:00
Carsten Dominik 06edd56942 Release 6.13 2008-11-23 08:10:04 +01:00
Carsten Dominik 5810f0a8c9 6.13pre05
Getting close.....
2008-11-22 10:25:55 +01:00
Carsten Dominik 33744b0de5 Allow one comment line before the first headline.
When the export skips the text before the first headline, we now
include the comment line before the first headline, if any.
This makes sure that we can specify an anchor for this headline.
2008-11-21 19:45:51 +01:00
Carsten Dominik 5c7609d4c7 Improve documentation. 2008-11-21 19:16:18 +01:00
Carsten Dominik db5c609be9 6.13pre04 2008-11-21 13:35:45 +01:00
Carsten Dominik 7d45c9f4bf 6.13p03 2008-11-21 07:18:35 +01:00
Carsten Dominik 81e3b95843 6.13pre02. 2008-11-20 15:02:53 +01:00
Carsten Dominik f9f3a19a34 Documentation fixes. 2008-11-20 14:50:06 +01:00
Carsten Dominik 926bab3a67 Pushing version number to 6.13pre01. 2008-11-20 08:28:02 +01:00
Carsten Dominik e2784e3b0f Improve the description for org-eval-light.el. 2008-11-20 07:57:24 +01:00
Carsten Dominik 019bda7700 Improve documentation about running export commands in the background. 2008-11-20 07:49:36 +01:00
Carsten Dominik 06ec0e46ad Describe new modules in various places. 2008-11-19 17:33:23 +01:00
Carsten Dominik e51d317a21 New minor org-remember-mode, for extra keybindings.
This patch defines a new minor mode, `org-remember-mode', which is
turned on when Org-mode is used to handle a remember buffer.  This
provides a safe way to modify keybindings (in
`org-remember-mode-map'), without overwriting keys in `org-mode-map'.
Since Org put remember buffers into Org-mode, remember-mode-map will
be entirely ignored.
2008-11-18 20:32:01 +01:00
Carsten Dominik 24b32f199b Switch version number to 6.12trans 2008-11-17 07:58:11 +01:00
Carsten Dominik c210ba6d90 Fix issues with property time tests.
There was a bug in the implementation of the "<today>" tag for time
comparison during property matching, and new tags "<yesterday>" and
"<tomorrow>" have been introduced.

Patch by Piotr Zielinski.
2008-11-17 07:21:55 +01:00
Carsten Dominik 74675e87e1 Add the ditaa.jar converter to the contrib directory.
Thanks to Stathis Sideris for this great program an his permission to
bundle it.
2008-11-15 07:51:24 +01:00
Carsten Dominik 4954225ce3 Implement link translation.
This patch implements the possibility to translate links.
It can be useful if use both planner and Org-mode, if you sometimes
copy text from one side to the other and you do not want to worry
about link syntax.  This patch allows links created with planner to
function correctly in Org-mode.  I would probably be simple to
implement the reverse conversion in planner as well.

This patch is a first shot at this functionality and very likely can
be improved.
2008-11-14 14:13:48 +01:00
Carsten Dominik 269b49996f Document the bbdb links may use a regular expression.
Things like [[bbdb:R.*Stallman]] are allowed as bbdb links and will do
the right thing.
2008-11-14 09:09:00 +01:00
Carsten Dominik f9f3c27b13 Make `yank-pop' work after an adjusting tree yank.
Org's `org-yank' now identifies itself as being `yank' by setting
`this-command', and by making sure that the mark is set correctly.  In
this way, `yank-pop' will work correctly after using `C-y' in an
Org-mode buffer.  Org-mode does not have its own implementation, to
`yank-pop' will insert content plainly, without adjusting tree levels,
and without folding.

Samuel Wales pointed out that `yank-pop' doe not work anymore.
2008-11-14 07:49:08 +01:00
Carsten Dominik 3b5007cd2b Release 6.12b. 2008-11-12 23:58:49 +01:00
Carsten Dominik 9bf687af99 Fix typo. 2008-11-12 16:45:23 +01:00
Carsten Dominik b55ec41bc4 Release 6.12a
Because I forgot to push before I pressed the release button.....
2008-11-11 11:21:36 +01:00
Carsten Dominik ed81800ccf Release 6.12 2008-11-11 11:03:17 +01:00
Carsten Dominik f5e3c482a2 Fine-tuning the behavior of `org-yank'.
Org-mode's `org-yank' command is used as a replacement for the normal
`yank' command.  It differs by giving special treatment to subtrees or
sets of subtrees when yanking them, by adjusting the level to fit the
outline, and by folding the trees after the yank.

This patch does fine-tune this behavior.

First of all, if any prefix argument is given to the command, it
immediately hands over the action to the standard `yank' command.  In
particular, you can use `C-u C-y' to yank as-is, with the only minor
side effect that the cursor will end up at the beginning of the yanked
text.

Secondly, the folding of the yanked trees will only happen if there is
no text directly after the insertion point that would be swallowed by
the folding process.  This was confusing in the past and is much
better now, with a message announcing that folding has been
suppressed.
2008-11-11 09:25:10 +01:00
Carsten Dominik 9a46feebfc Implement refiling for regions.
The refile command allows to move a subtree to under some other
heading, in the current file or even in a different file.

Sometimes one has a number of sibling subtrees that should all be
refiled to the same location.  This patch implements a simplification
for this process.  You can mark the region of subtrees (using
transient-mark-mode in required for this) and then move them all with
a single command.
2008-11-10 22:17:57 +01:00
Carsten Dominik e41a0d9608 Implement table formulas for clocktables.
Org-mode produces summaries of clocked items in the form of Org-mode
tables.  This patch implements the possibility to define formulas that
should be applied to the clock tables, in order to do additional
analysis.

Formulas for clock tables are supported in two ways.

First, a formula can simply be added by hand to a table.  Part of this
patch makes sure that, when the previous version of the table contains
a #+TBLFM: line, it will be copied to the new version.

Secondly, the clocktable definition allows a new parameter
`:formula'.  The string value of this parameter will be installed as
the formula line for the table.  If a formula parameter is given, it
will overrule any previous formula line.

As a special case, using the symbol `%' as the formula will install a
formula that will compute the fraction of total time that was spent in
a subtree.

In both cases, the formulas will be immediately evaluated after the
table has been created.
2008-11-10 20:57:48 +01:00
Carsten Dominik 1ffa6b76f5 Release 6.11c. 2008-11-09 08:20:00 +01:00
Carsten Dominik fb92308d22 Allow to only display logging information in the agenda.
Jurgen Defume asked for a way to display only logging information in
the agenda.  This patch implements such a possibility.  It works by
calling `org-agenda-log-mode' (bound to `l' in the agenda) with a
double prefix arg.  This sets the variable `org-agenda-show-log' to a
special value `only' which is then interpreted by the agenda-creating
functions.
2008-11-09 08:17:33 +01:00
Carsten Dominik eb4f62ae34 Release 6.11a. 2008-11-08 22:29:54 +01:00
Carsten Dominik c708279809 Release 6.11 2008-11-08 16:43:48 +01:00
Carsten Dominik 2c0291287a Push version number to 6.11pre01.
We are moving toward the next release, please test!
2008-11-06 09:14:14 +01:00
Carsten Dominik c4e9626bf4 Show state changes in agenda logbook mode.
Org records (depending on setup) various information about progress
achieved with projects and tasks.  It can record when an item is done
(when it is "closed"), it can record time spent working on these
entries (clocking), and it can record state changes.

In the daily/weekly agenda, turning on logbook mode with the `l' key
will lists the tasks closed or clocked on a day.

This patch implements showing recorded state changes in the agenda
logbook.  By default, showing state changes is not turned on.  But you
can configure the new variable `org-agenda-log-mode-items' to trigger
inclusion of state changes.  An alternative way is to press `C-u l' in
the agenda, to temporarily force inclusion of all possible entries
(closed, clock, state) into the agenda display.

In passing, this patch renames the function `org-agenda-get-closed' to
the now more appropriate `org-agenda-get-progress'.  The old name
continues to be available as an alias, but its use is deprecated.
2008-11-05 17:26:52 +01:00
Carsten Dominik 8787f59cef `C-u C-u C-c C-o' forces opening in an external application
Org-mode uses a special setup with a number of different customization
variables to specify how a file should be opened when following a
:file:..." link with `C-c C-o'.  By using a `C-u' prefix, it was
possible to overrule the customized setup and to force opening the
file in Emacs.

Samuel Wales requested to amend this process, so that a double prefix
argument would do the opposite: force opening the application *outside*
of Emacs, using a system default application.  This is what this patch
implements.

Internally this works through a new entry in system specific constants
`org-file-apps-defaults-gnu', org-file-apps-defaults-macosx', and
`org-file-apps-defaults-windowsnt'.  The new entry has the car
`system' and specifies the command that should be used for the double
C-u calls.  As before, the user option `org-file-apps' can overrule
these default settings.

Note that all this only applies to following "file:" links, and does
not make a difference for, for example, "http:" links.
2008-11-05 10:46:20 +01:00
Carsten Dominik 5fea9b1e42 Rename function in example in documentation.
Rick Moynihan noticed that a function name in an example does not
reflect correctly the purpose of this function, which does skip all
entries that do not have a WAITING tag.

This patch renames the function to remedy  this situation.
2008-11-04 06:55:48 +01:00
Carsten Dominik bdc93a9cd2 Mark style definitions as unparsed CDATA.
Org-mode does sometimes included CSS definitions directly
into an exported XHTML file.  To pass validation tests
for XHTML, these sections need to be wrapped in
order to pass as CDATA, not PCDATA.  This patch
(written by Sebastian Rose) does implement this change.
It also fixes some typos.
2008-11-02 17:01:50 +01:00
Carsten Dominik 960ba70e7f ChangeLogs for the recent org-plot updates. 2008-11-02 15:10:18 +01:00
Charles Sebold 94c3bfd4e7 org-plot and timestamps
On 28 Oct 2008, Eric Schulte wrote:

> Hi Charles, The patch looks great, I vote we drop it 'as is' into
> org-plot.el.  The only enhancement that comes to mind would be to
> expose the `time-ind' variable as a plot option.  Allowing users to
> specify different time formats, but really if they're that
> sophisticated in their use of gnuplot, then they can do that on their
> own through the `set:' option.  Thanks for the addition! -- Eric

If I understand you correctly, then what we want to expose is the
"timefmt" that is put into the data file and then passed to gnuplot.
The following patch is a complete one against current which adds this
(it works for me, at least), and documents the new +PLOT option
behavior.

The one thing I'm not sure about is my method of passing the timefmt
parameter all the way into the temp file creation function.  I made a
buffer-local variable there to do it.  That seemed the least intrusive
way to accomplish this, but it seemed like poor practice.  Thoughts?

You know, I really ought to allow a person to customize this variable (I
mean, using customize).

------------------------------------------------------------------------
Changes in origin/master
	Modified doc/org.texi
2008-11-02 08:01:13 +01:00
Carsten Dominik 8c1e5c2d17 Improve XHTML validation. 2008-11-02 07:59:09 +01:00
Carsten Dominik e3be5a3c08 Speed-up access to TODO keywords during tag searches.
Using a property-like expression like TODO="NEXT" it a tag
search now bypasses the property API and is therefore fast.
2008-10-31 09:11:52 +01:00
Carsten Dominik 73d6659faa Allow to turn off the default style. 2008-10-28 16:35:51 +01:00
Carsten Dominik 407a84af1b Yank subtree back in a level-adjusted way.
Now C-y does insert subtrees intelligently.
2008-10-27 17:57:53 +01:00
Carsten Dominik 523cf1fe31 Release 6.10c. 2008-10-25 12:56:42 +02:00
Carsten Dominik 3794f574e2 Release 6.10b. 2008-10-25 12:54:49 +02:00
Carsten Dominik 88d4405e86 Release 6.10a. 2008-10-24 23:16:42 +02:00
Carsten Dominik 037a85ae67 Fix typo. 2008-10-24 23:04:18 +02:00
Carsten Dominik 4aac89f137 Indicate that org-goto depends on the isearch settings. 2008-10-24 23:01:58 +02:00
Carsten Dominik 57cc56654f Fix typos.
Patch by Chris Gray.
2008-10-24 22:50:36 +02:00
Carsten Dominik 896f0a5e33 Doc fixes regarding URLs.
Patch by Erik Schulte.
2008-10-24 22:38:53 +02:00
Bernt Hansen dfdb0e677e Fix typo: ODO -> TODO on the org reference card 2008-10-23 15:26:51 -04:00
Bernt Hansen 8d0b6556bf Update orgcard.txt for 6.10 2008-10-23 15:26:06 -04:00
Bernt Hansen 3d929760f1 Update documentation: C-c C-x r is not C-c C-x i 2008-10-23 15:25:46 -04:00
Carsten Dominik 794839f1da Release 6.10. 2008-10-23 09:19:43 +02:00
Carsten Dominik c13dbec3c4 Fix documentation about the deps parameter in org-plot.
Patch by Eric Schulte.
2008-10-22 18:08:59 +02:00
Carsten Dominik b7db897e6d Moving toward the 6.10 release. 2008-10-22 09:57:42 +02:00
Carsten Dominik 61cf8cd7ac Modify behavior at headling insertion.
C-RET now always inserts a heading, never an item.
The folding state of the heading before the newly inserted one
is preserved.

Patch by Peter Jones.
2008-10-22 07:53:22 +02:00
Carsten Dominik e15c02c310 Fix typo. 2008-10-21 08:04:12 +02:00
Carsten Dominik 8eb84d269d Fix typo. 2008-10-21 07:54:54 +02:00
Carsten Dominik a086743480 Merge branch 'filtering'
Conflicts:
	lisp/ChangeLog
2008-10-20 23:32:22 +02:00
Carsten Dominik aead878b46 Implement narrowing existing agenda filters, and effort filters. 2008-10-20 23:01:23 +02:00
Carsten Dominik 713328eb60 Intermediate 2008-10-20 09:38:23 +02:00
Carsten Dominik c82ce556f2 Add a remark about quoting. 2008-10-19 20:28:25 +02:00
Carsten Dominik 55b4aa403a Setting tags is now on `C-c C-q'.
C-c C-c still works with the cursor in a headline,
but I wanted a special binding as the default, mainly
in order to be able to set tags in a remember buffer.
2008-10-16 14:04:04 +02:00
Carsten Dominik 329a7a7d34 Implement tag changes triggered automatically by TODO state changes. 2008-10-16 09:54:30 +02:00
Carsten Dominik 52fa7f817b Add commands to export to PDF.
This works by creating LaTeX first, and then processing it.
2008-10-15 17:21:52 +02:00
Carsten Dominik 0cfc76df3f Allow sections to be represented as environments in LaTeX export. 2008-10-13 07:26:05 +02:00
Carsten Dominik 4574d894ce Release 6.09a. 2008-10-12 07:36:18 +02:00
Carsten Dominik 77ebe1e49b Documentation fixes. 2008-10-12 07:35:19 +02:00
Carsten Dominik 5ebc1a7982 Release 6.09. 2008-10-09 13:18:25 +02:00
Carsten Dominik 82f1c863ee Cleaning up attachment support.
Among other things, introduce a security query before deleting
the entire attachment directory.  And add a new method to delete
a single attachment.
2008-10-09 12:19:43 +02:00
Carsten Dominik 3d5bc9ab65 Documentation updates. 2008-10-08 12:46:51 +02:00
Carsten Dominik 57e912c275 Push version number to 6.09pre01. 2008-10-07 15:45:58 +02:00
Carsten Dominik 8518c9ed81 Allow different methods to get an attachment into the directory.
Supported methods are copy, link, and move.
2008-10-07 14:28:21 +02:00
Carsten Dominik 4c55b885d5 Documentation fixes. 2008-10-05 12:57:01 +02:00
Carsten Dominik c2dcfb6286 Documentation fixes. 2008-10-05 11:21:18 +02:00
Carsten Dominik e195a3ee4b Release 6.08a. 2008-10-05 08:31:54 +02:00
Carsten Dominik c0292f955e Release 6.08. 2008-10-05 08:27:53 +02:00
Carsten Dominik 2a8dac9f70 Store remember notes under the current clock entry with `C-2 C-c C-c'.
Patch from James TD Smith, but modified.
2008-10-02 18:07:12 +02:00
Carsten Dominik 802e1175fe Documentation updates. 2008-10-01 11:54:33 +02:00
Carsten Dominik d043e31182 Integrate John Wiegley's org-attach.el. 2008-10-01 09:25:18 +02:00
Carsten Dominik 8d13453864 Fix typo in documentation. 2008-09-28 23:57:30 +02:00
Carsten Dominik 3c916eeb38 Document the #+STYLE in-buffer setting. 2008-09-28 06:36:43 +02:00
Carsten Dominik 659d0372be Fix typo in documentation. 2008-09-27 10:48:40 +02:00
Carsten Dominik e4b6cd0ce2 Add documentation for org-plot.el. 2008-09-24 10:57:03 +02:00
Carsten Dominik a5cd6cffb7 Minor fixes. 2008-09-22 12:15:33 +02:00
Carsten Dominik d6d72b3436 Merge branch 'js' 2008-09-21 08:34:45 +02:00
Carsten Dominik feab6c1348 Change version number to 6.08-pre01 2008-09-21 08:34:23 +02:00
Carsten Dominik a8b3081610 Release 6.07b. 2008-09-21 08:26:30 +02:00
Carsten Dominik 7e0dbb6191 New escape for remember templates to add properties.
Patch by James TD Smith.
2008-09-21 08:05:33 +02:00
Carsten Dominik b777e88fd6 Release 6.07a. 2008-09-19 16:19:32 +02:00
Carsten Dominik 194faab2b6 Bumping up the version number to 6.07. 2008-09-19 08:25:13 +02:00
Carsten Dominik 8ad796156e More options for categories in iCalendar export.
Tags and the todo state can now be listed as categories.
2008-09-18 17:35:55 +02:00
Carsten Dominik 8833885abb Make S-right/left work in column view for any timestamp
value of a property.
2008-09-18 10:24:57 +02:00
Carsten Dominik 951a80987b Talk about MATCH view rather than TAGS view. 2008-09-17 13:39:24 +02:00
Carsten Dominik 8e2b65bdef Intermediate 2008-09-16 16:52:21 +02:00
Carsten Dominik 521c7adf21 Fix typo in documentation. 2008-09-13 21:31:50 +02:00
Carsten Dominik 238d0d1880 Improve consistency for inserting new headlines. 2008-09-13 19:22:33 +02:00
Carsten Dominik c6962bc9d7 Fix duplicate key definition. 2008-09-11 17:02:03 +02:00
Carsten Dominik 21ff23736c Merge changes from downstream emacs. 2008-09-10 11:10:21 +02:00
Carsten Dominik e862a5cd58 Protect increment-by-copying in tables. 2008-09-08 20:18:18 +02:00
Carsten Dominik 3f1062a15d Save and restore formulas for column view capture. 2008-09-08 09:43:41 +02:00
Carsten Dominik ba2e31dad0 Modified the new agenda tag filtering command. 2008-09-07 07:49:09 +02:00
Carsten Dominik 7482b04df0 Implemented filtering of an existing agenda view with respect to a tag. 2008-09-05 19:02:14 +02:00
Carsten Dominik 089ac08747 Implement using artist-mode to edit fixed-width sections. 2008-09-05 13:37:33 +02:00
Carsten Dominik 2a599b42d1 Fix documentation of the "C-c ." command.
Report by Bostjanv Vilfan.
2008-09-05 07:58:33 +02:00
Carsten Dominik 905fced617 Revised interpretation of prefix arg when storing remember note. 2008-09-04 10:19:46 +02:00
Carsten Dominik 4416842eab Clarify the use of showstars in the docs. 2008-09-03 11:16:36 +02:00
Carsten Dominik 26ed7e0998 Document latest change about terminating tex macros. 2008-09-01 16:50:34 +02:00
Bastien Guerry 195c71031f Added a poem for the #+BEGIN_VERSE example.
This used to be Einstein's quote, but this is already in use for
demonstrating #+BEGIN_QUOTE.  I've picked up AlexSchroeder's Haiku
as found here:  http://www.emacswiki.org/cgi-bin/wiki/EmacsHaiku
2008-08-09 12:32:01 -05:00
Carsten Dominik 806430ff1c Text version of orgcard updated to 6.06. 2008-07-29 08:27:48 -07:00
Carsten Dominik 0175e04180 Minor Fixes in orgcard.tex. 2008-07-29 08:26:44 -07:00
Carsten Dominik 7b5bf55e22 Added some well deserved acknowledgments. 2008-07-26 07:12:03 -07:00
Carsten Dominik 2c26217b88 Release 6.06b. 2008-07-25 14:58:41 -07:00
Carsten Dominik 68fcc0b493 Allow setting creator flag in OPTIONS line. 2008-07-24 12:58:47 -07:00
Carsten Dominik 8bce507597 Fixed typo. 2008-07-24 06:43:35 -07:00
Carsten Dominik 177e154e6c Release 6.06a. 2008-07-24 06:42:03 -07:00
Carsten Dominik 14ffcc8b9a Release 6.06. 2008-07-24 06:26:02 -07:00
Carsten Dominik 9560d4468b Fixed typo in quick reference. 2008-07-14 15:16:47 -07:00
Carsten Dominik b5ed7fca04 Version number bumped to 6.06pre01. 2008-07-02 13:34:26 -07:00
Carsten Dominik 3d59326fcf Allow prefixes in include file statements. 2008-07-02 13:29:45 -07:00
Carsten Dominik 3d80ceb6d9 Fixed typos. 2008-07-02 10:43:35 -07:00
Carsten Dominik 7becc742cd Time comparisons for property searches. 2008-07-01 16:23:17 -07:00
Carsten Dominik 5f39979bbe New variable to add to the default HTML style.
Instead of overwriting the default style, you can now simply add to it
using the variable `org-export-html-style-extra'.
2008-06-29 17:20:17 +02:00
Carsten Dominik f02b4baab3 New option to turn off creator info. 2008-06-26 06:04:44 +02:00
Carsten Dominik 9b084b22f5 Allow omitting the "file:" prefix in some file links.
The file path must be absolute, or it must start with "./" or "../".
2008-06-24 08:37:50 +02:00
Carsten Dominik ec5b77ccd2 Implement better handling of deadlines in iCalendar Export.
Deadlines in TODO entries are now used as DUE dates.
2008-06-23 09:08:08 +02:00
Carsten Dominik f27e859d05 Fixing typos in org.texi. 2008-06-23 05:45:48 +02:00
Carsten Dominik 21499409c3 Release 6.05b. 2008-06-20 00:21:15 +02:00