org-mode.git
9 months agoox-beamer: Remove strange indentation in default header release_8.0.6
Nicolas Goaziou [Fri, 12 Jul 2013 07:18:47 +0000]
ox-beamer: Remove strange indentation in default header

* lisp/ox-beamer.el: Remove strange indentation in default header.

9 months agoox-beamer/latex/koma-letter: Fix missing newlines in header
Nicolas Goaziou [Fri, 12 Jul 2013 07:07:23 +0000]
ox-beamer/latex/koma-letter: Fix missing newlines in header

* contrib/lisp/ox-koma-letter.el (org-koma-letter-template): Fix
  missing newlines in header.
* lisp/ox-beamer.el (org-beamer-template): Fix missing newlines in
  header.
* lisp/ox-latex.el (org-latex-template): Fix missing newlines in
  header.

9 months agoorg.el (org-set-regexps-and-options-for-tags): Fix concatenation of the tags list
Bastien Guerry [Thu, 11 Jul 2013 12:33:08 +0000]
org.el (org-set-regexps-and-options-for-tags): Fix concatenation of the tags list

* org.el (org-set-regexps-and-options-for-tags): Fix
concatenation of the tags list.

Thanks to Nick for reporting this bug and to Rainer for confirming the fix.

9 months agoUse empty commented lines as separators when filling comments
Nicolas Goaziou [Wed, 10 Jul 2013 12:00:30 +0000]
Use empty commented lines as separators when filling comments

* lisp/org.el (org-fill-paragraph): Use empty commented lines as
  separators when filling comments.  This mimics default behaviour
  from "newcomment.el", which is not used in Org.
* testing/lisp/test-org.el: Add tests.

9 months agoox-odt.el (org-odt-pixels-per-inch): Use 96.0 as the default
Bastien Guerry [Wed, 10 Jul 2013 10:12:59 +0000]
ox-odt.el (org-odt-pixels-per-inch): Use 96.0 as the default

* ox-odt.el (org-odt-pixels-per-inch): Use 96.0 as the default.

Thanks to Vincent Liard for this patch.

9 months agocontrib/lisp/ox-rss.el: Mention that Emacs 24.1 at least is required
Bastien Guerry [Wed, 10 Jul 2013 09:53:14 +0000]
contrib/lisp/ox-rss.el: Mention that Emacs 24.1 at least is required

9 months agoFix error when filling consecutive comments
Nicolas Goaziou [Tue, 9 Jul 2013 11:49:17 +0000]
Fix error when filling consecutive comments

* lisp/org.el (org-fill-paragraph): Do not mix consecutive comments
  when filling any of them.
* testing/lisp/test-org.el: Add test.

Thanks to Samuel Wales for reporting it.

9 months agoox-html: Fix number of arguments when setting `org-html-format-headline-function'
Nicolas Goaziou [Mon, 8 Jul 2013 20:26:31 +0000]
ox-html: Fix number of arguments when setting `org-html-format-headline-function'

* lisp/ox-html.el (org-html-format-headline--wrap): Fix number of
  arguments when setting `org-html-format-headline-function'.

Thanks to Jisang Yoo for reporting it.

9 months agoorg.el (org-set-regexps-and-options-for-tags): Fix the setting of tag groups when...
Bastien Guerry [Sat, 6 Jul 2013 14:15:18 +0000]
org.el (org-set-regexps-and-options-for-tags): Fix the setting of tag groups when relying on `org-tag-alist'

* org.el (org-set-regexps-and-options-for-tags): Fix the
setting of tag groups when relying on `org-tag-alist', not on
tags directly set in the buffer with the #+TAGS option.

Thanks to Maurice for reporting this.

9 months agoorg-element: Fix interpretation of empty items
Nicolas Goaziou [Fri, 5 Jul 2013 22:39:28 +0000]
org-element: Fix interpretation of empty items

* lisp/org-element.el (org-element-item-interpreter): This patch fixes
  "(wrong-type-argument arrayp nil)" error when trying to interpret
  empty items.
* testing/lisp/test-org-element.el: Add test.

9 months agoorg-element: Fix "*" itemized plain lists interpretation
Nicolas Goaziou [Fri, 5 Jul 2013 19:09:23 +0000]
org-element: Fix "*" itemized plain lists interpretation

* lisp/org-element.el (org-element-item-interpreter): Correctly
  interpret back plain lists with "*" items.  This fixes "This is not
  a list" error returned in this case.
* testing/lisp/test-org-element.el: Add test.

9 months agoMerge branch 'maint' of orgmode.org:org-mode into maint
Bastien Guerry [Fri, 5 Jul 2013 12:30:48 +0000]
Merge branch 'maint' of orgmode.org:org-mode into maint

9 months agoorg-agenda.el (org-agenda-archive-with): Save window excursion
Bastien Guerry [Fri, 5 Jul 2013 12:29:51 +0000]
org-agenda.el (org-agenda-archive-with): Save window excursion

* org-agenda.el (org-agenda-archive-with): Save window
excursion.

9 months agoox-latex: Update a docstring
Nicolas Goaziou [Fri, 5 Jul 2013 11:57:46 +0000]
ox-latex: Update a docstring

* lisp/ox-latex.el (org-latex-listings): Update docstring.

9 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.

9 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.

9 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.

9 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.

TINYCHANGE

9 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.

9 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
docstring.
(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.

9 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'.

9 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.

9 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:
http://article.gmane.org/gmane.emacs.orgmode/73429

9 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 http://mid.gmane.org/87ppv2atvf.fsf%40gmail.com for the
discussion of this bug.

9 months agoMerge branch 'maint' of orgmode.org:org-mode into maint
Bastien Guerry [Tue, 2 Jul 2013 07:31:57 +0000]
Merge branch 'maint' of orgmode.org:org-mode into maint

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

Thanks to Samuel for reporting this.

9 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.

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

9 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).

9 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 http://mid.gmane.org/87wqpaqz3c.fsf%40gmail.com for the discussion
about whether this feature should go in or not.

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

TINYCHANGE

9 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.

9 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.

9 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.

9 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.

9 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

9 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.

9 months agoMerge branch 'maint' of orgmode.org:org-mode into maint
Bastien Guerry [Fri, 28 Jun 2013 07:13:28 +0000]
Merge branch 'maint' of orgmode.org:org-mode into maint

9 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.

9 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
  manipulation.

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).

9 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.

9 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.

TINYCHANGE

9 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.

TINYCHANGE

9 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
formats.
(org-rss-build-channel-info): Fix the date format.  Add the
author's name after her email.

9 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.

9 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
`orgstruct-heading-prefix-regexp'.

Thanks to Nathaniel Cunningham for reporting this.
http://mid.gmane.org/CAAGwS84TrrmPdO9eQLc1acCvwTiPy=N5TnC1p2S-dz5jazDgjg%40mail.gmail.com

9 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
early.

Thanks to Nicolas Richard for the patch:
http://mid.gmane.org/87d2rfsvby.fsf%40yahoo.fr

9 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.

9 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.

9 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.

9 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.

9 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.

9 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
  translations.

Patch suggested by Georg Lehner.

9 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.

9 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.

9 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
  7b8a79326fae64f40b20e3a50c02a5a40f1c0b62.

9 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.

9 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.

9 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.

9 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.

10 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.

10 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.

10 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
ndash.

TINYCHANGE

10 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.

10 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 "".

10 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-line-break-nobreak-p,
  org-fill-paragraph-with-timestamp-nobreak-p): Fix docstrings.

10 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
  argument.
* lisp/ox-man.el (org-man-compile): Use appropriate argument.
* lisp/ox-texinfo.el (org-texinfo-compile): Use appropriate argument.

10 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.

TINYCHANGE

10 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
  directory.
* lisp/ox-man.el (org-man-compile): Properly set working directory.
* lisp/ox-texinfo.el (org-texinfo-compile): Properly set working
  directory.
* contrib/lisp/ox-groff.el (org-groff-compile): Properly set working
  directory.

10 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.

10 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.

10 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'.

10 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).

10 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
  back-end.

10 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
  optimization.

10 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
  docstring.

10 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
change.
* 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.

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

10 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
docstring.

Thanks to Ken Mankoff for raising this.

10 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.

10 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.

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

10 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

10 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.

10 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
results.
(org-export-table-cell-address): Refactor.
(org-export-get-parent): Inline function.
* testing/lisp/test-ox.el: Update tests.

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

11 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.

11 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.

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

11 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
`org-scheduled-time-hour-regexp'.

Thanks to Nick Daly for reporting this.

11 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-TBLFM-begin-regexp'.
(org-table-calc-current-TBLFM): Rename from
`org-calc-current-TBLFM'.

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

11 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.

11 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.

11 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.

11 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.

11 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
  resolution.
* testing/lisp/test-ox.el: Add test.

11 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.

11 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
  bibliography.
(org-html-bibliography): Remove function.

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

11 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.

11 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.