org-mode.git
2 years agoFix Makefile. release_7.8.06
Bastien Guerry [Mon, 19 Mar 2012 21:37:52 +0000]
Fix Makefile.

There was two problems: fixrelease merged the wrong way (merging
master into maint) and cleanrel tried to clean up files that were
already deleted.

2 years agoBump to version 7.8.06.
Bastien Guerry [Mon, 19 Mar 2012 21:23:16 +0000]
Bump to version 7.8.06.

2 years agoRevert "Require one or more spaces (+) between keyword and headline"
Bastien Guerry [Mon, 19 Mar 2012 21:21:10 +0000]
Revert "Require one or more spaces (+) between keyword and headline"

This reverts commit e0072f79137bbfabdf848da6865d8e4de776a549.

2 years agoFix the maint branch.
Bastien Guerry [Mon, 19 Mar 2012 19:27:28 +0000]
Fix the maint branch.

Thanks to Achim Gratz for his precious help on this.

2 years agoRequire one or more spaces (+) between keyword and headline
David Maus [Sun, 18 Mar 2012 17:38:50 +0000]
Require one or more spaces (+) between keyword and headline

* org.el (org-scan-tags): Require one or more spaces (+) between
keyword and headline.

Otherwise the re will match a line like:

* TODO@ Foobar

And assumes the @ to be part of the headline.

This fixes a glitch reported by Simon Thum in
<4F53DEF7.8080604@gmx.de>.

> Hi all,
>
> I have found some irritating behaviour, potentially a bug. I have a
> block agenda which goes like:
>
> tags-todo "@home&TODO=\"TODO\"
>
> and it displays a certain org line that reads
>
> **** TODO_ state triggers
>
> Which is just a heading for dealing with TODO state triggers, and I
> appended the _ as I don't want it to be a TODO.
>
> For example, the global TODO list and syntax highlighting does not
> consider it a todo, but C-c a m TODO="TODO" does. TODO="T" does not,
> so it's not very grave.
>
> Most likely, it's simply an inconsistency arising from not having a
> real parser. I just wanted to report it here so it may get fixed.

2 years agoDon't reset `org-done-keywords-for-agenda' when org-agenda-multi
David Maus [Sun, 18 Mar 2012 16:58:12 +0000]
Don't reset `org-done-keywords-for-agenda' when org-agenda-multi

* org-agenda.el (org-prepare-agenda): Don't reset
`org-done-keywords-for-agenda' when org-agenda-multi.

Fixes a bug with DONE keywords in org-todo face reported by Hans-Peter
Deifel in <87r4xwypxh.fsf@hpdeifel.de>.

2 years agoRemove "Version" tag in ob-fortran.el and org-eshell.el. 7.8.05 release_7.8.05
Bastien Guerry [Sat, 17 Mar 2012 15:42:25 +0000]
Remove "Version" tag in ob-fortran.el and org-eshell.el.

2 years agoUpdate version 7.8.05
Bastien Guerry [Sat, 17 Mar 2012 15:41:44 +0000]
Update version 7.8.05

2 years agoSet version 7.8.04 in maint.
Bastien Guerry [Sat, 17 Mar 2012 15:32:53 +0000]
Set version 7.8.04 in maint.

2 years agoFix copyright years in maint.
Bastien Guerry [Sat, 17 Mar 2012 15:31:04 +0000]
Fix copyright years in maint.

2 years agoManually revert maint to e85080.
Bastien Guerry [Sat, 17 Mar 2012 15:28:46 +0000]
Manually revert maint to e85080.

e85080 is the last correct commit in the maint branch
before releasing 7.8.04.  The 7.8.05 release should be
done from this commit.

2 years agoWhitespace cleanup.
Bastien Guerry [Sat, 17 Mar 2012 14:59:38 +0000]
Whitespace cleanup.

2 years agoDon's use "Version" elsewhere than in org.el
Bastien Guerry [Sat, 17 Mar 2012 14:56:30 +0000]
Don's use "Version" elsewhere than in org.el

2 years agoManually revert to the Release 7.8.04 tag.
Bastien Guerry [Sat, 17 Mar 2012 14:52:24 +0000]
Manually revert to the Release 7.8.04 tag.

2 years agoDon't use the "Version:" tag elsewhere than in org.el
Bastien Guerry [Sat, 17 Mar 2012 13:43:21 +0000]
Don't use the "Version:" tag elsewhere than in org.el

This commit prepares the maint>master merge, which otherwise
results in merge conflicts.

2 years agoFix more copyright years.
Bastien Guerry [Sat, 17 Mar 2012 13:39:43 +0000]
Fix more copyright years.

2 years agoFix copyright years.
Bastien Guerry [Sat, 17 Mar 2012 13:36:25 +0000]
Fix copyright years.

2 years agoManually revert back to commit e85080.
Bastien Guerry [Sat, 17 Mar 2012 13:34:01 +0000]
Manually revert back to commit e85080.

This fixes a wrong merge that should not have happened:
commit 7e903a merges the master branch into the maint branch,
while we really want to keep the maint branch a bugfix-only
branch.

This commit reverts back the maint branch to its state before
merging the master branch.  From there, we will fix remaining
problems with the maint branch (e.g. copyright issues) then
release this maint branch as Org-mode 7.8.05.

2 years agoRevert "Release 7.8.04"
Bastien Guerry [Sat, 17 Mar 2012 13:24:27 +0000]
Revert "Release 7.8.04"

This reverts commit 78ec8e21b8a5c72797c108621ae18c89e92a3dab.

2 years agoRelease 7.8.04 release_7.8.04
Bastien Guerry [Fri, 16 Mar 2012 19:04:04 +0000]
Release 7.8.04

2 years agoMerge branch 'maint'
Bastien Guerry [Fri, 16 Mar 2012 19:02:48 +0000]
Merge branch 'maint'

2 years agodoc/org.texi: Use "ODT" instead of @acronym{ODT}.
Bastien Guerry [Fri, 16 Mar 2012 19:02:30 +0000]
doc/org.texi: Use "ODT" instead of @acronym{ODT}.

Using @acronym{} is better but we need to make this
change on the whole document and check that the doc
compiles correctly on the server with it.

2 years agoMerge branch 'maint'
Bastien Guerry [Fri, 16 Mar 2012 18:39:36 +0000]
Merge branch 'maint'

2 years agoorg-habit.el: Fix bug while inserting habit graph in the agenda buffer.
Thomas Morgan [Fri, 16 Mar 2012 18:35:44 +0000]
org-habit.el: Fix bug while inserting habit graph in the agenda buffer.

* org-habit.el (org-habit-insert-consistency-graphs): Fix bug
while inserting habit graph in the agenda buffer.

TINYCHANGE

2 years agoCorrectly match source block edit buffers.
Bastien Guerry [Fri, 16 Mar 2012 18:24:24 +0000]
Correctly match source block edit buffers.

* org-src.el (org-src-edit-buffer-p): New function.

* org.el (org-store-link): Use the new function to correctly
match source code buffer.

TINYCHANGE

Thanks to Ilya Shlyakhter for this patch.

2 years agoMerge branch 'maint'
Bastien Guerry [Fri, 16 Mar 2012 18:19:24 +0000]
Merge branch 'maint'

2 years agoorg-agenda.el: Fix the order conditions are being checked.
Bastien Guerry [Fri, 16 Mar 2012 18:18:41 +0000]
org-agenda.el: Fix the order conditions are being checked.

* org-agenda.el (org-agenda-skip-if): Fix the order conditions
are being checked.  Also enhance the docstring a bit.

TINYCHANGE

Thanks to Toby Cubitt for a patch to this effect.

2 years agoorg-agenda.el: Fix the display of indirect agenda window.
Bastien Guerry [Fri, 16 Mar 2012 18:05:26 +0000]
org-agenda.el: Fix the display of indirect agenda window.

* org-agenda.el (org-agenda-tree-to-indirect-buffer): Fix the
display of indirect agenda window.

TINYCHANGE

Thanks to Dave Abrahams for a patch to this effect.

2 years agoorg.el: Fix XEmacs compatibility bug when creating images.
Bastien Guerry [Fri, 16 Mar 2012 17:55:41 +0000]
org.el: Fix XEmacs compatibility bug when creating images.

* org.el (org-create-formula-image, org-dvipng-color): Fix
XEmacs compatibility bug.

TINYCHANGE

Thanks to Uwe Brauer for this patch.

2 years agoClocking work time: faster filtering of clock entries by trusting org-scanner-tags
Carsten Dominik [Fri, 16 Mar 2012 16:35:19 +0000]
Clocking work time: faster filtering of clock entries by trusting org-scanner-tags

* lisp/org-clock.el (org-clock-get-table-data): Bind org-scanner-tags
to tags-list and org-trust-scanner-tags to t while evaluating the
matcher, since the matcher is always evaluated at the current entry.

TINYCHANGE

2 years agoMerge branch 'master' of orgmode.org:org-mode
Carsten Dominik [Fri, 16 Mar 2012 16:33:05 +0000]
Merge branch 'master' of orgmode.org:org-mode

2 years agotags search: faster tags matcher by trusting scanner tags
Ilya Shlyakhter [Fri, 16 Mar 2012 19:13:08 +0000]
tags search: faster tags matcher by trusting scanner tags

On 3/16/2012 2:10 AM, Nick Dokos wrote:
 > One more thing that you'll need to do is put your patches in attachments
 > of a type that will allow patchwork to snag the patch:

Thanks, I was wondering why they're not showing up.
Here is another try (attached) for the org.el patch.

ilya
>From 95c38b06803aec0787bc2eaab3d0062221390292 Mon Sep 17 00:00:00 2001
From: Ilya Shlyakhter <ilya_shl@alum.mit.edu>
Date: Fri, 16 Mar 2012 00:10:25 -0400
Subject: [PATCH 2/2] Tags/properties matcher: faster matching by trusting
 org-scanner-tags

* lisp/org.el (org-scan-tags): Bind org-trust-scanner-tags to t
while evaluating the matcher, since the matcher is always evaluated
at the current entry.

TINYCHANGE

2 years agoFixed compiler warnings, including one small bug in ob-lilypond
Ilya Shlyakhter [Fri, 16 Mar 2012 05:52:03 +0000]
Fixed compiler warnings, including one small bug in ob-lilypond

* lisp/ob-lilypond.el (ly-compile-lilyfile): Fixed misplaced comma in a
quoting expression.

* lisp/org-pcomplete.el: added missing defvar definitions for org vars

* lisp/org-src.el: added declare-function line for org-babel-tangle

* lisp/ob.el (org-scan-tags): protected the variable tags-list with a let
(other) added missing defvar declarations.

TINYCHANGE

2 years agodocumentation of this new option to the :noweb header argument
Eric Schulte [Wed, 14 Mar 2012 19:12:11 +0000]
documentation of this new option to the :noweb header argument

* doc/org.texi (noweb): Documentation of this new option to the :noweb
  header argument.

2 years agoadd "eval" option to noweb
Eric Schulte [Wed, 14 Mar 2012 19:10:22 +0000]
add "eval" option to noweb

* lisp/ob.el (org-babel-merge-params): Add "eval" as acceptable noweb
  argument.
  (org-babel-noweb-p): The "eval" argument only expands during
  evaluation.

2 years agoorg-e-odt: Use new source code handling API
Jambunathan K [Wed, 14 Mar 2012 18:28:43 +0000]
org-e-odt: Use new source code handling API

2 years agoorg-element: Unhide contents of collapsed elements before entering them
Nicolas Goaziou [Wed, 14 Mar 2012 13:19:08 +0000]
org-element: Unhide contents of collapsed elements before entering them

* contrib/lisp/org-element.el (org-element-down): Unhide contents of
  collapsed elements before entering them.

2 years agoMerge branch 'origin-maint'
Eric Schulte [Wed, 14 Mar 2012 13:56:52 +0000]
Merge branch 'origin-maint'

Conflicts:
lisp/org-src.el

2 years agofix compiler warnings
Eric Schulte [Wed, 14 Mar 2012 13:55:04 +0000]
fix compiler warnings

* lisp/ob.el (org-strip-protective-commas): Declared.
* lisp/org-agenda.el (org-agenda-filtered-by-category): Declared.
  (org-agenda-filter-apply): Capture free variable.
* lisp/org-footnote.el (org-skip-whitespace): Declared.
* lisp/org-mobile.el (org-agenda-filter): Declared.
* lisp/org-src.el (org-strip-protective-commas): Declared.

2 years agoMerge branch 'origin-maint'
Eric Schulte [Wed, 14 Mar 2012 13:22:59 +0000]
Merge branch 'origin-maint'

2 years agoAdd autoload instruction before org-version
Sebastien Vauban [Tue, 28 Feb 2012 13:26:37 +0000]
Add autoload instruction before org-version

* org.el (org-version): Add autoload cookie.

TINYCHANGE

2 years agoorg-e-html: Use new source code handling API
Jambunathan K [Wed, 14 Mar 2012 09:56:28 +0000]
org-e-html: Use new source code handling API

2 years agoMerge branch 'maint'
David Maus [Wed, 14 Mar 2012 05:43:19 +0000]
Merge branch 'maint'

2 years agoRemove spurious quote in customization form choice
David Maus [Wed, 14 Mar 2012 05:17:25 +0000]
Remove spurious quote in customization form choice

* org-attach.el (org-attach-store-link-p): Remove spurious quote in
customization form choice.

Glitch discovered and fix suggested by Henning Weiss in
<CAKq33udFSsBP0egVrgfjcBnou+PhKtyYaGBn0SfMicp42h0=kw@mail.gmail.com>>.

2 years agoMerge branch 'maint'
David Maus [Wed, 14 Mar 2012 05:00:49 +0000]
Merge branch 'maint'

2 years agoAdd missing word to org-contacts y-or-n-p question
Tassilo Horn [Tue, 13 Mar 2012 12:19:39 +0000]
Add missing word to org-contacts y-or-n-p question

* org-contacts.el (org-contacts-check-mail-address): Add missing word
to y-or-n-p question.

2 years agoapply :shebang and :padline to shell script execution
Eric Schulte [Mon, 12 Mar 2012 17:23:53 +0000]
apply :shebang and :padline to shell script execution

* lisp/ob-sh.el (org-babel-execute:sh): Pass all params to subroutine.
  (org-babel-sh-evaluate): Apply :shebang and :padline to shell script
  execution.

2 years agoMerge branch 'origin-maint'
Eric Schulte [Mon, 12 Mar 2012 12:41:38 +0000]
Merge branch 'origin-maint'

2 years agoEnsure correct order for empty result wrapping blocks.
Eric Schulte [Mon, 12 Mar 2012 12:40:43 +0000]
Ensure correct order for empty result wrapping blocks.

* lisp/ob.el (org-babel-insert-result): Ensure correct order for empty
  result wrapping blocks.

2 years agofix whitespace errors
Eric Schulte [Mon, 12 Mar 2012 04:50:41 +0000]
fix whitespace errors

2 years agoMake auditioning of midi and pdf generations asynchronous, and add easy pdf generation.
Martyn Jago [Sat, 10 Mar 2012 15:00:57 +0000]
Make auditioning of midi and pdf generations asynchronous, and add easy pdf generation.

* lisp/ob-lilypond.el: Make auditioning of midi and pdf asynchronous,
  and add easy pdf generation in the form of `ly-gen-pdf' variable.

* testing/lisp/test-ob-lilypond.el: Tests for above.

2 years agoorg-export: Remove useless INFO argument from `org-export-unravel-code'
Nicolas Goaziou [Sat, 10 Mar 2012 19:25:32 +0000]
org-export: Remove useless INFO argument from `org-export-unravel-code'

* contrib/lisp/org-export.el (org-export-unravel-code): Remove INFO
  argument.  Fix a bug preventing code references to be properly
  recognized.
(org-export-format-code-default): Apply signature change.
(org-export-resolve-coderef): Fix a bug preventing code references to
be properly recognized.
* EXPERIMENTAL/org-e-latex.el (org-e-latex-src-block): Apply signature
  change.
* testing/lisp/test-org-export.el: Add tests.

2 years agotest-org-element: Fix a test about block switches
Nicolas Goaziou [Sat, 10 Mar 2012 12:46:35 +0000]
test-org-element: Fix a test about block switches

2 years agoorg-export: Change source code handling API
Nicolas Goaziou [Sat, 10 Mar 2012 10:37:13 +0000]
org-export: Change source code handling API

* contrib/lisp/org-element.el (org-element-example-block-parser,
  org-element-src-block-parser): Add `:number-lines',
  `:preserve-indent, `:retain-labels', `:use-labels'  and
  `:label-fmt' properties.
* contrib/lisp/org-export.el (org-export-resolve-coderef,
  org-export-get-loc): Apply changes to src-block and example-block
  elements' properties.
(org-export-unravel-code, org-export-format-code,
org-export-format-code-default): New functions.
(org-export-handle-code): Removed function.
* EXPERIMENTAL/org-e-latex.el (org-e-latex-example-block): Use new
  function.
(org-e-latex-src-block): Use new API.  Better handling of numbered
lines with special packages.
* EXPERIMENTAL/org-e-ascii.el (org-e-ascii-example-block,
  org-e-ascii-src-block): Use new functions.
* testing/lisp/test-org-element.el: Add tests.
* testing/lisp/test-org-export.el: Add tests.

2 years agoorg-element: New `org-element-down' function
Nicolas Goaziou [Fri, 9 Mar 2012 18:47:50 +0000]
org-element: New `org-element-down' function

* contrib/lisp/org-element.el (org-element-down): New function.
* testing/lisp/test-org-element.el: Add test.

2 years agoMerge branch 'origin-maint'
Eric Schulte [Fri, 9 Mar 2012 13:54:36 +0000]
Merge branch 'origin-maint'

2 years agoThe link generated by org-store-link is escaped twice when tangling with ":comments...
Deech [Thu, 8 Mar 2012 19:25:14 +0000]
The link generated by org-store-link is escaped twice when tangling with ":comments yes" flag.

* ob-tangle.el (org-babel-spec-to-string): The link generated by
  org-store-link is escaped twice when tangling with ":comments yes"
  flag.

2 years agoorg-html.el (org-export-as-html): Remove another useless space before tag.
Bastien Guerry [Fri, 9 Mar 2012 02:08:04 +0000]
org-html.el (org-export-as-html): Remove another useless space before tag.

* org-html.el (org-export-as-html): Remove another useless
space before tag.

Thanks to Mathias Bauer for spotting this.

2 years agoorg-html.el (org-export-as-html): Remove another useless space before tag.
Bastien Guerry [Fri, 9 Mar 2012 02:08:04 +0000]
org-html.el (org-export-as-html): Remove another useless space before tag.

* org-html.el (org-export-as-html): Remove another useless
space before tag.

Thanks to Mathias Bauer for spotting this.

2 years agoMerge branch 'maint'
Bastien Guerry [Fri, 9 Mar 2012 01:55:03 +0000]
Merge branch 'maint'

2 years agoorg-html.el (org-export-as-html): Remove useless space before tag.
Bastien Guerry [Fri, 9 Mar 2012 01:54:34 +0000]
org-html.el (org-export-as-html): Remove useless space before tag.

* org-html.el (org-export-as-html): Remove useless space
before tag.

Thanks to Mathias Bauer for spotting this.

2 years agoAdd autoload instruction before org-version
Sebastien Vauban [Tue, 28 Feb 2012 13:26:37 +0000]
Add autoload instruction before org-version

* org.el (org-version): Add autoload cookie.

TINYCHANGE

2 years agoMerge branch 'maint'
Bastien Guerry [Thu, 8 Mar 2012 13:08:38 +0000]
Merge branch 'maint'

2 years agoorg.el (org-get-category): Save match data.
Bastien Guerry [Thu, 8 Mar 2012 13:08:15 +0000]
org.el (org-get-category): Save match data.

* org.el (org-get-category): Save match data.

Thanks to Adam Spiers for spotting this issue.

2 years agoMerge branch 'maint'
Bastien Guerry [Thu, 8 Mar 2012 12:50:51 +0000]
Merge branch 'maint'

2 years agoFix typos
Adam Spiers [Thu, 8 Mar 2012 12:50:19 +0000]
Fix typos

2 years agoAdd example demonstrating LaTeX_CLASS_OPTIONS
Suvayu Ali [Thu, 8 Mar 2012 00:31:05 +0000]
Add example demonstrating LaTeX_CLASS_OPTIONS

* org.texi (Header and sectioning): Add example demonstrating how to use
  "LaTeX_CLASS_OPTIONS".

TINY CHANGE

2 years agoMerge branch 'master' of orgmode.org:org-mode
Bastien Guerry [Thu, 8 Mar 2012 08:50:34 +0000]
Merge branch 'master' of orgmode.org:org-mode

2 years agoorg-e-html: Improve handling of images, headlines and inlinetasks
Jambunathan K [Thu, 8 Mar 2012 07:55:58 +0000]
org-e-html: Improve handling of images, headlines and inlinetasks

1. Handle inlining of remote images
2. Proper handling of "alt" attribute for regular imgages and dvipnged
   fragments.
3. Support for Inlinetasks
4. Headlines are "transcoded" in three places:
   - org-e-html-headline (`org-e-html-format-headline')
   - org-e-html-inlinetask
   - org-e-html-toc (`org-e-html-format-toc-headline')

   These are now conveniently wrapped and cleared through
   'org-e-html-format-headline--wrap'.  The regular and toc headlines
   formatters mentioned afore take a superset of arguments allowed by
   `org-e-html-format-headline-function'.  Augmenting the signature of
   the `org-e-html-format-headline-function' is worth considering.

2 years agoMerge branch 'master' of orgmode.org:org-mode
Bastien Guerry [Wed, 7 Mar 2012 17:24:21 +0000]
Merge branch 'master' of orgmode.org:org-mode

2 years agoorg-export: Small fix
Nicolas Goaziou [Wed, 7 Mar 2012 17:02:57 +0000]
org-export: Small fix

* contrib/lisp/org-export.el (org-export-get-ordinal): Change signature.
* EXPERIMENTAL/org-e-ascii.el (org-e-ascii--build-caption): Apply
  changes to previous function

2 years agoorg-export: Predicate in `org-export-get-ordinal' accepts two arguments
Nicolas Goaziou [Wed, 7 Mar 2012 16:17:42 +0000]
org-export: Predicate in `org-export-get-ordinal' accepts two arguments

* contrib/lisp/org-export.el (org-export-get-ordinal): Predicate in
  `org-export-get-ordinal' accepts two arguments.

2 years agoMerge branch 'master' of orgmode.org:org-mode
Bastien Guerry [Wed, 7 Mar 2012 08:05:44 +0000]
Merge branch 'master' of orgmode.org:org-mode

2 years agoorg-e-html: Support for enumerating inline images
Jambunathan K [Tue, 6 Mar 2012 17:57:33 +0000]
org-e-html: Support for enumerating inline images

2 years agoMerge branch 'master' of orgmode.org:org-mode
Bastien Guerry [Tue, 6 Mar 2012 08:40:22 +0000]
Merge branch 'master' of orgmode.org:org-mode

2 years agoMerge branch 'origin-maint'
Eric Schulte [Mon, 5 Mar 2012 21:55:05 +0000]
Merge branch 'origin-maint'

2 years agodescribe the ability to execute noweb references in the manual
Eric Schulte [Mon, 5 Mar 2012 21:54:56 +0000]
describe the ability to execute noweb references in the manual

* doc/org.texi (Noweb reference syntax): Describe the ability to
  execute noweb references in the manual.

2 years agoMerge branches 'maint' and 'master' of orgmode.org:org-mode
Bastien Guerry [Mon, 5 Mar 2012 20:10:22 +0000]
Merge branches 'maint' and 'master' of orgmode.org:org-mode

2 years agoMerge branch 'maint' of orgmode.org:org-mode
Bastien Guerry [Mon, 5 Mar 2012 20:10:22 +0000]
Merge branch 'maint' of orgmode.org:org-mode

2 years agoMerge branch 'origin-maint'
Eric Schulte [Mon, 5 Mar 2012 17:46:01 +0000]
Merge branch 'origin-maint'

2 years agoimproved sbe documentation
Eric Schulte [Mon, 5 Mar 2012 17:45:25 +0000]
improved sbe documentation

2 years agoMerge branch 'origin-maint'
Eric Schulte [Mon, 5 Mar 2012 15:22:55 +0000]
Merge branch 'origin-maint'

2 years agofix two bugs related to calling tangle with a prefix argument
Eric Schulte [Mon, 5 Mar 2012 15:22:35 +0000]
fix two bugs related to calling tangle with a prefix argument

* lisp/ob-tangle.el (org-babel-tangle): Don't prompt for a file name
  if :tangle is specified.
* lisp/ob.el (org-babel-expand-noweb-references): Widen buffer when
  expanding noweb references.

2 years agoMerge branch 'origin-maint'
Eric Schulte [Mon, 5 Mar 2012 14:32:19 +0000]
Merge branch 'origin-maint'

2 years agofixed bug in `sbe' when variables are force interpreted as strings
Eric Schulte [Mon, 5 Mar 2012 14:32:03 +0000]
fixed bug in `sbe' when variables are force interpreted as strings

* lisp/ob-table.el (sbe): Don't accidentally leave a `t' value when
  variables are force interpreted as strings.

2 years agoMerge branch 'master' of orgmode.org:org-mode
David Maus [Sun, 4 Mar 2012 19:57:19 +0000]
Merge branch 'master' of orgmode.org:org-mode

2 years agoMerge branch 'maint'
David Maus [Sun, 4 Mar 2012 19:53:05 +0000]
Merge branch 'maint'

org-bbdb in master already contained declare-function for external
bbdb-functions.

Conflicts:
lisp/org-bbdb.el

2 years agoorg-e-odt: Bring it to the same level as org-e-html
Jambunathan K [Sun, 4 Mar 2012 19:52:20 +0000]
org-e-odt: Bring it to the same level as org-e-html

2 years agoorg-bbdb: Pass variable to avoid dynamic scoping.
David Maus [Sun, 4 Mar 2012 19:37:46 +0000]
org-bbdb: Pass variable to avoid dynamic scoping.

* org-bbdb.el (org-bbdb-open, org-bbdb-open-old)
(org-bbdb-open-new): Pass record name to avoid dynamic scoping.

2 years agoorg-bbdb: Declare functions, silence byte compiler
David Maus [Sun, 4 Mar 2012 19:35:04 +0000]
org-bbdb: Declare functions, silence byte compiler

* org-bbdb.el (bbdb-record-get-field, bbdb-search-name)
(bbdb-search-organization): Declare functions to silence byte
compiler.

2 years agoFix task cloning for repeating tasks
Bernt Hansen [Sat, 25 Feb 2012 07:43:16 +0000]
Fix task cloning for repeating tasks

* org.el (org-clone-subtree-with-time-shift): Fix task cloning for
repeating tasks using .+n and ++n syntax

Tasks with repeaters using .+n and ++n syntax retain the repeater in
all of the clones causing duplicate tasks.  These tasks are now
handled the same as the regular repeating task using +n syntax.

2 years agoorg-agenda: Handle case of heading w/ date but no keyword
Karl Fogel [Thu, 1 Mar 2012 00:45:05 +0000]
org-agenda: Handle case of heading w/ date but no keyword

* lisp/org-agenda.el (org-agenda-highlight-todo): Handle the case of a
  heading that has a date but no todo keyword.

This is a fix for the args-out-of-range bug discussed in these threads:

  http://thread.gmane.org/gmane.emacs.orgmode/52621
  http://thread.gmane.org/gmane.emacs.orgmode/52793
  http://thread.gmane.org/gmane.emacs.orgmode/52786
  http://thread.gmane.org/gmane.emacs.orgmode/52810

The discussions involved Ilya Shlyakhter, James Atwood, Nick Dokos,
and myself, and the subject headers are:

  bug report: agenda timeline crashes
  Bug report: weekly agenda and blank, timestamped headers
  org-agenda-list (from git) giving "args-out-of-range error"

TINYCHANGE

2 years agoorg-e-html: Support for cross references
Jambunathan K [Sun, 4 Mar 2012 18:49:35 +0000]
org-e-html: Support for cross references

2 years agoMerge branch 'maint'
Nicolas Goaziou [Sun, 4 Mar 2012 15:40:43 +0000]
Merge branch 'maint'

2 years agotest-org-footnote: Fix a broken test (part 2)
Nicolas Goaziou [Sun, 4 Mar 2012 15:39:43 +0000]
test-org-footnote: Fix a broken test (part 2)

* testing/lisp/test-org-footnote.el: Fix
  `test-org-footnote/normalize-outside-org'.

2 years agoMerge branch 'maint'
Nicolas Goaziou [Sun, 4 Mar 2012 14:55:41 +0000]
Merge branch 'maint'

2 years agotest-org-footnote: Fix a broken test
Nicolas Goaziou [Sun, 4 Mar 2012 14:53:55 +0000]
test-org-footnote: Fix a broken test

* testing/lisp/test-org-footnote.el: Fix failing
  `test-org-footnote/normalize-outside-org'.

2 years agotest-org-export: Fix broken test
Nicolas Goaziou [Sun, 4 Mar 2012 13:38:57 +0000]
test-org-export: Fix broken test

* testing/lisp/test-org-export.el (test-org-export/export-scope): In
  batch mode, `transient-mark-mode' must be turned on.

2 years agoorg-export: Avoid duplicates in `org-export-collect-footnote-definitions'
Nicolas Goaziou [Sun, 4 Mar 2012 10:57:16 +0000]
org-export: Avoid duplicates in `org-export-collect-footnote-definitions'

* contrib/lisp/org-element.el (org-element-map): New optional argument
  to avoid recursion into certain recursive types.
* contrib/lisp/org-export.el (org-export-footnote-first-reference-p,
  org-export-get-footnote-number,
  org-export-collect-footnote-definitions): Use new argument from
  `org-element-map'.
* testing/lisp/test-org-export.el: Add test.

The new argument allows to force entering footnotes definitions at
a certain time (when their first reference is found) but not a second
time when they are encountered in the parse tree.

Thanks to Jambunathan for reporting this.

2 years agoadding a test to protect the "results don't replace code block" functionality
Eric Schulte [Sat, 3 Mar 2012 14:43:49 +0000]
adding a test to protect the "results don't replace code block" functionality