6 years agoRelease 7.8.01 release_7.8.01
Bastien Guerry [Mon, 12 Dec 2011 23:23:53 +0000 (23:23 +0000)]
Release 7.8.01

6 years agoUTILITIES: Use a separate css for the HTML manuals.
Bastien Guerry [Mon, 12 Dec 2011 23:21:16 +0000 (00:21 +0100)]
UTILITIES: Use a separate css for the HTML manuals.

6 years agoorg-html.el: fix docstrings and the pre/postamble inserting.
Bastien Guerry [Mon, 12 Dec 2011 23:10:00 +0000 (00:10 +0100)]
org-html.el: fix docstrings and the pre/postamble inserting.

* org-html.el (org-export-html-preamble)
(org-export-html-postamble): Fix docstrings.
(org-export-as-html): Insert the string used by a custom
function for `org-export-html-pre/postamble'.

The documentation is now in sync with the behavior: a custom
function for `org-export-html-pre/postamble' takes no argument,
and its value is inserted as a string.  Before that, users had
to use (insert ...) constructs to insert content in the preamble
through a custom function.

Thanks to Bill Jackson for spotting these inconsistencies.

6 years agoOrg manual: Fix double-spaces at the end of sentences
Julian Gehring [Mon, 12 Dec 2011 23:27:55 +0000 (23:27 +0000)]
Org manual: Fix double-spaces at the end of sentences

Org manual: Fix double-spaces at the end of sentences

* doc/org.texi: End sentences with two spaces.

>From 19e39b67f4a8dbee3f1015f636fac4f77e59d3c2 Mon Sep 17 00:00:00 2001
From: Julian Gehring <>
Date: Mon, 12 Dec 2011 19:19:20 +0100
Subject: [PATCH] Org manual: Fix double-spaces at the end of sentences

* doc/org.texi: End sentences with two spaces.

6 years agoOrgcard: Correct markup in 'Timestamps' section
Julian Gehring [Mon, 12 Dec 2011 23:08:30 +0000 (23:08 +0000)]
Orgcard: Correct markup in 'Timestamps' section

Orgcard: Correct markup in 'Timestamps' section

* doc/orgcard.tex: Correct one markup in 'Timestamps' section

>From 756e4eb6aca0e1b72f8fa55537005d2b617b83f8 Mon Sep 17 00:00:00 2001
From: Julian Gehring <>
Date: Mon, 12 Dec 2011 12:29:46 +0100
Subject: [PATCH] Orgcard: Correct markup in 'Timestamps' section

* doc/orgcard.tex: Correct one markup in 'Timestamps' section

6 years agoMerge branch 'master' of
Bastien Guerry [Mon, 12 Dec 2011 17:38:35 +0000 (18:38 +0100)]
Merge branch 'master' of

6 years agoRevert "Fix bug when inserting the output of a custom function for the pre/postamble."
Bastien Guerry [Mon, 12 Dec 2011 17:37:09 +0000 (18:37 +0100)]
Revert "Fix bug when inserting the output of a custom function for the pre/postamble."

This reverts commit 701830d5a2681ba0ff2e5112fbd4279eb958801a.

6 years agoUpdate website to show 7.8 as current release
Bastien Guerry [Mon, 12 Dec 2011 17:08:28 +0000 (17:08 +0000)]
Update website to show 7.8 as current release

6 years agoMerge branch 'maint'
Bastien Guerry [Mon, 12 Dec 2011 17:08:27 +0000 (17:08 +0000)]
Merge branch 'maint'

6 years agoRelease 7.8 release_7.8
Bastien Guerry [Mon, 12 Dec 2011 17:08:10 +0000 (17:08 +0000)]
Release 7.8

6 years agoSilent a few byte-compiler warnings.
Bastien Guerry [Mon, 12 Dec 2011 17:04:15 +0000 (18:04 +0100)]
Silent a few byte-compiler warnings.

* org.el (org-block-regexp)
(org-heading-keyword-maybe-regexp-format): Move up to keep the
byte-compiler happy.

* org-special-blocks.el (org-html): Require 'org-html.
(org-open-par, org-close-par-maybe): Declare as functions.

* ob.el (org-reduce): Declare as a function.
(org-current-export-file): Declare.

* ob-ref.el (org-babel-update-intermediate): Make a defvar.

6 years ago`org-agenda-do-tree-to-indirect-buffer': rewrite of the docstring.
Bastien Guerry [Mon, 12 Dec 2011 16:40:34 +0000 (17:40 +0100)]
`org-agenda-do-tree-to-indirect-buffer': rewrite of the docstring.

6 years agoMaintain stable window config when `org-agenda-follow-indirect' is set.
Dave Abrahams [Sun, 23 Oct 2011 18:41:44 +0000 (14:41 -0400)]
Maintain stable window config when `org-agenda-follow-indirect' is set.

* org-agenda.el (org-agenda-do-tree-to-indirect-buffer): New
(org-agenda-tree-to-indirect-buffer): Use the new function.


Without this change, `org-agenda-follow-indirect' tends to cause the
window configration to bounce around chaotically as you move from item
to item.

6 years agoImproving bug reporting documentation
suvayu ali [Tue, 8 Nov 2011 04:06:20 +0000 (04:06 +0000)]
Improving bug reporting documentation

Hi Bastien and others,

Lately I have been seeing a lot of bug reports sent using the
org-submit-bug-report. The reporter usually reports the bug from a
session they have been using with their full blown customisations. And
often they are requested to reproduce the bug with emacs -Q. So I
thought it would be easier if the manual mentioned this little detail.
A patch is attached.

Hope this helps.

PS: I marked the patch as TINY CHANGE.

6 years agoorg-lparse.el: don't need to be executable.
Bastien Guerry [Mon, 12 Dec 2011 16:24:21 +0000 (17:24 +0100)]
org-lparse.el: don't need to be executable.

6 years agoorg-agenda.el: small indentation fix.
Bastien Guerry [Mon, 12 Dec 2011 16:23:44 +0000 (17:23 +0100)]
org-agenda.el: small indentation fix.

6 years agoMerge branches 'master' and 'master' of
Bastien Guerry [Mon, 12 Dec 2011 16:14:25 +0000 (17:14 +0100)]
Merge branches 'master' and 'master' of

6 years agoFix bug when inserting the output of a custom function for the pre/postamble.
Bastien Guerry [Mon, 12 Dec 2011 15:27:47 +0000 (16:27 +0100)]
Fix bug when inserting the output of a custom function for the pre/postamble.

* org-html.el (org-export-as-html): Fix bug when inserting the
output of a custom function for the pre/postamble.

Thanks to Bill Jackson for raising a related issue.

6 years agoorg-odt.el: Don't crash if htmlfontify is not available
Jambunathan K [Mon, 12 Dec 2011 15:10:53 +0000 (20:40 +0530)]
org-odt.el: Don't crash if htmlfontify is not available

* lisp/org-odt.el (org-odt-format-source-code-or-example): Try
loading htmlfontify safely.

6 years agoRequire htmlfontify.el only if emacs-version is greater than 23.2.
Bastien Guerry [Mon, 12 Dec 2011 14:05:48 +0000 (15:05 +0100)]
Require htmlfontify.el only if emacs-version is greater than 23.2.

* org-odt.el (require): Require htmlfontify.el only if
emacs-version is greater than 23.2.

Thanks to Martyn Jago for reporting this.

6 years agoUse the default face instead of fancy colors.
Bastien Guerry [Mon, 12 Dec 2011 13:49:54 +0000 (14:49 +0100)]
Use the default face instead of fancy colors.

* org-faces.el (org-agenda-calendar-event)
(org-agenda-calendar-sexp): Use the default face.

Thanks to Detlef Steuer for reporting this.

6 years agoFix a few docstrings.
Bastien Guerry [Mon, 12 Dec 2011 13:38:59 +0000 (14:38 +0100)]
Fix a few docstrings.

Thanks to Paul Eggert for fixing this in Emacs.

6 years agoorg.texi: Corrections to ODT section
Jambunathan K [Mon, 12 Dec 2011 04:16:45 +0000 (09:46 +0530)]
org.texi: Corrections to ODT section

Thanks to Christian Moe for proof-reading the manual and suggesting

6 years agofixed regexp when resolving noweb references
Eric Schulte [Sun, 11 Dec 2011 19:02:02 +0000 (12:02 -0700)]
fixed regexp when resolving noweb references

* lisp/ob.el (org-babel-expand-noweb-references): Fixed regexp.
* testing/lisp/test-ob.el (test-ob/noweb-expansion): Test both named
  code block and noweb-ref header argument references.

6 years agoCompletion of remapping for Outline functions
Michael Brand [Wed, 9 Nov 2011 18:07:45 +0000 (19:07 +0100)]
Completion of remapping for Outline functions

* lisp/org.el Key bindings: remap the Outline functions from
`outline-mode-prefix-map' where possible.

6 years agoCorrect html export of todo keywords
Christian Moe [Sun, 16 Oct 2011 14:36:02 +0000 (16:36 +0200)]
Correct html export of todo keywords

* org-html.el (org-export-as-html): Apply
  `org-export-html-get-todo-kwd-class-name' to the class
  attribute of the todo-keyword span tag, not to its text content.

The problem was that special characters in todo keywords were being
replaced by underscore. This was meant to happen to the class
attributes set around them.


This only swaps two arguments to a concat.

6 years agoAdd faces for "calendar events" (active timestamps, or S-expressions).
Sebastien Vauban [Fri, 18 Nov 2011 12:41:47 +0000 (13:41 +0100)]
Add faces for "calendar events" (active timestamps, or S-expressions).

* org-agenda.el (org-agenda-get-timestamps)
(org-agenda-get-sexps): Use face for highlighting "calendar"

* org-faces.el: Add faces `org-agenda-calendar-event' and

6 years agoTimestamps: Fix org-schedule and org-deadline with absolute time arguments
Peter Münster [Mon, 21 Nov 2011 21:21:41 +0000 (22:21 +0100)]
Timestamps: Fix org-schedule and org-deadline with absolute time arguments

* lisp/org.el (org-add-planning-info): Treat absolute time too.


6 years ago* org-table.el (org-table-transpose-table-at-point): Don't use ̀remove-if-not'.
Bastien Guerry [Sun, 11 Dec 2011 17:38:45 +0000 (18:38 +0100)]
* org-table.el (org-table-transpose-table-at-point): Don't use ̀remove-if-not'.

* org-table.el (org-table-transpose-table-at-point): Don't use

Thanks to Achim Gratz for spotting this.

6 years ago org-clock.el: Check the clock buffer is existing when clocking out.
Dave Abrahams [Sun, 11 Dec 2011 17:25:58 +0000 (18:25 +0100)]
 org-clock.el: Check the clock buffer is existing when clocking out.

* org-clock.el (org-clock-out-if-current): Check the clock
buffer is existing.


6 years agoFix marker in no buffer error for task state change in an indirect buffer
Bernt Hansen [Sun, 20 Nov 2011 02:44:07 +0000 (02:44 +0000)]
Fix marker in no buffer error for task state change in an indirect buffer

* lisp/org-clock.el (org-clock-out-if-current): Fix marker in no buffer error
  for task state change in an indirect buffer

org-clock-out-when-current was enhanced in 098cf35 (Clock: Clock out
when done also in indirect buffers, 2009-03-23) to handle indirect

This enhancement uses (buffer-base-buffer (org-clocking-buffer)) but
when not clocking (org-clocking-buffer) returns nil - so
buffer-base-buffer returns the base buffer of the current buffer which
is never nil.  This leads to marker in no buffer errors trying to stop
the clock when it is not running.

Now we explicitly check up front that the clock is running before
any other conditions that lead to stopping the clock.

6 years agoBugfix open 1 link from list; doc more link types
Michael Brand [Sat, 26 Nov 2011 09:39:54 +0000 (10:39 +0100)]
Bugfix open 1 link from list; doc more link types

* doc/org.texi (External links): Document the link types file+sys and
file+emacs, slightly narrow used page width.
* lisp/org.el (org-offer-links-in-entry): Make list when assigning a
single link.

"M-1 C-c C-o" or (org-open-at-point 1) or (org-offer-links-in-entry 1)
on a headline followed by two links enters Lisp error.  Both changes
are remainders of the commit release_6.33f-189-g3e0c61d.

6 years agoremove #+name and #+result hiding
Eric Schulte [Mon, 28 Nov 2011 07:43:35 +0000 (00:43 -0700)]
remove #+name and #+result hiding

Given that arbitrary regions may already be hidden using a drawer the
ability to hide any named entity is redundant.  In addition the name
based hiding does not mix well with other keywords.

Thanks to Nicolas Goaziou for raising this issue and suggesting the
removal of #+name based hiding.

6 years agofaster method of collecting continuing code blocks
Eric Schulte [Sun, 11 Dec 2011 16:28:58 +0000 (09:28 -0700)]
faster method of collecting continuing code blocks

* lisp/ob.el (org-babel-expand-noweb-references): Rather than collect
  the info from *every* block in the current buffer, simply regexp
  search for those blocks which appear to match the continued source

6 years agowrap code block results in drawers rather than blocks
Eric Schulte [Sun, 11 Dec 2011 16:27:48 +0000 (09:27 -0700)]
wrap code block results in drawers rather than blocks

* lisp/ob.el (org-babel-insert-result): Do not examplize wrapped
  scalar results, simply wrap them.
  (org-babel-result-end): Find the end of results wrapped in a RESULTS

6 years agoMake `org-todo-yesterday' call `org-agenda-todo-yesterday' if necessary.
Bastien Guerry [Sun, 11 Dec 2011 16:52:10 +0000 (17:52 +0100)]
Make `org-todo-yesterday' call `org-agenda-todo-yesterday' if necessary.

* org.el (org-todo-yesterday): When called from the agenda,
use `org-agenda-todo-yesterday' instead.

6 years agoNew command: `org-table-transpose-table-at-point'.
Bastien Guerry [Sun, 11 Dec 2011 16:34:37 +0000 (17:34 +0100)]
New command: `org-table-transpose-table-at-point'.

* org-table.el (org-table-transpose-table-at-point): New

Thanks to Juan Pechiar for this function.

6 years agoRewrite of contrib/lisp/org-velocity.el.
Paul M. Rodriguez [Sun, 11 Dec 2011 16:14:09 +0000 (17:14 +0100)]
Rewrite of contrib/lisp/org-velocity.el.

From the author: "This is a rewrite of Org-Velocity for speed. Delays due
to file size should no longer be perceptible. I have also added in-line
previews of entry contents and dropped support for Org-Remember."

6 years agoNew option `org-export-html-headline-anchor-format'.
Bastien Guerry [Sun, 11 Dec 2011 15:50:05 +0000 (16:50 +0100)]
New option `org-export-html-headline-anchor-format'.

* org-html.el (org-export-html-headline-anchor-format): New
(org-html-level-start): Use the new option.

This was requested by Alan L Tyree.

6 years agoAdd a commentary: how to test org-e-latex.el.
Bastien Guerry [Sun, 11 Dec 2011 15:33:34 +0000 (16:33 +0100)]
Add a commentary: how to test org-e-latex.el.

6 years agoRename EXPERIMENTAL/org-latex.el to EXPERIMENTAL/org-e-latex.el.
Bastien Guerry [Sun, 11 Dec 2011 15:23:09 +0000 (16:23 +0100)]
Rename EXPERIMENTAL/org-latex.el to EXPERIMENTAL/org-e-latex.el.

This prevents a namespace conflict with lisp/org-latex.el.  By
convention, new exporters in EXPERIMENTAL/ will share the org-e-*

6 years agoFix quoting in org-agenda-with-point-at-orig-entry.
Rob Giardina [Sun, 11 Dec 2011 13:47:25 +0000 (14:47 +0100)]
Fix quoting in org-agenda-with-point-at-orig-entry.

* org-agenda.el (org-agenda-with-point-at-orig-entry): Small


6 years agoMinor example fix.
Bastien Guerry [Sun, 11 Dec 2011 13:25:16 +0000 (14:25 +0100)]
Minor example fix.

Thanks to Dov Grobgeld for spotting this.

6 years agoSpecial blocks: Make well-formed HTML
Christian Moe [Sun, 11 Dec 2011 13:11:05 +0000 (14:11 +0100)]
Special blocks: Make well-formed HTML

* org-special-blocks.el
(org-special-blocks-convert-html-special-cookies): Close paragraph
before opening or closing the <div>, and open paragraph after. Also
changed newline placement to be the same as for other blocks.

The problem was that special blocks did not produce well-formed HTML
because they  wrapped the opening and closing
<div> tags in <p> tags.


This patch only borrows a few lines from the handling of `CENTER'
blocks in org-export-as-html.

6 years agoNew option `org-table-formula-field-format'.
Bastien Guerry [Sun, 11 Dec 2011 13:05:13 +0000 (14:05 +0100)]
New option `org-table-formula-field-format'.

Format for fields which contain the result of a formula.
For example, using \"~%s~\" will display the result within tilde
characters.  Beware that modifying the display can prevent the
field from being used in another formula.

Based on an idea of Dov Grobgeld.

6 years agoMerge branch 'master' of
Bastien Guerry [Sun, 11 Dec 2011 12:53:23 +0000 (13:53 +0100)]
Merge branch 'master' of

6 years agoMake the function `org-program-exists' work on osx.
Roberto Huelga [Sun, 11 Dec 2011 12:50:36 +0000 (13:50 +0100)]
Make the function `org-program-exists' work on osx.

* org-clock.el (org-program-exists): Make the function
compatible with darwin systems.

6 years agoCode indentation fix (tabify)
Nicolas Goaziou [Fri, 9 Dec 2011 13:38:36 +0000 (14:38 +0100)]
Code indentation fix (tabify)

6 years agoAvoid erroneous normalization of bracket link parts
David Maus [Sun, 11 Dec 2011 09:53:14 +0000 (10:53 +0100)]
Avoid erroneous normalization of bracket link parts

* org-exp.el (org-export-normalize-links): Mark bracket links before
normalization to avoid erroneous normalization of bracket link parts.

This fixes a bug reported by M. Bauer at
<> and allows proper
normalization of bracket links with a link in the query part, e.g.


6 years agoorg.texi (Custom Table Styles - An Illustration): New node
Jambunathan K [Sun, 11 Dec 2011 08:38:28 +0000 (14:08 +0530)]
org.texi (Custom Table Styles - An Illustration): New node

Also improve various menus.

6 years agoorg.texi (Validating OpenDocument XML): New node
Jambunathan K [Sat, 10 Dec 2011 23:04:29 +0000 (04:34 +0530)]
org.texi (Validating OpenDocument XML): New node

6 years agoorg-odt.el (org-export-odt-schema-dir): Modified
Jambunathan K [Sat, 10 Dec 2011 19:18:20 +0000 (00:48 +0530)]
org-odt.el (org-export-odt-schema-dir): Modified

6 years agoMakefile (PKG_FILES) : Include etc/
Jambunathan K [Sat, 10 Dec 2011 15:09:07 +0000 (20:39 +0530)]
Makefile (PKG_FILES) : Include etc/

Also fix all byte-compiler warnings in org-lparse.el and org-odt.el.

6 years agoAdd string input variables to ob-octave.el. Add tests for ob-octave.el
Litvinov Sergey [Tue, 8 Nov 2011 21:19:04 +0000 (22:19 +0100)]
Add string input variables to ob-octave.el. Add tests for ob-octave.el

6 years agoorg.texi: Improve ODT section
Jambunathan K [Tue, 6 Dec 2011 22:34:55 +0000 (04:04 +0530)]
org.texi: Improve ODT section

6 years agoorg.texi: Improve ODT section
Jambunathan K [Tue, 6 Dec 2011 21:12:52 +0000 (02:42 +0530)]
org.texi: Improve ODT section

6 years agoorg.texi: Improve ODT section
Jambunathan K [Tue, 6 Dec 2011 19:35:14 +0000 (01:05 +0530)]
org.texi: Improve ODT section

6 years agoorg.texi: Refine ODT section
Jambunathan K [Tue, 6 Dec 2011 18:38:54 +0000 (00:08 +0530)]
org.texi: Refine ODT section

6 years agodoc/org.texi: Update ODT section
Jambunathan K [Sun, 4 Dec 2011 19:20:12 +0000 (00:50 +0530)]
doc/org.texi: Update ODT section

6 years agoAdd copyright and license info for files in etc/styles/
Jambunathan K [Mon, 5 Dec 2011 07:15:35 +0000 (12:45 +0530)]
Add copyright and license info for files in etc/styles/

6 years agoorg-odt.el: Misc changes to reflect change in dir layout
Jambunathan K [Sun, 4 Dec 2011 22:01:02 +0000 (03:31 +0530)]
org-odt.el: Misc changes to reflect change in dir layout

* lisp/org-odt.el (org-odt-data-dir): Removed.
(org-odt-styles-dir, org-export-odt-schema-dir): New

6 years agoMakefile (LISPF): Add org-lparse.el and org-odt.el
Jambunathan K [Sun, 4 Dec 2011 21:00:57 +0000 (02:30 +0530)]
Makefile (LISPF): Add org-lparse.el and org-odt.el

Also update dependencies.

6 years agoorg-exp.el: s/OpenDocumentText/OpenDocument Text/
Jambunathan K [Sun, 4 Dec 2011 20:58:13 +0000 (02:28 +0530)]
org-exp.el: s/OpenDocumentText/OpenDocument Text/

6 years agoorg.el (org-modules): odt is no longer a contrib module
Jambunathan K [Sun, 4 Dec 2011 20:57:26 +0000 (02:27 +0530)]
org.el (org-modules): odt is no longer a contrib module

6 years agoMove org-lparse.el and org-odt.el to the main lisp dir
Jambunathan K [Sun, 4 Dec 2011 20:46:03 +0000 (02:16 +0530)]
Move org-lparse.el and org-odt.el to the main lisp dir

6 years agoMove contrib/odt/styles/*.xml to etc/styles
Jambunathan K [Sun, 4 Dec 2011 20:27:50 +0000 (01:57 +0530)]
Move contrib/odt/styles/*.xml to etc/styles

6 years agoDelete org-export.el, org-mw.el and org-mm.el.
Bastien Guerry [Sat, 10 Dec 2011 16:58:20 +0000 (17:58 +0100)]
Delete org-export.el, org-mw.el and org-mm.el.

org-export.el conflicts with contrib/lisp/org-export.el and the
two org-mw.el org-mm.el don't work without it.  A rewrite of these
experimental exporters using Nicolas' org-export.el is necessary.

6 years agoRevert "Rename EXPERIMENTAL/org-latex.el to EXPERIMENTAL/org-latex-old.el"
Bastien Guerry [Sat, 10 Dec 2011 16:38:36 +0000 (17:38 +0100)]
Revert "Rename EXPERIMENTAL/org-latex.el to EXPERIMENTAL/org-latex-old.el"

This reverts commit a75e29ca5bc14734c760823c28540730f7a6eff8.

6 years agoUTILITIES/man*: Fix bug: don't insert </style>
Bastien Guerry [Sat, 10 Dec 2011 12:46:50 +0000 (13:46 +0100)]
UTILITIES/man*: Fix bug: don't insert </style>

6 years agoRename EXPERIMENTAL/org-latex.el to EXPERIMENTAL/org-latex-old.el
Bastien Guerry [Sat, 10 Dec 2011 11:49:54 +0000 (12:49 +0100)]
Rename EXPERIMENTAL/org-latex.el to EXPERIMENTAL/org-latex-old.el

This is necessary to prepare release 7.8.

6 years agoMerge branch 'master' of
Carsten Dominik [Fri, 9 Dec 2011 22:23:07 +0000 (23:23 +0100)]
Merge branch 'master' of

6 years agoAdd the binding for org-table-wrap-region to orgtbl-mode
Carsten Dominik [Fri, 9 Dec 2011 22:22:56 +0000 (23:22 +0100)]
Add the binding for org-table-wrap-region to orgtbl-mode

6 years agoEXPERIMENTAL/org-latex: Fix bug in table transcoding
Nicolas Goaziou [Wed, 7 Dec 2011 20:03:05 +0000 (21:03 +0100)]
EXPERIMENTAL/org-latex: Fix bug in table transcoding

* EXPERIMENTAL/org-latex.el (org-latex-table): Fix confusion between
  communication channel and table information plists.

6 years agocontrib/lisp/org-export: Extract more properties from tables
Nicolas Goaziou [Wed, 7 Dec 2011 16:39:51 +0000 (17:39 +0100)]
contrib/lisp/org-export: Extract more properties from tables

* contrib/lisp/org-export.el (org-export-table-format-info): Extract
column width and and row groups.

6 years agoFix typos (already fixed in Emacs trunk.)
Bastien Guerry [Tue, 6 Dec 2011 18:20:21 +0000 (19:20 +0100)]
Fix typos (already fixed in Emacs trunk.)

Thanks to Juanma Barranquero for spotting and fixing them in Emacs.

6 years agoFix bug in org-capture file+datetree+promt target type
Carsten Dominik [Tue, 6 Dec 2011 08:00:27 +0000 (09:00 +0100)]
Fix bug in org-capture file+datetree+promt target type

* lisp/org-capture.el (org-capture-set-target-location): Set the capture
default time also to the prompt time.

In the file+datetree+promt target type, the user is being asked for a
date, where to file an entry.  In the template, there can the escape
placeholders for active and inactive time stamps.  So far, these were
filled with todays date.  This patch changes this behavior, so that
also at %t and %u escaped, the date entered at the prompt will be

Reported by Erik Hetzner.

6 years agoorg-export: Cleanup #+name and #+results
Nicolas Goaziou [Sun, 4 Dec 2011 16:00:46 +0000 (17:00 +0100)]
org-export: Cleanup #+name and #+results

* lisp/org-exp.el (org-export-res/src-name-cleanup): Remove #+name and
  #+results lines during preprocess.

Now Babel doesn't handle anymore those keywords cleanup (as #+name may
be used for other thing than code evaluation), that task is moved to
org-export.el.  See commit 25a0a0212193ecc5e910696301b3a64a51f837e0.

6 years agoorg.texi: Fix typos.
Bastien Guerry [Sun, 4 Dec 2011 10:44:23 +0000 (11:44 +0100)]
org.texi: Fix typos.

Thanks to Paul Eggert for spotting this and fixing it in Emacs.

6 years agocontrib/lisp/org-element: Re-order a function within the file
Nicolas Goaziou [Thu, 1 Dec 2011 14:42:06 +0000 (15:42 +0100)]
contrib/lisp/org-element: Re-order a function within the file

6 years agocontrib/lisp/org-element: Do not map function to ignored elements or objects
Nicolas Goaziou [Thu, 1 Dec 2011 13:57:59 +0000 (14:57 +0100)]
contrib/lisp/org-element: Do not map function to ignored elements or objects

* contrib/lisp/org-element.el (org-element-map): In an export
  situation, only map function on included elements or objects.

6 years agocontrib/lisp/org-export: Fix headline numbering
Nicolas Goaziou [Thu, 1 Dec 2011 13:01:32 +0000 (14:01 +0100)]
contrib/lisp/org-export: Fix headline numbering

* contrib/lisp/org-export.el (org-export-persistent-properties-list):
  Remove unused persistent properties.
(org-export-initialize-persistent-properties): Delegate headline
  numbering alist to `org-export-collect-headline-numbering'.
(org-export-collect-headline-numbering): New function.
(org-export-update-info): Remove part relative to headline numbering.
(org-export-get-headline-number): Use new `:headline-numbering' to get
  current headline number.

Headline numbering is not done on demand anymore, but built once and
for all at the beginning of the export process, and stored in an
alist, accessible through the `:headline-numbering' property in the
communication channel.

6 years agoEXPERIMENTAL/org-latex: Small refactoring.
Nicolas Goaziou [Tue, 29 Nov 2011 20:37:15 +0000 (21:37 +0100)]
EXPERIMENTAL/org-latex: Small refactoring.

* EXPERIMENTAL/org-latex.el (org-latex-footnote-reference): Small

6 years agofix compiler warnings in ob-picolisp
Eric Schulte [Tue, 29 Nov 2011 16:16:14 +0000 (09:16 -0700)]
fix compiler warnings in ob-picolisp

* lisp/ob-picolisp.el (ob-comint): Required.
  (comint): Required.
  (cl): Required.
  (run-picolisp): Declared.
  (org-babel-execute:picolisp): Capture free variable, and replace
  function from cl-extra with core function.

6 years agomoving ob-picolisp into the core
Eric Schulte [Tue, 29 Nov 2011 16:05:31 +0000 (09:05 -0700)]
moving ob-picolisp into the core

Thanks to Thorsten Jolitz for contributing support for this new

* Makefile (LISPF): Add ob-picolisp to the Makefile.
* contrib/babel/langs/ob-picolisp.el: Remove from contrib.
* lisp/ob-picolisp.el: Add to core lisp directory.
* lisp/org.el (org-babel-load-languages): Add Pico Lisp to the list of
  supported code block languages.

6 years agoimproved warnings of bibtex errors during multi-headline export
Eric Schulte [Tue, 29 Nov 2011 15:56:27 +0000 (08:56 -0700)]
improved warnings of bibtex errors during multi-headline export

* lisp/org-bibtex.el (org-bibtex): Now catches bibtex errors and
  directs the user to the location of the error.

6 years agoEXPERIMENTAL/org-latex: LaTeX back-end for generic exporter
Nicolas Goaziou [Mon, 28 Nov 2011 22:36:51 +0000 (23:36 +0100)]
EXPERIMENTAL/org-latex: LaTeX back-end for generic exporter

* EXPERIMENTAL/org-latex.el (org-latex-option-alist,
  org-latex-default-class, org-latex-classes
  org-latex-inputenc-alist, org-latex-date-format,
  org-latex-title-command, org-latex-format-headline-function, org-latex-emphasis-alist,
  org-latex-footnote-separator, org-latex-active-timestamp-format,
  org-latex-diary-timestamp-format, org-latex-image-default-option,
  org-latex-default-figure-position, org-latex-inline-image-extensions,
  org-latex-default-table-environment, org-latex-tables-centered,
  org-latex-tables-verbatim, org-latex-table-caption-above,
  org-latex-format-inlinetask-function, org-latex-listings, org-latex-listings-langs,
  org-latex-listings-options, org-latex-minted-langs,
  org-latex-minted-options, org-latex-quotes,
  org-latex-custom-lang-environments): New variables.
(org-latex--caption/label-string, org-latex--guess-inputenc,
  org-latex--find-verb-separator, org-latex--make-option-string,
  org-latex--quotation-marks, org-latex--wrap-label,
  org-latex-template, org-latex-center-block, org-latex-drawer,
  org-latex-dynamic-block, org-latex-emphasis, org-latex-entity,
  org-latex-example-block, org-latex-export-snippet,
  org-latex-export-block, org-latex-fixed-width,
  org-latex-footnote-reference, org-latex-headline,
  org-latex-horizontal-rule, org-latex-inline-src-block,
  org-latex-inlinetask, org-latex-item, org-latex-keyword,
  org-latex-latex-environment, org-latex-latex-fragment,
  org-latex-line-break, org-latex-link--inline-image, org-latex-link,
  org-latex-macro, org-latex-paragraph, org-latex-plain-list,
  org-latex-plain-text, org-latex-property-drawer,
  org-latex-quote-block, org-latex-quote-section,
  org-latex-radio-target, org-latex-special-block,
  org-latex-src-block, org-latex-statistics-cookie,
  org-latex-subscript, org-latex-superscript,
  org-latex-table--format-string, org-latex-table--align-string,
  org-latex-table, org-latex-target, org-latex-time-stamp,
  org-latex-verbatim, org-latex-verse-block): New functions.

6 years agocontrib/lisp/org-export: Fix visibility influence on list parsing
Nicolas Goaziou [Mon, 28 Nov 2011 19:14:20 +0000 (20:14 +0100)]
contrib/lisp/org-export: Fix visibility influence on list parsing

* contrib/lisp/org-export.el (org-export-with-current-buffer-copy):
  Full invisibility prevents `current-column' from returning useful
  values.  Thus, keep visibility related text-properties and set
  `buffer-invisibility-spec' to nil.

6 years agonote that colnames behavior may differ across languages
Eric Schulte [Mon, 28 Nov 2011 18:21:52 +0000 (11:21 -0700)]
note that colnames behavior may differ across languages

* doc/org.texi (colnames): Note that colnames behavior may differ
  across languages.

6 years agotests for the colnames header argument
Eric Schulte [Mon, 28 Nov 2011 08:55:28 +0000 (01:55 -0700)]
tests for the colnames header argument

6 years agoorg-agenda.el (org-agenda-dim-blocked-tasks): Fix typo.
Bastien Guerry [Mon, 28 Nov 2011 14:23:27 +0000 (15:23 +0100)]
org-agenda.el (org-agenda-dim-blocked-tasks): Fix typo.

* org-agenda.el (org-agenda-dim-blocked-tasks): Fix typo.

Thanks to Paul Eggert for spotting this and fixing it in Emacs trunk.

6 years agoorg.texi (Weekly/daily agenda, Agenda commands): Fix typos.
Bastien Guerry [Mon, 28 Nov 2011 14:17:15 +0000 (15:17 +0100)]
org.texi (Weekly/daily agenda, Agenda commands): Fix typos.

* org.texi (Weekly/daily agenda, Agenda commands): Fix typos.

Thanks to Paul Eggert for spotting this.

6 years agoFix typo fixed in Emacs trunk.
Bastien Guerry [Mon, 28 Nov 2011 14:13:04 +0000 (15:13 +0100)]
Fix typo fixed in Emacs trunk.

* ob.el (org-babel-execute-src-block): Fix typo.

Thanks to Juanma Barranquero for spotting this.

6 years agoFix typos fixed in Emacs trunk.
Bastien Guerry [Mon, 28 Nov 2011 14:11:52 +0000 (15:11 +0100)]
Fix typos fixed in Emacs trunk.

* org-freemind.el (org-freemind-write-mm-buffer): Fix typo.

* org-colview.el (org-columns-edit-value) (org-columns-next-allowed-value):
  Fix typos.

* org-bibtex.el (org-bibtex-autogen-keys): Fix typo.

* org-clock.el (org-clock-special-range): Fix typo.

Thanks to Paul Eggert for these fixes.

6 years agoorg.el: Fix two typos in docstrings.
Bastien Guerry [Mon, 28 Nov 2011 14:07:49 +0000 (15:07 +0100)]
org.el: Fix two typos in docstrings.

* org.el (org-link-unescape, org-link-unescape-compound): Fix two
  typos in docstrings.

6 years ago* lisp/ob-R.el: Added tikzDevice support.
Thomas Dye [Sun, 27 Nov 2011 07:17:00 +0000 (21:17 -1000)]
* lisp/ob-R.el: Added tikzDevice support.

6 years agocontrib/lisp/org-export: Fix a docstring.
Nicolas Goaziou [Fri, 25 Nov 2011 18:33:23 +0000 (19:33 +0100)]
contrib/lisp/org-export: Fix a docstring.

* contrib/lisp/org-export.el (org-export-option-alist): Fix docstring.

6 years agocontrib/lisp/org-export.el: Fix misleading comments about transcoders
Nicolas Goaziou [Fri, 25 Nov 2011 18:06:19 +0000 (19:06 +0100)]
contrib/lisp/org-export.el: Fix misleading comments about transcoders

* contrib/lisp/org-export.el: Fix misleading comments about transcoders.

6 years agoorg-babel-exp-lob-one-liners should not parse the entire buffer.
Jérémy Compostella [Thu, 24 Nov 2011 15:20:00 +0000 (16:20 +0100)]
org-babel-exp-lob-one-liners should not parse the entire buffer.

The org-babel-exp-lob-one-liners search "call" pattern through the entire
buffer instead of the region given as arguments.

6 years agocontrib/org-export: Generic Export Engine For Org
Nicolas Goaziou [Fri, 25 Nov 2011 15:02:27 +0000 (16:02 +0100)]
contrib/org-export: Generic Export Engine For Org

* contrib/lisp/org-export.el (org-export-collect-options,
  org-export-parse-option-keyword, org-export-get-subtree-options,
  org-export-get-inbuffer-options, org-export-get-global-options,
  org-export-initial-options, org-export-confirm-letbind,
  org-export-use-select-tags-p, org-export-get-min-level,
  org-export-get-point-max, org-export-update-info,
  org-export-set-property, org-export-data,
  org-export-secondary-string, org-export-skip-p,
  org-export-interpret-p, org-export-filter-apply-functions,
  org-export-as, org-export-to-buffer, org-export-get-relative-level,
  org-export-get-headline-number, org-export-number-to-roman,
  org-export-first-sibling-p, org-export-last-sibling-p,
  org-export-included-file, org-export-get-file-contents,
  org-export-parse-included-file, org-export-solidify-link-text,
  org-export-get-coderef-format, org-export-inline-image-p,
  org-export-resolve-fuzzy-link, org-export-expand-macro,
  org-export-handle-code, org-export-table-format-info,
  org-export-clean-table, org-export-get-headlines,
  org-export-collect-elements, org-export-collect-tables,
  org-export-get-figures, org-export-collect-listings): New functions.
(org-export-max-depth, org-export-option-alist,
  org-export-special-keywords, org-export-persistent-properties-list,
  org-export-persistent-properties, org-export-with-archived-trees,
  org-export-with-author, org-export-with-creator,
  org-export-creator-string, org-export-with-drawers,
  org-export-with-email, org-export-with-emphasize,
  org-export-exclude-tags, org-export-with-fixed-width,
  org-export-with-footnotes, org-export-headline-levels,
  org-export-default-language, org-export-preserve-breaks,
  org-export-with-entities, org-export-with-priority,
  org-export-with-section-numbers, org-export-select-tags,
  org-export-with-special-strings, org-export-with-sub-superscripts,
  org-export-with-toc, org-export-with-tables, org-export-with-tags,
  org-export-with-tasks, org-export-time-stamp-file,
  org-export-with-timestamps, org-export-with-todo-keywords,
  org-export-allow-BIND, org-export-snippet-translation-alist,
  org-export-filter-verbatim-functions): New variables.

6 years agoorg-odt.el: Export TOC max-level information.
Jeremy Compostella [Sat, 19 Nov 2011 12:43:39 +0000 (13:43 +0100)]
org-odt.el: Export TOC max-level information.

The TOC max level which could be specified by user is lost during the
export operation. However, this information could be useful in particular
with the ODT exporter. So if another script work on the ODT afterward and
ask to re-compute the TOC, the new TOC will keep this max level.