23 months agoox-taskjuggler.el (org-taskjuggler--build-task): Fix code typo release_8.0.1
Baptiste [Sat, 20 Apr 2013 07:19:21 +0000]
ox-taskjuggler.el (org-taskjuggler--build-task): Fix code typo

* ox-taskjuggler.el (org-taskjuggler--build-task): Fix code typo.


23 months agoorg-agenda.el (org-cmp-ts): Avoid error when trying to string-match against nil
Richard Lawrence [Sat, 20 Apr 2013 06:58:29 +0000]
org-agenda.el (org-cmp-ts): Avoid error when trying to string-match against nil

* org-agenda.el (org-cmp-ts): Avoid error when trying to
string-match against nil.


23 months agoorg.el (org-clone-subtree-with-time-shift): Update behavior
Bastien Guerry [Sat, 20 Apr 2013 06:51:37 +0000]
org.el (org-clone-subtree-with-time-shift): Update behavior

* org.el (org-clone-subtree-with-time-shift): Unconditionally
ask for a time shift if there is a time-stamp.  Don't ask for
a time shift when called with a universal prefix argument.

Thanks to Ingmar Meissner for raising this issue again.

23 months agoox-beamer: Do not ignore uppercase environements
Nicolas Goaziou [Sat, 20 Apr 2013 06:32:10 +0000]
ox-beamer: Do not ignore uppercase environements

* lisp/ox-beamer.el (org-beamer--frame-level): Small refactoring.
(org-beamer--format-block, org-beamer-headline): Do not systematically
downcase environment names as some require upper case in their
names (e.g. noteNH and CJK).

Thanks to James Harkins for reporting the bug.

23 months agoob-core.el (org-babel-insert-result): Fix bug when inserting results as a list: ensur...
Bastien Guerry [Fri, 19 Apr 2013 17:44:40 +0000]
ob-core.el (org-babel-insert-result): Fix bug when inserting results as a list: ensure we split a string containing "\n"

* ob-core.el (org-babel-insert-result): Fix bug when inserting
results as a list: ensure we split a string containing "\n".

Thanks to Sébastien Vauban for reporting this.

23 months agoox-taskjuggler.el: Fix dependencies string
Nicolas Goaziou [Fri, 19 Apr 2013 09:30:49 +0000]
ox-taskjuggler.el: Fix dependencies string

* contrib/lisp/ox-taskjuggler.el (org-taskjuggler-format-dependencies):
  Fix dependencies string.

23 months agoox-html.el: Fix copyright header
Bastien Guerry [Thu, 18 Apr 2013 17:32:07 +0000]
ox-html.el: Fix copyright header

* ox-html.el: Fix copyright header.

23 months agodoc/orgguide.texi: Fix menus release_8.0
Bastien Guerry [Thu, 18 Apr 2013 16:21:13 +0000]
doc/orgguide.texi: Fix menus

23 months agodoc/orgguide.texi: Fix wrong node ref
Bastien Guerry [Thu, 18 Apr 2013 16:17:52 +0000]
doc/orgguide.texi: Fix wrong node ref

23 months agomk/ Don't use non-existent file AUTHORS
Bastien Guerry [Thu, 18 Apr 2013 16:08:13 +0000]
mk/ Don't use non-existent file AUTHORS

23 months agoMerge 8.0
Bastien Guerry [Thu, 18 Apr 2013 16:00:30 +0000]
Merge 8.0

23 months agoorg.el (org-store-link): Don't add a search string when storing a link from a radio...
Bastien Guerry [Thu, 18 Apr 2013 15:27:17 +0000]
org.el (org-store-link): Don't add a search string when storing a link from a radio target

* org.el (org-store-link): Don't add a search string when
storing a link from a radio target.
(org-open-at-point): Jump to the radio link (<<<radio>>>), not
to the simple target (<<target>>).

23 months agoox: Change scope for `org-export-with-timestamps'
Nicolas Goaziou [Sun, 14 Apr 2013 20:20:16 +0000]
ox: Change scope for `org-export-with-timestamps'

* lisp/ox.el (org-export-with-timestamps): Only applies to isolated
  timestamps, i.e. timestamps in a paragraph containing only
  timestamps and empty strings.
(org-export--skip-p): Skip timestamps according to new behaviour.
* testing/lisp/test-ox.el: Update tests.

23 months agoorg-table.el (org-table-get-remote-range): Fix typo
Bastien Guerry [Thu, 18 Apr 2013 13:42:31 +0000]
org-table.el (org-table-get-remote-range): Fix typo

* org-table.el (org-table-get-remote-range): Fix typo.

23 months agoMakefile (clean-install): Also remove ox*.el* files
Bastien Guerry [Thu, 18 Apr 2013 12:43:45 +0000]
Makefile (clean-install): Also remove ox*.el* files

* Makefile (clean-install): Also remove ox*.el* files.

23 months agoorg.texi (History and Acknowledgments): Small rephrasing
Bastien Guerry [Thu, 18 Apr 2013 11:04:29 +0000]
org.texi (History and Acknowledgments): Small rephrasing

* org.texi (History and Acknowledgments): Small rephrasing.

23 months agoorg.texi (Template elements): Add a footnote about tags accepted in a year datetree
Bastien Guerry [Thu, 18 Apr 2013 10:45:07 +0000]
org.texi (Template elements): Add a footnote about tags accepted in a year datetree

* org.texi (Template elements): Add a footnote about tags
accepted in a year datetree.

23 months agoMerge branch 'master' of
Bastien Guerry [Thu, 18 Apr 2013 10:31:05 +0000]
Merge branch 'master' of

23 months agoMerge branch 'master-apply-aaron-patch2'
Bastien Guerry [Thu, 18 Apr 2013 10:28:03 +0000]
Merge branch 'master-apply-aaron-patch2'


23 months agoClean up various org-babel-*-maybe commands
Aaron Ecay [Thu, 18 Apr 2013 08:06:55 +0000]
Clean up various org-babel-*-maybe commands

* lisp/ob-core.el (org-babel-when-in-src-block): New macro.
  (org-babel-load-in-session-maybe, org-babel-pop-to-session-maybe):
  Use it.

org-babel-get-src-block-info is a potentially expensive operation, which
is why its ‘light’ argument exists.  But in any case, it is overkill to
query the whole info, if all that is needed is whether point is in a
block or not.  Factor the simplified common code out into a macro.

23 months agoMerge branch 'master' of
Christian Egli [Thu, 18 Apr 2013 10:24:32 +0000]
Merge branch 'master' of

# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.

23 months agoox-taskjuggler: Set the default reports to work out-of-the-box with tj3
Christian Egli [Thu, 18 Apr 2013 10:23:08 +0000]
ox-taskjuggler: Set the default reports to work out-of-the-box with tj3

* ox-taskjuggler.el (org-taskjuggler-default-reports): Set the default
reports so that the user gets a good out-of-the-box experience with

The defaults in the defcustom now out-of-the-box support tj3. If you
really want to export to taskjuggler 2.x the documentation explains
how you can do that.

23 months agoorg-datetree.el: Be more restrictive when finding a year datetree
Bastien Guerry [Thu, 18 Apr 2013 10:20:08 +0000]
org-datetree.el: Be more restrictive when finding a year datetree

* org-datetree.el (org-datetree-find-month-create)
(org-datetree-find-day-create): Add a docstring.
(org-datetree-find-year-create): Only match headlines with a
year or a year and one or more tags.

Thanks to Suvayu Ali for reporting this.

23 months agoorg.texi: Enhance style.
Bastien Guerry [Thu, 18 Apr 2013 10:04:48 +0000]
org.texi: Enhance style.

* org.texi (Beamer export, @LaTeX{} and PDF export)
(Header and sectioning, @LaTeX{} specific attributes): Enhance

Thanks to Thomas Dye for these suggestions.

23 months agoFix bug in org-babel-execute-src-block
Aaron Ecay [Thu, 18 Apr 2013 08:02:47 +0000]
Fix bug in org-babel-execute-src-block

* lisp/ob-core.el (org-babel-execute-src-block): Use `copy-tree'
to prevent setf from modifying users variables withing let-bound
`info' variable.

Otherwise, the setf calls in this function can reach into and change
other configuration variables, such as the library of babel.

23 months agoAdd 'inline-only option to org-export-babel-evaluate
Aaron Ecay [Sun, 31 Mar 2013 22:47:44 +0000]
Add 'inline-only option to org-export-babel-evaluate

* lisp/ob-exp.el (org-export-babel-evaluate): Add a 'inline-only option.
  (org-babel-exp-results): Implement 'inline-only for
* doc/org.texi (Exporting code blocks): Document the 'inline-only setting
  for `org-export-babel-evaluate'.

This is useful because there is no way for inline results to be stored.
The imagined usecase is that all non-inline source blocks will be
evaluated manually by the user.  Inline blocks, however, must be
evaluated during export, or they will be simply deleted by the exporter.

23 months agoMerge branch 'master' of
Bastien Guerry [Thu, 18 Apr 2013 08:29:12 +0000]
Merge branch 'master' of

23 months agoUse `org-add-hook' in some places and merge Emacs revno r112320
Bastien Guerry [Thu, 18 Apr 2013 08:29:00 +0000]
Use `org-add-hook' in some places and merge Emacs revno r112320

* ox.el (org-export-stack-mode)
* org-crypt.el (org-crypt-check-auto-save)
(org-crypt-use-before-save-magic): Use `org-add-hook' when the
hooks are local hooks.

* org-indent.el (org-indent-mode)
* org-agenda.el (org-agenda-mode): Use `org-add-hook' and
merge upstream change from Emacs revno r112320.

23 months agoob-core.el (org-babel-pop-to-session-maybe): Fix docstring
Bastien Guerry [Thu, 18 Apr 2013 08:22:34 +0000]
ob-core.el (org-babel-pop-to-session-maybe): Fix docstring

* ob-core.el (org-babel-pop-to-session-maybe): Fix docstring.
(org-babel-pop-to-session-maybe): Use true function's name,
not its alias.

23 months agoox-latex: Handle consecutive alterning sub and superscript
Nicolas Goaziou [Wed, 17 Apr 2013 22:06:06 +0000]
ox-latex: Handle consecutive alterning sub and superscript

* lisp/ox-latex.el (org-latex--script-size): Handle consecutive
  alterning sub and superscript.

This patch fixes export of "a^b_c" constructs.

23 months agoox-org.el: Fix some docstrings
Nicolas Goaziou [Wed, 17 Apr 2013 20:44:28 +0000]
ox-org.el: Fix some docstrings

* lisp/ox-org.el (org-org-identity): Fix docstring.  Tiny refactoring.
(org-org-headline, org-org-keyword): Fix docstring.

23 months agoorg.texi: Improve documentation for export settings
Nicolas Goaziou [Wed, 17 Apr 2013 19:53:22 +0000]
org.texi: Improve documentation for export settings

* doc/org.texi (Export settings): Improve documentation.

23 months agoorg.texi: Small fixes to HTML documentation
Nicolas Goaziou [Wed, 17 Apr 2013 19:33:34 +0000]
org.texi: Small fixes to HTML documentation

* doc/org.texi (Math formatting in HTML export): Fix OPTIONS item's name.
(Text areas in HTML export): Update text areas.
(HTML Export commands): Update export commands.

23 months agoob-perl: fix result handling
Achim Gratz [Wed, 17 Apr 2013 19:38:21 +0000]
ob-perl: fix result handling

* lisp/ob-perl.el (org-babel-perl-wrapper-method): Select output
  handle only after evaluation so that output is not mixed into
  results eavaluation.
  (org-babel-perl-evaluate): Fix the handling of results for ":results
  output" to also parse tables.  Use the same lambda construction as
  in ob-sh.el to avoid code duplication.

23 months agoox-latex: Use \text command for subscript and superscript
Nicolas Goaziou [Wed, 17 Apr 2013 18:56:32 +0000]
ox-latex: Use \text command for subscript and superscript

* lisp/ox-latex.el (org-latex--script-size): Use \text command for
  subscript and superscript.  This is far superior to \mathrm, but it
  requires "amstext" package.  In particular, accented characters are
  now allowed within sub/superscript.
* lisp/org.el (org-latex-default-packages-alist): Add "amstext"

23 months agoox-latex: Better handling of sub/superscript within sub/superscript
Nicolas Goaziou [Wed, 17 Apr 2013 18:57:21 +0000]
ox-latex: Better handling of sub/superscript within sub/superscript

* lisp/ox-latex.el (org-latex--script-size): Fix error when using
  sub/superscript within sub/superscript.

23 months agoorg.texi (Agenda commands): Add a footnote
Bastien Guerry [Wed, 17 Apr 2013 18:34:28 +0000]
org.texi (Agenda commands): Add a footnote

* org.texi (Agenda commands): Add a footnote about dragging
agenda lines: it does not persist and it does not change the
.org files.

23 months agoorg-agenda.el: New commands for dragging a line forward/backward
Bastien Guerry [Wed, 17 Apr 2013 18:25:02 +0000]
org-agenda.el: New commands for dragging a line forward/backward

* org-agenda.el (org-agenda-drag-line-forward)
(org-agenda-drag-line-backward): New commands.
(org-agenda-mode-map): Bind the new commands to M-<down> and
M-<up> respectively.

* org.texi (Agenda commands): Add a table heading for dragging
agenda lines forward/backward.

23 months agoox-latex: Improve subscript/superscript export
Nicolas Goaziou [Wed, 17 Apr 2013 16:43:01 +0000]
ox-latex: Improve subscript/superscript export

* lisp/ox-latex.el (org-latex--script-size): New function.
(org-latex-subscript, org-latex-superscript): Use new function.

23 months agoox-taskjuggler: Fix checkdoc warnings
Christian Egli [Wed, 17 Apr 2013 15:43:46 +0000]
ox-taskjuggler: Fix checkdoc warnings

* ox-taskjuggler.el (org-taskjuggler-assign-task-ids,
org-taskjuggler-assign-resource-ids, org-taskjuggler-get-id,
org-taskjuggler-project-plan):  Fix checkdoc warnings.

23 months agoox-taskjuggler: Fix compilation warnings
Christian Egli [Wed, 17 Apr 2013 14:01:07 +0000]
ox-taskjuggler: Fix compilation warnings

* ox-taskjuggler.el (org-taskjuggler--build-task,
org-taskjuggler--build-project): Fix compilation warnings.

23 months agoorg.el (org-insert-heading): Fix insertion of items
Bastien Guerry [Wed, 17 Apr 2013 08:10:34 +0000]
org.el (org-insert-heading): Fix insertion of items

* org.el (org-insert-heading): Fix insertion of items.

23 months agoorg-capture.el (org-capture-use-agenda-date): Fix docstring
Bastien Guerry [Wed, 17 Apr 2013 05:00:59 +0000]
org-capture.el (org-capture-use-agenda-date): Fix docstring

* org-capture.el (org-capture-use-agenda-date): Fix docstring.

23 months agoorg.texi (Agenda commands): Add documentation for bulk marking commands
Bastien Guerry [Wed, 17 Apr 2013 05:00:35 +0000]
org.texi (Agenda commands): Add documentation for bulk marking commands

* org.texi (Agenda commands): Add documentation for
`org-agenda-bulk-toggle' and `org-agenda-bulk-toggle-all'.

23 months agoorg-agenda.el: (org-agenda-bulk-toggle-all): New command
Bastien Guerry [Tue, 16 Apr 2013 20:02:07 +0000]
org-agenda.el: (org-agenda-bulk-toggle-all): New command

* org-agenda.el (org-agenda-bulk-toggle): Fix docstring.
(org-agenda-bulk-toggle-all): New command.
(org-agenda-mode-map): Bind `org-agenda-bulk-toggle' to `M-m'
and `org-agenda-bulk-toggle-all' to `M-*'.
(org-agenda-menu): Add `org-agenda-bulk-toggle' and
(org-agenda-bulk-mark, org-agenda-bulk-unmark): Jump to the
next headline, not the next line.

23 months agoorg.texi (Publishing options): Update the list of options
Bastien Guerry [Tue, 16 Apr 2013 16:55:10 +0000]
org.texi (Publishing options): Update the list of options

* org.texi (Publishing options): Update the list of options.
(Simple example, Complex example): Fix the examples.

23 months agoorg-capture.el (org-mks): Fix bug.
Bastien Guerry [Tue, 16 Apr 2013 16:27:11 +0000]
org-capture.el (org-mks): Fix bug.

* org-capture.el (org-mks): Fix bug: let-bind
`case-fold-search' to nil while matching the first letter of a
multi-letters template.

Thanks to Robert Goldman for reporting this bug and providing the fix.

23 months agoorg.texi (Formula syntax for Calc): Don't use a bold font the warning
Bastien Guerry [Tue, 16 Apr 2013 14:40:35 +0000]
org.texi (Formula syntax for Calc): Don't use a bold font the warning

* org.texi (Formula syntax for Calc): Don't use a bold font
the warning.

23 months agoorg.el (org-store-link): When a bracket link is found in a headline, use the link...
Bastien Guerry [Tue, 16 Apr 2013 14:05:55 +0000]
org.el (org-store-link): When a bracket link is found in a headline, use the link description or the link path

* org.el (org-store-link): When a bracket link is found in a
headline, use the link description or the link path.

23 months agoox/ox-latex: Fix docstrings
Nicolas Goaziou [Tue, 16 Apr 2013 10:54:05 +0000]
ox/ox-latex: Fix docstrings

* lisp/ox-latex.el: Remove instructions since everything is documented
  in Org manual.
* lisp/ox.el (org-export-with-smart-quotes): Use LATEX instead of
  LaTeX for keywords, the latter being hard to type, somewhat
  difficult to read, and overall just pedantic.

23 months agoorg-man.el: Fix code typo
Nicolas Goaziou [Tue, 16 Apr 2013 10:51:08 +0000]
org-man.el: Fix code typo

* contrib/lisp/org-man.el (org-man-export): Fix code typo.

23 months agoorg.el: Use `user-error' instead of `error'
Bastien Guerry [Tue, 16 Apr 2013 10:02:35 +0000]
org.el: Use `user-error' instead of `error'

* org.el (org-flag-drawer, org-hide-block-toggle)
(org-goto-left, org-goto-right, org-promote)
(org-paste-subtree, org-narrow-to-block, org-sort-entries)
(org-insert-link, org-offer-links-in-entry, org-open-file)
(org-refile, org-refile-get-location)
(org-refile-check-position, org-prepare-dblock, org-todo)
(org-auto-repeat-maybe, org-show-todo-tree, org-sparse-tree)
(org-occur, org-priority, org-scan-tags)
(org-get-tags-string, org-property-action, org-set-effort)
(org-entry-put, org-insert-drawer)
(org-property-next-allowed-value, org-evaluate-time-range)
(org-closest-date, org-timestamp-change)
(org-revert-all-org-buffers, org-cycle-agenda-files)
(org-agenda-file-to-front, org-remove-file)
(org-preview-latex-fragment, org-format-latex)
(org-create-math-formula, org-create-formula-image)
(org-speed-command-help, org-check-before-invisible-edit)
(org-modifier-cursor-error, org-hidden-tree-error)
(org-mark-subtree, org-kill-line, org-first-sibling-p)
(org-up-element, org-down-element)
(org-drag-element-backward, org-drag-element-forward)
(org-unindent-buffer, org-speedbar-set-agenda-restriction):
Use `user-error' instead of `error'.

23 months agoox-latex.el (latex): Don't force exporting with smart quotes
Bastien Guerry [Tue, 16 Apr 2013 09:39:41 +0000]
ox-latex.el (latex): Don't force exporting with smart quotes

* ox-latex.el (latex): Don't force exporting with smart

* ox.el (org-export-with-smart-quotes): Mention the need to
use the relevant Babel package when setting this option to

Before the fix, if the user used #+LANGUAGE: fr with no other
customization, the quotes would disappear from the PDF output.
That's because smart quotes were enforced, while the .tex file
needs \usepackage[french]{babel} to display the quotes.

We now don't force the smart quotes and give more explanations
in `org-export-with-smart-quotes'.

23 months agoorg.texi (Other built-in back-ends): New section
Bastien Guerry [Tue, 16 Apr 2013 09:17:05 +0000]
org.texi (Other built-in back-ends): New section

* org.texi (Other built-in back-ends): New section.

23 months agoorg-src.el (org-edit-src-turn-on-auto-save): New option
Bastien Guerry [Tue, 16 Apr 2013 08:38:01 +0000]
org-src.el (org-edit-src-turn-on-auto-save): New option

* org-src.el (org-edit-src-turn-on-auto-save): New option.
(org-edit-src-code): Use it.
(org-edit-src-auto-save-idle-delay): Enhance docstring.

* doc/org.texi (Editing source code): Document
`org-edit-src-auto-save-idle-delay' and

Thanks to Charles C. Berry for bringing this up again.

23 months agoorg.texi (External links): Document contributed link types separately
Bastien Guerry [Tue, 16 Apr 2013 08:06:41 +0000]
org.texi (External links): Document contributed link types separately

* org.texi (External links): Document contributed link types

23 months agoorg.texi (Closing items): Document `org-closed-keep-when-no-todo'
Bastien Guerry [Tue, 16 Apr 2013 07:59:21 +0000]
org.texi (Closing items): Document `org-closed-keep-when-no-todo'

* org.texi (Closing items): Document

23 months agoorg-capture.el (org-mks): Make cursor invisible
Bastien Guerry [Tue, 16 Apr 2013 07:23:45 +0000]
org-capture.el (org-mks): Make cursor invisible

* org-capture.el (org-mks): Make cursor invisible.

23 months agoorg.el (org-link-expand-abbrev): Save match data before before calling the replacemen...
Bastien Guerry [Tue, 16 Apr 2013 07:15:45 +0000]
org.el (org-link-expand-abbrev): Save match data before before calling the replacement function

* org.el (org-link-expand-abbrev): Save match data before
before calling the replacement function.

23 months agoorg-list.el (org-sort-list): Don't move point when matching time values
Bastien Guerry [Tue, 16 Apr 2013 06:23:52 +0000]
org-list.el (org-sort-list): Don't move point when matching time values

* org-list.el (org-sort-list): Don't move point when matching
time values.

Thanks to Samuel Wales for reporting this bug.

23 months agoFix typo in docstring of `org-small-year-to-year'
Carsten Dominik [Tue, 16 Apr 2013 03:59:27 +0000]
Fix typo in docstring of `org-small-year-to-year'

* lisp/org.el (org-small-year-to-year): Fix typo in docstring

23 months agoMerge branch 'master' of
Bastien Guerry [Mon, 15 Apr 2013 21:38:47 +0000]
Merge branch 'master' of

23 months agoorg-man.el (org-man-export): Fix export to LaTeX and add export to Texinfo
Bastien Guerry [Mon, 15 Apr 2013 21:38:39 +0000]
org-man.el (org-man-export): Fix export to LaTeX and add export to Texinfo

* org-man.el (org-man-export): Fix export to LaTeX and add
export to Texinfo.

23 months agoorg.texi (Advanced configuration): Use @lisp and @smalllisp
Bastien Guerry [Mon, 15 Apr 2013 21:38:00 +0000]
org.texi (Advanced configuration): Use @lisp and @smalllisp

* org.texi (Advanced configuration): Use @lisp and @smalllisp.

23 months agoBetter document LATEX_HEADER_EXTRA keywords
Nicolas Goaziou [Mon, 15 Apr 2013 21:24:53 +0000]
Better document LATEX_HEADER_EXTRA keywords

* doc/org.texi (Header and sectioning): Add a footnote about the
  different between LATEX_HEADER_EXTRA and LATEX_HEADER.
* lisp/ox-latex.el (org-latex-classes): Be more explicit about

23 months agoorg.texi: Small update
Nicolas Goaziou [Mon, 15 Apr 2013 21:12:56 +0000]
org.texi: Small update

23 months agoMerge branch 'master' of
Bastien Guerry [Mon, 15 Apr 2013 20:57:33 +0000]
Merge branch 'master' of

23 months agoorg-bibtex.el: Fix email address
Bastien Guerry [Mon, 15 Apr 2013 20:57:26 +0000]
org-bibtex.el: Fix email address

23 months agoorg.texi: Fix typos.
Bastien Guerry [Mon, 15 Apr 2013 20:26:45 +0000]
org.texi: Fix typos.

23 months agoorg.texi: Tiny rephrasing
Bastien Guerry [Mon, 15 Apr 2013 20:06:20 +0000]
org.texi: Tiny rephrasing

23 months agoorg.texi: More rewriting
Bastien Guerry [Mon, 15 Apr 2013 20:01:03 +0000]
org.texi: More rewriting

* org.texi (Export back-ends): Rename from "Export formats".
(The Export Dispatcher, Export settings): Minor rewrites.
(ASCII/Latin-1/UTF-8 export): Update variable's name.
(In-buffer settings): Add #+HTML_HEAD_EXTRA.

Thanks to Thomas Dye for these suggestions.

23 months agoorg.texi (Export in foreign buffers): New section
Bastien Guerry [Mon, 15 Apr 2013 19:17:54 +0000]
org.texi (Export in foreign buffers): New section

* org.texi (Export in foreign buffers): New section.
(Exporting): Remove documentation about converting the
selected region.

23 months agoAllow setting :HTML_CONTAINER as a per-headline property.
Rick Frankel [Mon, 15 Apr 2013 17:59:16 +0000]
Allow setting :HTML_CONTAINER as a per-headline property.

* lisp/ox-html.el (org-html-headline): Use (new) org-html--container
  function to set container element.
(org-html--container): Returns appropriate element for headline
        1. The element set on the headline :HTML_CONTAINER property.
        2. the :html-container element (if the relative headline level
        is 1.)
        3. The default ("div").

23 months agoMerge branch 'master' of
Bastien Guerry [Mon, 15 Apr 2013 16:34:14 +0000]
Merge branch 'master' of

23 months agoorg.el (org-shifttab): Show the correct number of empty headlines
Bastien Guerry [Mon, 15 Apr 2013 16:32:30 +0000]
org.el (org-shifttab): Show the correct number of empty headlines

* org.el (org-shifttab): Show the correct number of empty
headlines when called with a numeric prefix argument.  Enhance

Thanks to Michael Crouch for reporting this bug and providing the fix.

23 months agoox-html: Fix invalid syntax in html attributes
Nicolas Goaziou [Mon, 8 Apr 2013 20:24:29 +0000]
ox-html: Fix invalid syntax in html attributes

* lisp/ox-html.el (org-html--build-meta-info): Fix invalid characters
  in html attributes.

23 months agoMerge branch 'master' of
Bastien Guerry [Mon, 15 Apr 2013 08:45:03 +0000]
Merge branch 'master' of

23 months agoorg.el: Tiny cosmetic change.
Bastien Guerry [Mon, 15 Apr 2013 08:44:53 +0000]
org.el: Tiny cosmetic change.

23 months agoox: Remove macro filters
Nicolas Goaziou [Mon, 15 Apr 2013 06:22:51 +0000]
ox: Remove macro filters

* lisp/ox.el (org-export-filters-alist): Remove macro filter.
(org-export-filter-macro-functions): Remove variable.

Macro filters are never called since macro expansion happens before
the export process.

23 months agoorg.texi (Advanced configuration): Put the filter valid types in a table
Bastien Guerry [Mon, 15 Apr 2013 00:07:46 +0000]
org.texi (Advanced configuration): Put the filter valid types in a table

* org.texi (Advanced configuration): Put the filter valid
types in a table.

23 months agoorg.texi: Use @code{nil} instead of nil
Bastien Guerry [Sun, 14 Apr 2013 23:54:46 +0000]
org.texi: Use @code{nil} instead of nil

* org.texi: Use @code{nil} instead of nil.

23 months agoorg.el (org-uniquify): Use `copy-sequence'
Bastien Guerry [Sun, 14 Apr 2013 23:11:03 +0000]
org.el (org-uniquify): Use `copy-sequence'

* org.el (org-uniquify): Use `copy-sequence'.

Thanks to Thomas Dye for reporting this.

23 months agoorg.texi (Exporting): Better introductory sentence
Bastien Guerry [Sun, 14 Apr 2013 23:02:29 +0000]
org.texi (Exporting): Better introductory sentence

* org.texi (Exporting): Better introductory sentence.

Thanks to Thomas Dye for this suggestion.

23 months agoox.el: Fix tiny typo.
Bastien Guerry [Sun, 14 Apr 2013 22:55:26 +0000]
ox.el: Fix tiny typo.

23 months agoorg.texi: Use @var{...} instead of @code{...} for variables
Bastien Guerry [Sun, 14 Apr 2013 22:51:20 +0000]
org.texi: Use @var{...} instead of @code{...} for variables

* org.texi: Use @var{...} instead of @code{...} for variables.

23 months agoox-beamer: Ensure nil is not passed to regexp function
Eric Schulte [Sun, 14 Apr 2013 16:28:27 +0000]
ox-beamer: Ensure nil is not passed to regexp function

* lisp/ox-beamer.el (org-beamer--format-frame): If contents is nil, then
  replace it with an empty string.

23 months agoorg.texi: Add advanced configuration for export
Nicolas Goaziou [Sun, 14 Apr 2013 15:01:26 +0000]
org.texi: Add advanced configuration for export

23 months agoUnescape :help-echo for links
Florian Beck [Thu, 21 Mar 2013 20:15:50 +0000]
Unescape :help-echo for links

* lisp/org.el (org-activate-bracket-links): Remove escapes
from the help string.


23 months agoImprove doc of empty fields
Michael Brand [Sun, 14 Apr 2013 08:03:17 +0000]
Improve doc of empty fields

* doc/org.texi (Formula syntax for Calc): Improve the documentation of
empty fields in formulas for spreadsheet.
* testing/lisp/test-org-table.el: Rename wrongly named functions.
* testing/lisp/test-org-table.el: Use the more obvious "==" instead of
"=" for Calc conditions.
* testing/lisp/test-org-table.el (test-org-table/empty-field): Improve
the examples for vmean with empty fields.

23 months agoorg.texi: Reformat some description lists
Michael Brand [Sun, 14 Apr 2013 08:02:32 +0000]
org.texi: Reformat some description lists

* doc/org.texi (Formula syntax for Calc, Emacs Lisp forms as
formulas): Reformat spreadsheet formula mode strings and some examples
from @example block with xy @r{yz} to @table.

23 months agoorg.el (org-adaptive-fill-function, org-fill-paragraph): Throw a useful error message
Bastien Guerry [Sun, 14 Apr 2013 09:21:23 +0000]
org.el (org-adaptive-fill-function, org-fill-paragraph): Throw a useful error message

* org.el (org-adaptive-fill-function, org-fill-paragraph):
Throw a useful error message when parse an element fails in
the current buffer.

This can happen for example in a `message-mode' buffer when using
orgstruct-mode.  If you insert a line like:

SCHEDULED: <2013-04-13 Sat> is blablabla

then org-element-at-point will fail and the user will get an error
he cannot understand.

23 months agoox.el (org-export-with-planning): Enhance docstring
Bastien Guerry [Sun, 14 Apr 2013 08:56:35 +0000]
ox.el (org-export-with-planning): Enhance docstring

* ox.el (org-export-with-planning): Enhance docstring.

23 months agoorg.el (org-closed-keep-when-no-todo): New option
Bastien Guerry [Sun, 14 Apr 2013 08:52:53 +0000]
org.el (org-closed-keep-when-no-todo): New option

* org.el (org-closed-keep-when-no-todo): New option.
(org-todo): Use the new option.

Thanks to Brian van den Broek for asking for this.

23 months agoorg.el (org-open-line): Rename from `org-ctrl-o'
Bastien Guerry [Sun, 14 Apr 2013 08:31:05 +0000]
org.el (org-open-line): Rename from `org-ctrl-o'

* org.el (org-open-line): Rename from `org-ctrl-o'.
(org-mode-map): Use `remap'.

Thanks to Sean O'Halpin for pointing this.

23 months agoorg.texi (Exporting, Export settings): Rephrasing
Bastien Guerry [Sun, 14 Apr 2013 08:23:59 +0000]
org.texi (Exporting, Export settings): Rephrasing

* org.texi (Exporting, Export settings): Rephrasing.

Thanks to Thomas Dye for his detailed suggestions for this.

23 months agoorg.texi: Small fixes
Nicolas Goaziou [Sun, 14 Apr 2013 09:43:30 +0000]
org.texi: Small fixes

23 months agoox-beamer: Install a default class set-up when loading library
Nicolas Goaziou [Sun, 14 Apr 2013 09:41:42 +0000]
ox-beamer: Install a default class set-up when loading library

* lisp/ox-beamer.el (beamer): Install a default class set-up when
  loading library.

This change should provide a meaninfgul export even if user forgot to
set-up `org-latex-classes'.

23 months agoFix org info manual compilation
Suvayu Ali [Sat, 13 Apr 2013 19:33:17 +0000]
Fix org info manual compilation

23 months agoorg.texi: Document `org-export-in-background'
Nicolas Goaziou [Sat, 13 Apr 2013 14:02:30 +0000]
org.texi: Document `org-export-in-background'

* doc/org.texi (The Export Dispatcher): Document

23 months agoorg.texi: Update Beamer documentation
Nicolas Goaziou [Sat, 13 Apr 2013 13:58:29 +0000]
org.texi: Update Beamer documentation