org-mode.git
3 years agoorg-agenda.el: New variable for custom bulk action functions.
Bastien Guerry [Mon, 11 Jul 2011 19:48:44 +0000]
org-agenda.el: New variable for custom bulk action functions.

* org-agenda.el (org-agenda-bulk-custom-functions): New
variable for custom bulk action functions.
(org-agenda-bulk-action): Use it.

Thanks to Julien Cubizolles for triggering this idea.

3 years agoorg-latex.el: Delete trailing whitespaces.
Bastien Guerry [Tue, 12 Jul 2011 06:31:07 +0000]
org-latex.el: Delete trailing whitespaces.

3 years agoorg-latex.el: New defcustom `org-export-latex-quotes' to control quotes.
Bastien Guerry [Mon, 11 Jul 2011 13:10:00 +0000]
org-latex.el: New defcustom `org-export-latex-quotes' to control quotes.

* org-latex.el (org-export-latex-quotes): New defcustom.
(org-export-latex-quotation-marks): Use it.

This allows users to define what quotes they want to use as a
replacement of english double-quotes while exporting to LaTeX.

In particular, if you use the csquote package, you can configure
Org to output something like \endquote{some quoted text} instead
of "some quoted text".

Thanks to Frederik for bringing this issue up, and to Thomas S.
Dye, Nick Dokos and Stefan Nobis for elaborating this solution.

3 years agoorg-capture.el: Delete trailing whitespace.
Bastien Guerry [Tue, 12 Jul 2011 06:29:55 +0000]
org-capture.el: Delete trailing whitespace.

3 years agoorg-capture.el: Fix bug about insert blank line when aborting.
Bastien Guerry [Mon, 11 Jul 2011 22:57:57 +0000]
org-capture.el: Fix bug about insert blank line when aborting.

* org-capture.el (org-capture-finalize): bugfix about
inserted blank line when killing the capture buffer and
`org-blank-before-new-entry' tells to not insert anything
before a heading.

Thanks to Leo for reporting this.

3 years agoorg.el: cosmetic changes in docstring.
Bastien Guerry [Mon, 11 Jul 2011 22:54:14 +0000]
org.el: cosmetic changes in docstring.

3 years agodoc/org.texi: Fix tiny typo.
Bastien Guerry [Mon, 11 Jul 2011 22:19:15 +0000]
doc/org.texi: Fix tiny typo.

3 years agoremove Makefile target install-info-debian, modify install-info to be compatible
Achim Gratz [Sun, 10 Jul 2011 06:42:20 +0000]
remove Makefile target install-info-debian, modify install-info to be compatible

* Makefile: remove target install-info-debian and modify target
  install-info so that it is compatible with the older dpkg version
  of install-info that resides in /usr/sbin and may be picked up
  when root is installing info files

Initial reporting by Jude DaShiell, suggestions for changing Makefile
by Nick Dokos.  The solution implemented re-arranges the arguments to
install-info to be compatible with both the dpkg and GNU version of
the program.  On Debian, /usr/bin/install-info is actually a wrapper
that calls /usr/bin/ginstall-info and issues the following warning
when called as root:

This is not dpkg install-info anymore, but GNU install-info
See the man page for ginstall-info for command line arguments

This warning can be safely ignored since we actually prefer that GNU
install-info is called even though we've arranged the arguments to
be compatible with dpkg install-info.

Tested on openSuSE Tumbleweed, Win7/Pro (both MSys and Cygwin) and by
Jude DaShiell on Debian Squeeze and Slackware.

TINYCHANGE

3 years agodoc: expand discussion of the :eval header argument
Eric Schulte [Mon, 11 Jul 2011 17:47:12 +0000]
doc: expand discussion of the :eval header argument

* doc/org.texi (eval): Expand discussion of the :eval header argument.

3 years agoorg-taskjuggler.el: cosmetic changes.
Bastien Guerry [Mon, 11 Jul 2011 15:02:42 +0000]
org-taskjuggler.el: cosmetic changes.

3 years agofr-refcard.tex: add Isabelle Ramade as an author.
Bastien Guerry [Mon, 11 Jul 2011 13:27:41 +0000]
fr-refcard.tex: add Isabelle Ramade as an author.

3 years agoorg-html.el: Fix :group for two defcustoms.
Bastien Guerry [Mon, 11 Jul 2011 11:41:34 +0000]
org-html.el: Fix :group for two defcustoms.

(org-export-html-before-content-div)
(org-export-html-content-div): Fix :group.

Thanks to Jambunathan for spotting this.

3 years agoorg-html.el: New defcustom: `org-export-html-before-content-div'
Bastien Guerry [Mon, 11 Jul 2011 11:40:36 +0000]
org-html.el: New defcustom: `org-export-html-before-content-div'

(org-export-html-before-content-div): New defcustom for
arbitrary HTML code placed before the main div container.

3 years agoRename `org-export-content-div' to `org-export-html-content-div'.
Bastien Guerry [Mon, 11 Jul 2011 11:33:21 +0000]
Rename `org-export-content-div' to `org-export-html-content-div'.

* org-html.el (org-export-html-content-div): Rename from
`org-export-content-div'.
(org-export-as-html): Use new name.

Thanks to Jambunathan for spotting this.

3 years ago* org-latex.el (org-export-latex-header-defs-re): Delete.
Bastien Guerry [Mon, 11 Jul 2011 11:29:34 +0000]
* org-latex.el (org-export-latex-header-defs-re): Delete.

3 years ago`org-set-property' to use the last set property as default prompt
Bastien [Mon, 11 Jul 2011 10:12:21 +0000]
`org-set-property' to use the last set property as default prompt

I'm testing whether patchwork catches the patches again.

You are free to test the feature as well :)

>From 2064e28c44ffc6f4020c8a5ec46e0d6bcf559c01 Mon Sep 17 00:00:00 2001
From: Bastien Guerry <bzg@altern.org>
Date: Mon, 11 Jul 2011 12:10:32 +0200
Subject: [PATCH] Make `org-set-property' defaults to the last set property.

* org.el (org-last-set-property): New variable.
(org-read-property-name): Use the new variable: the prompt
defaults to the last property set, unless there is a property
in the line at point.

3 years agoBufix: remove useless whitespace added after planning.
Bastien Guerry [Mon, 11 Jul 2011 10:23:47 +0000]
Bufix: remove useless whitespace added after planning.

(org-add-planning-info): Bufix: remove useless whitespace
added after planning.

3 years agoFix docstrings, consistently refer to capture, not remember
David Maus [Sun, 10 Jul 2011 17:30:40 +0000]
Fix docstrings, consistently refer to capture, not remember

* org-capture.el (org-capture-before-finalize-hook)
(org-capture-after-finalize-hook, org-capture-mode-map)
(org-capture-mode, org-capture-goto-last-stored): Fix docstring,
consistently refer to capture, not remember.

3 years agoob-clojure: respects "scalar" and "verbatim" results params
Eric Schulte [Sun, 10 Jul 2011 15:38:37 +0000]
ob-clojure: respects "scalar" and "verbatim" results params

* lisp/ob-clojure.el (org-babel-execute:clojure): Respects "scalar"
  and "verbatim" results params.

3 years agoob: enforce "verbatim" as synonym for "scalar"
Eric Schulte [Sun, 10 Jul 2011 15:34:28 +0000]
ob: enforce "verbatim" as synonym for "scalar"

* lisp/ob-awk.el (org-babel-execute:awk): Use "verbatim" as synonym
  for "scalar".
* lisp/ob-sh.el (org-babel-sh-evaluate): Use "verbatim" as synonym for
  "scalar".
* lisp/ob-sqlite.el (org-babel-execute:sqlite): Use "verbatim" as
  synonym for "scalar".
* lisp/ob.el (org-babel-merge-params): Use "verbatim" as synonym for
  "scalar".

3 years agoob-clojure: parse odd parens when nested isnide lists
Eric Schulte [Sun, 10 Jul 2011 15:27:32 +0000]
ob-clojure: parse odd parens when nested isnide lists

* lisp/ob.el (org-babel-script-escape): Parse odd parens when nested
  isnide lists.

3 years agoob-clojure: no longer force results into elisp if they don't naturally fit
Eric Schulte [Sun, 10 Jul 2011 15:19:16 +0000]
ob-clojure: no longer force results into elisp if they don't naturally fit

* lisp/ob-clojure.el (org-babel-execute:clojure): No longer force
  results into elisp if they don't naturally fit.

3 years agoob-clojure: Stop re-reading already parsed lisp results.
Eric Schulte [Sun, 10 Jul 2011 15:14:21 +0000]
ob-clojure: Stop re-reading already parsed lisp results.

* lisp/ob-clojure.el (org-babel-execute:clojure): Stop re-reading
  already parsed lisp results.

3 years agoMerge branch 'master' of orgmode.org:org-mode
Bastien Guerry [Sun, 10 Jul 2011 09:05:00 +0000]
Merge branch 'master' of orgmode.org:org-mode

3 years agodoc/org.texi: document `org-clock-timestamps-up'.
Bastien Guerry [Sun, 10 Jul 2011 09:04:41 +0000]
doc/org.texi: document `org-clock-timestamps-up'.

3 years agoorg-list: docstring update
Nicolas Goaziou [Sun, 10 Jul 2011 08:40:03 +0000]
org-list: docstring update

* lisp/org-list.el (org-plain-list-ordered-item-terminator): remove
  incorrect assumption.

3 years agoMore forbidden blocks for lists and footnotes
Nicolas Goaziou [Sun, 10 Jul 2011 08:33:25 +0000]
More forbidden blocks for lists and footnotes

* lisp/org-footnote.el (org-footnote-forbidden-blocks): add missing
  exporter specific blocks.
* lisp/org-list.el (org-list-forbidden-blocks): ditto.

3 years agoorg-latex.el: bugfix about exporting narrowed tables.
Bastien Guerry [Sat, 9 Jul 2011 22:28:33 +0000]
org-latex.el: bugfix about exporting narrowed tables.

* org-latex.el (org-export-latex-tables): Bugfix: remove
properties from fields.

Thanks to Frederik for reporting this.

3 years agoorg-clock.el: Fix bug in `org-clock-timestamps-change'.
Bastien Guerry [Sat, 9 Jul 2011 21:54:49 +0000]
org-clock.el: Fix bug in `org-clock-timestamps-change'.

3 years agoMinor code cleanup.
Bastien Guerry [Sat, 9 Jul 2011 16:12:18 +0000]
Minor code cleanup.

3 years agoFix calc-eval date(<timestamp>)
Benjamin Andresen [Sat, 9 Jul 2011 15:47:41 +0000]
Fix calc-eval date(<timestamp>)

3 years agoFix tiny spelling mistake.
Bastien Guerry [Sat, 9 Jul 2011 15:38:59 +0000]
Fix tiny spelling mistake.

3 years agoAllow synchronous update of timestamps in CLOCK log.
Bastien Guerry [Sat, 9 Jul 2011 15:38:21 +0000]
Allow synchronous update of timestamps in CLOCK log.

* org.el (org-shiftcontrolup, org-shiftcontroldown): New
commands to use `org-clock-timestamps-change'.

* org-clock.el (org-clock-timestamps-change)
(org-clock-timestamps-down, org-clock-timestamps-up)
(org-at-clock-log-p): New functions to let the user update
clock log timestamps while keeping the same clock duration.

Thanks to Rainer Stengele for this idea.

3 years agoorg.el: org-timestamp-up/down: mention time changes.
Bastien Guerry [Sat, 9 Jul 2011 13:26:29 +0000]
org.el: org-timestamp-up/down: mention time changes.

* org.el (org-timestamp-up, org-timestamp-down): mention time
changes in the docstring.

3 years agoorg-clock.el: new hook to remove empty clock drawer.
Bastien Guerry [Sat, 9 Jul 2011 13:20:31 +0000]
org-clock.el: new hook to remove empty clock drawer.

* org-clock.el (org-clock-remove-empty-clock-drawer): New
function to remove empty clock drawer.
(org-clock-out-hook): Add the new function as a hook.

3 years agoorg.el: remove CLOCK: and empty drawers from clones.
Bastien Guerry [Sat, 9 Jul 2011 13:04:39 +0000]
org.el: remove CLOCK: and empty drawers from clones.

3 years agoorg-lparse: Disable flashy warning by default
Jambunathan K [Fri, 8 Jul 2011 20:54:00 +0000]
org-lparse: Disable flashy warning by default

* contrib/lisp/org-lparse.el (org-lparse-use-flashy-warning):
Disable it by default.

3 years agoorg-lparse.el: Fix export of timestamps that occur as list items
Jambunathan K [Fri, 8 Jul 2011 20:36:48 +0000]
org-lparse.el: Fix export of timestamps that occur as list items

* contrib/lisp/org-lparse.el (org-lparse-handle-time-stamps):
Space is significant. Don't gobble it.

3 years agoorg-lparse: Bring over commit 49e6bc89
Jambunathan K [Fri, 8 Jul 2011 20:20:45 +0000]
org-lparse: Bring over commit 49e6bc89

* contrib/lisp/org-lparse.el (org-lparse-export-list-line):
Bring over org-html.el specific changes of commit 49e6bc89.

3 years agoorg-lparse: Bring over commit 934aae88
Jambunathan K [Fri, 8 Jul 2011 20:15:46 +0000]
org-lparse: Bring over commit 934aae88

* contrib/lisp/org-lparse.el (org-lparse-export-list-line): Bring over
org-html.el specific changes of commit 934aae88.

3 years agoBackends now register with org-lparse during load time
Jambunathan K [Fri, 8 Jul 2011 20:02:34 +0000]
Backends now register with org-lparse during load time

* contrib/lisp/org-lparse.el (org-lparse-native-backends): Set
default value to nil. Also update docstring.
(org-lparse-register-backend): New
* contrib/lisp/org-xhtml.el (org-xhtml-get): Add self -
"xhtml" - as one of the other backends. Call
org-lparse-register-backend on load.
* contrib/lisp/org-odt.el: Call org-lparse-register-backend on
load.

3 years agocontrib/odt/README.org: Test change
Jambunathan K [Fri, 8 Jul 2011 19:28:13 +0000]
contrib/odt/README.org: Test change

3 years agoorg-footnote: refuse to insert a footnote in an inappropriate context
Nicolas Goaziou [Fri, 8 Jul 2011 14:22:11 +0000]
org-footnote: refuse to insert a footnote in an inappropriate context

3 years agoorg-list: make use of new `org-in-block-p' function
Nicolas Goaziou [Fri, 8 Jul 2011 14:12:35 +0000]
org-list: make use of new `org-in-block-p' function

* lisp/org-list.el (org-list-in-valid-context-p): use `org-in-block-p'.

3 years agoForbid footnotes in some contexts
Nicolas Goaziou [Fri, 8 Jul 2011 13:48:07 +0000]
Forbid footnotes in some contexts

* lisp/org.el (org-in-block-p): new function.
* lisp/org-footnote.el (org-footnote-forbidden-blocks): new variable.
(org-footnote-in-valid-context-p): new function.
(org-footnote-at-reference-p): use new function. Allow inline
footnotes to start at bol.

3 years agoob-lilypond.el: delete useless comment.
Bastien Guerry [Fri, 8 Jul 2011 15:54:44 +0000]
ob-lilypond.el: delete useless comment.

3 years agoFix ob-lilypond.el compiler error: org-babel-tangle undefined function
Matthew Sauer [Fri, 8 Jul 2011 15:33:12 +0000]
Fix ob-lilypond.el compiler error: org-babel-tangle undefined function

3 years agoUpdate README_GIT
emacs [Fri, 8 Jul 2011 15:22:21 +0000]
Update README_GIT

3 years agocontrib/babel/library-of-babel.org: Added languages section.
Bastien Guerry [Fri, 8 Jul 2011 14:38:52 +0000]
contrib/babel/library-of-babel.org: Added languages section.

3 years agosupport for fomus code blocks added to contrib
Eric Schulte [Fri, 8 Jul 2011 14:19:47 +0000]
support for fomus code blocks added to contrib

  Thanks to Torsten Anders for contributing this functionality

3 years agoRename org-export-convert-* to org-lparse-convert-*
Bastien Guerry [Fri, 8 Jul 2011 10:39:05 +0000]
Rename org-export-convert-* to org-lparse-convert-*

The org-export-* prefix is confusing here, as these functions
seem to be part of org-exp.el.  Let's name them by the library
they are in (and rely on) for now -- maybe this will change
when we move the ODT exporter to the core.

3 years agocontrib/lisp/org-odt.el: rename org-export-convert-process.
Bastien Guerry [Fri, 8 Jul 2011 10:31:40 +0000]
contrib/lisp/org-odt.el: rename org-export-convert-process.

Rename org-export-convert-process to org-lparse-convert-process.

Other cosmetic changes.

3 years agocontrib/lisp/org-lparse.el: New defcustom `org-lparse-use-flashy-warning'
Bastien Guerry [Fri, 8 Jul 2011 10:28:35 +0000]
contrib/lisp/org-lparse.el: New defcustom `org-lparse-use-flashy-warning'

* org-lparse.el (org-lparse-use-flashy-warning): New
defcustom.
(org-lparse-warn): Use it.

3 years agodoc/org.texi: be a bit less formal in ODT's "Additional documentation"
Bastien Guerry [Fri, 8 Jul 2011 10:20:01 +0000]
doc/org.texi: be a bit less formal in ODT's "Additional documentation"

3 years agoorg-ascii.el: fix `org-export-as-utf8'.
Bastien Guerry [Fri, 8 Jul 2011 09:56:24 +0000]
org-ascii.el: fix `org-export-as-utf8'.

* org-ascii.el (org-export-as-utf8): fix call to
`org-called-interactively-p': it requires an argument.  Also
fix the docstring.

3 years agoMerge branch 'master' of orgmode.org:org-mode
Bastien Guerry [Fri, 8 Jul 2011 07:59:28 +0000]
Merge branch 'master' of orgmode.org:org-mode

3 years agoorg-mobile.el: Fix org-mobile-push with custom functions
Tassilo Horn [Fri, 8 Jul 2011 06:30:31 +0000]
org-mobile.el: Fix org-mobile-push with custom functions

3 years agoob-lilypond: add to make file and fix compiler warnings
Eric Schulte [Fri, 8 Jul 2011 01:33:56 +0000]
ob-lilypond: add to make file and fix compiler warnings

* Makefile (LISPF): Adding ob-lilypond.el.
* lisp/ob-lilypond.el (show-all): Declaring function from outline.el.
  (org-babel-default-header-args:lilypond): Declared.
  (ly-process-basic): Use the appropriate prefix for the temporary
  file, and don't call a function from ob-dot.el.
  (ly-version): Let-bind a free variable.

3 years agoorg.texi: Add Lilypond and Awk as supported languages.
Bastien Guerry [Thu, 7 Jul 2011 20:00:30 +0000]
org.texi: Add Lilypond and Awk as supported languages.

* install/git/org-mode/doc/org.texi (Languages): Add Lilypond and
Awk as supported languages.

Thanks to Torsten Anders for spotting this.

3 years agocontrib/org-lparse.el and org-odt.el: cosmetic changes.
Bastien Guerry [Thu, 7 Jul 2011 13:18:47 +0000]
contrib/org-lparse.el and org-odt.el: cosmetic changes.

3 years agoorg.texi: minor fix: use english version for DATE.
Bastien Guerry [Thu, 7 Jul 2011 11:44:56 +0000]
org.texi: minor fix: use english version for DATE.

Thanks to Giovanni Ridolfi for spotting this!

3 years agoMakefile: Remove dash from git commands
Bastien Guerry [Thu, 7 Jul 2011 11:43:25 +0000]
Makefile: Remove dash from git commands

I.e. "git tag" instead of "git-tag".

3 years agoMakefile: minor fix to the git command in make testrelease release_7.6
Bastien Guerry [Thu, 7 Jul 2011 06:53:40 +0000]
Makefile: minor fix to the git command in make testrelease

3 years agoorg-footnote.el: silent compiler warning.
Bastien Guerry [Wed, 6 Jul 2011 20:58:40 +0000]
org-footnote.el: silent compiler warning.

Declare  `org-bracket-link-regexp'.

Thanks to Achim Gratz for catching this.

3 years agoBump to version 7.6
Bastien Guerry [Wed, 6 Jul 2011 19:06:03 +0000]
Bump to version 7.6

3 years agoBump to version 7.6
Bastien Guerry [Wed, 6 Jul 2011 19:05:28 +0000]
Bump to version 7.6

3 years agoBump to version 7.6.
Bastien Guerry [Wed, 6 Jul 2011 19:05:11 +0000]
Bump to version 7.6.

3 years agoRevert "Silence byte-compiler with a new alias: filter-buffer-substring-functions."
Bastien Guerry [Wed, 6 Jul 2011 18:56:39 +0000]
Revert "Silence byte-compiler with a new alias: filter-buffer-substring-functions."

This reverts commit 5a2eec320712ee52d0e7b821c11efac3d6eaa96b.

The replacement of `buffer-substring-filters' by
`filter-buffer-substring-functions' requires some rewriting
of functions like `org-indent-remove-properties-from-string'.

3 years agoorg-indent.el: tiny docstring fix.
Bastien Guerry [Wed, 6 Jul 2011 18:49:55 +0000]
org-indent.el: tiny docstring fix.

3 years agoorg-publish.el: fix bug in `org-publish-cache-file-needs-publishing'.
Bastien Guerry [Wed, 6 Jul 2011 17:21:50 +0000]
org-publish.el: fix bug in `org-publish-cache-file-needs-publishing'.

* install/git/org-mode/lisp/org-publish.el
(org-publish-cache-file-needs-publishing): only check against .org
files.

3 years agoNew face: org-default.
Bastien Guerry [Wed, 6 Jul 2011 15:25:29 +0000]
New face: org-default.

* install/git/org-mode/lisp/org.el (org-mode): Use org-default as
the default face in org-mode.

* install/git/org-mode/lisp/org-faces.el (org-default): New face.

M-x customize-face RET org-default RET lets the user define a default
face for org-mode.

3 years agoorg-publish.el: Take #+INCLUDE: directives into account.
Bastien Guerry [Wed, 6 Jul 2011 15:04:07 +0000]
org-publish.el: Take #+INCLUDE: directives into account.

* install/git/org-mode/lisp/org-publish.el
(org-publish-cache-file-needs-publishing): Takes care of more
recently included files, returning `t' in case the file including
them needs to be republished.

3 years agoob-lilypond: more consistent behavior with other code block languages
Martyn Jago [Wed, 6 Jul 2011 13:17:29 +0000]
ob-lilypond: more consistent behavior with other code block languages

>    Hi
>
>    I've added functionality to make ob-lilypond act in a consistent
>    org-babel way by default (think ob-dot).
>
>    The previous modus operandi is now known as arrange-mode and is
>    selected by setting ly-arrange-mode to t
>
>    More details including examples are at
>    http://github.com/mjago/ob-lilypond

3 years agoEXPERIMENTAL/org-export.el: Delete redundant function.
Bastien Guerry [Wed, 6 Jul 2011 10:56:53 +0000]
EXPERIMENTAL/org-export.el: Delete redundant function.

`org-export-export-preprocess-string' was a dummy copy of
`org-export-preprocess-string', adapted for specific needs
of org-mw-export.  We now use `org-export-preprocess-string'
directly.  This requires a minor change in this latter function:
if :for-backend is not explicitely passed, then the let binding
of `org-export-current-backend' falls back on the previous value
of org-export-current-backend'.

3 years agoRename experimental file org-mediawiki.el to org-mw.el.
Bastien Guerry [Wed, 6 Jul 2011 10:53:19 +0000]
Rename experimental file org-mediawiki.el to org-mw.el.

This version also introduces many fixes.

3 years agoorg-exp: remove tasks before normalizing footnotes
Nicolas Goaziou [Tue, 5 Jul 2011 18:42:15 +0000]
org-exp: remove tasks before normalizing footnotes

* lisp/org-exp.el (org-export-preprocess-string): if the last subtree
  is a task, footnotes may be removed along with the subtree. This
  patch ensures footnotes are put at the end of the buffer after the
  subtree has been removed.

3 years agoorg-footnote: distinguish footnotes from links
Nicolas Goaziou [Tue, 5 Jul 2011 11:28:03 +0000]
org-footnote: distinguish footnotes from links

* lisp/org-footnote.el (org-footnote-at-reference-p): verify that what
  looks like a footnote doesn't belong to a link.
(org-footnote-next-reference-or-definition): check more strictly
footnote definitions.

3 years agoorg.texi: avoid export problem with double dashes.
Bastien Guerry [Tue, 5 Jul 2011 10:28:09 +0000]
org.texi: avoid export problem with double dashes.

Thanks to Sébastien Delafond for reporting this.
This closes Debian bug #632158 - http://bugs.debian.org/632158

3 years agoSilence byte-compiler with a new alias: filter-buffer-substring-functions.
Bastien Guerry [Tue, 5 Jul 2011 10:00:15 +0000]
Silence byte-compiler with a new alias: filter-buffer-substring-functions.

When `filter-buffer-substring-functions' is not a known variable to
Emacs (for versions < 24.1), we alias it to `buffer-substring-filters'.

3 years agoMakefile: add `make targets' to document possible targets
Bastien Guerry [Tue, 5 Jul 2011 09:27:13 +0000]
Makefile: add `make targets' to document possible targets

Thanks to Jude DaShiell for this suggestion, and to Nick Dokos for
comments.

3 years agoorg.el: fix `org-end-of-meta-data-and-drawers'
Bastien Guerry [Tue, 5 Jul 2011 09:05:20 +0000]
org.el: fix `org-end-of-meta-data-and-drawers'

Back to the previous version of `org-end-of-meta-data-and-drawers',
with a better fix.

Thanks to Eric Abrahamsen for this.

3 years agoIgnore errors when launching a language's mode when tangling a source block.
Deech [Mon, 4 Jul 2011 19:42:03 +0000]
Ignore errors when launching a language's mode when tangling a source block.

  The lua-mode for instance was throwing errors that killed the tangling process.

* lisp/ob-tangle.el (org-babel-tangle): Ignore errors thrown by
  language modes.

3 years agotest: adding simple regression test for table formula evaluation
Eric Schulte [Mon, 4 Jul 2011 18:13:41 +0000]
test: adding simple regression test for table formula evaluation

3 years agotest: small changes to ensure proper setup... passing all tests
Eric Schulte [Mon, 4 Jul 2011 18:04:43 +0000]
test: small changes to ensure proper setup... passing all tests

3 years agoAdd missing white spaces also in Org guide
Nicolas Goaziou [Mon, 4 Jul 2011 16:42:29 +0000]
Add missing white spaces also in Org guide

3 years agoAdd some white spaces missing in documentation
Nicolas Goaziou [Mon, 4 Jul 2011 16:36:45 +0000]
Add some white spaces missing in documentation

3 years agoImprove "Images in LaTeX export" documentation
Suvayu Ali [Mon, 4 Jul 2011 13:03:06 +0000]
Improve "Images in LaTeX export" documentation

* Mention use of keywords like multicolumn and float
* Remove previous mention of hack with placement option
  as per comments on the mailing list. The hack is
  better suited for Worg.

3 years agoorg-table.el: Er... fix the previous fix about time formulas computation.
Eric S Fraga [Mon, 4 Jul 2011 10:23:25 +0000]
org-table.el: Er... fix the previous fix about time formulas computation.

The error was introduced by Bastien, not Maciek Starzyk.  Bzg was
trying to fix things manually too hastily :)

3 years agoob-ref.el: declare two functions.
Bastien Guerry [Mon, 4 Jul 2011 09:05:07 +0000]
ob-ref.el: declare two functions.

Declare `org-id-find-id-in-file' and `org-show-context'.

Thanks to Achim Gratz for spotting this.

3 years agoorg-agenda.el: fix bug in org-diary-class.
Rémi Vanicat [Mon, 4 Jul 2011 09:00:54 +0000]
org-agenda.el: fix bug in org-diary-class.

calendar-absolute-from-gregorian returns a number of day and
should not be used here.

3 years agoorg-table.el: Fix bug in formula duration computation.
Maciek Starzyk [Mon, 4 Jul 2011 08:51:29 +0000]
org-table.el: Fix bug in formula duration computation.

3 years agoorg-footnote.el: fix a few compiler warnings.
Bastien Guerry [Sun, 3 Jul 2011 19:32:41 +0000]
org-footnote.el: fix a few compiler warnings.

Thanks to Achim Gratz for catching them.

3 years agoob-python: inhibit return of the eoe string during session evaluation
Eric Schulte [Sun, 3 Jul 2011 18:12:11 +0000]
ob-python: inhibit return of the eoe string during session evaluation

* lisp/ob-python.el (org-babel-python-evaluate-session): Inhibit
  return of the eoe string during session evaluation.

3 years agoob-python: enough newlines to ensure a return when ":results output :session"
Eric Schulte [Sun, 3 Jul 2011 18:08:13 +0000]
ob-python: enough newlines to ensure a return when ":results output :session"

* lisp/ob-python.el (org-babel-python-evaluate-session): Enough
  newlines to ensure a return when ":results output :session".

3 years agoob-python: more robust session evaluation
Eric Schulte [Sun, 3 Jul 2011 15:10:43 +0000]
ob-python: more robust session evaluation

* lisp/ob-python.el (org-babel-python-evaluate-session): Introduced a
  new local function for sending input with a slight delay to allow
  pythong to re-draw the prompt.  No longer removing newlines inside
  code block bodies (was due to a defective regexp).

3 years agoorg-macs.el: new function `org-format-seconds'.
Bastien Guerry [Sun, 3 Jul 2011 11:23:09 +0000]
org-macs.el: new function `org-format-seconds'.

* install/git/org-mode/lisp/org-table.el
(org-table-time-seconds-to-string): use `org-format-seconds'
instead of `format-seconds'.

* install/git/org-mode/lisp/org-macs.el (org-format-seconds):
handle case where `format-seconds' does not exist.

3 years agoorg-publish.el: delete trailing whitespaces.
Bastien Guerry [Sun, 3 Jul 2011 11:07:27 +0000]
org-publish.el: delete trailing whitespaces.

3 years agoProperly handle relative symlinks when publishing
David Maus [Sun, 26 Jun 2011 18:02:42 +0000]
Properly handle relative symlinks when publishing

* org-publish.el (org-publish-cache-ctime-of-src): Properly handle
relative symlinks.

At Thu, 07 Apr 2011 01:11:00 -0400,
Nick Dokos wrote:
>
> org-publish-cache-ctime-of-src tries (but does not always succeed) to
> deal with symlinks: file-symlink-p returns the target as a string, but
> if the target is relative to the symlink, that's not going to fly.
> e.g. if c is a symlink like this
>
>     /a/b/c->../d/f
>
> then (file-symlink-p "/a/b/c") -> "../d/f"
> but if the current directory is any place other than /a/b, the target
> will not be found, the file attributes are going to be nil and
> the function will blow up.

3 years agoUse function argument instead of dynamically scoped symbol
David Maus [Sat, 2 Jul 2011 14:25:59 +0000]
Use function argument instead of dynamically scoped symbol

* org-latex.el (org-export-latex-preprocess): Use function argument
instead of dynamically scoped symbol.

Export options are passed to org-export-preprocess-string which passes
them down to backend specific preprocessor. The :footnotes option is
included.

3 years agoUse org-string-match-p for backward compatibility with Emacs22
David Maus [Sat, 2 Jul 2011 14:30:00 +0000]
Use org-string-match-p for backward compatibility with Emacs22

* org-freemind.el (org-freemind-convert-links-helper)
(org-freemind-convert-text-p, org-freemind-write-mm-buffer)
(org-freemind-get-node-style): Use org-string-match-p for backward
compatibility with Emacs22.