4 years agoorg-freemind.el: Remove comment release_7.9.4
Bastien Guerry [Thu, 7 Mar 2013 22:23:24 +0000 (23:23 +0100)]
org-freemind.el: Remove comment

* org-freemind.el: Remove comment.

4 years agoorg-mobile.el (org-mobile-edit): Fix bug about inserting headings in invisible region
Bastien Guerry [Sun, 3 Mar 2013 12:41:08 +0000 (13:41 +0100)]
org-mobile.el (org-mobile-edit): Fix bug about inserting headings in invisible region

* org-mobile.el (org-mobile-edit): Workaround a
`org-insert-heading-respect-content' bug which prevents
correct insertion when point is invisible

Thanks to James Harkins for providing this fix.

4 years agoorg-clock.el (org-clock-out): Fix bug.
Bastien Guerry [Sat, 2 Mar 2013 16:39:23 +0000 (17:39 +0100)]
org-clock.el (org-clock-out): Fix bug.

* org-clock.el (org-clock-out): Fix bug: if a closing note
needs to be stored in the drawer where clocks are stored,
let's temporarily remove `org-clock-remove-empty-clock-drawer'
from `org-clock-out-hook'.

Thanks to Дядов Васил Стоянов for reporting this bug.

4 years agoorg-agenda.el (org-agenda-filter-apply): Deactive `org-agenda-entry-text-mode' when...
Bastien Guerry [Sat, 2 Mar 2013 10:00:30 +0000 (11:00 +0100)]
org-agenda.el (org-agenda-filter-apply): Deactive `org-agenda-entry-text-mode' when filtering

* org-agenda.el (org-agenda-filter-apply): Deactive
`org-agenda-entry-text-mode' when filtering.
(org-agenda-entry-text-mode): Don't allow in filtered views.
Don't show the maximum number of lines when turning off.

Thanks to Sébastien Vauban for pointing a related issue.

4 years agoorg.el (org-mode): Set `paragraph-start'
Bastien Guerry [Fri, 1 Mar 2013 17:57:55 +0000 (18:57 +0100)]
org.el (org-mode): Set `paragraph-start'

* org.el (org-mode): Set `paragraph-start'.

The value inherited from outline-mode is wrong because
outline mode does not enforce the space after the star
while Org-mode does.

outline-mode value for `paragraph-start' prevents filling
paragraphs containing a string like " -- *bold*": in this
case, fill-paragraph might think that the "*b" part of the
string starts a paragraph while it does not.

Thanks to Samuel Wales for reporting this.

4 years agoorg-indent.el: Bugfix
Bastien Guerry [Wed, 27 Feb 2013 21:23:15 +0000 (22:23 +0100)]
org-indent.el: Bugfix

* org-indent.el
(org-indent-add-properties): Bugfix: prevent negative value for

Thanks to Torsten Bronger for reporting this.

4 years agoFix b6b509b one more time.
Nicolas Richard [Wed, 27 Feb 2013 16:55:42 +0000 (17:55 +0100)]
Fix b6b509b one more time.

4 years agoFix b6b509b again.
Bastien Guerry [Wed, 27 Feb 2013 16:28:33 +0000 (17:28 +0100)]
Fix b6b509b again.

Thanks to Nicolas Richard for reporting this.

4 years agoEnhance the fix implemented in 41882a99
Bastien Guerry [Wed, 27 Feb 2013 13:49:30 +0000 (14:49 +0100)]
Enhance the fix implemented in 41882a99

* org.el (org-mode): Add `org-fix-ellipsis-at-bol' to
`isearch-mode-end-hook' so that any isearch fixes the problem with
ellipsis on the first line.
(org-fix-ellipsis-at-bol): New defsubst.
(org-show-context, org-isearch-end): Use it.

4 years agoFix commit 41882a99
Bastien Guerry [Wed, 27 Feb 2013 07:46:26 +0000 (08:46 +0100)]
Fix commit 41882a99

Thanks to Tassilo Horn for reporting this.

4 years agocontrib/org-toc.el: add forward and back commands
Aaron Ecay [Tue, 26 Feb 2013 19:45:09 +0000 (14:45 -0500)]
contrib/org-toc.el: add forward and back commands

These commands navigate among siblings in the outline, and are bound to
the ‘f’ and ‘b’ keys.  Move the function for toggling toc-follow to ‘F’.

4 years agoFix a longstanding issue with ellispsis on top of the window
Bastien Guerry [Tue, 26 Feb 2013 21:45:04 +0000 (22:45 +0100)]
Fix a longstanding issue with ellispsis on top of the window

* org.el (org-show-context): Remove useless catch.  Make sure the
top of the window is a visible headline.
* org.el (org-activate-plain-links): Remove unused catch.

* org-macs.el (org-get-alist-option): Return nil, not (nil), so
that `org-show-context' DTRT.

Thanks to Samuel Wales for his patience in reporting this.

4 years agoorg.el (org-imenu-get-tree): Fix bug when matching against empty headlines
Bastien Guerry [Tue, 26 Feb 2013 21:02:13 +0000 (22:02 +0100)]
org.el (org-imenu-get-tree): Fix bug when matching against empty headlines

* org.el (org-imenu-get-tree): Fix bug when matching against empty

Thanks to Jambunathan for reporting this.

4 years agoorg.el (org-overview): Stay on current line
Bastien Guerry [Tue, 26 Feb 2013 15:28:30 +0000 (16:28 +0100)]
org.el (org-overview): Stay on current line

* org.el (org-overview): Stay on current line.

This circumvents a bug in hide-sublevels which displays the
"..." ellipsis on top of the window when hiding levels that
are past the middle of the window---at least this is the
way I could understand the problem.

Thanks to Samuel Wales for reporting the problem, Arun Persaud and
William for creating reproducible recipes, Suvayu Ali, Nick Dokos
and Achim Gratz for further help.

4 years agoFix commit 83bebfd8808
Bastien Guerry [Tue, 26 Feb 2013 15:13:39 +0000 (16:13 +0100)]
Fix commit 83bebfd8808

4 years agoorg.el (org-map-entries): Fix docstring
Bastien Guerry [Tue, 26 Feb 2013 14:14:37 +0000 (15:14 +0100)]
org.el (org-map-entries): Fix docstring

* org.el (org-map-entries): Fix docstring.

Thanks to Christopher Schmidt for reporting this.

4 years agoFix typo.
Bastien Guerry [Tue, 26 Feb 2013 13:37:05 +0000 (14:37 +0100)]
Fix typo.

4 years agoUse `org-autoload' instead of `autoload'.
Bastien Guerry [Tue, 26 Feb 2013 13:35:25 +0000 (14:35 +0100)]
Use `org-autoload' instead of `autoload'.

4 years agoRemove top-level autoloads sexps.
Bastien Guerry [Tue, 26 Feb 2013 13:35:01 +0000 (14:35 +0100)]
Remove top-level autoloads sexps.

These autoloads were erroneously introduced by commit e4c31cf98.

4 years agoFix commit b6b509.
Bastien Guerry [Tue, 26 Feb 2013 10:08:50 +0000 (11:08 +0100)]
Fix commit b6b509.

Thanks to Sébastien Vauban for reporting this.

4 years agodatetree: Recognize year headline with tags as a match
Tim Burt [Sun, 24 Feb 2013 21:03:22 +0000 (16:03 -0500)]
datetree: Recognize year headline with tags as a match

* lisp/org-datetree.el (org-datetree-find-year-create): Also match
headlines with tags.

Change made to fix the problem where a year headline of a
datetree was not matched if it had a tag.  The :NOEXPORT: tag
is one useful case that should be matched.

Initial problem observation reported by Jeffrey McBeth on the
org-mode mailing list.


4 years agoMove `org-at-clock-log-p' from org-clock.el to org.el
Bastien Guerry [Sun, 24 Feb 2013 18:16:33 +0000 (19:16 +0100)]
Move `org-at-clock-log-p' from org-clock.el to org.el

* org.el (org-at-clock-log-p): Delete.
* org-clock.el (org-at-clock-log-p): Move here.

4 years agoorg.el (org-tsr-regexp-both): Don't activate dates in links release_7.9.3f
Bastien Guerry [Sat, 23 Feb 2013 13:42:11 +0000 (14:42 +0100)]
org.el (org-tsr-regexp-both): Don't activate dates in links

* org.el (org-tsr-regexp-both): Don't activate dates in links.
(org-activate-dates): Change match boundaries according to the
new value of `org-tsr-regexp-both'.

Thanks to Richard Huang for reporting a related issue.

4 years agoorg-agenda.el (org-agenda-to-appt): Fix typos
Bastien Guerry [Wed, 20 Feb 2013 15:30:48 +0000 (16:30 +0100)]
org-agenda.el (org-agenda-to-appt): Fix typos

* org-agenda.el (org-agenda-to-appt): Fix typos.

Thanks to Sean Allred for reporting this.

4 years agoorg-agenda.el (org-agenda-local-vars): Don't include `org-agenda-show-window'
Bastien Guerry [Tue, 19 Feb 2013 18:38:47 +0000 (19:38 +0100)]
org-agenda.el (org-agenda-local-vars): Don't include `org-agenda-show-window'

* org-agenda.el (org-agenda-local-vars): Don't include
`org-agenda-show-window' as it needs to be checked outside of
the agenda window.

Thanks to Bernt Hansen for reporting this.

4 years agoorg.el (org-set-tags-command): Fix bug.
Bastien Guerry [Sat, 16 Feb 2013 21:29:34 +0000 (22:29 +0100)]
org.el (org-set-tags-command): Fix bug.

* org.el (org-set-tags-command): Fix bug when setting tags for
multiple headlines in an active region.

Do not set the end of the region back to the beginning of the
previous headline.

4 years agofix wrong key for org-reload uncompiled in menu
Achim Gratz [Sat, 16 Feb 2013 10:14:35 +0000 (11:14 +0100)]
fix wrong key for org-reload uncompiled in menu

* lisp/org.el (org-org-menu): Use correct key "C-u C-c C-x !" to do
  org-reload uncompiled in the menu.

The key binding has been changed in 8619361669 due to a conflict with
agenda mode, but the menu entry had never been corrected.

4 years agoEnhance doc wrt interactions between `org-startup-folded' and `org-agenda-inhibit...
Bastien Guerry [Thu, 14 Feb 2013 09:39:54 +0000 (10:39 +0100)]
Enhance doc wrt interactions between `org-startup-folded' and `org-agenda-inhibit-startup'

* org.el (org-startup-folded):
* org.texi (Visibility cycling): Suggest to set
`org-agenda-inhibit-startup' to nil if user wants the startup
visibility settings to be honored in any circumstances.

Thanks to Tassilo for pointing this.

4 years agoFix `org-insert-heading-respect-content'
Bastien Guerry [Mon, 11 Feb 2013 17:27:21 +0000 (18:27 +0100)]
Fix `org-insert-heading-respect-content'

* org-mobile.el (org-mobile-edit): DTRT when inserting a heading
in an invisible region.

* org.el (org-insert-heading-respect-content): New
`invisible-ok' parameter.  Add docstring.
(org-insert-todo-heading-respect-content): Add docstring.

Thanks to James Harkins for the extra detailed reports and
the proposed solutions, both for org.el and org-mobile.el.

4 years agoob-tangle.el (org-babel-tangle-collect-blocks): Bugfix: remove code references from...
Bastien Guerry [Wed, 13 Feb 2013 14:15:42 +0000 (15:15 +0100)]
ob-tangle.el (org-babel-tangle-collect-blocks): Bugfix: remove code references from blocks

* ob-tangle.el (org-babel-tangle-collect-blocks): Bugfix:
remove code references from blocks.

Thanks a lot to Michael Alan Dorman for reporting this.

4 years agoBackport typo fixes from Emacs revno 111250 by Paul Eggert.
Bastien Guerry [Wed, 13 Feb 2013 11:09:56 +0000 (12:09 +0100)]
Backport typo fixes from Emacs revno 111250 by Paul Eggert.

4 years agoRevert "org-exp.el (org-export-normalize-links): Don't match links within tags"
Bastien Guerry [Wed, 13 Feb 2013 10:38:00 +0000 (11:38 +0100)]
Revert "org-exp.el (org-export-normalize-links): Don't match links within tags"

This reverts commit 80cb1b0a09f53ae9a6dd37c7884ec6a26e29e12c.

4 years agoorg-agenda.el: Fix bug when displaying a temporary overlay
Bastien Guerry [Mon, 11 Feb 2013 13:56:38 +0000 (14:56 +0100)]
org-agenda.el: Fix bug when displaying a temporary overlay

* org-agenda.el (org-agenda-schedule, org-agenda-deadline):
Cosmetic changes.
(org-agenda-show-new-time): Fix bug when displaying a
temporary overlay with the scheduled/deadline information.

Thanks to Thomas Morgan for reporting this bug and testing the patch.

4 years agoorg.el (org-fill-paragraph-with-timestamp-nobreak-p): New function
Bastien Guerry [Mon, 11 Feb 2013 13:38:18 +0000 (14:38 +0100)]
org.el (org-fill-paragraph-with-timestamp-nobreak-p): New function

* org.el (org-fill-paragraph-with-timestamp-nobreak-p): New
(org-setup-filling): Use it to prevent breaking a timestamp
when filling a paragraph.

Thanks to William for requesting this.

4 years agoorg.texi (Progress logging, Checkboxes): Fix typos
Bastien Guerry [Sat, 9 Feb 2013 10:59:17 +0000 (11:59 +0100)]
org.texi (Progress logging, Checkboxes): Fix typos

* org.texi (Progress logging, Checkboxes): Fix typos.

Thanks to Gregory Benjamin for this.

4 years agoFix typos in orgguide.texi.
Gregory Benjamin [Sat, 9 Feb 2013 10:51:27 +0000 (11:51 +0100)]
Fix typos in orgguide.texi.

4 years agoRemove additions from contrib/ before moving HEAD
Achim Gratz [Sat, 9 Feb 2013 07:31:44 +0000 (08:31 +0100)]
Remove additions from contrib/ before moving HEAD

* mk/ (up0): Explicitly remove additions from contrib/
  before moving HEAD via git since the files might be renamed, deleted
  or moved by checking out a new version.

Thanks to Suvayu Ali for pointing to this problem.  The user still has
to remember to do this when moving HEAD manually, though.

4 years agoorg-id.el (org-id-get-with-outline-path-completion): Fix docstring
Bastien Guerry [Thu, 7 Feb 2013 07:42:15 +0000 (08:42 +0100)]
org-id.el (org-id-get-with-outline-path-completion): Fix docstring

* org-id.el (org-id-get-with-outline-path-completion): Fix

Thanks to Florian Beck for reporting this.

4 years agoorg-agenda.el: Bugfix.
Bastien Guerry [Wed, 6 Feb 2013 16:18:03 +0000 (17:18 +0100)]
org-agenda.el: Bugfix.

* org-agenda.el (org-agenda-get-deadlines)
(org-agenda-get-scheduled): Fix bug: use text properties for
the headline text since we rely on properties to get e.g. the

4 years agoorg.el (org-get-wdays): Handle matching a lead time specified in hours
John K. Luebs [Mon, 4 Feb 2013 23:09:19 +0000 (00:09 +0100)]
org.el (org-get-wdays): Handle matching a lead time specified in hours

* org.el (org-get-wdays): Handle matching a lead time specified in


A lead time in hours is matched but will erroneously return nil.

4 years agoorg-exp.el (org-export-normalize-links): Don't match links within tags
Bastien Guerry [Mon, 4 Feb 2013 21:14:52 +0000 (22:14 +0100)]
org-exp.el (org-export-normalize-links): Don't match links within tags

* org-exp.el (org-export-normalize-links): Don't match links
within tags.

A headline with tags like :info:test: would not be exported correctly
because info:test is first matched and normalized as a link.

4 years agoorg-element: Fix macro parsing with protected commas 7.9.3e
Nicolas Goaziou [Thu, 31 Jan 2013 21:15:15 +0000 (22:15 +0100)]
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.

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

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

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


4 years agoorg-html.el: Enhance docstrings
Bastien Guerry [Thu, 31 Jan 2013 10:30:43 +0000 (11:30 +0100)]
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.

4 years 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 (10:25 +0100)]
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.

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

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


4 years agoorg.texi (References): Clarify an example
Bastien Guerry [Wed, 30 Jan 2013 16:46:35 +0000 (17:46 +0100)]
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.

4 years agoorg-bibtex.el (org-bibtex-search): Don't throw an error when `org-bibtex-prefix'...
racin [Wed, 30 Jan 2013 10:42:17 +0000 (11:42 +0100)]
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.


4 years 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 (11:18 +0100)]
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

Thanks to Carsten for suggesting this.

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

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

4 years 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 (09:21 +0100)]
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.

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

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

4 years agoorg.el (org-mode): Don't initialize `org-beamer-mode' when `org-inhibit-startup'...
Bastien Guerry [Sat, 26 Jan 2013 14:03:21 +0000 (15:03 +0100)]
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.

4 years agoorg-footnote.el: Fix bug when using `electric-indent-mode'
Bastien Guerry [Sat, 26 Jan 2013 12:40:18 +0000 (13:40 +0100)]
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.

4 years agoorg-agenda.el: Delete `org-agenda-no-heading-message'
Bastien Guerry [Sat, 26 Jan 2013 12:29:44 +0000 (13:29 +0100)]
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.

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

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

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

4 years agoorg-agenda.el (org-agenda-skip): Fix bug by correctly skipping commented scheduled...
Bastien Guerry [Sat, 26 Jan 2013 09:55:35 +0000 (10:55 +0100)]
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

4 years agoFix compiler warning.
Bastien Guerry [Thu, 24 Jan 2013 15:31:08 +0000 (16:31 +0100)]
Fix compiler warning.

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

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

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

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

Thanks to Xue Fuqiao for reporting this.

4 years agoorg-clock.el (org-clock-in): Fix bug when fetching the effort value
Bastien Guerry [Wed, 23 Jan 2013 13:48:52 +0000 (14:48 +0100)]
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

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

4 years agoob-python.el: Fix compatibility bug.
Bastien Guerry [Wed, 23 Jan 2013 12:58:20 +0000 (13:58 +0100)]
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.

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

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

4 years agoorg-agenda.el (org-agenda-get-deadlines): Fix bug: use `org-agenda-show-inherited...
Bastien Guerry [Tue, 22 Jan 2013 21:27:56 +0000 (22:27 +0100)]
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

Thanks to Kiwon Um for reporting this.

4 years agoorg-agenda.el (org-agenda-skip): Correctly handle commented out scheduled/deadline...
Bastien Guerry [Tue, 22 Jan 2013 15:39:23 +0000 (16:39 +0100)]
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.

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

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

4 years agoSmall typo correction
Samuel Loury [Mon, 14 Jan 2013 14:25:16 +0000 (15:25 +0100)]
Small typo correction


4 years 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 (14:14 +0100)]
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.


4 years agoorg-install.el: Do not warn users.
Bastien Guerry [Tue, 22 Jan 2013 13:08:39 +0000 (14:08 +0100)]
org-install.el: Do not warn users.

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

4 years agoorg.el (org-adaptive-fill-function): Fix various bugs when filling in message-mode
Bastien Guerry [Tue, 22 Jan 2013 12:55:57 +0000 (13:55 +0100)]
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

4 years agoorg-element: Improve some docstrings
Nicolas Goaziou [Sun, 20 Jan 2013 08:43:58 +0000 (09:43 +0100)]
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.

4 years agoorg-list: Fix bug when repairing checkbox with an ORDERED property
Nicolas Goaziou [Sat, 19 Jan 2013 14:37:16 +0000 (15:37 +0100)]
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.

4 years agoorg-agenda.el (org-agenda-open-link): Fix bug with opening all links
Bastien Guerry [Wed, 16 Jan 2013 17:36:29 +0000 (18:36 +0100)]
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.

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

* org-agenda.el (org-search-view): Fix checking


4 years agoDelete `org-condition-case-unless-debug' release_7.9.3d
Bastien Guerry [Sun, 13 Jan 2013 08:27:08 +0000 (09:27 +0100)]
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.

4 years agoRevert "Backwards compatibility: don't defalias special forms"
Bastien Guerry [Sun, 13 Jan 2013 08:24:43 +0000 (09:24 +0100)]
Revert "Backwards compatibility: don't defalias special forms"

This reverts commit b63275350f524df5e33c2aa915de4415f312f409.

4 years agoRevert "Compatibility: Use org-define-obsolete-{function,variable}-alias"
Bastien Guerry [Sun, 13 Jan 2013 08:19:24 +0000 (09:19 +0100)]
Revert "Compatibility: Use org-define-obsolete-{function,variable}-alias"

This reverts commit 305f29776fba57cdd1566071e0e8a75270d095c6.

4 years 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 (15:43 +0100)]
* org-mobile.el (org-mobile-write-agenda-for-mobile): Fix bug
when replacing the heading.

Thanks to Jeff Myer for reporting this.

4 years agoorg-depend.el (org-depend-trigger-todo): Fix bug
Bastien Guerry [Sat, 12 Jan 2013 14:07:40 +0000 (15:07 +0100)]
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.

4 years agoDocstring fixes. release_7.9.3b
Bastien Guerry [Sat, 12 Jan 2013 08:20:17 +0000 (09:20 +0100)]
Docstring fixes.

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

4 years agoRestore previous behavior for inherited tags, now just more flexible
Bastien Guerry [Fri, 11 Jan 2013 16:15:17 +0000 (17:15 +0100)]
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

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

4 years agoorg.texi (Installation): Simplify
Bastien Guerry [Fri, 11 Jan 2013 12:32:34 +0000 (13:32 +0100)]
org.texi (Installation): Simplify

* org.texi (Installation): Simplify.

4 years agoorg.el (org-open-at-point): Fix opening all links at point
Bastien Guerry [Fri, 11 Jan 2013 11:11:09 +0000 (12:11 +0100)]
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.

4 years agoorg-agenda.el (org-get-entries-from-diary): Turn off `diary-file-name-prefix'
Bastien Guerry [Thu, 10 Jan 2013 11:15:24 +0000 (12:15 +0100)]
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.

4 years agoob-eval.el (org-babel-shell-command-on-region): Use `executable-find' for local ...
Michael Albinus [Wed, 9 Jan 2013 12:48:30 +0000 (13:48 +0100)]
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'.

4 years agoorg.texi: Update documentation on internal link handling
François Allisson [Wed, 9 Jan 2013 11:32:09 +0000 (12:32 +0100)]
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.


4 years agoorg.el (org-edit-special): Check for table.el before checking for Org tables
Bastien Guerry [Tue, 8 Jan 2013 22:44:54 +0000 (23:44 +0100)]
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.

4 years agodoc/org.texi: Update copyright year.
Bastien Guerry [Tue, 8 Jan 2013 21:33:33 +0000 (22:33 +0100)]
doc/org.texi: Update copyright year.

4 years 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 (18:39 +0100)]
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.

4 years 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 (18:26 +0100)]
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.

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

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

4 years agoorg.texi: Document `org-mark-element' and `org-mark-subtree'
Bastien Guerry [Tue, 8 Jan 2013 15:19:31 +0000 (16:19 +0100)]
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.

4 years 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 (15:57 +0100)]
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.

4 years agoVarious small fixes
Bastien Guerry [Tue, 8 Jan 2013 14:26:04 +0000 (15:26 +0100)]
Various small fixes

4 years agoUpdate Copyright lines to match Emacs format.
Bastien Guerry [Tue, 8 Jan 2013 14:04:32 +0000 (15:04 +0100)]
Update Copyright lines to match Emacs format.

4 years agoorg-agenda (org-agenda-finalize): Don't remove tag alignment
Bastien Guerry [Tue, 8 Jan 2013 13:29:29 +0000 (14:29 +0100)]
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.

4 years agodoc/orgguide.texi: Update menu
Bastien Guerry [Tue, 8 Jan 2013 11:09:39 +0000 (12:09 +0100)]
doc/orgguide.texi: Update menu

4 years agoetc/ORG-NEWS: Update release_7.9.3
Bastien Guerry [Tue, 8 Jan 2013 10:46:29 +0000 (11:46 +0100)]
etc/ORG-NEWS: Update

4 years agoorg-agenda.el (org-agenda-finalize): Downcase tags when readding them after agenda...
Bastien Guerry [Tue, 8 Jan 2013 10:34:09 +0000 (11:34 +0100)]
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.