Commit Graph

148 Commits

Author SHA1 Message Date
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