org-mode.git
22 months agoorg-element: Fix macro parsing with protected commas 7.9.3e
Nicolas Goaziou [Thu, 31 Jan 2013 21:15:15 +0000]
org-element: Fix macro parsing with protected commas

* lisp/org-element.el (org-element-macro-parser): Fix error when last
  argument ends with a protected comma.
* testing/lisp/test-org-element.el (test-org-element/macro-parser):
  Add tests.

22 months agoorg-clock.el (org-clock-sum): Fix indentation
Bastien Guerry [Thu, 31 Jan 2013 13:18:14 +0000]
org-clock.el (org-clock-sum): Fix indentation

22 months agoorg-clock.el (org-clock-sum): Protect with `org-unmodified'
Francesco Pizzolante [Wed, 30 Jan 2013 16:21:42 +0000]
org-clock.el (org-clock-sum): Protect with `org-unmodified'

* org-clock.el (org-clock-sum): Protect with `org-unmodified'.

TINYCHANGE

22 months agoorg-html.el: Enhance docstrings
Bastien Guerry [Thu, 31 Jan 2013 10:30:43 +0000]
org-html.el: Enhance docstrings

* org-html.el (org-export-html-preamble-format)
(org-export-html-postamble-format): Mention that
org-export-html-preamble/postamble need to be `t' in order for
these variables to have any effect.

22 months agoorg-html.el (org-html-handle-links): Fix bug in setting the attribute for link with...
Bastien Guerry [Thu, 31 Jan 2013 09:25:03 +0000]
org-html.el (org-html-handle-links): Fix bug in setting the attribute for link with images

* org-html.el (org-html-handle-links): When the link
description is an image and the attribute is "width",
pass the attribute to the <img ...> tag.

Thanks to John Hendy for reporting this.

22 months agoorg-macs.el (org-unmodified): Inhibit modification hooks
Francesco Pizzolante [Wed, 30 Jan 2013 15:09:22 +0000]
org-macs.el (org-unmodified): Inhibit modification hooks

* org-macs.el (org-unmodified): Inhibit modification hooks.

TINYCHANGE

22 months agoorg.texi (References): Clarify an example
Bastien Guerry [Wed, 30 Jan 2013 16:46:35 +0000]
org.texi (References): Clarify an example

* org.texi (References): Clarify an example.

Thanks to Xue Fuqiao, Eric S Fraga and H. Dieter Wilhelm
for sorting this out.

22 months agoorg-bibtex.el (org-bibtex-search): Don't throw an error when `org-bibtex-prefix'...
racin [Wed, 30 Jan 2013 10:42:17 +0000]
org-bibtex.el (org-bibtex-search): Don't throw an error when `org-bibtex-prefix' is nil

* org-bibtex.el (org-bibtex-search): Don't throw an error when
`org-bibtex-prefix' is nil.

TINYCHANGE

22 months agoorg.el: Always honor `org-startup-indented', even when `org-inhibit-startup' is non-nil
Bastien Guerry [Wed, 30 Jan 2013 10:18:24 +0000]
org.el: Always honor `org-startup-indented', even when `org-inhibit-startup' is non-nil

* org.el (org-mode): Always honor `org-startup-indented', even
when `org-inhibit-startup' is non-nil.

* org-indent.el (org-indent-mode): Don't check
`org-inhibit-startup'.

Thanks to Carsten for suggesting this.

22 months agoorg-e-odt.el (org-e-odt--export-wrap): Use `condition-case'
Bastien Guerry [Wed, 30 Jan 2013 09:46:43 +0000]
org-e-odt.el (org-e-odt--export-wrap): Use `condition-case'

* org-e-odt.el (org-e-odt--export-wrap): Use `condition-case'.

22 months agoorg.el (org-fontify-meta-lines-and-blocks-1): Don't try to add text properties outsid...
Bastien Guerry [Sun, 27 Jan 2013 08:21:35 +0000]
org.el (org-fontify-meta-lines-and-blocks-1): Don't try to add text properties outside of the buffer

* org.el (org-fontify-meta-lines-and-blocks-1): Don't try to
add text properties outside of the buffer.

Thanks to Leo Liu for reporting this.

22 months agoorg.el (org-agenda-inhibit-startup): Rename from `org-agenda-inhibit-startup-visibili...
Bastien Guerry [Sat, 26 Jan 2013 14:10:43 +0000]
org.el (org-agenda-inhibit-startup): Rename from `org-agenda-inhibit-startup-visibility-cycling'

* org.el (org-agenda-inhibit-startup): Rename from
`org-agenda-inhibit-startup-visibility-cycling'.
(org-agenda-prepare-buffers): Bind `org-inhibit-startup' to
`org-agenda-inhibit-startup'.

22 months agoorg.el (org-mode): Don't initialize `org-beamer-mode' when `org-inhibit-startup'...
Bastien Guerry [Sat, 26 Jan 2013 14:03:21 +0000]
org.el (org-mode): Don't initialize `org-beamer-mode' when `org-inhibit-startup' is non-nil

* org.el (org-mode): Don't initialize `org-beamer-mode' when
`org-inhibit-startup' is non-nil.

22 months agoorg-footnote.el: Fix bug when using `electric-indent-mode'
Bastien Guerry [Sat, 26 Jan 2013 12:40:18 +0000]
org-footnote.el: Fix bug when using `electric-indent-mode'

* org-footnote.el (org-footnote-create-definition): Prevent
`electric-indent-mode' from inserting the definition at the
wrong place.

Thanks to Xue Fuqiao for reporting this bug.

22 months agoorg-agenda.el: Delete `org-agenda-no-heading-message'
Bastien Guerry [Sat, 26 Jan 2013 12:29:44 +0000]
org-agenda.el: Delete `org-agenda-no-heading-message'

* org-agenda.el (org-agenda-no-heading-message): Delete.
(org-agenda-get-timestamps, org-agenda-get-progress)
(org-agenda-get-deadlines, org-agenda-get-scheduled)
(org-agenda-get-blocks): Don't use
`org-agenda-no-heading-message', skip the entry.

22 months agoorg.el (org-agenda-inhibit-startup-visibility-cycling): New option
Bastien Guerry [Sat, 26 Jan 2013 09:57:47 +0000]
org.el (org-agenda-inhibit-startup-visibility-cycling): New option

* org.el (org-agenda-inhibit-startup-visibility-cycling): New
option.
(org-agenda-prepare-buffers): Use it to speed up the agenda
generation.

This change will boost agenda creation *a lot*, especially for
people using many agenda files.  See the docstring of the new
option for details.

22 months agoorg-agenda.el (org-agenda-skip): Fix bug by correctly skipping commented scheduled...
Bastien Guerry [Sat, 26 Jan 2013 09:55:35 +0000]
org-agenda.el (org-agenda-skip): Fix bug by correctly skipping commented scheduled/deadline lines

* org-agenda.el (org-agenda-skip): Fix bug by correctly
skipping commented scheduled/deadline lines.

This fixes a bug introduced in
http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=211b13

22 months agoFix compiler warning.
Bastien Guerry [Thu, 24 Jan 2013 15:31:08 +0000]
Fix compiler warning.

22 months agoorg.texi (Installation): Enhance instructions again
Bastien Guerry [Thu, 24 Jan 2013 11:27:55 +0000]
org.texi (Installation): Enhance instructions again

* org.texi (Installation): Enhance instructions again.

22 months agoorg.texi (Org-Plot): Update link
Bastien Guerry [Wed, 23 Jan 2013 13:58:29 +0000]
org.texi (Org-Plot): Update link

* org.texi (Org-Plot): Update link.

Thanks to Xue Fuqiao for reporting this.

22 months agoorg-clock.el (org-clock-in): Fix bug when fetching the effort value
Bastien Guerry [Wed, 23 Jan 2013 13:48:52 +0000]
org-clock.el (org-clock-in): Fix bug when fetching the effort value

* org-clock.el (org-clock-in): Fix bug when fetching the effort
value.

Thanks to Vasil S. Diadov for reporting this bug and proposing a patch.

22 months agoob-python.el: Fix compatibility bug.
Bastien Guerry [Wed, 23 Jan 2013 12:58:20 +0000]
ob-python.el: Fix compatibility bug.

* ob-python.el (org-babel-python-command): Fix docstring.
(org-babel-python-initiate-session-by-key): Fix bug: `run-python'
from Emacs >24.1 requires a python command as an argument.

Thanks to Myles English for raising this issue.

22 months agoorg-element.el (org-element-at-point): Fix typo in docstring
Bastien Guerry [Wed, 23 Jan 2013 11:58:09 +0000]
org-element.el (org-element-at-point): Fix typo in docstring

* org-element.el (org-element-at-point): Fix typo in docstring.

22 months agoorg-agenda.el (org-agenda-get-deadlines): Fix bug: use `org-agenda-show-inherited...
Bastien Guerry [Tue, 22 Jan 2013 21:27:56 +0000]
org-agenda.el (org-agenda-get-deadlines): Fix bug: use `org-agenda-show-inherited-tags'

* org-agenda.el (org-agenda-get-deadlines): Fix bug: use
`org-agenda-show-inherited-tags'.

Thanks to Kiwon Um for reporting this.

22 months agoorg-agenda.el (org-agenda-skip): Correctly handle commented out scheduled/deadline...
Bastien Guerry [Tue, 22 Jan 2013 15:39:23 +0000]
org-agenda.el (org-agenda-skip): Correctly handle commented out scheduled/deadline lines

* org-agenda.el (org-agenda-skip): Correctly handle commented
out scheduled/deadline lines.  Refactor.

Thanks to Rainer Stengele for reporting this and to Nick Dokos for
investigating further.  This fix will not slow down the agenda as checking
for a text property seems equally fast (and perhaps even slightly faster)
than checking the character after.

22 months agoorg.texi (Checkboxes, Radio lists): Fix typos
Bastien Guerry [Tue, 22 Jan 2013 15:00:56 +0000]
org.texi (Checkboxes, Radio lists): Fix typos

* org.texi (Checkboxes, Radio lists): Fix typos.

22 months agoSmall typo correction
Samuel Loury [Mon, 14 Jan 2013 14:25:16 +0000]
Small typo correction

TINYCHANGE

22 months agoorg-agenda.el (org-agenda-quit): Delete indirect buffer's window only when it exists
Muchenxuan Tong [Tue, 22 Jan 2013 13:14:08 +0000]
org-agenda.el (org-agenda-quit): Delete indirect buffer's window only when it exists

* org-agenda.el (org-agenda-quit): Delete indirect buffer's window
only when it exists.

When indirect buffer's window doesn't exist, the original logic will
delete the current window.

TINYCHANGE

22 months agoorg-install.el: Do not warn users.
Bastien Guerry [Tue, 22 Jan 2013 13:08:39 +0000]
org-install.el: Do not warn users.

* org-install.el: Do not warn users.

22 months agoorg.el (org-adaptive-fill-function): Fix various bugs when filling in message-mode
Bastien Guerry [Tue, 22 Jan 2013 12:55:57 +0000]
org.el (org-adaptive-fill-function): Fix various bugs when filling in message-mode

* org.el (org-adaptive-fill-function): In message-mode, don't
lines in the message header, nor table lines in the body.
Correctly fill lines starting with `org-outline-regexp' in the
body.

22 months agoorg-element: Improve some docstrings
Nicolas Goaziou [Sun, 20 Jan 2013 08:43:58 +0000]
org-element: Improve some docstrings

* lisp/org-element.el (org-element-parse-buffer, org-element-map,
  org-element-at-point, org-element-context): Be more verbose in
  docstrings.  Also fix typos.

22 months agoorg-list: Fix bug when repairing checkbox with an ORDERED property
Nicolas Goaziou [Sat, 19 Jan 2013 14:37:16 +0000]
org-list: Fix bug when repairing checkbox with an ORDERED property

* lisp/org-list.el (org-list-struct-fix-box): When a checkbox has to
  be resetted because of a non-nil ORDERED property value, make sure
  it had a checkbox already.

23 months agoorg-agenda.el (org-agenda-open-link): Fix bug with opening all links
Bastien Guerry [Wed, 16 Jan 2013 17:36:29 +0000]
org-agenda.el (org-agenda-open-link): Fix bug with opening all links

* org-agenda.el (org-agenda-open-link): Fix bug with opening
all links.

Thanks to Ingo Lohmar for pointing this.

23 months agoorg-agenda.el (org-search-view): Fix checking `org-agenda-show-inherited-tags'
Tokuya Kameshima [Mon, 14 Jan 2013 17:04:31 +0000]
org-agenda.el (org-search-view): Fix checking `org-agenda-show-inherited-tags'

* org-agenda.el (org-search-view): Fix checking
`org-agenda-show-inherited-tags'.

TINYCHANGE

23 months agoDelete `org-condition-case-unless-debug' release_7.9.3d
Bastien Guerry [Sun, 13 Jan 2013 08:27:08 +0000]
Delete `org-condition-case-unless-debug'

* org-compat.el (org-condition-case-unless-debug): Delete.

* org-odt.el (org-odt-cleanup-xml-buffers): Use
`condition-case' instead of `org-condition-case-unless-debug',
which is now deleted.

23 months agoRevert "Backwards compatibility: don't defalias special forms"
Bastien Guerry [Sun, 13 Jan 2013 08:24:43 +0000]
Revert "Backwards compatibility: don't defalias special forms"

This reverts commit b63275350f524df5e33c2aa915de4415f312f409.

23 months agoRevert "Compatibility: Use org-define-obsolete-{function,variable}-alias"
Bastien Guerry [Sun, 13 Jan 2013 08:19:24 +0000]
Revert "Compatibility: Use org-define-obsolete-{function,variable}-alias"

This reverts commit 305f29776fba57cdd1566071e0e8a75270d095c6.

23 months ago* org-mobile.el (org-mobile-write-agenda-for-mobile): Fix bug release_7.9.3c
Bastien Guerry [Sat, 12 Jan 2013 14:43:53 +0000]
* org-mobile.el (org-mobile-write-agenda-for-mobile): Fix bug
when replacing the heading.

Thanks to Jeff Myer for reporting this.

23 months agoorg-depend.el (org-depend-trigger-todo): Fix bug
Bastien Guerry [Sat, 12 Jan 2013 14:07:40 +0000]
org-depend.el (org-depend-trigger-todo): Fix bug

* org-depend.el (org-depend-trigger-todo): Fix bug: use
`org-refresh-properties'.  Also fix some compiler warnings.

Thanks to Karl Voit for reporting this.

23 months agoDocstring fixes. release_7.9.3b
Bastien Guerry [Sat, 12 Jan 2013 08:20:17 +0000]
Docstring fixes.

* org-capture.el (org-capture-templates-contexts):
* org-agenda.el (org-agenda-custom-commands-contexts):
Docstring fix.

23 months agoRestore previous behavior for inherited tags, now just more flexible
Bastien Guerry [Fri, 11 Jan 2013 16:15:17 +0000]
Restore previous behavior for inherited tags, now just more flexible

* org.el (org-get-tags-at): Remove duplicate inherited tags.

* org-agenda.el (org-agenda-show-inherited-tags): Allow to be
set to 'always or to a list of agenda types.
(org-agenda-finalize): Rework conditions under which inherited
tags should be made available even when not displayed.
(org-search-view, org-agenda-get-todos)
(org-agenda-get-timestamps, org-agenda-get-sexps)
(org-agenda-get-progress, org-agenda-get-scheduled)
(org-agenda-get-blocks): Use new possible values of
`org-agenda-show-inherited-tags'.

Thanks to Karl Voit and Tassilo Horn who first reported this.

23 months agoorg.texi (Installation): Simplify
Bastien Guerry [Fri, 11 Jan 2013 12:32:34 +0000]
org.texi (Installation): Simplify

* org.texi (Installation): Simplify.

23 months agoorg.el (org-open-at-point): Fix opening all links at point
Bastien Guerry [Fri, 11 Jan 2013 11:11:09 +0000]
org.el (org-open-at-point): Fix opening all links at point

* org.el (org-open-at-point): Fix opening all links at point.

Thanks to Ingo Lohmar for reporting this.

23 months agoorg-agenda.el (org-get-entries-from-diary): Turn off `diary-file-name-prefix'
Bastien Guerry [Thu, 10 Jan 2013 11:15:24 +0000]
org-agenda.el (org-get-entries-from-diary): Turn off `diary-file-name-prefix'

* org-agenda.el (org-get-entries-from-diary): Turn off
`diary-file-name-prefix' instead of
`diary-file-name-prefix-function', the former is checked
before the latter.

Thanks to Andreas Merziger for reporting this as Emacs bug#13396.

23 months agoob-eval.el (org-babel-shell-command-on-region): Use `executable-find' for local ...
Michael Albinus [Wed, 9 Jan 2013 12:48:30 +0000]
ob-eval.el (org-babel-shell-command-on-region): Use `executable-find' for local `shell-file-name'

* ob-eval.el (org-babel-shell-command-on-region): Use
`executable-find' for local `shell-file-name'.

23 months agoorg.texi: Update documentation on internal link handling
François Allisson [Wed, 9 Jan 2013 11:32:09 +0000]
org.texi: Update documentation on internal link handling

* org.texi (Handling links): Update the mention to the
obsolete variable `org-link-to-org-use-id' with a mention to
the newer variable `org-id-link-to-org-use-id'.  Mention the
need to load the org-id library.

TINYCHANGE

23 months agoorg.el (org-edit-special): Check for table.el before checking for Org tables
Bastien Guerry [Tue, 8 Jan 2013 22:44:54 +0000]
org.el (org-edit-special): Check for table.el before checking for Org tables

* org.el (org-edit-special): Check for table.el before
checking for Org tables.

Thanks to Jacobo de Vera for reporting this.

23 months agodoc/org.texi: Update copyright year.
Bastien Guerry [Tue, 8 Jan 2013 21:33:33 +0000]
doc/org.texi: Update copyright year.

23 months agoorg-agenda.el (org-agenda-finalize): Inhibit readonly for the whole function release_7.9.3a
Bastien Guerry [Tue, 8 Jan 2013 17:39:45 +0000]
org-agenda.el (org-agenda-finalize): Inhibit readonly for the whole function

* org-agenda.el (org-agenda-finalize): Inhibit readonly for
the whole function.

Thanks to J. David Boyd for hitting this bug and reporting it.

23 months agoorg-src.el (org-edit-src-find-region-and-lang): Try to find table.el tables first
Bastien Guerry [Tue, 8 Jan 2013 17:26:06 +0000]
org-src.el (org-edit-src-find-region-and-lang): Try to find table.el tables first

* org-src.el (org-edit-src-find-region-and-lang): Try to find
table.el tables first.

Thanks to Jacobo de Vera for insisting on this.

23 months agoorg-jsinfo.el (org-infojs-template): Fix copyright years
Bastien Guerry [Tue, 8 Jan 2013 15:34:31 +0000]
org-jsinfo.el (org-infojs-template): Fix copyright years

* org-jsinfo.el (org-infojs-template): Fix copyright years.

23 months agoorg.texi: Document `org-mark-element' and `org-mark-subtree'
Bastien Guerry [Tue, 8 Jan 2013 15:19:31 +0000]
org.texi: Document `org-mark-element' and `org-mark-subtree'

* org.texi (Structure editing): Document `org-mark-element'
and `org-mark-subtree'.
(Tag inheritance): Document `org-agenda-use-tag-inheritance'.

Thanks to Nathaniel Cunningham for requesting this.

23 months agoorg-src.el (org-edit-src-code): Fix bug when trying to edit a table.el table
Bastien Guerry [Tue, 8 Jan 2013 14:57:10 +0000]
org-src.el (org-edit-src-code): Fix bug when trying to edit a table.el table

* org-src.el (org-edit-src-code): Fix bug when trying to edit
a table.el table.

Thanks to Jacobo de Vera for reporting this regression.

23 months agoVarious small fixes
Bastien Guerry [Tue, 8 Jan 2013 14:26:04 +0000]
Various small fixes

23 months agoUpdate Copyright lines to match Emacs format.
Bastien Guerry [Tue, 8 Jan 2013 14:04:32 +0000]
Update Copyright lines to match Emacs format.

23 months agoorg-agenda (org-agenda-finalize): Don't remove tag alignment
Bastien Guerry [Tue, 8 Jan 2013 13:29:29 +0000]
org-agenda (org-agenda-finalize): Don't remove tag alignment

* org-agenda.el (org-agenda-finalize): Don't remove tag
alignment depending on `org-prefix-has-tag', this should
depend on `org-agenda-remove-tags'.

Thanks to Rainer Stengele for reporting this.

23 months agodoc/orgguide.texi: Update menu
Bastien Guerry [Tue, 8 Jan 2013 11:09:39 +0000]
doc/orgguide.texi: Update menu

23 months agoetc/ORG-NEWS: Update release_7.9.3
Bastien Guerry [Tue, 8 Jan 2013 10:46:29 +0000]
etc/ORG-NEWS: Update

23 months agoorg-agenda.el (org-agenda-finalize): Downcase tags when readding them after agenda...
Bastien Guerry [Tue, 8 Jan 2013 10:34:09 +0000]
org-agenda.el (org-agenda-finalize): Downcase tags when readding them after agenda generation

* org-agenda.el (org-agenda-finalize): Downcase tags when
readding them after agenda generation.

23 months agoIgnore `auto-fill-inhibit-regexp'
Nicolas Goaziou [Tue, 8 Jan 2013 09:34:40 +0000]
Ignore `auto-fill-inhibit-regexp'

* lisp/org.el (org-setup-filling): Ignore `auto-fill-inhibit-regexp'.
  The idea behind this is that `org-adaptive-fill-function' already
  determines which lines should be filled.

23 months agoorg.el (org-setup-filling): Set `auto-fill-inhibit-regexp' from `org-outline-regexp'
Bastien Guerry [Tue, 8 Jan 2013 07:04:24 +0000]
org.el (org-setup-filling): Set `auto-fill-inhibit-regexp' from `org-outline-regexp'

* org.el (org-setup-filling): Set `auto-fill-inhibit-regexp'
from `org-outline-regexp'.

Thanks to John Hendy for reporting a problem in this area.

23 months agoorg-icalendar.el (org-icalendar-ts-to-string): Fix bug in converting timezone
David Engster [Mon, 7 Jan 2013 22:59:30 +0000]
org-icalendar.el (org-icalendar-ts-to-string): Fix bug in converting timezone

org-icalendar.el (org-icalendar-ts-to-string): Fix bug in converting
timezone.

TINYCHANGE

23 months agoetc/ORG-NEWS: Add information about Org 7.9.3
Bastien Guerry [Mon, 7 Jan 2013 21:28:54 +0000]
etc/ORG-NEWS: Add information about Org 7.9.3

23 months agoorg-agenda.el (org-agenda-use-tag-inheritance): Fix custom definition
Bastien Guerry [Mon, 7 Jan 2013 21:02:33 +0000]
org-agenda.el (org-agenda-use-tag-inheritance): Fix custom definition

* org-agenda.el (org-agenda-use-tag-inheritance): Fix custom
definition.

23 months agoorg.texi (Pushing to MobileOrg): Fix footnote about the use of symbolic links in...
Bastien Guerry [Mon, 7 Jan 2013 17:21:29 +0000]
org.texi (Pushing to MobileOrg): Fix footnote about the use of symbolic links in `org-directory'

* org.texi (Pushing to MobileOrg): Fix footnote about the use
of symbolic links in `org-directory'.

23 months agoorg.el (org-entry-get): Speed up by let-binding some variables only if needed
Bastien Guerry [Mon, 7 Jan 2013 17:18:27 +0000]
org.el (org-entry-get): Speed up by let-binding some variables only if needed

* org.el (org-entry-get): Speed up by let-binding some
variables only if needed.  Also fix a bug: consider an empty
drawer as no drawer.

Thanks to William Léchelle for reporting this.

23 months agoorg-agenda.el: New option `org-agenda-use-tag-inheritance'
Bastien Guerry [Mon, 7 Jan 2013 15:12:52 +0000]
org-agenda.el: New option `org-agenda-use-tag-inheritance'

* org-agenda.el (org-search-view, org-agenda-get-todos)
(org-agenda-get-timestamps, org-agenda-get-sexps)
(org-agenda-get-progress, org-agenda-get-deadlines)
(org-agenda-get-scheduled, org-agenda-get-blocks)
(org-agenda-change-all-lines): Get local tags only.
(org-agenda-use-tag-inheritance): New option.
(org-agenda-finalize): When `org-agenda-use-tag-inheritance'
is non-nil, possibly reset tags in the agenda buffer.
(org-agenda-check-type): Enhance docstring.

See the docstring of the new option for details.

23 months agoorg.el (org-use-tag-inheritance): Fix typo in docstring
Bastien Guerry [Mon, 7 Jan 2013 12:47:59 +0000]
org.el (org-use-tag-inheritance): Fix typo in docstring

* org.el (org-use-tag-inheritance): Fix typo in docstring.

23 months ago`org-float' is now obsolete
Bastien Guerry [Mon, 7 Jan 2013 12:01:36 +0000]
`org-float' is now obsolete

* org-agenda.el (org-float): Don't alias `org-float'.

* org.texi (Timestamps, Deadlines and scheduling): Use
`diary-float' instead of the now obsolete alias `org-float'.

* test-org-element.el
(test-org-element/timestamp-interpreter): Ditto.

23 months agoorg.el (org-scan-tags): The skipper already checks for archived entries
Bastien Guerry [Mon, 7 Jan 2013 11:57:27 +0000]
org.el (org-scan-tags): The skipper already checks for archived entries

* org.el (org-scan-tags): The skipper already checks for
archived entries.

23 months agoorg-clock.el: Fix last commit.
Bastien Guerry [Mon, 7 Jan 2013 11:52:34 +0000]
org-clock.el: Fix last commit.

23 months agoSpeed up setting/getting the APPT_WARNTIME property.
Bastien Guerry [Mon, 7 Jan 2013 11:50:49 +0000]
Speed up setting/getting the APPT_WARNTIME property.

* org.el (org-refresh-properties): Rename from
`org-refresh-effort-properties' and use two new parameters.
(org-agenda-prepare-buffers): Use `org-refresh-properties'.
Also refresh the 'org-appt-warntime text property.

* org-clock.el (org-clock-in): Use the renamed defun.

* org-icalendar.el (org-icalendar-print-entries): Refresh the
'org-appt-warntime property.
(org-icalendar-print-entries): Do not use `org-entry-get' to
get the "APPT_WARNTIME" property value.

* org-agenda.el (org-agenda-get-timestamps)
(org-agenda-get-sexps, org-agenda-get-deadlines)
(org-agenda-get-scheduled): Ditto.

23 months agoorg.el (org-adaptive-fill-function): Fix checking of post-affiliated
Bastien Guerry [Mon, 7 Jan 2013 11:39:09 +0000]
org.el (org-adaptive-fill-function): Fix checking of post-affiliated

* org.el (org-adaptive-fill-function): Fix checking of
post-affiliated.
(org-id-link-to-org-use-id): Fix compiler warning.

23 months agoorg-depend.el (org-depend-trigger-todo): Refresh effort text properties
Bastien Guerry [Mon, 7 Jan 2013 11:33:57 +0000]
org-depend.el (org-depend-trigger-todo): Refresh effort text properties

* org-depend.el (org-depend-trigger-todo): Refresh effort text
properties.  Do not use `org-get-effort' for getting the
effort property value.

23 months agoNew defun `org-refresh-effort-properties'
Bastien Guerry [Mon, 7 Jan 2013 11:33:24 +0000]
New defun `org-refresh-effort-properties'

* org-agenda.el (org-agenda-format-item): Do not use
org-get-effort to get the effort text property.
(org-agenda-get-sexps): Use `org-back-to-heading' when setting
the tags.

* org-clock.el (org-clock-in): Refresh effort properties.

* org.el (org-refresh-effort-properties): New defun.
(org-get-effort): Delete.
(org-set-effort): Set the 'org-effort text property.
(org-property-next-allowed-value): Ditto.
(org-agenda-prepare-buffers): Refresh effort properties.

23 months agoCompatibility: Use org-define-obsolete-{function,variable}-alias
Achim Gratz [Sun, 6 Jan 2013 17:29:05 +0000]
Compatibility: Use org-define-obsolete-{function,variable}-alias

* lisp/org-compat.el (org-define-obsolete-function-alias,
  org-define-obsolete-variable-alias): Introduce new compatibility
  macros to obsolete functions and variables.

* lisp/org-agenda.el, lisp/org-clock.el, lisp/org-id.el,
  lisp/org-lparse.el, lisp/org-protocol.el lisp/org.el: Use
  `org-define-obsolete-{function,variable}-alias´instead of
  `define-obsolate{function,variable}-alias´.

23 months agoCompatibility: Define face alias mode-line for XEmacs
Achim Gratz [Sun, 6 Jan 2013 16:48:39 +0000]
Compatibility: Define face alias mode-line for XEmacs

* lisp/org-faces.el: Define face alias mode-line for XEmacs (it's
  called modeline there).

23 months agoCompatibility: Use org-no-warnings
Achim Gratz [Sun, 6 Jan 2013 17:28:06 +0000]
Compatibility: Use org-no-warnings

* contrib/lisp/org-e-odt.el (org-e-odt-htmlfontify-string): Use
  compatibility alias `org-no-warnings´.

23 months agoBackport patch from revno#r111145 from the Emacs-24 branch
Bastien Guerry [Sun, 6 Jan 2013 14:05:35 +0000]
Backport patch from revno#r111145 from the Emacs-24 branch

23 months agoorg.texi (Pushing to MobileOrg): Mention that `org-directory' should not contain...
Bastien Guerry [Sun, 6 Jan 2013 13:56:36 +0000]
org.texi (Pushing to MobileOrg): Mention that `org-directory' should not contain symbolic links

* org.texi (Pushing to MobileOrg): Mention that `org-directory'
should not contain symbolic links.

Thanks to James Harkins for reporting this problem.

23 months agoMerge branch 'maint-agenda-optimization' into maint
Bastien Guerry [Sun, 6 Jan 2013 11:46:25 +0000]
Merge branch 'maint-agenda-optimization' into maint

23 months agoorg.el (org-read-date): Let-bind `mouse-autoselect-window' to nil
Bastien Guerry [Sun, 6 Jan 2013 11:37:18 +0000]
org.el (org-read-date): Let-bind `mouse-autoselect-window' to nil

* org.el (org-read-date): Let-bind `mouse-autoselect-window'
to nil so that the mouse doesn't jump when the option is set
to t globally.

Thanks to E Sabof for reporting this.

23 months agoNew default value nil for `org-agenda-dim-blocked-tasks'
Bastien Guerry [Sun, 6 Jan 2013 11:31:20 +0000]
New default value nil for `org-agenda-dim-blocked-tasks'

* org-agenda.el (org-agenda-dim-blocked-tasks): Default to
nil.
(org-agenda-dim-blocked-tasks): Make interactive and allow an
optional parameter 'invisible to hide blocked tasks instead of
just dimming them.
(org-agenda-mode-map): Bind `org-agenda-dim-blocked-tasks' to
"#".

With a default value of t for `org-agenda-dim-blocked-tasks',
any non-nil value for `org-enforce-todo-checkbox-dependencies' or
`org-enforce-todo-dependencies' (or both) will slow down the
agenda generation too much, which might surprise the user.

23 months agoorg-agenda.el (org-agenda-finalize): Don't try to align tags when there are no tags
Bastien Guerry [Sun, 6 Jan 2013 08:20:30 +0000]
org-agenda.el (org-agenda-finalize): Don't try to align tags when there are no tags

* org-agenda.el (org-agenda-finalize): Don't try to align tags
when there are no tags.

23 months agoorg-agenda.el (org-agenda-finalize): Only try to draw the habit consistency graph...
Bastien Guerry [Sun, 6 Jan 2013 08:14:54 +0000]
org-agenda.el (org-agenda-finalize): Only try to draw the habit consistency graph when there is a habit in the buffer

* org-agenda.el (org-agenda-finalize): Only try to draw the
habit consistency graph when there is a habit in the buffer.

23 months agoorg-agenda.el (org-agenda-finalize): Only mark clocking task when there is one
Bastien Guerry [Sun, 6 Jan 2013 08:11:08 +0000]
org-agenda.el (org-agenda-finalize): Only mark clocking task when there is one

* org-agenda.el (org-agenda-finalize): Only mark clocking task
when there is one.

23 months agoorg.texi (TODO basics): Fix description of TODO keywords cycling
Bastien Guerry [Sun, 6 Jan 2013 06:36:36 +0000]
org.texi (TODO basics): Fix description of TODO keywords cycling

* org.texi (TODO basics): Add `org-use-fast-todo-selection' to
the variable index.
(TODO basics): Fix description of TODO keywords cycling.

Thanks to Brian van den Broek for reporting this.

23 months agoRevert "Backport revno#111138 from the emacs-24 branch"
Bastien Guerry [Sun, 6 Jan 2013 05:15:30 +0000]
Revert "Backport revno#111138 from the emacs-24 branch"

This reverts commit 7fe67bb942869d3657f2905202dc4170b14662fd.

Thanks to Takaaki ISHIKAWA for reporting this.
Also see http://mid.gmane.org/fkobh39l4z.fsf%40fencepost.gnu.org

23 months agoBackport revno#111138 from the emacs-24 branch
Bastien Guerry [Sat, 5 Jan 2013 17:39:40 +0000]
Backport revno#111138 from the emacs-24 branch

 * org.texi (Advanced features): Add missing argument for @item.
(Property searches): Use @backslashchar{} in macro argument.

23 months agoorg.el (org-adaptive-fill-function): DTRT in `message-mode'
Bastien Guerry [Sat, 5 Jan 2013 16:23:34 +0000]
org.el (org-adaptive-fill-function): DTRT in `message-mode'

* org.el (org-adaptive-fill-function): DTRT in `message-mode'.

This is too hackish, but do the job for now.  Instead of
having exceptions for `message-mode' filling wrapped into
org-*-fill* functions, we should let orgstruct++-mode do
this job.

23 months agoorg.el (org-get-priority): Save match data even when using `org-get-priority-function'
Bastien Guerry [Fri, 4 Jan 2013 17:15:51 +0000]
org.el (org-get-priority): Save match data even when using `org-get-priority-function'

* org.el (org-get-priority): Save match data even when using
`org-get-priority-function'.

23 months agoorg-mobile.el: Remove match description from block agendas when they have a title
Henning Weiss [Fri, 4 Jan 2013 16:20:57 +0000]
org-mobile.el: Remove match description from block agendas when they have a title

* org-mobile.el (org-mobile-sumo-agenda-command): Remove match
description from block agendas when they have a title.

This makes the generated agendas.org file more readable, as
complicated block agendas otherwise have long titles.

TINYCHANGE

23 months agoorg.texi (Storing searches): Add index entries and a note about {*-tree} agenda views
Bastien Guerry [Fri, 4 Jan 2013 16:14:25 +0000]
org.texi (Storing searches): Add index entries and a note about {*-tree} agenda views

* org.texi (Storing searches): Add index entries and a note
about {*-tree} agenda views.

Thanks to Alan Schmitt for indirectly pointing at this doc problem.

23 months agoFix an error introduced in 502e538020d02522dd40b4b5f940cf43d19096ab, org-make-link...
Samuel Loury [Fri, 4 Jan 2013 12:47:59 +0000]
Fix an error introduced in 502e538020d02522dd40b4b5f940cf43d19096ab, org-make-link was replaced by contact instead of concat as the comment suggested

* org-git-link.el (org-git-create-git-link): Replace contact call by concat
* org-bookmark.el (org-bookmark-store-link): Replace contact call by concat

TINYCHANGE

23 months agoorg-mobile.el (org-mobile-create-index-file): Possibly normalize `org-todo-keywords'
Bastien Guerry [Thu, 3 Jan 2013 12:22:05 +0000]
org-mobile.el (org-mobile-create-index-file): Possibly normalize `org-todo-keywords'

* org-mobile.el (org-mobile-create-index-file): Possibly
normalize `org-todo-keywords'.

Thanks to Ben Finney (and others) for reporting this.

23 months agoorg-mobile.el (org-mobile-push): Use the correct agenda buffer names
Bastien Guerry [Thu, 3 Jan 2013 11:39:58 +0000]
org-mobile.el (org-mobile-push): Use the correct agenda buffer names

* org-mobile.el (org-mobile-push): Use the correct agenda
buffer names.

Thanks to Ramon Diaz-Uriarte for reporting this issue.

23 months agoorg.el (org-store-link): Use `org-id-link-to-org-use-id'
Bastien Guerry [Wed, 2 Jan 2013 22:46:14 +0000]
org.el (org-store-link): Use `org-id-link-to-org-use-id'

* org.el (org-store-link): Use `org-id-link-to-org-use-id'
instead of the obsolete variable name.

23 months ago org.el (org-fontify-meta-lines-and-blocks-1): Fix bug when fontifying keywords with...
Bastien Guerry [Wed, 2 Jan 2013 22:43:53 +0000]
 org.el (org-fontify-meta-lines-and-blocks-1): Fix bug when fontifying keywords with no value

* org.el (org-fontify-meta-lines-and-blocks-1): Fix bug when
fontifying keywords with no value.

23 months agoorg.el: Various fixes to the org-goto interface
Bastien Guerry [Wed, 2 Jan 2013 09:47:59 +0000]
org.el: Various fixes to the org-goto interface

* org.el (org-goto-auto-isearch): Enhance docstring.
(org-goto-map): Make a defun, so that the customized value of
org-goto-auto-isearch is correctly initialized.
(org-goto): Initialize the keymap with `org-goto-map'.
(org-get-location): Use *Org Help* as a temporary buffer.
Tell whether auto-isearch is on or off.

Thanks to Tyler Smith for reporting this.

23 months agoFix number of arguments for org-export-as-org/docbook
Bastien Guerry [Tue, 1 Jan 2013 23:32:35 +0000]
Fix number of arguments for org-export-as-org/docbook

* org-exp.el (org-export-as-org): Remove useless
argument.

* org-docbook.el (org-export-as-docbook-batch)
(org-export-region-as-docbook, org-export-as-docbook-pdf): Fix
the number of arguments.
(org-export-as-docbook): Remove useless argument.

Thanks to George McNinch for reporting this.