Commit Graph

1986 Commits

Author SHA1 Message Date
Eric Schulte 770305a650 org-babel: adding ruby support for returning "code" results 2009-10-16 17:05:13 -06:00
Eric Schulte 430a3bf6ad org-babel: "code" results type for returning results in of source code syntax
This includes the required changes to org-babel.el and a
language-specific implementation for emacs-lisp.  The emacs-lisp
changes are from a patch by Benny Andresen.
2009-10-16 17:04:55 -06:00
Eric Schulte b0c1758c2a org-babel: dot improvements
for more information on the dot family of tools see
http://www.graphviz.org/
2009-10-14 16:03:40 -06:00
Eric Schulte 0444ca8661 org-babel: haskell lhs2tex export now responds to prefix argument 2009-10-09 11:44:27 -06:00
Dan Davison e079584e56 org-babel: make tangling honour org-src-preserve-indentation
This allows python code to be tangled (i.e. extracted) correctly by
org-babel-tangle. Previously, if e.g. methods of a class were in
separate blocks, then they would be incorrectly indented as top-level
functions in the tangled output.
2009-10-08 12:29:37 -04:00
Eric Schulte c0d54a9a6b org-babel: Haskell lhs export: ensure all \[begin|end]{code} statements start at the first column 2009-10-07 16:01:24 -06:00
Eric Schulte 27df66d8da org-babel: added :session to the header-arguments allowed in headline properties 2009-10-07 12:46:23 -06:00
Eric Schulte 407bf3b816 org-babel: haskell lhs export now displays errors and configurable org-babel-haskell-lhs2tex-command 2009-10-04 17:49:01 -06:00
Eric Schulte 63b360041f org-babel: org-babel-haskell can now export to .lhs literate Haskell
this commit adds the function `org-babel-haskell-export-to-lhs'

   for information on lhs see http://people.cs.uu.nl/andres/lhs2tex/
2009-10-04 16:41:45 -06:00
Benjamin Andresen ce4aad900a org-babel: add langs/org-babel-screen.el 2009-10-04 10:22:30 -06:00
Carsten Dominik 7445456796 Allow to exclude some blocks in org-special-blocks.el
Patch by Chris Gray.
2009-10-02 13:11:52 +02:00
Dan Davison fe5c0d96c6 org-babel: tightening up insertion of results
Previously, altering the name of a source block, followed by C-c C-c,
did not alter the name of the corresponding results.
2009-09-30 07:19:15 -06:00
Dan Davison ab7a58aaff org-babel: change regexp parsing of #+srcname line
One thing that was going wrong was that if #+srcname: was provided
with no subsequent name, the name was taken from the next line.
2009-09-30 07:19:14 -06:00
Dan Davison 92934c7c9b org-babel: allow #+lob line to be terminated by end-of-buffer 2009-09-30 07:19:13 -06:00
Dan Davison 10ea3ad10b org-babel: make :file header arg imply :results file 2009-09-28 18:55:41 -06:00
Dan Davison 7c32bc5672 org-babel: allow header args to be specified on #+lob line 2009-09-28 18:55:39 -06:00
Eric Schulte 3f1be49a04 adding org-babel-load-in-session-maybe bound to Meta-Up (currently only for Haskell) 2009-09-24 21:58:49 -06:00
Eric Schulte 0fa8a7feac fleshed out org-babel-haskell-prep-session (called with Meta-Down inside source block) 2009-09-24 21:58:48 -06:00
Eric Schulte 4cb3e3704e org-babel: cleaned up code that inserts results 2009-09-22 19:49:49 -06:00
Sebastian Rose, Hannover, Germany 0c465dfc5b org-babel-init.el now adds it's directories to user's load-path 2009-09-16 19:51:18 -06:00
Eric Schulte 63b0f3878e org-babel is better at evaluating indented code blocks 2009-09-16 19:33:10 -06:00
Eric Schulte a704ce4896 org-babel-asymptote now supports interactive viewing if the :file header argument is missing 2009-09-16 16:21:45 -06:00
Eric Schulte 8e87868df2 org-babel: asymptote maps to asy-mode in `org-src-lang-modes' and added requirements section to org-babel-asymptote.el 2009-09-16 10:54:43 -06:00
Carsten Dominik 738ba015a3 Install new contributed package org-invoice.el by Peter Jones 2009-09-16 14:19:17 +01:00
Eric Schulte 6f9644682b org-babel now explicitly requires org-table 2009-09-15 09:53:37 -06:00
Eric Schulte 6ce74742b8 org-babel-execute:gnuplot no longer pops up a gnuplot window
also some whitespace-only indentation changes in org-babel.el
2009-09-14 20:22:56 -06:00
Eric Schulte dacd052bef brought in latest library-of-babel.org from worg 2009-09-13 21:15:17 -06:00
Eric Schulte 133aa88a06 renaming the org-babel-lisp file to org-babel-emacs-lisp 2009-09-13 10:07:31 -06:00
Eric Schulte 9c6309908f removing .gitignore from contrib/babel 2009-09-12 20:22:24 -06:00
Eric Schulte d5d8608a97 now respects the properties on export 2009-09-12 12:14:09 -06:00
Eric Schulte 2d2a2a1956 trimming down the size of contrib/babel 2009-09-12 11:39:38 -06:00
Eric Schulte eec9c235d0 moving/removing files, and updating paths 2009-09-11 13:56:14 -06:00
Eric Schulte c0554c7753 merging with the org-babel repository 2009-09-11 13:44:05 -06:00
Carsten Dominik 4dc86eedd4 Use better regular expression to find bibliography line
Hsiu-Khuern writes:

> In contrib/lisp/org-export-bibtex.el, the BiBTeX file has to
> match the Emacs regexp "\w+".  So a line like
>
> #+BIBLIOGRAPHY: mybib_new
>
> will not work because of the underscore character in the
> filename.  (I suppose the actual behavior depends on the local
> Emacs settings that affect the "syntax table".)  May I propose
> changing the regexp to "[[:alnum:]_]+"?
>
> Initially, I was stumped by this because I thought \w was a
> "regular" regexp :), such as defined in sed, and would match
> underscores as well.
2009-08-14 20:30:19 +02:00
Carsten Dominik 295491a5e8 Add org-track.el. 2009-08-07 07:29:42 +02:00
Carsten Dominik c7d91cbc0e Fix parenthesis bug in org-checklist.el
Patch by Christopher Suckling.
2009-08-06 00:29:27 +02:00
James TD Smith c65fb88796 Bugfixes, documentation and custom options for org-checklist.
* contrib/lisp/org-checklist.el
  - Fix some problems with the print/export feature in org-checklist.
  - Add custom options for this module
  - Fix some interaction with a2ps
  - Only reset checkboxes if TODO state is done.

* lisp/org.el
  - Add org-checklist to org-modules
2009-08-03 16:45:47 +02:00
Carsten Dominik 31ceed47ff New minor mode org-indent-mode
This mode implements outline indentation similar to clean view, but in
a dynamic and virtual way, at display time.
2009-08-03 06:24:24 +02:00
Bastien Guerry 7896ef6292 org-export-generic format: Fix compatibility issue with Emacs 23.
Patch by Wes Hardaker <wjhns209@hardakers.net>
2009-07-21 07:51:32 +02:00
Bastien Guerry dca12dd19a Fixed typo. Updated the copyright years. 2009-06-23 16:27:34 +02:00
Carsten Dominik daa2800ff3 Add Wes Hardaker's generic exporter as a contributed package 2009-06-20 20:53:03 +02:00
Carsten Dominik 74e8c78b93 Move org-exp-blocks.el into the core 2009-06-11 16:17:50 +02:00
Carsten Dominik ce2b2ea8f8 Fix bug. 2009-06-10 19:32:48 +02:00
Carsten Dominik 95a4be9088 Fix problem with unknown variable in org-exp-blocks.el 2009-06-09 19:26:06 +02:00
Carsten Dominik a2f787a643 New contributed modules org-mac-iCal.el by Christopher Suckling 2009-06-06 07:59:19 +02:00
Carsten Dominik ae2526fc94 org-jira.el: New file, by Jonathan Arkell 2009-06-05 09:02:55 +02:00
Carsten Dominik 470fba6086 org-R.el: Updated.
New version from Dan Davison.
2009-06-03 11:14:02 +02:00
Carsten Dominik 1dd08dc508 org-exp-blocks.el: Allow adding new block types
Patch by Eric Schulte.
2009-06-02 09:45:08 +02:00
Carsten Dominik b6de229d4e Protect htmlize from some buggy fants 2009-05-14 09:33:07 +02:00
Carsten Dominik 21e08a117d Docbook export: Support ditaa images
Patch by Dale Smith.
2009-05-10 16:25:12 +02:00
Carsten Dominik dd1268dcac New file: contrib/lisp/org-special-blocks.el
Contributed by Chris Gray
2009-05-07 13:53:35 +02:00
Carsten Dominik 34a91b7f5b Moved `org-reset-checkbox-state-subtree' to org-list.el 2009-05-04 16:57:26 +02:00
Bernt Hansen 710eec9d57 New function org-reset-checkbox-state which always clears the checkboxes
Copying subtrees with checked off lists to create a new task would
normally require the boxes to be unchecked.  This function lets
you easily clear all checkboxes in an entry without requiring
the RESET_CHECK_BOXES property.
2009-04-24 08:50:00 -04:00
Carsten Dominik f86ce238d7 ditaa export: Improve a regular expression. 2009-04-17 17:26:53 +02:00
Carsten Dominik 02dc6813dc BibTeX export: Fix a bug for the LaTeX side
Patch by Taru Karttunen
2009-04-16 14:24:10 +02:00
Carsten Dominik 139dbfcd20 Bundle htmlize.el with Org in the contrib directory 2009-04-15 17:36:02 +02:00
Carsten Dominik 3e6b6e058d org-R.el: bug fixes 2009-04-15 17:28:03 +02:00
Carsten Dominik a57c04153d ditaa.jar: Update to version 0.8 2009-04-11 07:12:15 +02:00
Carsten Dominik 552b53dcd6 org-choose.el: Revert previous change and implement a better fix 2009-04-09 09:41:05 +02:00
Carsten Dominik 31446d85a3 org-choose.el: Fix bug. 2009-04-08 15:12:20 +02:00
Carsten Dominik 61530a1db1 Reload: Only load files that were loaded before
The command org-reload did not only reload any loaded files, but all
lisp files in the Org distribution.  Also, it actually never reloaded
any files from the contrib directory.  Both of these problems are now
fixed.
2009-04-07 18:43:35 +02:00
Carsten Dominik d288e665dc org-exp-bibtex.el: Allow multiple citation keys per \cite macro
LaTeX supports \cite{key1,key2,...}.  Now org-exp-bibtex.el does as
well.
2009-04-01 12:50:40 +02:00
Carsten Dominik b071a1097e org-mtags.el: Fix copyright year. 2009-03-30 13:16:30 +02:00
Carsten Dominik cd6907beb9 Inline tasks: New module org-inlinetask.el
This module implements inline tasks in Org-mode.  Inline tasks are
tasks that have all the properties of normal outline nodes, including
the ability to store meta data like scheduling dates, TODO state, tags
and properties.  However, these nodes are treated specially by the
visibility cycling and export commands.
2009-03-30 13:15:36 +02:00
Carsten Dominik e341a34297 intermediate 2009-03-30 11:58:43 +02:00
Carsten Dominik f9a107f605 org-mtags.el: Support for literal docbook code 2009-03-13 07:34:59 +01:00
Carsten Dominik cf71b88515 org-exp-bibtex.el: More improvements
Better error message, more general citation key matching.
2009-03-12 18:26:55 +01:00
Carsten Dominik 9c32f810bd org-exp-bibtex.el: New version with sorting and more. 2009-03-12 12:49:34 +01:00
Carsten Dominik f41f942e53 Adding org-collector.el as a contributed package 2009-03-04 17:19:51 +01:00
Carsten Dominik bb7db5f96f New file: Taru Karttunen's org-exp-bibtex.el 2009-03-01 16:47:51 +01:00
Carsten Dominik 3ede6bc14b org2rem.el: Installed Sharad Pratap's new version. 2009-02-26 16:48:27 +01:00
Carsten Dominik 70edb32234 org-annotation-helper.el: New version with fixes and documentation update 2009-02-25 10:55:22 +01:00
Carsten Dominik 8f819da4d5 org-choose.el: Fix bug with checking siblings
Org-choose.el would check not only siblings but also any children of
them.

Patch by Tom Breton
2009-02-24 05:35:00 +01:00
Carsten Dominik e9eccfe35c Update org-R.el 2009-02-18 19:22:33 +01:00
Carsten Dominik c0cc9181db Added org-R.el to contrib/lisp/ 2009-02-18 17:23:47 +01:00
Carsten Dominik 29ff144600 Fix compatibility issues with org-choose.el
Patch by Tom Breton.
2009-02-13 22:36:01 +01:00
Carsten Dominik da6fb7448b org-choose: Apply Tom's patch 2009-02-13 07:35:46 +01:00
Carsten Dominik 23551eee32 org-choose: Make XEmacs compatible 2009-02-12 09:37:12 +01:00
Carsten Dominik 6761dcbbd2 Minor fixes 2009-02-12 07:12:38 +01:00
Carsten Dominik f6689dd1e2 Fix minor bug in contrib/lisp/org-eval-light.el
Patch by Eric Schulte
2009-02-12 07:11:54 +01:00
Carsten Dominik 6296225ac6 Fix a bug in org-choose.el 2009-02-10 10:10:44 +01:00
Carsten Dominik dccca7f6bd Add documentation to org-choose.el 2009-02-10 07:51:17 +01:00
Carsten Dominik 71e7e8e4a2 org-choose.el: Remove commented line 2009-02-09 12:43:28 +01:00
Carsten Dominik bc5b23def7 org-choose.el: Append new interpretation for custom widget
org-choose.el did prepend its new interpretation to the list of
possible interpretations.  Now it appends, as it should.
2009-02-08 14:12:56 +01:00
Carsten Dominik 56692965b7 Add Tom Breton's org-choose.el as a contributed package 2009-02-08 13:57:37 +01:00
Carsten Dominik be9557bf44 Allow chaining sibling's scheduled time.
Patch by Andrew Hyatt

Andrew Hyatt writes:

    I like to schedule items I'm supposed to be working on, so I like
    when I complete a task that the next sibling task gets the
    schedule from the previous one.  This implements that kind of
    workflow with the org-depend contrib package.

    I've also added a few methods to org.el to make working with
    schedules & deadlines easier.
2009-02-04 15:37:58 +01:00
Carsten Dominik 05d460cfb5 Bugfix: Add provide to contrib/lisp/org-exp-blocks.el 2009-02-03 00:08:19 +01:00
Carsten Dominik a4244d5783 org-depend.el: Set a tag when a state change is blocked.
So far there was no visible indication when a state change was blocked
by a dependence on another task.  Now the tag "blocked" will be set.
2009-01-17 08:58:11 +01:00
Carsten Dominik c170516b5f Export: Make switches for literal examples work in include files.
When including s file in example or src markup, you can now also
specify the switches for code references and line numbering that work
also when directly adding SRC or EXAMPLE blocks.

Reported by Manish.
2009-01-08 12:10:47 +01:00
Carsten Dominik 0d2a1808ed Export: Enable new export switches in org-mtags.el.
The new export switches -n, +n, and -r for the BEGIN_EXAMPLE and
BEGIN_SRC constructs are now supported by org-mtags.el.

Also fixes some bugs in org-mtags.el.
2009-01-03 12:54:53 +01:00
Carsten Dominik 9011bd9303 Fix some small bugs. 2008-12-19 18:36:53 +01:00
Carsten Dominik 076987217a Fix bug with export of ditaa blocks.
Patch by Sebastian Rose.
2008-12-19 05:58:53 +01:00
Carsten Dominik acfdd25581 Move the org-before-first-heading-p function to org.el.
This function was defined in org-registry.el, but it is generally useful.
2008-12-08 17:34:16 +01:00
Carsten Dominik 0b9b7d7b58 New file org-browser-url.el. 2008-12-08 13:53:19 +01:00
Carsten Dominik d996cbb312 Customizable faces for individual tags.
Samuel Wales writes:

> It would be really nice if you could set tags to different
> faces the way you can with todo keywords.
>
> For example, you could set :urgent: to a bright color.  Or
> set a face for all contexts.

This patch add a new customization variable `org-tag-faces' that can
be used to specify such faces.  The rest of the patch implements these
new faces in Org-mode buffers as well as in the agenda.
2008-12-04 14:24:21 +01:00
Bernt Hansen feae6066ba Whitespace
Add missing newline at end of file
2008-11-25 07:03:07 -05:00
Carsten Dominik 2d59facec7 Fix some typos.
Among others, this renames the variable `org-mtags-prefere-muse-templates'
to `org-mtags-prefer-muse-templates'.  I guess hardy anyone is using this.
2008-11-20 09:11:42 +01:00
Carsten Dominik e2784e3b0f Improve the description for org-eval-light.el. 2008-11-20 07:57:24 +01:00
Carsten Dominik 8d92d2f08d Add org-eval-light.el and org-exp-blocks.el by Eric Schulte. 2008-11-20 07:50:03 +01:00
Carsten Dominik 06ec0e46ad Describe new modules in various places. 2008-11-19 17:33:23 +01:00
Carsten Dominik 500614f12d Move ditaa.jar into the scripts directory. 2008-11-15 15:25:24 +01:00
Carsten Dominik 74675e87e1 Add the ditaa.jar converter to the contrib directory.
Thanks to Stathis Sideris for this great program an his permission to
bundle it.
2008-11-15 07:51:24 +01:00
Carsten Dominik 0ee4410452 Minor fixes. 2008-09-23 08:13:32 +02:00
Carsten Dominik 8a45b852ae New file contrib/lisp/org-checklist.el, by James TD Smith. 2008-09-21 08:14:17 +02:00
Carsten Dominik bb73743208 Fixed typo. 2008-09-05 17:32:52 +02:00
Carsten Dominik 19b5215b81 Update org-mairix.el to version 0.5. 2008-09-02 09:35:20 +02:00
Carsten Dominik c4375970d7 Minor fixes. 2008-07-25 20:41:02 -07:00
Christian Egli e9cf673235 add a changelog entry for the change in org2hpda 2008-07-04 00:03:11 +02:00
Christian Egli 91539b7ef6 the default location of the diary file should of course be ~/diary 2008-07-03 23:50:46 +02:00
Carsten Dominik 3d59326fcf Allow prefixes in include file statements. 2008-07-02 13:29:45 -07:00
Christian Egli 9c692c42f1 reduce links to their destination
i.e. change '[[http://foo][bar]]' to 'bar'
2008-06-18 00:26:29 +02:00
Christian Egli 346e70596c Make the location of the diary file configurable. 2008-06-18 00:22:33 +02:00
Carsten Dominik 51c05f9071 Short List of contributed packages in the manual. 2008-05-28 06:44:06 +02:00
Carsten Dominik d18a263f06 Bug fixed in org-mtags.el.
Based on the report by Levin Du.
2008-05-28 06:34:50 +02:00
Carsten Dominik cd16b87216 Make C-c ' edit even more things around point. 2008-05-27 08:08:28 +02:00
Carsten Dominik 23bf79d0d4 Fixed typo in file name. 2008-05-24 12:43:27 +02:00
Carsten Dominik 60eba43cdf Attempt to implement dynamic indentation.
This only lead to a contributed file, this is neither robust nor fast.
But maybe throwing the existing code into a contrib file
will make someone come up with an idea.
2008-05-24 11:18:40 +02:00
Carsten Dominik 67ad05447f Add copyright notice to org-depend.el. 2008-05-23 11:55:33 +02:00
Carsten Dominik 672c311a38 Bug fix in org-annotation-helper.el
The call to org-remember was wrong.
2008-05-23 11:55:07 +02:00
Carsten Dominik e3e2ac8108 Fix author list in org-annotation-helper.el. 2008-05-19 14:27:47 +02:00
Carsten Dominik 787b8a8160 New file org-annotation-helper.el. 2008-05-18 07:07:22 +02:00
Carsten Dominik 110b336275 Moved org-id.el to the core. Can now force UIDs in iCalendar export. 2008-05-15 10:28:38 +02:00
Carsten Dominik 6ba68246c0 Include domain name into newly created IDs. 2008-05-15 09:39:34 +02:00
Carsten Dominik ca0ee78db6 Use a separate face for mtags. 2008-05-14 14:53:32 +02:00
Carsten Dominik f3e075ed62 Support for Muse-like structure tags. 2008-05-14 09:50:53 +02:00
Carsten Dominik 36a4a26f2f Fixed typos in docstrings. 2008-05-13 16:43:00 +02:00
Carsten Dominik 9abd45ebab initial steps 2008-05-12 16:18:23 +02:00
Jason Riedy dbfb234e7f Clean up orgtbl-sqlinsert.
Use the default fmt function, collect only the first header
line for field names, and don't call plist-get for the table
name on every line.

Signed-off-by: Jason Riedy <jason@acm.org>
2008-05-06 14:14:29 +02:00
Carsten Dominik 62fc2c1083 Add documentation for org-eval.el. 2008-05-06 11:37:51 +02:00
Carsten Dominik af0b9e7405 Improvements to contrib/lisp/org-eval.el
This works now reasonably stable.
2008-05-03 16:29:48 +02:00
Carsten Dominik 3b5e243e21 Implementing the eval tags like <lisp> in Muse. 2008-04-28 22:47:04 +02:00
Carsten Dominik ea9f9df4a9 Fix some typos. 2008-04-28 10:58:29 +02:00
Carsten Dominik 9488a162c0 Re-implementation if ID creation.
IDs are now more compact, and they use a 10-character encoding
of the current time to microsecond accuracy, to ensure global
uniqueness.
2008-04-28 10:48:49 +02:00
Carsten Dominik 1508d31b6e Applied patch series from Jason Riedy.
You can slice a single table full of calculations in different ways
into separate destinations.  Or you can format the table differently.
There are many fun and exciting possible uses.

A fancier implementation would scan the document *once* for the
set of destinations.  That could help implement another function
to update all destinations from all sources.

Refactor orgtbl-to-generic; explicitly separate heading from body.
Support last-line specializers.
Allow functions for some orgtbl parameters.
Add a :remove-nil-lines parameter to orgtbl-to-generic.
2008-04-21 07:50:27 +02:00
Carsten Dominik 009c408cfc Moved org-mew.el into the core. 2008-04-07 17:51:48 +02:00
Carsten Dominik 70ad07f436 Renamed CONTRIB directory to "contrib". 2008-04-07 17:36:12 +02:00