Commit Graph

255 Commits

Author SHA1 Message Date
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
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 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 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 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
Carsten Dominik f41be4b87d Implement including archives into agenda.
trees that are marked with the ARCHIVE tag and even archive files
can now temporarily be included into an agenda view.

Press `v' in the agenda to get trees with ARCHIVE tags.
Press `C-u v' to get archive files included.
2008-06-20 00:20:12 +02:00