20 months agoFix commit 19af72 release_8.0.5
Bastien Guerry [Thu, 4 Jul 2013 20:11:46 +0000]
Fix commit 19af72

Thanks to Rainer Stengele for reporting this.

20 months agoorg.el (org-forward-element, org-backward-element): Throw a message instead of an...
Bastien Guerry [Thu, 4 Jul 2013 13:26:25 +0000]
org.el (org-forward-element, org-backward-element): Throw a message instead of an error

* org.el (org-forward-element, org-backward-element): Throw a
message instead of an error when trying to move from a
position where there is no element.

20 months agoorg.el (org-clock-is-active): Fix docstring
Bastien Guerry [Thu, 4 Jul 2013 08:32:33 +0000]
org.el (org-clock-is-active): Fix docstring

* org.el (org-clock-is-active): Fix docstring.

Thanks to Łukasz Stelmach for pointing this.

20 months agoorg.texi (Matching tags and properties): Clarification release_8.0.4
Gustav Wikström [Wed, 3 Jul 2013 23:36:08 +0000]
org.texi (Matching tags and properties): Clarification

* org.texi (Matching tags and properties): Clarification.


20 months agoorg.el (org-structure-template-alist): Fix custom type and default value
Bastien Guerry [Wed, 3 Jul 2013 17:46:13 +0000]
org.el (org-structure-template-alist): Fix custom type and default value

* org.el (org-structure-template-alist): Fix custom type and
default value.

Thanks to Nick Dokos for reporting this and providing the fix.

20 months agoFix wrong setting of `org-tag-alist' with #+setupfile:.
Bastien Guerry [Wed, 3 Jul 2013 15:03:08 +0000]
Fix wrong setting of `org-tag-alist' with #+setupfile:.

* org.el (org-set-regexps-and-options-for-tags): Enhance
(org-set-regexps-and-options): Make sure not to add
`org-tag-alist' twice when setting this variable through et
#+setupfile: directive.

Thanks to Anupam Sengupta for reporting this.

20 months agoorg.el (org-tags-expand): Use `with-syntax-table'
Bastien Guerry [Wed, 3 Jul 2013 14:01:03 +0000]
org.el (org-tags-expand): Use `with-syntax-table'

* org.el (org-tags-expand): Use `with-syntax-table'.

20 months agoorg.texi (Tag groups): Fix misleading typo
Bastien Guerry [Wed, 3 Jul 2013 13:39:28 +0000]
org.texi (Tag groups): Fix misleading typo

* org.texi (Tag groups): Fix misleading typo.

20 months agoMove `org-set-font-lock-defaults' from `org-set-regexps-and-options' to `org-mode'
Nicolas Richard [Fri, 21 Jun 2013 08:23:43 +0000]
Move `org-set-font-lock-defaults' from `org-set-regexps-and-options' to `org-mode'

* org.el (org-set-regexps-and-options): Don't set font-lock
defaults here.
(org-mode): Set font-lock defaults here.

This fixes the bug reported here:

20 months agoorg-table.el (org-table-sum): Fix rounding error when summing times
Bastien Guerry [Wed, 3 Jul 2013 08:18:22 +0000]
org-table.el (org-table-sum): Fix rounding error when summing times

* org-table.el (org-table-sum): Fix rounding error when
summing times.

Thanks to Paul Stansell for reporting this and to Nick Dokos for
providing the fix.

See for the
discussion of this bug.

20 months agoMerge branch 'maint' of into maint
Bastien Guerry [Tue, 2 Jul 2013 07:31:57 +0000]
Merge branch 'maint' of into maint

20 months agoFix commit e31955.
Bastien Guerry [Tue, 2 Jul 2013 07:31:51 +0000]
Fix commit e31955.

Thanks to Samuel for reporting this.

20 months agoorg.texi: Fix macro name
Nicolas Goaziou [Mon, 1 Jul 2013 21:14:48 +0000]
org.texi: Fix macro name

* doc/org.texi (Macro replacement): Fix macro name.

20 months agoFix compiler warnings.
Bastien Guerry [Mon, 1 Jul 2013 21:12:54 +0000]
Fix compiler warnings.

20 months agoob-core: fix regression when org-confirm-babel-evaluate is a functionp
Achim Gratz [Mon, 1 Jul 2013 20:19:54 +0000]
ob-core: fix regression when org-confirm-babel-evaluate is a functionp

* lisp/ob-core.el (org-babel-check-confirm-evaluate): Return result of
  evaluating the function pointed to by`org-confirm-babel-evaluate'
  when it is a functionp and its value as a variable otherwise.

This fixes a regression introduced in 5fe486807e and restores the fix
applied earlier in 8d272b0d3b (and then replaced by a cond form in
ece347e32c, which later got factored out again).

20 months agoRevert "ox-html.el (org-html-plain-list): Handle alphabetical ordered list"
Bastien Guerry [Mon, 1 Jul 2013 12:31:41 +0000]
Revert "ox-html.el (org-html-plain-list): Handle alphabetical ordered list"

This reverts commit 8012d88db72b69d6dd68d4a3d880918652031d4a.

See for the discussion
about whether this feature should go in or not.

20 months agoFix commit 6abc11.
Vladimir Lomov [Mon, 1 Jul 2013 07:40:54 +0000]
Fix commit 6abc11.


20 months agoorg.el (org-refile): Fix refiling the active region within an list
Bastien Guerry [Sun, 30 Jun 2013 23:16:38 +0000]
org.el (org-refile): Fix refiling the active region within an list

* org.el (org-refile): Fix refiling the active region within
an list.

Thanks to Jeff Horn and Samuel Wales.

20 months agoorg.el (org-refile): Don't store the last refiled subtree in the kill ring
Bastien Guerry [Sun, 30 Jun 2013 22:35:53 +0000]
org.el (org-refile): Don't store the last refiled subtree in the kill ring

* org.el (org-refile): Don't store the last refiled subtree in
the kill ring.

Thanks to Samuel for reporting this.

20 months agoox-html.el (org-html-plain-list): Handle alphabetical ordered list
Bastien Guerry [Sun, 30 Jun 2013 22:33:25 +0000]
ox-html.el (org-html-plain-list): Handle alphabetical ordered list

* ox-html.el (org-html-begin-plain-list): New parameter
`ordered-num' to tell whether the list is ordered numerically.
(org-html-plain-list): Handle alphabetical ordered list.

20 months agoorg-agenda.el (org-batch-agenda): Let-bind `org-agenda-sticky' to nil during batch...
Bastien Guerry [Sun, 30 Jun 2013 22:31:33 +0000]
org-agenda.el (org-batch-agenda): Let-bind `org-agenda-sticky' to nil during batch export

* org-agenda.el (org-batch-agenda): Let-bind
`org-agenda-sticky' to nil during batch export.

Thanks to Rainer for spotting this.

20 months ago* contrib/lisp/orgtbl-sqlinsert.el (orgtbl-to-sqlinsert): Bugfixes regarding header...
Eric Abrahamsen [Wed, 5 Jun 2013 03:44:35 +0000]
* contrib/lisp/orgtbl-sqlinsert.el (orgtbl-to-sqlinsert): Bugfixes regarding header line formatting

20 months agoorg.el (org-copy-subtree): Fix typo in docstring
Bastien Guerry [Sun, 30 Jun 2013 22:30:03 +0000]
org.el (org-copy-subtree): Fix typo in docstring

* org.el (org-copy-subtree): Fix typo in docstring.

20 months agoMerge branch 'maint' of into maint
Bastien Guerry [Fri, 28 Jun 2013 07:13:28 +0000]
Merge branch 'maint' of into maint

20 months agoorg.texi (Publishing options): Fix old variable names
Bastien Guerry [Fri, 28 Jun 2013 07:13:06 +0000]
org.texi (Publishing options): Fix old variable names

* org.texi (Publishing options): Fix old variable names.

20 months agodo not use mapcar* for transposing tables
Achim Gratz [Fri, 21 Jun 2013 20:37:51 +0000]
do not use mapcar* for transposing tables

* lisp/ob-core.el (org-babel-get-rownames),
  lisp/org-table.el (org-table-transpose-table-at-point): Replace the
  inadvertent use of mapcar* (from cl) by plain mapcar and direct cons

The error was not caught at compilation time since both source files
require cl during compilation for using cl macros.  These were the
only uses of mapcar* in Org, but I didn't check for other cl
_functions_ (as opposed to macros, which would need to be checked if
their implementation uses cl functions).

20 months agoox-rss.el (org-rss-build-channel-info): Don't export the title
Bastien Guerry [Thu, 27 Jun 2013 16:57:09 +0000]
ox-rss.el (org-rss-build-channel-info): Don't export the title

* ox-rss.el (org-rss-build-channel-info): Don't export the
title of the RSS channel, as it produce invalid RSS 2.0.

20 months agoorg-agenda.el (org-agenda-filter-by-category): Display all filtered out categories
Gustav Wikström [Thu, 27 Jun 2013 15:44:50 +0000]
org-agenda.el (org-agenda-filter-by-category): Display all filtered out categories

* org-agenda.el (org-agenda-filter-by-category): Display all
filtered out categories.


20 months agoorg-mouse: Fix incorrect replacement for checkbox lists
Ilya Zonov [Fri, 24 May 2013 17:10:38 +0000]
org-mouse: Fix incorrect replacement for checkbox lists

* org-mode: Add correct newtext parameter in `org-mouse-context-menu'
  function for "All Set" and "All Clear" menu items.


20 months agoox-rss.el (org-rss-headline): Various fixes.
Bastien Guerry [Thu, 27 Jun 2013 14:39:37 +0000]
ox-rss.el (org-rss-headline): Various fixes.

* contrib/lisp/ox-rss.el (org-rss-headline): Fix the date and title
(org-rss-build-channel-info): Fix the date format.  Add the
author's name after her email.

20 months agoorg-agenda.el (org-agenda-skip-eval): Fix typo in docstring
Bastien Guerry [Thu, 27 Jun 2013 14:36:29 +0000]
org-agenda.el (org-agenda-skip-eval): Fix typo in docstring

* org-agenda.el (org-agenda-skip-eval): Fix typo in docstring.

20 months agoorg.texi (Orgstruct mode): Fix suggested setting of `orgstruct-heading-prefix-regexp'
Bastien Guerry [Thu, 27 Jun 2013 14:24:48 +0000]
org.texi (Orgstruct mode): Fix suggested setting of `orgstruct-heading-prefix-regexp'

* org.texi (Orgstruct mode): Fix suggested setting of

Thanks to Nathaniel Cunningham for reporting this.

20 months agoorg.el (org-scan-tags): Don't disable `case-fold-search' too early
Bastien Guerry [Thu, 27 Jun 2013 14:19:58 +0000]
org.el (org-scan-tags): Don't disable `case-fold-search' too early

* org.el (org-scan-tags): Don't disable `case-fold-search' too

Thanks to Nicolas Richard for the patch:

20 months agoorg-capture.el (org-capture-set-target-location): Don't throw an error when `org...
Bastien Guerry [Thu, 27 Jun 2013 13:35:22 +0000]
org-capture.el (org-capture-set-target-location): Don't throw an error when `org-time-was-given' is not bound

* org-capture.el (org-capture-set-target-location): Don't
throw an error when `org-time-was-given' is not bound.

Thanks to Eric S Fraga for reporting this.

21 months agoRevert "ox-odt: Fix internationalization of "Table" and "Listing""
Nicolas Goaziou [Wed, 26 Jun 2013 07:44:36 +0000]
Revert "ox-odt: Fix internationalization of "Table"  and "Listing""

This reverts commit 95b16b1aa544f724d716e6d16e722f9f1473f864.

21 months agoorg-element: Fix org-meta-return error at the end of buffer
Nicolas Goaziou [Tue, 25 Jun 2013 15:32:26 +0000]
org-element: Fix org-meta-return error at the end of buffer

* lisp/org-element.el (org-element--current-element): Fix
  org-meta-return error at the end of buffer.
* testing/lisp/test-org-element.el: Add test.

Thanks to Nicolas Richard for reporting this.

21 months agoox-odt: Fix internationalization of "Table" and "Listing"
Nicolas Goaziou [Tue, 25 Jun 2013 07:30:18 +0000]
ox-odt: Fix internationalization of "Table"  and "Listing"

* lisp/ox-odt.el (org-odt-category-map-alist): Fix
  internationalization of "Table" and "Listing".

Bug reported by Georg Lehner.

21 months agoox: Remove useless dictionary entries
Nicolas Goaziou [Tue, 25 Jun 2013 07:29:18 +0000]
ox: Remove useless dictionary entries

* lisp/ox.el (org-export-dictionary): Remove useless dictionary entries.
* lisp/ox-ascii.el (org-ascii--build-caption): Apply removal.

21 months agoox: Add spanish and german translations
Nicolas Goaziou [Tue, 25 Jun 2013 07:15:24 +0000]
ox: Add spanish and german translations

* lisp/ox.el (org-export-dictionary): Add spanish and german

Patch suggested by Georg Lehner.

21 months agoox-odt: Links to headlines are more consistent with other back-ends
Nicolas Goaziou [Tue, 25 Jun 2013 07:05:46 +0000]
ox-odt: Links to headlines are more consistent with other back-ends

* lisp/ox-odt.el (org-odt-link): Fuzzy links to an headline with
  a description always use that description, even if the description
  is the same as the headline title.

Reported by Georg Lehner.

21 months agoox-odt: Allow to turn smart quotes off
Nicolas Goaziou [Tue, 25 Jun 2013 06:35:25 +0000]
ox-odt: Allow to turn smart quotes off

* lisp/ox-odt.el (org-odt-plain-text): Allow to turn smart quotes off.

Patch suggested by Georg Lehner.

21 months agoox-latex: Remove unused function
Nicolas Goaziou [Mon, 24 Jun 2013 15:24:42 +0000]
ox-latex: Remove unused function

* lisp/ox-latex.el (org-latex--get-footnote-counter): Remove function.
  This function is not necessary anymore since

21 months agoox-html: Fix typo preventing insertion of link up/link home anchors
Nicolas Goaziou [Thu, 20 Jun 2013 18:18:55 +0000]
ox-html: Fix typo preventing insertion of link up/link home anchors

* lisp/ox-html.el (org-html-template): Fix typo preventing insertion
  of link up/link home anchors.

Thanks to Daniel G. Gerber for noticing it.

21 months agoox-latex: Allow hyperref and footnotemark in items description tags
Nicolas Goaziou [Tue, 18 Jun 2013 20:44:26 +0000]
ox-latex: Allow hyperref and footnotemark in items description tags

* lisp/ox-latex.el (org-latex-item): Allow hyperref and footnotemark
  in items description tags.  Also remove a unnecessary hack allowing
  footnotemark with an optional argument in the tag.

Initial patch from Rick Frankel.

21 months agoox: Fix fuzzy link resolution before first headline
Nicolas Goaziou [Tue, 18 Jun 2013 20:27:39 +0000]
ox: Fix fuzzy link resolution before first headline

* lisp/ox.el (org-export-resolve-fuzzy-link): Fix link resolution when
  link lives before the first headline.
* testing/lisp/test-ox.el: Add test.

21 months agoorg-element: Fix special block parsing
Nicolas Goaziou [Mon, 17 Jun 2013 15:08:53 +0000]
org-element: Fix special block parsing

* lisp/org-element.el (org-element-special-block-parser): Fix typo in
  regexp matching block type.  Also quote the type so it can contain
  special characters.
* testing/lisp/test-org-element.el: Add test.

21 months agoox-latex: Remove -c argument from compilation with texi2dvi
Nicolas Goaziou [Sun, 16 Jun 2013 20:48:37 +0000]
ox-latex: Remove -c argument from compilation with texi2dvi

* lisp/ox-latex.el (org-latex-pdf-process): This argument can cause
  problem with links with a relative path, since compilation happens
  in a different directory.

21 months agoox-latex: Use "ulem" package for both underline and strike through
Nicolas Goaziou [Fri, 14 Jun 2013 17:46:15 +0000]
ox-latex: Use "ulem" package for both underline and strike through

* lisp/org.el (org-latex-default-packages-alist): Load "ulem" package
  by default.  Use "[normalem]" option to preserve \emph definition.
* lisp/ox-latex.el (org-latex-text-markup-alist): Use "\uline" and
  "\sout" commands from "ulem" package.

21 months agolisp/ox-html.el: Minimal encoding for code and verbatim text
Aurélien Aptel [Thu, 6 Jun 2013 18:55:33 +0000]
lisp/ox-html.el: Minimal encoding for code and verbatim text

* lisp/ox-html.el: Remove fancy string replacements for code and
verbatim text when exporting to html.

Exporting =--option= or ~--option~ to html used to replace -- with a


21 months agoox-latex: Use \ul (from soul package) instead of \underline
Nicolas Goaziou [Sun, 9 Jun 2013 09:11:13 +0000]
ox-latex: Use \ul (from soul package) instead of \underline

* lisp/org.el (org-latex-default-packages-alist): Document need for
  "soul" package.
* lisp/ox-latex.el (org-latex-text-markup-alist): Use \ul (from "soul"
  package) instead of \underline for underline text.

21 months agoox: Fix "Wrong argument type" error when attributes start with :key ""
Nicolas Goaziou [Wed, 5 Jun 2013 12:24:18 +0000]
ox: Fix "Wrong argument type" error when attributes start with :key ""

* lisp/ox.el (org-export-read-attribute): Fix "Wrong argument type"
  error when attributes start with :key "".

21 months agoorg.el: Fix some docstrings
Nicolas Goaziou [Sun, 2 Jun 2013 08:01:10 +0000]
org.el: Fix some docstrings

* lisp/org.el (org-fill-paragraph-separate-nobreak-p,
  org-fill-paragraph-with-timestamp-nobreak-p): Fix docstrings.

21 months agoFix commit 0018428c256b09b964439fde75cca702b9ddcca6
Nicolas Goaziou [Thu, 30 May 2013 19:48:48 +0000]
Fix commit 0018428c256b09b964439fde75cca702b9ddcca6

* contrib/lisp/ox-groff.el (org-groff-compile): Use appropriate
* lisp/ox-man.el (org-man-compile): Use appropriate argument.
* lisp/ox-texinfo.el (org-texinfo-compile): Use appropriate argument.

21 months agoox-html: Fix handling of time-stamp-file
Kodi Arfer [Thu, 30 May 2013 19:19:57 +0000]
ox-html: Fix handling of time-stamp-file

* lisp/ox-html.el (org-html--build-meta-info): Insert no timestamp
  when :time-stamp-file is nil.


21 months agoexport back-ends: Fix subtree export with a relative path
Nicolas Goaziou [Thu, 30 May 2013 18:29:34 +0000]
export back-ends: Fix subtree export with a relative path

* lisp/ox-latex.el (org-latex-compile): Properly set working
* lisp/ox-man.el (org-man-compile): Properly set working directory.
* lisp/ox-texinfo.el (org-texinfo-compile): Properly set working
* contrib/lisp/ox-groff.el (org-groff-compile): Properly set working

21 months agoRevert "export backends: Fix "PDF file ... wasn't produced" error with relative paths"
Nicolas Goaziou [Thu, 30 May 2013 18:29:48 +0000]
Revert "export backends: Fix "PDF file ... wasn't produced" error with relative paths"

This reverts commit 752a4eb49d1dff09b4a59e31bf29128a3202dc22.

21 months agoob-exp: Tiny cleanup related to 87ab99
Nicolas Goaziou [Thu, 30 May 2013 13:18:17 +0000]
ob-exp: Tiny cleanup related to 87ab99

* lisp/ob-exp.el (org-babel-exp-process-buffer): Tiny cleanup related
  to 87ab99f563606494fa147f2d71b20288f41f1d59.

21 months agoexport backends: Fix "PDF file ... wasn't produced" error with relative paths
Nicolas Goaziou [Thu, 30 May 2013 12:08:14 +0000]
export backends: Fix "PDF file ... wasn't produced" error with relative paths

* lisp/ox-latex.el (org-latex-compile): Make sure generated file can
  be found by `file-exists-p'.
* contrib/lisp/ox-groff.el (org-groff-compile): Make sure generated
  file can be found by `file-exists-p'.
* lisp/ox-man.el (org-man-compile): Make sure generated file can be
  found by `file-exists-p'.
* lisp/ox-texinfo.el (org-texinfo-compile): Make sure generated file
  can be found by `file-exists-p'.

21 months agoFix issues with TOC, internal links and html-doctype.
Rick Frankel [Tue, 28 May 2013 11:41:30 +0000]
Fix issues with TOC, internal links and html-doctype.

* contrib/lisp/ox-deck.el (deck): add new deck specific link handler.
(org-deck-toc): Add "sec-" to non-custom link ids.
(org-deck-link): New function. Rename internal link to point at
container instead of heading.
(org-deck-template): Use alist doctype instead of string (per changes
to ox-html).

21 months agoox-md: Fix error when exporting underline objects
Nicolas Goaziou [Tue, 28 May 2013 08:48:08 +0000]
ox-md: Fix error when exporting underline objects

* lisp/ox-md.el (md): Delegate underscore transcoding to HTML

22 months agoorg-element: Small optimization
Nicolas Goaziou [Sat, 25 May 2013 20:02:26 +0000]
org-element: Small optimization

* lisp/org-element.el (org-element--remove-indentation): Small

22 months agoorg-element: Fix a docstring
Nicolas Goaziou [Sat, 25 May 2013 15:07:38 +0000]
org-element: Fix a docstring

* lisp/org-element.el (org-element--remove-indentation): Fix

22 months agoorg-element/ox: Fix src-block indentation when it should be preserved
Nicolas Goaziou [Sat, 25 May 2013 12:18:48 +0000]
org-element/ox: Fix src-block indentation when it should be preserved

* lisp/org-element.el (org-element--remove-indentation): New function.
(org-element-example-block-parser, org-element-src-block-parser): Use
new function.
(org-element-src-block-interpreter): Update function according to
* lisp/ox.el (org-export-unravel-code): Do not remove any indentation
  since it now happens at the parser level.
* testing/lisp/test-org-element.el: Add tests.
* testing/lisp/test-ox.el: Refactor tests.

22 months agoFix previous commit
Bastien Guerry [Tue, 21 May 2013 10:37:05 +0000]
Fix previous commit

22 months agoorg-clock.el (org-clock-modify-effort-estimate): Clarify docstring
Bastien Guerry [Tue, 21 May 2013 10:33:36 +0000]
org-clock.el (org-clock-modify-effort-estimate): Clarify docstring

* org-clock.el (org-clock-modify-effort-estimate): Clarify

Thanks to Ken Mankoff for raising this.

22 months agoox: Small fix to cell width caching mechanism
Nicolas Goaziou [Mon, 20 May 2013 09:33:11 +0000]
ox: Small fix to cell width caching mechanism

* lisp/ox.el (org-export-table-cell-width): Be sure to use cache even
  when stored value is nil.

22 months agoox: Fix "Symbol's value as variable is void: org-export--default-title"
Nicolas Goaziou [Sun, 19 May 2013 07:50:10 +0000]
ox: Fix "Symbol's value as variable is void: org-export--default-title"

* lisp/ox.el (org-export--default-title): Fix "Symbol's value as
  variable is void: org-export--default-title".

Bug was introduced in b70e77343aa3daee9312c81c96ef5da217d7fda5.

22 months agoorg.texi: Fix joke
Nicolas Goaziou [Sat, 18 May 2013 17:53:29 +0000]
org.texi: Fix joke

22 months agoorg.texi: Correct syntax for exporting HTML fragments
Eric Abrahamsen [Sat, 18 May 2013 02:20:33 +0000]
org.texi: Correct syntax for exporting HTML fragments

22 months agoox-ascii: Improve speed wrt table export
Nicolas Goaziou [Sat, 18 May 2013 16:22:11 +0000]
ox-ascii: Improve speed wrt table export

* lisp/ox-ascii.el (org-ascii--table-cell-width): Cache results of
  this internal function since it is called at each cell, though its
  value only change column wise.

22 months agoox: Improve speed wrt table export
Nicolas Goaziou [Sat, 18 May 2013 16:20:46 +0000]
ox: Improve speed wrt table export

* lisp/ox.el (org-export-resolve-fuzzy-link): Change property name
  holding cache.
(org-export-table-has-header-p, org-export-table-row-group,
org-export-table-cell-width, org-export-table-cell-alignment): Cache
(org-export-table-cell-address): Refactor.
(org-export-get-parent): Inline function.
* testing/lisp/test-ox.el: Update tests.

22 months agoFix commit b83c03
Bastien Guerry [Thu, 16 May 2013 15:07:21 +0000]
Fix commit b83c03

22 months agoFix handling of setup file wrt setting tags
Bastien Guerry [Thu, 16 May 2013 08:33:32 +0000]
Fix handling of setup file wrt setting tags

* org.el (org-set-regexps-and-options-for-tags): Return a list
with tag-related variables.
(org-set-regexps-and-options): Append tags from a setup file
to the local tags of the file.
(org-agenda-prepare-buffers): Set tags from a setup file by
calling `org-set-regexps-and-options' when necessary.

Thanks to Anupam Sengupta for reporting this.

22 months agoFix options bug introduced in 16f12e
Nicolas Goaziou [Wed, 15 May 2013 11:18:18 +0000]
Fix options bug introduced in 16f12e

* lisp/ox.el (org-export-options-alist): Change default value
  for :title property.
(org-export--default-title): New dynamically scoped variable.
(org-export-store-default-title): New function.
(org-export--get-buffer-attributes): Remove title handling.
(org-export--get-global-options): Revert "ox: Fix default
title" (16f12e0aef9fab4bdc575ebee8c463846377ef8b).  Refactor code.
* testing/lisp/test-ox.el: Update a test.

22 months agoFix tests wrt commit 0c31a4fc
Bastien Guerry [Wed, 15 May 2013 14:31:44 +0000]
Fix tests wrt commit 0c31a4fc

22 months agoorg.el (org-set-regexps-and-options): Fix regexps
Bastien Guerry [Wed, 15 May 2013 14:28:30 +0000]
org.el (org-set-regexps-and-options): Fix regexps

* org.el (org-set-regexps-and-options): Fix
`org-deadline-time-hour-regexp' and

Thanks to Nick Daly for reporting this.

22 months agoorg-table.el: Rename a variable and a function
Bastien Guerry [Wed, 15 May 2013 14:18:37 +0000]
org-table.el: Rename a variable and a function

* org-table.el (org-table-TBLFM-begin-regexp): Rename from
(org-table-calc-current-TBLFM): Rename from

* org.el (org-ctrl-c-ctrl-c): Require org-table if needed.

22 months agoox-html: Fix org-export-string-as when org-html-with-latex is dvipng
Nicolas Goaziou [Tue, 14 May 2013 16:50:06 +0000]
ox-html: Fix org-export-string-as when org-html-with-latex is dvipng

* lisp/ox-html.el (org-html-format-latex): Provide a prefix for
  temporary file when using dvipng, even if the current buffer isn't
  associated to a file.

22 months agoorg.el (org-refresh-properties): Put the text property on the whole subtree, not... release_8.0.3
Bastien Guerry [Tue, 14 May 2013 14:07:21 +0000]
org.el (org-refresh-properties): Put the text property on the whole subtree, not just on the headline

* org.el (org-refresh-properties): Put the text property on
the whole subtree, not just on the headline.

Thanks to Ivan Kanis for reporting this and to Miguel Ruiz for confirming
the bug.

22 months agoob-sh: detect tables correctly
Achim Gratz [Sun, 12 May 2013 18:36:51 +0000]
ob-sh: detect tables correctly

* lisp/ob-sh.el (org-babel-sh-var-to-sh): When detecting a table, the
  first line could be the symbol `hline' rather than a list of table
  cells, so check for that as well.

Thanks to Paul Stansell for pointing out the error.

22 months agoox: Ignore whitespace differences when resolving a radio link
Nicolas Goaziou [Sun, 12 May 2013 18:42:30 +0000]
ox: Ignore whitespace differences when resolving a radio link

* lisp/ox.el (org-export-resolve-radio-link): Ignore whitespace
  differences when resolving a radio link.
* testing/lisp/test-ox.el: Add test.

22 months agoox: Fix radio target resolution
Nicolas Goaziou [Sun, 12 May 2013 15:49:51 +0000]
ox: Fix radio target resolution

* lisp/ox.el (org-export-resolve-radio-link): Fix radio target
* testing/lisp/test-ox.el: Add test.

22 months agoorg-element: Be stricter when matching arguments in LaTeX environments
Nicolas Goaziou [Sun, 12 May 2013 15:15:06 +0000]
org-element: Be stricter when matching arguments in LaTeX environments

* lisp/org-element.el (org-element--current-element): Be stricter when
  matching arguments in LaTeX environments.  In particular, do not
  allow anything else than options and arguments in the opening line.
* testing/lisp/test-org-element.el: Add tests.

22 months agoox-html: Remove code relative to bibliography
Nicolas Goaziou [Sun, 12 May 2013 12:38:10 +0000]
ox-html: Remove code relative to bibliography

* lisp/ox-html.el (org-html-inner-template): Remove code relative to
(org-html-bibliography): Remove function.

Bibliography is handled by the contrib/ package "ox-bibtex.el".

22 months agoox-latex: Fix regular caret protection
Nicolas Goaziou [Sun, 12 May 2013 07:56:26 +0000]
ox-latex: Fix regular caret protection

* lisp/ox-latex.el (org-latex-plain-text): Protect ^ char with \^{},
  not only \^, so it doesn't become a diacritic.

22 months agoox: Small refactoring
Nicolas Goaziou [Wed, 8 May 2013 16:13:06 +0000]
ox: Small refactoring

* lisp/ox.el (org-export-expand-include-keyword): Avoid using `read'
  to determine file name.

22 months agoox: Fix default title
Nicolas Goaziou [Wed, 8 May 2013 13:34:53 +0000]
ox: Fix default title

* lisp/ox.el (org-export--get-global-options): Properly set default
  title, i.e. when to TITLE keyword is provided.
* testing/lisp/test-ox.el: Add tests.

22 months agoorg-element: Fix visible-only parsing
Nicolas Goaziou [Wed, 8 May 2013 07:56:26 +0000]
org-element: Fix visible-only parsing

* lisp/org-element.el (org-element--parse-elements): Also parse
  visible headlines within an otherwise compacted headline.
* testing/lisp/test-org-element.el: Add test.

22 months agoox: Tolerate included file names without double quotes
Nicolas Goaziou [Tue, 7 May 2013 15:47:59 +0000]
ox: Tolerate included file names without double quotes

* lisp/ox.el (org-export-expand-include-keyword): Tolerate included
  file names without double quotes.

22 months agoorg.el (org-get-outline-path): Remove statistical and checkboxes cookies
Bastien Guerry [Tue, 7 May 2013 13:11:47 +0000]
org.el (org-get-outline-path): Remove statistical and checkboxes cookies

* org.el (org-get-outline-path): Remove statistical and
checkboxes cookies.

Thanks to Marcel van der Boom for reporting this.

22 months agoorg.texi (Conventions): Fix typo
Bastien Guerry [Tue, 7 May 2013 10:44:39 +0000]
org.texi (Conventions): Fix typo

* org.texi (Conventions): Fix typo.

22 months agomk/ add babel and exporter files in contrib to elpaplus
Achim Gratz [Mon, 6 May 2013 19:06:05 +0000]
mk/ add babel and exporter files in contrib to elpaplus

* mk/ (elpaplus-dirty elpaplus-up): Add babel and exporter
  files in contrib by extending ORG_ADD_CONTRIB with their

22 months agoox: Fix caching for fuzzy link resolution
Nicolas Goaziou [Sat, 4 May 2013 06:56:30 +0000]
ox: Fix caching for fuzzy link resolution

* lisp/ox.el (org-export-resolve-fuzzy-link): Fix caching process.
* testing/lisp/test-ox.el: Add test.

22 months agoox-latex.el (org-latex-headline): Don’t insert alternate title if identical to regula...
Aaron Ecay [Thu, 2 May 2013 04:36:44 +0000]
ox-latex.el (org-latex-headline): Don’t insert alternate title if identical to regular one

* lisp/ox-latex.el (org-latex-headline): Don’t insert alternate title if
  identical to regular one.

22 months agoox: Cache locations of fuzzy links
Lawrence Mitchell [Thu, 2 May 2013 09:03:13 +0000]
ox: Cache locations of fuzzy links

* ox.el (org-export-resolve-fuzzy-link): Look for fuzzy link in a
  cache before trying to resolve it in the parse tree.

When a document contains a large number of identical fuzzy links, it
doesn't make sense to continually search for them.  Instead, cache the
locations in the position independent case.

22 months agoRephrase previous change
Bastien Guerry [Mon, 29 Apr 2013 17:10:55 +0000]
Rephrase previous change

22 months agoorg.texi (Export settings): Document `org-export-allow-bind-keywords'
Bastien Guerry [Mon, 29 Apr 2013 17:09:29 +0000]
org.texi (Export settings): Document `org-export-allow-bind-keywords'

* org.texi (Export settings): Document

Thanks to Thomas S. Dye for spotting this.

22 months agoorg-agenda.el: Fix a bug about narrowing to wrong region boundaries
Bastien Guerry [Mon, 29 Apr 2013 17:02:13 +0000]
org-agenda.el: Fix a bug about narrowing to wrong region boundaries

* org-agenda.el (org-agenda, org-search-view, org-tags-view)
(org-agenda-get-day-entries, org-agenda-set-restriction-lock):
Use (current-buffer) as the value of `org-agenda-restrict'.
Fix a bug about narrowing to wrong region boundaries when
`org-agenda-restrict' is non-nil.

Thanks to Thomas Holst for reporting this bug.

22 months agoorg.el (org-agenda-text-search-extra-files): Fix typos in docstring
Bastien Guerry [Mon, 29 Apr 2013 15:23:56 +0000]
org.el (org-agenda-text-search-extra-files): Fix typos in docstring

* org.el (org-agenda-text-search-extra-files): Fix typos in

22 months agoox-publish: Fix "Invalid time specification" error with timestamps in DATE
Nicolas Goaziou [Mon, 29 Apr 2013 07:39:35 +0000]
ox-publish: Fix "Invalid time specification" error with timestamps in DATE

* lisp/ox-publish.el (org-publish-find-date): Fix "Invalid time
  specification" error with timestamps in DATE.