Commit Graph

226 Commits

Author SHA1 Message Date
Carsten Dominik e7e5e25100 Fix bug with algebraic evaluation in tables.
There was a problem that complex fields need a pair of parenthesis
around them.  For example, if one field is "a a" and another field
is "a+b", multiplication of the two gave "a^3+b" instead of "a^3+a^2 b".
Now variable replacement puts extra parenthesis around values.
2008-04-13 21:28:26 +02:00
Carsten Dominik ca52d56da5 Include and acknowledge contributions from Thomas Baumann.
Thomas is now the official author of org-mhe.el, he wrote most of it
and we finally have the FSF papers.

org-bbdb.el not includes `org-bbdb-anniversaries', to get anniversaries
in the BBDB database into the Org agenda.
2008-04-13 21:04:21 +02:00
Carsten Dominik 178ebd83f6 Improved the treatment of internal links during export.
So far only internal links that lead to a dedicated target where
converted correctly during HTML export.  Now, also heuristic
links create a working jump in a file.
2008-04-13 19:26:31 +02:00
Carsten Dominik 25198ae29c Rename attic to archive. 2008-04-10 08:45:30 +02:00
Carsten Dominik d2d495df4f Apply patches by James TD Smith. 2008-04-10 08:27:56 +02:00
Carsten Dominik 84432821a5 Merge branch 'split-out-org-faces.el'
Conflicts:

	ChangeLog
2008-04-09 15:45:00 +02:00
Carsten Dominik 3721171a53 Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode 2008-04-09 15:42:54 +02:00
Carsten Dominik 1b58b6ba9f Split out org-faces, org-archive.el, org-colview.el from org.el. 2008-04-09 15:42:36 +02:00
Carsten Dominik 7a51a7e5f0 Completion for INFOJS options, and documentation. Add new faces. 2008-04-09 13:49:51 +02:00
Bastien Guerry ef5c3a2a66 org-mew.el: fixed the docstring of `org-mew-open'. 2008-04-09 10:12:03 +02:00
Carsten Dominik 59bc014d99 Special faces for date lines in the agenda buffer, and for weekends.
Dates that are weekend dates (Saturday or Sunday by default) now
get a special face.
2008-04-08 16:14:14 +02:00
Carsten Dominik 15534acef0 Implemented new archiving mechanism: The Attic Sibling.
Archiving to the attic sibling means to move the entry to
become a child of a sibling with heading "Attic", that is also
marked with the ARCHIVE tag.
2008-04-08 12:29:28 +02:00
Carsten Dominik 009c408cfc Moved org-mew.el into the core. 2008-04-07 17:51:48 +02:00
Carsten Dominik 295e5a4c2c Moved the command org-iswitchb into the core.
The file CONTRIB/lisp/org-iswitchb.el has been removed.
2008-04-07 17:32:52 +02:00
Carsten Dominik ac57484d94 Improved compilation behavior of org-irc.el.
There is no longer a top-level (require 'erc), but the require
now happens when it is needed.
2008-04-07 09:12:42 +02:00
Carsten Dominik bd80cd71d2 Much better integration of org-info.js. 2008-04-07 08:32:00 +02:00
Carsten Dominik b9293a6766 Make the agenda clockreport configurable.
We now have an option that allows to specify properties for the
report table.  Most interesting is probably to set :maxlevel.
2008-04-06 17:53:34 +02:00
Carsten Dominik 3ab4658e17 Implemented showing a clock report in the agenda.
This is a new display mode in the agenda view.  It appends a clock
table to the daily/weekly agenda view that covers clocked time
for the time span shown in the agenda, and also limited to the
files that were used to create the current view.
2008-04-06 17:25:47 +02:00
Carsten Dominik f87667c730 Better default for COLUMNS format in agenda.
The default is now taken from the entry at point or the first
entry in the agenda, an can originate from a property, from
a #+COLUMNS line, or from the variable `org-columns-default-format'.
2008-04-04 12:25:59 +02:00
Carsten Dominik de99ecb8bb Created org-clock.el as split-off from org.el. 2008-04-03 17:58:13 +02:00
Carsten Dominik 617dc871aa Cleaning up the code.
This is an ongoing program, more to come.
2008-04-03 15:27:33 +02:00
Carsten Dominik dc0fe33f67 Merged BibTeX code from org.el and org-bibtex.el.
org-bibtex.el is now a core module.
2008-04-03 13:23:12 +02:00
Carsten Dominik 2d899ae97f Implement org-info.js support. And bug fixes.
Now you can set this stuff directly from the org-mode file.
Documentation is still missing, this is a work-in-progress
commit and still needs check with Sebastian's script.

Bug fix with note taking when auto-repeating a task:
There was a problem if the state change already triggered the
recording of a time, then the request for a *note* in
`org-log-repeat' was ignored.  Reported by Bernt Hansen.
2008-04-03 10:10:33 +02:00
Carsten Dominik 503ce14912 Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode
Conflicts:

	ChangeLog
2008-04-01 09:24:46 +02:00
Carsten Dominik 1aec2e86a5 Enhancement for the clocktable.
The clocktable can now more easily select the correct time range
that should be considered when summing times.  S-right and S-left
in the "#+BEGIN: clocktable" line allow to shift the time block around.

Also some code-cleanup.
2008-04-01 08:59:52 +02:00
Bastien Guerry 363630a471 Bug fixes for org-publish.el.
`org-publish-get-base-files-1': get the proper list of files when
recursing thru a directory.

`org-publish-get-base-files: use the :exclude property to skip both
files and directories.  This might be refined when the semantic of
publishing options gets simpler, but do this for now.

`org-publish-project': removed third arg of defalias to avoid
compatibility issue for Emacs 22.1.
2008-03-31 13:11:17 +02:00
Carsten Dominik a0be0664e2 Preparing a new release setup.
This required changing the Makefile.
I also added a new program set-version.pl that can be used
to synchronize the version number in all core files of the
distribution, along with the web files.
2008-03-31 12:59:00 +02:00
Carsten Dominik 5515c6e245 Small bug fixes. 2008-03-30 20:33:07 +02:00
Carsten Dominik 9a44493492 Fixed bug related to repeating time stamps.
There was a problem that due dates in the past would not be advanced
property (reported by Wanrong Lin)
2008-03-28 19:52:42 +01:00
Carsten Dominik 2b3fe71634 New function to take a note, just like state changes do, but now on demand.
This function is on `C-c C-z' in an org-mode buffer, and
also on `z' in the agenda.

Also some other small fixes.
2008-03-28 15:42:31 +01:00
Carsten Dominik fe939ecb95 Split out a number of files from org.el, and reorganize the
structure of the git repository, using new subdirectories
for Lisp and Documentation files.
2008-03-28 09:57:14 +01:00
Carsten Dominik f2ab617d2a Reserve 10 chars for weekday name in agenda.
This to accommodate German locale.
2008-03-21 15:36:56 +01:00
Carsten Dominik 37b3e9cae2 Selective tag inheritance.
Tags can now be selected for inheritance by using a list or a regular
expression.

Also for property inheritance, we now allow a regular
expression (list selection existed before).

The property API can now retrieve the value of a property
with inheritance based on the value of
`org-use-property-inheritance'.  Earlier this value was ignored
when querying an entry.  It still is ignored by default, but by
passing `selective' as the INHERIT flag, it can now be used.
2008-03-21 10:34:43 +01:00
Carsten Dominik 99b9b746d8 Interpret relative file names in remember templates.
Relative file names will now be interpreted relative to the directory
given by the variable `org-directory'.
2008-03-20 13:36:22 +01:00
Carsten Dominik 1ef8e3ea1d Clean up compiler messages. 2008-03-20 10:49:22 +01:00
Carsten Dominik 4916600ca6 Reduce the cluttering in the agenda display due to ISO weeks. 2008-03-20 10:35:28 +01:00
Carsten Dominik e2eba8640f Bug fixes for iso weeks. 2008-03-20 10:06:52 +01:00
Carsten Dominik b114603957 Merge branch 'implement-iso-week'
Conflicts:

	ChangeLog
	org.el
2008-03-20 08:45:29 +01:00
Carsten Dominik 16e15ecd82 ISO weeks date support, and fast agenda jumping.
ISO week dates can now be entered at the date prompt.
The ISO week of each day is displayed in the agenda.
New jumping commands like `43 w' quickly switch the agenda
to a certain week.
2008-03-20 08:42:41 +01:00
Bastien Guerry 07ced08308 Bug fix: don't trow an error while trying to complete keywords.
When using `org-complete' on keywords like #+TBLFM, a second call to
`org-complete' would throw an error with no helpful message.  It now
fails silently.

I also moved #+DATE to the list of options, since the user might expect
that using `org-complete' twice on it will insert the default date.

Other changes: removed (current-time) from (format-time-string ...)
sexp since it is not necessary.  As far as I checked, there is no
compatibility issue with this.
2008-03-19 01:35:04 +00:00
Carsten Dominik ef7472779f Bug fix with starting clock at end of buffer.
There was a problem that in this case the first CLOCK time stamp
is entered in the headline.  Reported by Sebastian Rose.
2008-03-18 15:15:21 +01:00
Carsten Dominik 9b661ddca2 Use `org-scheduled-past-days'.
This variable was defined but not used, now it is.
2008-03-17 14:30:26 +01:00
Carsten Dominik 430adefb49 Merge branch 'split-out-linking-code'
Conflicts:

	ChangeLog
2008-03-15 09:18:47 +01:00
Carsten Dominik 43eee81b3a Moved most of the linking code to separate files.
This files are stil all loaded automatically, but the user can turn
individual files off.  Also, this makes maintaining the link
stuff easier, because everything related to a specific link type
is in one place.
2008-03-15 08:33:31 +01:00
Bastien Guerry 103af6eddd Don't require dired-aux in org-publish.el.
Requiring dired-aux broke compatibility with XEmacs.
Also cleaned the code in `org-publish-get-base-files'
to truly check files recursively.
2008-03-14 12:39:24 +00:00
Bastien Guerry 4adfc68e86 Applied Glenn Morris patches.
* org-publish.el (declare-function): Add compatibility stub.
(org-publish-delete-dups): Declare as function.

* org-mac-message.el Fix commentary.

* org-irc.el (top-level): CL not required when compiling.
(org-irc-visit-erc): Replace runtime CL functions.

See Glenn's messages on emacs-diffs:
<E1JZzkn-0002a9-BB@cvs.savannah.gnu.org>
<E1JZzlJ-0002bN-Ir@cvs.savannah.gnu.org>
<E1JZzmU-0002cw-1x@cvs.savannah.gnu.org>
2008-03-14 10:41:54 +00:00
Carsten Dominik 0d3033e7e2 Merge branch 'improve-search-view'
Conflicts:

	ChangeLog
	ORGWEBPAGE/Changes.org
2008-03-14 09:47:49 +01:00
Carsten Dominik 5c339a3c14 Implemented a module loading system.
This system works by configuring a variable that contains a list of
all available modules.  These will automatically be loaded when the
first buffer is turned into org-mode, or when a global command
is run that needs org-mode code available (such are
org-store-link.
2008-03-14 09:45:26 +01:00
Carsten Dominik 469caa5ff6 Implement TODO-only search and bettwe ord boundaries. 2008-03-14 08:10:39 +01:00
Phil Jackson 045a60fb3e More resilience within port handling. 2008-03-13 14:47:10 +00:00
Carsten Dominik 7eec8794f6 Fix minor issues after release 5.23.
In particular, this implements default dates for deadlines and
scheduled items, taken from previously existing deadline/scheduled
timestamps in the same entry.

Also we fix two minor bugs.
2008-03-13 12:00:08 +01:00
Carsten Dominik 3a0fe20e92 Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode
Conflicts:

	ChangeLog
2008-03-13 11:21:51 +01:00
Carsten Dominik 189f5a6ded Merge branch 'structure-for-sebastian' 2008-03-13 11:19:37 +01:00
Bastien Guerry e14cb99936 Bugfixes: really kill org and export buffers.
Also add a new variable `org-publish-initial-buffer' to prevent the
initial buffer from being deleted when it is exporter.
2008-03-11 11:48:17 +00:00
Bastien Guerry 1e1cc09504 Several bugfixes in org-publish.el
(org-publish-expand-components): Remove null projects from the list of
components.

(org-publish-attachment): Bugfix: handle the mandatory argument pub-dir.
Removed unused retrieval of the :publishing-directory property.

(org-publish-file): Bugfix: when using a relative directory as the
publishing directory, convert it to a directory filename.

(org-publish-project): New alias for `org-publish'
2008-03-10 21:46:41 +00:00
Phil Jackson dcb2264321 org-irc port number fix 2008-03-10 20:56:54 +00:00
Carsten Dominik dd68f4a445 Fixed bug with nil project. 2008-03-10 21:30:33 +01:00
Carsten Dominik d283edee48 Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode 2008-03-10 19:32:58 +01:00
Carsten Dominik 292baddb44 Last fixes before release. 2008-03-10 19:32:16 +01:00
Bastien Guerry 4d79c0d507 Offer to re-initialize the list of projects/files in org-publish-file.
To save time, we don't re-initialize the list of projects/files each
time a file is published.  But if people want to publish a file that
they just created, this file is not part of any project until the
list of project/files has been re-initialized.

If the file is not part of a project and should be, then the user
can tell so.
2008-03-10 18:04:07 +00:00
Carsten Dominik 8d6dbe857b Better div structure in HTML output. 2008-03-10 16:39:58 +01:00
Bastien Guerry 9df93e8698 Bugfix in org-publish.el.
Throw an error when `org-publish-current-file' is called on a file that
is not part of any project.  Publishing a single file that is not part
of a project is already done by simply exporting it, so the user should
be warned about this.
2008-03-10 11:39:01 +00:00
Bastien Guerry 06fb98f1e2 Updated the documentation for the template pre-selection.
Also update the Changes.org file.
Cleaned the code in `org-select-remember-template'.
2008-03-10 10:13:39 +00:00
Bastien Guerry 559c25e34c Update the ChangeLog and Changes.org. 2008-03-10 09:47:02 +00:00
Bastien Guerry 7da7810202 Added the extra :content parameter for dblocks. 2008-03-10 09:26:39 +00:00
Carsten Dominik cb8c0e81a9 Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode
Conflicts:

	ChangeLog
2008-03-09 15:31:47 +01:00
Carsten Dominik cdb872efb9 Implement filtered iCalendar export.
This patch implements a way to limit the iCalendar export to
the entries listed in any agenda view.  It is implemented as a way to
export an agenda view (using C-x C-w) in the agenda, but internally
it really is a limited iCalendar export.
2008-03-09 12:44:47 +01:00
Bastien Guerry 135d2ba17a Applied Glenn Morris patch.
(list-diary-entries-hook): Declare for compiler.
(org-get-entries-from-diary): Require diary-lib.

Ref in the emacs-diffs mailing list:
<E1JXpsE-0008A3-19@cvs.savannah.gnu.org>
2008-03-08 09:31:47 +00:00
Bastien Guerry 269a43cef6 Applied Glenn Morris patch.
(org-agenda-sunrise-sunset): Require solar.
(calendar-longitude, calendar-latitude, calendar-location-name):
Declare for compiler.

Ref in the emacs-diffs mailing list:
<E1JXU4a-0005Fu-7f@cvs.savannah.gnu.org>
2008-03-07 12:58:33 +00:00
Carsten Dominik 34dfe919a5 Merge branch 'add-repeater-moves'
Conflicts:

	ChangeLog
	org.el
2008-03-07 13:10:02 +01:00
Carsten Dominik 3047e9faee Implemented new repeater mechanisms.
There mechanisms were asked for by Wanrong Lin and Reiner Stengele and
have the goal to make sure the new deadline/scheduled/time is in
the future, and may be chosen relative to the current date.
2008-03-07 13:07:13 +01:00
Bastien Guerry 0a8e2a105d Minor typo in ChangeLog. 2008-03-07 12:00:52 +00:00
Bastien Guerry d9e7b39a7f Kill buffers after publication.
Whether a buffer is created or not depends on publishing functions such
as `org-export-as-html' and the like.  But not all such functions create
a new buffer (e.g. `org-publish-attachment'), so we need to delete the
buffer if it differs from the last buffer we we're in before export.
2008-03-07 11:57:14 +00:00
Carsten Dominik e89aa69bc6 Reverted the change that killed html buffer after export.
The side effects for org-export-to-html-and-open, and for the
publishing commands need to be studied first.
2008-03-07 12:09:09 +01:00
Bastien Guerry 3ac45fa5f2 Added a :link parameter to org-dblock-write:clocktable. 2008-03-06 23:48:14 +00:00
Bastien Guerry dcba1a960c Bugfix in `org-back-to-heading'.
prevent `org-back-to-heading' from throwing an error when getting tags
before headlines.  This error was reported by Joel J. Adamson.
2008-03-06 20:22:38 +00:00
Carsten Dominik fb8db4d36c Merge branch 'improve-customize-type-for-agenda-custom-command'
Conflicts:

	ChangeLog
2008-03-06 20:13:38 +01:00
Carsten Dominik 8017cc33d2 Merge branch 'fix-time-stamp-editing'
Conflicts:

	ChangeLog
2008-03-06 20:12:43 +01:00
Carsten Dominik 1affe117d2 Fixed timestamp editing.
Timestamp editing did not work correctly.  The deadline warning days
could not be edited, and editing the end of a time range did
not respect the new granularity.  Seems to work now.
2008-03-06 20:10:54 +01:00
Bastien Guerry 0c4e992386 *** empty log message *** 2008-03-06 17:35:43 +00:00
Carsten Dominik b0af4ade44 Improve customize type of org-agenda-custom-commands.
The new extensive definition has examples for variable settings that
allow beginners to learn how to set such values.
2008-03-06 15:48:14 +01:00
Carsten Dominik f494bf736a Removed unnegecessary advice for htmlize.
I think the font problem has bee solved now, so we do not need
this anymore.
2008-03-05 23:56:57 +01:00
Bastien Guerry dfa6bdb2f7 New hook: `org-follow-link-hook'.
Also added "Component" as a tag for each item in a command serie.
2008-03-05 14:31:19 +00:00
Bastien Guerry b6cc5e606d Bugfixes.
Moved (eval-after-load "org" '(org-load-default-extensions))
after the definition of org-load-default-extensions.

Bugfix in `org-agenda-schedule': don't display marker type when `nil'.
2008-03-04 23:48:54 +00:00
Carsten Dominik ee8e5a3e0f Store the parameters of the last org-occur calls.
Lennart Borgman asked for this, to have more information about
item visibility when exporting to freemind.
2008-03-04 20:25:59 +01:00
Bastien Guerry 71a582cc52 *** empty log message *** 2008-03-04 01:11:23 +00:00
Bastien Guerry 497dfe1093 *** empty log message *** 2008-03-03 23:56:37 +00:00
Carsten Dominik e34824029d Changing timestamps granularly. 2008-03-03 14:15:19 +01:00
Carsten Dominik 84ac2ccab5 Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode
Conflicts:

	ChangeLog
2008-03-03 11:57:44 +01:00
Carsten Dominik ea89f66796 Make C-c - and C-c * modify list and headline status. 2008-03-03 11:56:51 +01:00
Bastien Guerry 2222e5a249 Fix `org-load-default-extensions': don't throw an error. 2008-03-03 10:31:45 +00:00
Bastien Guerry 8ea076e2de Updated org-publish.el (now version 1.81)
Updated the ChangeLog and the manual accordingly.
2008-03-03 10:01:36 +00:00
Bastien Guerry bf09955fec Bugfix for `org-archive-subtree'.
The bug was this: when inserting an entry at the end of an archive
buffer, the entry would get folded within the previous entry fold.
This prevented the entry to get the proper DONE keyword when required.

This change also kill the archive buffer after archiving.
2008-03-01 13:13:45 +00:00
Bastien Guerry f247d16417 Added support for :maxlevel and :skip-empty-rows parameters to columnview dblock. 2008-03-01 09:58:17 +00:00
Bastien Guerry 1c623a92a1 Fixing missing variables and a small bug in org-irc.el. 2008-02-29 22:08:17 +00:00
Carsten Dominik 323747e9f8 Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode 2008-02-29 22:31:01 +01:00
Carsten Dominik 10c45e76b5 Bug fix. 2008-02-29 22:30:43 +01:00
Bastien Guerry 7d899b888a Kill buffers after HTML and LaTeX exports. 2008-02-29 21:30:04 +00:00
Bastien Guerry 28c27dbf56 Kill buffers after HTML and LaTeX export. 2008-02-29 21:20:20 +00:00
Carsten Dominik 13d84d1bdb Bug fix, to remove nil face in face list.
Patch from Wanrong Lin.
2008-02-29 21:09:11 +01:00