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.
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.
There are now two hooks:
`org-publish-before-export-hook'
`org-publish-after-export-hook'.
`org-publish-org-to' deal with killing buffers (instead of
`org-publish-file')
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.
(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>
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.
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.
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.
Also replace "legal" by "valid" in other places as well.
This was committed in Emacs CVS by Juanma Barranquero.
See <E1JXHdN-0002Ov-J5@cvs.savannah.gnu.org> in emacs-commit
mailing list.
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'.