org-mode.git
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.

3 years agoAdd missing :group keyword in defcustom
David Maus [Sat, 2 Jul 2011 14:27:43 +0000]
Add missing :group keyword in defcustom

* org-html.el (org-export-html-protect-char-alist): Add missing :group
keyword in defcustom.

3 years agoCall kill-buffer with argument nil
David Maus [Sat, 2 Jul 2011 14:15:14 +0000]
Call kill-buffer with argument nil

* ob-haskell.el (org-babel-haskell-export-to-lhs): Call kill-buffer
with argument indiciating to kill current buffer. Emacs 22
compatibility.

GNU Emacs 22.3.2 (i686-pc-linux-gnu) of 2011-05-28 on x60s

C-h f kill-buffer RET

kill-buffer is an interactive built-in function in `C source code'.
It is bound to C-x k.
(kill-buffer buffer)

Kill the buffer buffer.
The argument may be a buffer or the name of a buffer.
With a nil argument, kill the current buffer.

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

3 years agodoc/org.texi: Add a new node for OpenDocumentText exporter
Jambunathan K [Sat, 2 Jul 2011 22:39:22 +0000]
doc/org.texi: Add a new node for OpenDocumentText exporter

--

>From 1177aa67678e2c9b0fd1d65cd0d87436fd63a08e Mon Sep 17 00:00:00 2001
From: Jambunathan K <kjambunathan@gmail.com>
Date: Sat, 2 Jul 2011 22:40:18 +0530
Subject: [PATCH 2/2] doc/org.texi: Add a new node for OpenDocumentText exporter

3 years agoorg-lparse/org-odt: Add docstring. Silence byte-compiler
Jambunathan K [Sat, 2 Jul 2011 22:37:29 +0000]
org-lparse/org-odt: Add docstring. Silence byte-compiler

I am attaching two org-odt patches for inclusion. Both are desirable and
not mandatory.

3 years agoToggle partial-completion-mode only if it is turned on
David Maus [Sat, 2 Jul 2011 14:51:55 +0000]
Toggle partial-completion-mode only if it is turned on

* org-macs.el (org-without-partial-completion): Toggle
partial-completion-mode only if it is turned on.

3 years agoorg.el: tiny fix to org-add-planning-info.
Bastien Guerry [Sat, 2 Jul 2011 13:23:25 +0000]
org.el: tiny fix to org-add-planning-info.

3 years agoorg.el: fix issues with timestamps: insert them at the same position.
Bastien Guerry [Sat, 2 Jul 2011 13:13:03 +0000]
org.el: fix issues with timestamps: insert them at the same position.

* install/git/org-mode/lisp/org.el (org-add-planning-info): fix
issues with timestamps not being inserted at the same position.

3 years agoorg.texi: Add a subsection about computing durations.
Bastien Guerry [Sat, 2 Jul 2011 11:36:13 +0000]
org.texi: Add a subsection about computing durations.

3 years agoorg-table.el: return correct duration string for Calc formulas.
Bastien Guerry [Sat, 2 Jul 2011 11:34:22 +0000]
org-table.el: return correct duration string for Calc formulas.

3 years agoorg-table.el: Implement computation of durations with "T" flag
Bastien Guerry [Sat, 2 Jul 2011 11:08:54 +0000]
org-table.el: Implement computation of durations with "T" flag

* install/git/org-mode/lisp/org-table.el
(org-table-time-string-to-seconds)
(org-table-time-seconds-to-string): New functions.
(org-table-eval-formula): Implement the "T" (time) flag for
computing durations.

3 years agoBugfix `org-without-partial-completion' (again).
Bastien Guerry [Sat, 2 Jul 2011 10:15:20 +0000]
Bugfix `org-without-partial-completion' (again).

Er... We need to call ,@body when partial-completion-mode is nil.

3 years agoFix `org-without-partial-completion' again.
Bastien Guerry [Sat, 2 Jul 2011 09:25:56 +0000]
Fix `org-without-partial-completion' again.

This uses the macro David Maus suggests.  In particular, it doesn't
use the (let (pc-mode ...)) binding, which, as David states, could
cause leakage if the pc-mode variable is used within ,@body.

3 years agoDon't include org-lparse.el in the list of contributed modules.
Bastien Guerry [Sat, 2 Jul 2011 09:15:57 +0000]
Don't include org-lparse.el in the list of contributed modules.

This modules is a dependancy of org-odt.el, which is the real
library users want to load.

3 years agoAdd org-lparse and org-odt as contrib modules
Jambunathan K [Sat, 2 Jul 2011 01:31:28 +0000]
Add org-lparse and org-odt as contrib modules

--

>From 9b97d19c1184d3cf2cc82831e3d29067cf91f014 Mon Sep 17 00:00:00 2001
From: Jambunathan K <kjambunathan@gmail.com>
Date: Sat, 2 Jul 2011 01:56:01 +0530
Subject: [PATCH] Add org-lparse and org-odt as contrib modules

* lisp/org.el (org-modules): Add org-lparse and org-odt as
contrib modules.
* contrib/README: Ditto