0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-24 19:00:44 +00:00
Commit graph

12515 commits

Author SHA1 Message Date
Carsten Dominik 2e9202362f Publishing: Allow to publish the Org source file
There is now a new export function, `org-export-as-org', which
basically creates a copy of the Org file with things like archived
trees, commented trees, and trees deselected by export tags,
stripped.
2009-05-14 09:33:00 +02:00
Carsten Dominik 610f0004c8 Modularize `org-yank'.
Patch by Derek Upham.
2009-05-12 16:29:58 +02:00
Carsten Dominik 90204fe238 LaTeX export: Make TODO keyword markup configurable 2009-05-12 12:27:56 +02:00
Eric Schulte 51a628bc5e added tests for calling source blocks as functions, passing all tests 2009-05-11 20:50:45 -07:00
Eric Schulte 75ca370de8 added tests, and fixed uncovered bugs
tests currently cover the following all of which are passing
  - basic execution
  - referencing tables
  - referencing other source blocks
2009-05-11 19:41:56 -07:00
Carsten Dominik ab0397758e Export: More default macros.
This commit adds:

{{{date(FORMAT)}}} current date/time, formatted with
`format-time-string'

{{{modification-time(FORMAT)}}} date/time of last modification of
file, formatted with `format-time-string'

{{{input-file}}} the file name of the source Org file.
2009-05-11 22:44:04 +02:00
Dan Davison 480c22bbeb Merge branch 'master' of git@github.com:eschulte/rorg 2009-05-11 14:07:00 -04:00
Dan Davison e680407493 Started writing an introduction perhaps suitable for a tutorial document or something 2009-05-11 14:06:37 -04:00
Eric Schulte e140849b49 code blocks default to only exporting code 2009-05-11 09:57:21 -07:00
Eric Schulte c26c393c9c evaluate source code blocks as spreadsheet formulas in tables 2009-05-10 19:47:22 -07:00
Eric Schulte 71b6ca8005 added `sbe' for evaluation of source blocks from emacs lisp 2009-05-10 14:03:26 -07:00
Eric Schulte ce2c319496 inline source code blocks now accept header arguments 2009-05-10 08:29:30 -07:00
Eric Schulte 2794b3394f more robust against spaces in :var header arguments 2009-05-10 08:27:06 -07:00
Carsten Dominik 21e08a117d Docbook export: Support ditaa images
Patch by Dale Smith.
2009-05-10 16:25:12 +02:00
Carsten Dominik 0a01a7a12b iCalendar export: Make it possible to export only unblocked TODO
entries.

Guy Wiener writes:

> Hello everyone,
>
> I use orgmode to write down TODO tasks with dependencies (using
> org-enforce-todo-dependencies). I want to export the tasks to an
> iCalendar file, but *without* the blocked tasks (i.e, tasks that have
> unfinished dependencies). The agenda view hides these tasks if you set
> org-agenda-dim-blocked-tasks. It there a way to configure the
> iCalendar export to ignore these tasks too, like in the agenda view?

This commit implements this, when the value of
`org-icalendar-include-todo' is the symbol `unblocked'.
2009-05-10 12:32:05 +02:00
Carsten Dominik 3065dcbd42 Keep compiler happy 2009-05-10 09:16:30 +02:00
Carsten Dominik 97e4e3bf4c Fix typo 2009-05-10 09:07:03 +02:00
Carsten Dominik a607b5b218 Checkboxes: Allow recursive statistics.
Patch by Richard Klinda.
2009-05-10 09:06:03 +02:00
Carsten Dominik 762736d18d Links: Implement special completion support for some link types
The commit implements a general mechanism for providing special
(e.g. completion) support for specific link types when entering links
with `C-c C-l'.  After calling `C-c C-l', you may now press RET after
inserting a link prefix, and Org will look for a function
`org-PREFIX-complete-link'.  Such functions may be defined for any
link types, including link abbreviations.  Currently, Org has
`org-file-complete-link' for file name completion, and
`org-bbdb-complete-link' for completion of record names from BBDB.
2009-05-10 08:51:18 +02:00
Eric Schulte e1127e31c0 reworking/expanding TODOs 2009-05-09 18:51:37 -07:00
Eric Schulte 4f17a369d5 update TODOs 2009-05-09 18:33:08 -07:00
Eric Schulte d7cbcd54d8 cleanup 2009-05-09 18:28:23 -07:00
Eric Schulte 9865923f84 now able to pass arguments to source block from header-arguments variable assignment 2009-05-09 18:28:23 -07:00
Eric Schulte 728869fef8 now passing arguments to source-blocks when the source-block is used to initialize a header-argument variable
before this is useful need to implement params merging in
  litorgy-execute-src-block, see the TODO infile
2009-05-09 18:28:21 -07:00
Eric Schulte c85ec77932 litorgy-parse-header-arguments can now handle complex arguments
specifically arguments which contain spaces or even " :" substrings
2009-05-09 18:28:21 -07:00
Eric Schulte 8072d2c7d6 new TODO: implement unit tests for litorgy using litorgy 2009-05-08 16:23:26 -07:00
Eric Schulte df6db56a72 now accepting literal values to assign variables in header arguments 2009-05-08 16:20:05 -07:00
Eric Schulte cfcff524d0 additional thoughts about passing arguments to source code blocks 2009-05-08 15:38:04 -07:00
Eric Schulte 656d29e6d5 added litorgy.org to hold examples of using litorgy 2009-05-08 15:29:01 -07:00
Eric Schulte c7aa80462a fixed spelling error 2009-05-08 15:28:29 -07:00
Carsten Dominik 181120bcfb Website: Link to sourceforge competition 2009-05-08 17:36:54 +02:00
Carsten Dominik e516a3be22 Visibility cycling: Fix bug when org-cycle-include-plain-lists is t
Peter Westlake writes:

>  On Fri, 8 May 2009 06:24:54 +0200, "Carsten Dominik"
>  <carsten.dominik@gmail.com> said:
>
>  I anyone could make an example that allos me to reproduce this
>  problem, then I might be able to fix it.
>
>  It's trivial:
>
>   * top
>   ** sub 1
>   Set org-cycle-include-plain-lists.
>   Type TAB on this line, and the whole of top gets folded.
>
>   ** sub 2
>   This entry is not needed to reproduce the bug. It just
>   makes it more visible.

There was indeed a bug, I think it is fixed now.
2009-05-08 12:51:32 +02:00
Carsten Dominik e15ada501b Initialize time zone from environment 2009-05-08 09:14:59 +02:00
Carsten Dominik abe696b456 Add link to sourceforge community award choice 2009-05-08 06:35:23 +02:00
Carsten Dominik 8a1e3d0773 HTML export: Specify the scope parameter in table header fields 2009-05-08 06:34:13 +02:00
Carsten Dominik e28c8b7329 New option `org-export-html-table-use-header-tags-for-first-column' 2009-05-07 15:05:41 +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 412314ab2b ASCII export: Fix autoloading 2009-05-07 08:39:12 +02:00
Carsten Dominik b5d183e45c Fix bug. 2009-05-06 18:47:44 +02:00
Carsten Dominik 8ac2704c26 New variable `org-ical-timezone'. 2009-05-06 15:49:24 +02:00
Carsten Dominik a01ae6ee38 Export: Respect the description in a coderef
Shaun Johanson writes:

> Consider the following Org file:
>
>   * Test
>
>    See [[(foo)][FOOBIE]]
>
>    #+BEGIN_EXAMPLE
>    <foo>: blah blah       (ref:foo)
>    #+END_EXAMPLE
>
> Question 1)
>  In Org mode the link displays as FOOBIE, in the exported HTML it
>  displays as (foo). Is there any way to cause the link to use the
>  description (FOOBIE) in HTML? If not would this be a useful option
>  to add?

This was a bug, fixed now.
2009-05-06 12:17:24 +02:00
Carsten Dominik f8c8ac606d Sorting: Improve documentation, and implement better time sorting
Sorting entries by time is now much more flexible, and can be
specified to creation, scheduled, and deadline time.
2009-05-06 10:50:22 +02:00
Carsten Dominik 99c86ec8b8 Edit source code examples: Allow to switch off permanent message 2009-05-05 17:58:48 +02:00
Carsten Dominik 453115c82e Fix docstring 2009-05-05 16:24:47 +02:00
Carsten Dominik 88673a8724 Clock history: Second try to get fontification right. 2009-05-05 14:44:05 +02:00
Carsten Dominik fc7b9e8d8c Editing code examples: No longer use indirect buffer
Editing source code examples and pictures is not done in a truly
separate buffer, not in an indirect buffer.  Indirect buffers had
caused problems with fontification, for example.
2009-05-05 13:58:13 +02:00
Carsten Dominik 2f8c014195 Declare some functions 2009-05-05 10:33:12 +02:00
Carsten Dominik e1f6e949ed Clock history: Present all tasks fontified
Bernt Hansen requested this.
2009-05-05 10:23:47 +02:00
Carsten Dominik d79696d914 Export: org-export-latex-image-default-option can be buffer-local
Jason Riedy writes:

>  I'm trying to change org-export-latex-image-default-option
>  to "width=.7\\linewidth" in a file local variable.  It's set
>  correctly as a buffer local variable, and it's having no
>  effect on the export.  My guess is that the buffer-local
>  property is stopping it as soon as org-export-as-latex runs
>  set-buffer.
>
>  I can smuggle the value in by adding an entry to org-export-plist-vars
>  referring to org-export-latex-image-default-option and pulling the value
>  from the plist, but that feels incorrect.

It is actually the correct way to do this, and I have
implemented this change.
2009-05-05 10:22:37 +02:00
Carsten Dominik 9e8bb3d213 Speed up build process with -no-site-file 2009-05-04 22:50:59 +02:00