1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-28 07:44:49 +00:00
Commit Graph

9797 Commits

Author SHA1 Message Date
Bastien Guerry
7e903acccd Merge branch 'maint' 2012-03-16 20:02:48 +01:00
Bastien Guerry
e85080bb2b 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.
2012-03-16 20:02:30 +01:00
Bastien Guerry
95e318ae06 Merge branch 'maint' 2012-03-16 19:39:36 +01:00
Thomas Morgan
490ef86497 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
2012-03-16 19:35:44 +01:00
Bastien Guerry
ce8b0963db 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.
2012-03-16 19:24:24 +01:00
Bastien Guerry
b66ff157e1 Merge branch 'maint' 2012-03-16 19:19:24 +01:00
Bastien Guerry
8e7f84ea3d 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.
2012-03-16 19:18:41 +01:00
Bastien Guerry
ced72ea5d8 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.
2012-03-16 19:05:26 +01:00
Bastien Guerry
150e2db668 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.
2012-03-16 18:55:41 +01:00
Carsten Dominik
d23ce33583 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
2012-03-16 17:35:19 +01:00
Carsten Dominik
768c95e18b Merge branch 'master' of orgmode.org:org-mode 2012-03-16 17:33:05 +01:00
Ilya Shlyakhter
2149ad8aea 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
2012-03-16 17:31:10 +01:00
Ilya Shlyakhter
de4ba0d4cd 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
2012-03-16 10:48:31 -04:00
Eric Schulte
6e525c73f7 documentation of this new option to the :noweb header argument
* doc/org.texi (noweb): Documentation of this new option to the :noweb
  header argument.
2012-03-14 15:12:44 -04:00
Eric Schulte
3f4383baa4 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.
2012-03-14 15:12:44 -04:00
Jambunathan K
4512930860 org-e-odt: Use new source code handling API 2012-03-15 00:08:22 +05:30
Nicolas Goaziou
3fda301b07 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.
2012-03-14 18:47:38 +01:00
Eric Schulte
07ac15ef72 Merge branch 'origin-maint'
Conflicts:
	lisp/org-src.el
2012-03-14 09:56:52 -04:00
Eric Schulte
4542824f2c 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.
2012-03-14 09:55:04 -04:00
Eric Schulte
1dd3180480 Merge branch 'origin-maint' 2012-03-14 09:22:59 -04:00
Sebastien Vauban
0dcd83d3b2 Add autoload instruction before org-version
* org.el (org-version): Add autoload cookie.

TINYCHANGE
2012-03-14 09:17:43 -04:00
Jambunathan K
416acea371 org-e-html: Use new source code handling API 2012-03-14 15:26:28 +05:30
David Maus
837b58ee28 Merge branch 'maint' 2012-03-14 06:43:19 +01:00
David Maus
a829737e46 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>>.
2012-03-14 06:17:25 +01:00
David Maus
21391e2f84 Merge branch 'maint' 2012-03-14 06:00:49 +01:00
Tassilo Horn
429cf28ebe 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.
2012-03-14 05:46:04 +01:00
Eric Schulte
5cb80c7e5b 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.
2012-03-12 13:23:53 -04:00
Eric Schulte
de09874a27 Merge branch 'origin-maint' 2012-03-12 08:41:38 -04:00
Eric Schulte
d5e21f43fc Ensure correct order for empty result wrapping blocks.
* lisp/ob.el (org-babel-insert-result): Ensure correct order for empty
  result wrapping blocks.
2012-03-12 08:40:43 -04:00
Eric Schulte
6cbcb80cce fix whitespace errors 2012-03-11 22:52:06 -06:00
Martyn Jago
2c623a0558 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.
2012-03-11 22:51:21 -06:00
Nicolas Goaziou
beb024687b 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.
2012-03-10 20:25:32 +01:00
Nicolas Goaziou
06a1b8615d test-org-element: Fix a test about block switches 2012-03-10 13:46:35 +01:00
Nicolas Goaziou
c7203b4142 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.
2012-03-10 13:42:46 +01:00
Nicolas Goaziou
86131a8b50 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.
2012-03-09 19:47:50 +01:00
Eric Schulte
1a42967061 Merge branch 'origin-maint' 2012-03-09 06:54:36 -07:00
Deech
26e817ac20 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.
2012-03-09 06:54:22 -07:00
Bastien Guerry
9cf435800b 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.
2012-03-09 03:09:15 +01:00
Bastien Guerry
d0570f9592 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.
2012-03-09 03:08:43 +01:00
Bastien Guerry
e77daf8391 Merge branch 'maint' 2012-03-09 02:55:03 +01:00
Bastien Guerry
1b4480e15f 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.
2012-03-09 02:54:34 +01:00
Sebastien Vauban
f8efc63236 Add autoload instruction before org-version
* org.el (org-version): Add autoload cookie.

TINYCHANGE
2012-03-08 14:22:42 +01:00
Bastien Guerry
dfa317b6f3 Merge branch 'maint' 2012-03-08 14:08:38 +01:00
Bastien Guerry
e78cb895ca org.el (org-get-category): Save match data.
* org.el (org-get-category): Save match data.

Thanks to Adam Spiers for spotting this issue.
2012-03-08 14:08:15 +01:00
Bastien Guerry
b879590f3b Merge branch 'maint' 2012-03-08 13:50:51 +01:00
Adam Spiers
11e441e85f Fix typos 2012-03-08 13:50:19 +01:00
Suvayu Ali
e896ca6707 Add example demonstrating LaTeX_CLASS_OPTIONS
* org.texi (Header and sectioning): Add example demonstrating how to use
  "LaTeX_CLASS_OPTIONS".

TINY CHANGE
2012-03-08 13:44:49 +01:00
Bastien Guerry
c889f209fb Merge branch 'master' of orgmode.org:org-mode 2012-03-08 09:50:34 +01:00
Jambunathan K
94fe07a5f5 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.
2012-03-08 13:28:44 +05:30
Bastien Guerry
f9d864435d Merge branch 'master' of orgmode.org:org-mode 2012-03-07 18:24:21 +01:00