Bastien Guerry
92c401198c
org.html: Initialize `html-pre-real-contents' correctly.
...
* org-html.el (org-export-as-html): Initialize
`html-pre-real-contents' correctly.
Thanks to Bill Jackson for this fix.
2012-01-15 10:28:19 +01:00
Eric Schulte
a370bae5d9
removed dependency on deprecated swank-clojure
...
* lisp/ob-clojure.el (org-babel-execute:clojure): Removed dependency
on deprecated swank-clojure.
2012-01-13 13:07:54 -07:00
Eric Schulte
fc92b2e2fe
fix whole-buffer evaluation order and symbol intrusion in related macros
...
* lisp/ob.el (org-babel-map-src-blocks): Don't pollute symbol space.
(org-babel-map-inline-src-blocks): Don't pollute symbol space.
(org-babel-map-call-lines): Don't pollute symbol space.
(org-babel-map-executables): Map over *all* executable Org-mode
elements.
(org-babel-execute-buffer): Execute elements in buffer order instead
of arbitrarily.
2012-01-12 18:11:52 -07:00
Nicolas Goaziou
8c2f226b4d
C-c C-c renumbers ordered lists again
...
* lisp/org.el (org-ctrl-c-ctrl-c): Fix a naive structure backup.
Those must be done with `copy-tree'.
Thanks to Anthony Lander for reporting it.
2012-01-12 18:37:08 +01:00
Bastien Guerry
df9e196edb
Docfix: using `org-sort' with a double prefix doesn't delete duplicates.
...
Thanks to Paweł Menich for spotting this.
2012-01-12 16:13:33 +01:00
Eric Schulte
d9f53f17f2
Referenced code block should not be evaluated on code block edit
...
* lisp/org-src.el (org-edit-src-code): Referenced code block should
not be evaluated on code block edit.
2012-01-12 07:47:30 -07:00
Thomas Dye
0ad3e3b822
* doc/org.texi: #+RESULTS now user-configurable
2012-01-11 15:38:36 -07:00
Eric Schulte
9ac673c5e2
default to all-caps #+RESULTS: for code-block generated content
...
* lisp/ob.el (org-babel-results-keyword): New user-configurable
results keyword.
(org-babel-where-is-src-block-result): Use new user-configurable
results keyword.
2012-01-11 13:54:20 -07:00
Nicolas Goaziou
87a228cd6b
org-indent: Handle indentation change with headline manual insertion
...
* lisp/org-indent.el (org-indent-refresh-maybe): Check for new
headlines from the beginning of the line to be sure to catch
any newly inserted headline there.
2012-01-11 18:46:47 +01:00
Eric Schulte
313b70e139
fix bug in property list updates
...
* lisp/org.el (org-update-property-plist): Fix bug in property list
updates.
2012-01-11 10:14:49 -07:00
Thomas Dye
bebf66c652
* doc/org.texi: Edit :noweb no header argument for correctness
2012-01-10 09:45:56 -07:00
Thomas Dye
a57f228a1c
* doc/org.texi: :results wrap produces a drawer instead of a begin_results block
2012-01-08 09:15:37 -07:00
Eric Schulte
369fa6d874
only the last value for any specific property is kept
...
* lisp/org.el (org-update-property-plist): Remove old instances of
property when adding a new value for property.
2012-01-06 11:20:48 -07:00
Martyn Jago
d270cfcf74
Fix to test-org-babel/org-babel-get-inline-src-block-matches. * testing/lisp/test-ob.el: Character position offset -=2 to account for removal of trailing spaces
2012-01-06 00:31:33 -07:00
Martyn Jago
3096cc3b61
Bug fix in ob-emacs-lisp.el.
...
* lisp/ob-emacs-lisp.el: A comment on the last line of an emacs-lisp
code block would cause an error when the block is was executed. This
fix cures this behaviour.
* testing/lisp/test-ob-emacs-lisp.el: Regression tests for the above
fix.
2012-01-06 00:31:00 -07:00
Eric Schulte
d35c79aca9
resurrect dropped pieces of a previous patch
...
* lisp/ob.el (org-babel-expand-noweb-references): Resurrect dropped
pieces of a previous patch.
2012-01-05 10:42:17 -07:00
Eric Schulte
ded376f756
fix compiler warning in ob-maxima.el
...
* lisp/ob-maxima.el (org-babel-execute:maxima): Fix compiler warning.
2012-01-05 10:31:30 -07:00
Eric Schulte
647996c0a3
add Maxima to the Makefile
...
* Makefile (LISPF): Add Maxima.
2012-01-05 10:28:36 -07:00
Eric Schulte
2c2e1a5448
fixed bug in org-babel-balanced-split when run on Emacs22
...
Thanks to Martyn Jago for the test case
* lisp/ob.el (org-babel-balanced-split): Explicit checking if list
before calling member.
* testing/lisp/test-ob.el (test-ob/org-babel-balanced-split): Testing
the new Emacs22-proof behavior.
2012-01-03 11:45:27 -07:00
Bastien Guerry
2b3534a81f
Release 7.8.03
2012-01-03 08:31:59 +00:00
Bastien Guerry
9167cba326
Merge branch 'master' into maint
2012-01-03 08:31:58 +00:00
Eric Schulte
926a24aab5
documentation of *org-babel-use-quick-and-dirty-noweb-expansion*
...
* doc/org.texi (Noweb reference syntax): Adding documentation of
the *org-babel-use-quick-and-dirty-noweb-expansion* variable.
2012-01-03 09:20:07 +01:00
Bastien Guerry
89169dff4c
Add a note about :noweb-ref.
...
Thanks to Tomas Grigera for a preliminary patch.
2012-01-03 09:19:57 +01:00
Bastien Guerry
c535c276fe
More small fixes on `C-u C-c C-c' and checkboxes.
...
* org.el (org-ctrl-c-ctrl-c): Preserve symmetry when adding
and removing checkboxes with `C-u C-c C-c' on the first item
of a list. Also, don't reinitialize checkboxes that are
already ticked.
Thanks to Nicolas Goaziou for these fixes.
2012-01-03 09:19:46 +01:00
Bastien Guerry
b77df8397d
Revert "Fix problem with `org-ctrl-c-ctrl-c' on the checkbox of the first item."
...
This reverts commit 4789bb5a79
.
2012-01-03 09:19:41 +01:00
Bastien Guerry
a15cb0ad13
Be a bit more flexible when matching time values in timestamps.
...
* org.el (org-ts-regexp0, org-ts-regexp1): Also match a time
value with only one digit for the hours.
Thanks to François Pinard for mentioning this.
2012-01-03 09:19:37 +01:00
Bastien Guerry
1425724d6c
Document the new behavior of `C-u C-c C-c' on checkboxes.
...
* org.texi (Checkboxes): Document the new behavior of `C-u C-c
C-c' on checkboxes.
2012-01-03 09:19:33 +01:00
Bastien Guerry
7b512a1111
Fix problem with `org-ctrl-c-ctrl-c' on the checkbox of the first item.
...
* org.el (org-ctrl-c-ctrl-c): Don't make `C-c C-c' special
when ticking the checkbox of the first item.
2012-01-03 09:19:24 +01:00
Nicolas Goaziou
40976a7480
org-list: Change behaviour of C-c C-c at a list item with an argument
...
* lisp/org-list.el (org-list-write-struct): Add an optional argument
for structure changes happening outside the function.
* lisp/org.el (org-ctrl-c-ctrl-c): Now, C-u C-c C-c on the first item
of a sub-list should toggle check-box presence of every item in the
same sub-list. Also fix check-box insertion on a single item.
2012-01-03 09:19:19 +01:00
Carsten Dominik
b7095d65d8
Make Org work with bbdb 3.0
...
* lisp/org-bbdb.el (org-bbdb-old): New variable.
(org-bbdb-store-link):
(org-bbdb-open): Check for `org-bbdb-old'.
(org-bbdb-open-old):
(org-bbdb-open-new): New functions.
Patch by Ivan Kanis
2012-01-03 09:19:08 +01:00
Bastien Guerry
3bd531c9dc
org-agenda.el: Small code cleanup.
...
* org-agenda.el (org-batch-agenda, org-batch-agenda-csv):
Remove deleted function `org-encode-for-stdout'.
2012-01-03 09:19:02 +01:00
Bastien Guerry
f62910082c
org.el (org-show-context): Complete docstring.
...
* org.el (org-show-context): Complete docstring.
Thanks to Michael Heerdegen for mentioning this.
2012-01-03 09:18:38 +01:00
Bastien Guerry
339601fe52
org-agenda.el: Use `read-char-exclusive' instead of `read-char'.
...
* org-agenda.el (org-agenda-filter-by-tag): Use
`read-char-exclusive' instead of `read-char'.
2012-01-03 09:18:28 +01:00
Carsten Dominik
9b29bcc7c3
Fix bug in mapper function
...
* lisp/org.el (org-scan-tags): Make sure org-map-continue-from is nil
at each match
2012-01-03 09:17:56 +01:00
Carsten Dominik
73b1fdb965
Fix clock regexps
...
* lisp/org-clock.el (org-clock-in):
(org-clock-find-position): Remove erraneous space in regexp
Patch by Joe Vornehm Jr.
TINYCHANGE
2012-01-03 09:17:36 +01:00
Bastien Guerry
b3a18bdea4
Fix tiny typos.
...
Those have been fixed by Paul Eggert in Emacs first.
2012-01-03 09:17:31 +01:00
Bastien Guerry
7e56afb956
Fix typos.
...
Fixes already done in Emacs by Paul Eggert.
2012-01-03 09:17:26 +01:00
Eric Schulte
1471af0b44
Resolve :noweb-ref when set at the property level during noweb expansion
...
* lisp/ob.el (org-babel-expand-noweb-references): Rather than using a
pure regexp solution to resolve noweb references, actually check the
information of every code block in the buffer. This will cause a
slowdown in noweb reference expansion, but is necessary for correct
behavior.
2012-01-03 09:17:03 +01:00
Bastien Guerry
dc44b5897c
org.el (org-map-continue-from): Fix typo in docstring.
...
* org.el (org-map-continue-from): Fix typo in docstring.
2012-01-03 09:16:54 +01:00
Jambunathan K
74ea01d945
OrgOdtContentTemplate.xml: table-cells are now top aligned by default
...
* etc/styles/OrgOdtContentTemplate.xml (OrgTblCell): Modify
style:vertical-align attribute to top.
(OrgTblCell*): Inherit from OrgTblCell.
(Custom*TableCell): Force style:vertical-align to top.
See http://lists.gnu.org/archive/html/emacs-orgmode/2011-12/msg00780.html
2012-01-03 09:16:47 +01:00
Bastien Guerry
7e950b4fd2
org-drill.el: fix a few wrong :type spec.
...
* org-drill.el (org-drill-leech-method, org-drill-scope)
(org-drill-spaced-repetition-algorithm): Fix wrong :type spec.
Thanks to Joost Kremers for spotting this.
2012-01-03 09:16:32 +01:00
Bastien Guerry
f3d63e34be
org.el: Also match cumulating properties like ":prop+:".
...
* org.el (org-property-re): Also match cumulating properties
like ":prop+:".
Thanks to Christoph LANGE for spotting this.
2012-01-03 09:16:24 +01:00
Bastien Guerry
432437ed4a
org-mouse.el: Remove useless commented functions.
2012-01-03 09:16:05 +01:00
Bastien Guerry
131e3a278a
org.texi: Split the table to fix the display of items.
...
* org.texi (Plain lists): Split the table to fix the display
of items.
Thanks to Elias Assarsson for spotting this, and to Takaaki
ISHIKAWA for providing a preliminary patch.
2012-01-03 09:16:01 +01:00
Bastien Guerry
2898391bad
Use CD@LaTeX{} instead of CDLa@TeX.
2012-01-03 09:15:15 +01:00
Bastien Guerry
f015bb452c
Normalize the use of @LaTeX{} in the Org compact guide.
2012-01-03 09:15:10 +01:00
Bastien Guerry
a2c242a433
org.texi: Normalize the use of @LaTeX{} in the manual.
...
Thanks to Elias Assarsson for mentioning this problem.
2012-01-03 09:15:05 +01:00
Jambunathan K
f49108a654
org-odt.el: Declare vars and functions from htmlfontify
2012-01-03 09:14:59 +01:00
Jambunathan K
d75585cc2e
org-odt.el (org-odt-styles-dir): It is etc/org/ under vanilla Emacs
...
* org-odt.el (org-odt-styles-dir): Assume that the styles
files are located under `data-directory' of Emacs distribution
as etc/org/OrgOdtStyles.xml and
etc/org/OrgOdtContentTemplate.xml. Also update docstring.
(org-export-odt-schema-dir): Update docstring.
2012-01-03 09:14:51 +01:00
Jambunathan K
024ae84191
org-odt.el: Honor author. timestamp and email options in preamble
...
* org-odt.el (org-odt-format-preamble): Honor following user
options: author, timestamp and email. See
http://lists.gnu.org/archive/html/emacs-orgmode/2011-12/msg00539.html
2012-01-03 09:14:43 +01:00