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

3569 commits

Author SHA1 Message Date
Bastien Guerry 8a15fe867b New option: org-remember-delete-empty-lines-at-end
This default to t, so the default behavior of org-mode doesn't
change.  But the user might want to keep at least one blank line
at the end of the remembered subtree, this option lets her do it.
2009-07-18 10:09:40 +02:00
Carsten Dominik 6596d005ef Minor improvements 2009-07-18 09:30:20 +02:00
Dan Davison 6cd9cb6924 Updating org-babel.org 2009-07-18 01:48:53 -04:00
Eric Schulte 549bb7f57c Merge branch 'master' into gnuplot 2009-07-17 22:19:39 -06:00
Eric Schulte fdae720848 removed large block of lang-specific comments from org-babel.el
I assume that since all tests are passing we no longer need this old
code.  Either way we can always retrieve it from version control.
2009-07-17 22:10:43 -06:00
Eric Schulte 6661bb70d5 new default export parameters 2009-07-17 22:08:02 -06:00
Eric Schulte bda750be2f combination of :results parameters now takes mutually exclusive parameter groups into consideration 2009-07-17 22:06:37 -06:00
Eric Schulte 8408187f4a using org-babel-merge-params for inline header arguments 2009-07-17 21:36:47 -06:00
Eric Schulte 58a427f70d agreeing with new tasks 2009-07-17 16:58:57 -06:00
Dan Davison e11508b8b7 test-tangle.org: adding function call parentheses on to #+srcname.
These are currently needed, due to the regexp in org-babel-get-src-block-name.
Changing that needs to be done with care to make sure that expectations regarding match-string are met,
so I'm leaving it for now
2009-07-17 15:09:42 -04:00
Dan Davison 83fc113e29 This was just an idea. We could do it but I'm reverting for now.
Revert "Make org-babel-tangle comment with ;;*."

This reverts commit c6b628d3ad.
2009-07-17 14:51:49 -04:00
Dan Davison b15beb63d2 Merging master into results to pick up new TODO. 2009-07-17 14:42:31 -04:00
Dan Davison 017d46e50f Reinstated force-results-to-vector: passing all tests in table. 2009-07-17 14:37:43 -04:00
Dan Davison c05ac759ac Trivial: removing whitespace in org-babel.org; passing most tests now. 2009-07-17 14:00:32 -04:00
Dan Davison 8c9d8b6c28 Don't attempt to remove result when :results silent. 2009-07-17 13:58:04 -04:00
Dan Davison 9ebb554527 o-b-merge-params function was not allowing whitespace around the '=' sign.
At some point it might be useful (to me at least) to clarify our rules
regarding whitespace, and make guidelines for using " \t\f\n\v\r" et
al (and [:space:]?).
2009-07-17 13:27:56 -04:00
Eric Schulte 1f9f1564ec added task: take default values for header args from properties 2009-07-17 11:27:41 -06:00
Bastien Guerry 57838f8286 Fixed premature deletion of data when scripting org-plot.
This patch was sent by James TD Smith.
2009-07-17 19:02:01 +02:00
Bastien Guerry 14c0c432be Small rewrite of the ChangeLog. 2009-07-17 18:59:51 +02:00
Bastien Guerry 69e14025f4 New option org-tags-sort-function.
This allows tags to be sorted by string<, string> or a custom function.
Patch submitted by James TD Smith.
2009-07-17 18:43:22 +02:00
Bastien Guerry ee402e55c2 Fix typo. 2009-07-17 18:10:56 +02:00
Dan Davison 7eecca6db5 Reinstating a previous change that got lost in the last merge somehow. 2009-07-17 10:49:26 -04:00
Dan Davison 72ccd88c97 Merging master into results.
THis brings in the bugfix from 4f15280631, as well as gnuplot. The bugfix required manual resolution as it had already been partially addressed in this branch. Also, the interaction of the possibility of being on a #+lob line and the possiblity of being in the middle of an org-babel-exp-results call, meant I had to rearrange things a bit, so this commit has new changes in org-babel-where-is-src-block-result in addition to the merge.
2009-07-17 09:54:11 -04:00
Bastien Guerry fa7e23ec39 Add org-clock-in-prepare-hook. Doc update.
This hook is called in org-clock-in earlier than the existing
org-clock-in-hook.  This is useful for functions that need to
modify the Effort property, for example.
2009-07-17 09:02:56 +02:00
Dan Davison 5d49db67ab Correcting up cut/paste mistakes made in manual conflict resolution. 2009-07-17 00:50:02 -04:00
Eric Schulte e313218ff9 Merge branch 'master' into gnuplot 2009-07-16 22:22:38 -06:00
Eric Schulte 1fa18830ab gnuplot is able to generate graphs, but needs much more work 2009-07-16 22:20:58 -06:00
Eric Schulte 28377e9212 gnuplot is able to generate graphs, but needs much more work 2009-07-16 22:19:25 -06:00
Dan Davison 4f15280631 Bugfix: not assuming that we're in a source block when inserting result.
The o-b-insert-result code was assuming that we were in a source
block, where it could find the head, etc. However there are two
situations when this is not true LoB calls (although they can't output
results to buffer in this branch, they can in branch 'results'), and
org-babel-exp (which calls o-b-insert-result in an empty temp buffer).
2009-07-17 00:18:03 -04:00
Dan Davison 64a5c0e379 Merging master into results: required manual conflict resolution.
results had upgraded to using org-babel-merge-params (although
apparently not yet in org-babel-parse-inline-src-block-match).
2009-07-16 23:22:25 -04:00
Eric Schulte cdc46b8b74 added ability for languages to change their default header argument values 2009-07-16 18:52:31 -06:00
Eric Schulte 37d5edbad9 fleshing out the gnuplot task 2009-07-16 18:35:22 -06:00
Eric Schulte 5527d419a1 added support for ditaa source blocks 2009-07-16 18:23:19 -06:00
Eric Schulte 29d910c5e2 "file" results now correctly insert a file link 2009-07-16 18:17:51 -06:00
Eric Schulte b932d2ed76 ditaa evaluation is working (but still requires some more peripheral support) 2009-07-16 18:12:11 -06:00
Bastien Guerry 7de6691359 Mention org-latest.zip and org-latest.tar.gz snapshots. 2009-07-16 22:56:07 +02:00
Bastien Guerry 1821a9126d Document indented for org-tags-match-list-sublevels
Thanks to Samuel Wales.
2009-07-16 22:25:09 +02:00
Dan Davison 3382a0ea8b New bug: emacs-lisp fails when reference is a literal number. 2009-07-16 16:24:50 -04:00
Dan Davison 4fa9c162d9 More code streamlining: org-babel-execute:emacs-lisp. 2009-07-16 16:23:49 -04:00
Dan Davison d128662fa3 Eliminating duplicated code (take 2...).
This proposal for code tidying uses multiple-value-bind to satisfy:

1. The various parsed/resolved components of the param list (session,
   vars, result-type) are available in the org-babel-execute:LANG
   functions.
2. Those functions don't duplicate the code for parsing the params
   list and resolving references
3. The functions still have the params list available to them, should
   they need to implement language-specific behaviour using it.

If the org-babel-execute:LANG functions need to be called directly,
then that would now have to be via
(multiple-value-bind (session vars result-params result-type)
      (org-babel-process-params params) (funcall cmd body params))

as in org-babel-exp.el. (But is it actually necessary to by-pass
org-babel-execute-src-block?)
2009-07-16 16:21:07 -04:00
Bastien Guerry f2abe28993 Update the changelog to reflect last commit. 2009-07-16 22:13:46 +02:00
Bastien Guerry 9fc00404ca Bind the "true line boundary first" label to the 'reversed value.
Rainer Stengele raised this issue.  Hopefully it's now clearer.
2009-07-16 22:13:20 +02:00
Bastien Guerry fe4967229a Fix problem when publishing the region to LaTeX.
`org-export-latex-first-lines' was rather stupid and would
discard the end of the region with the region was active.
Thanks to Holst Thomas for this bug report.
2009-07-16 21:39:37 +02:00
Bastien Guerry 0be765f999 Fix problem with line numbering in HTML source examples.
As reported by Ulf Stegemann (09/07/2009) the HTML output
of the example in the manual would result in no number for
the first line.  It is because `org-export-number-lines' is
told to skip one line while the line inserted previously
(i.e. "<pre class ...>") doesn't end with a newline.
2009-07-16 21:07:03 +02:00
Dan Davison f74b084d99 Bringing org-babel-execute-[buffer/subtree] functions up-to-date. 2009-07-16 14:57:01 -04:00
Bastien Guerry 14ce57f84a Fix typo in the manual. 2009-07-16 20:16:27 +02:00
Bastien Guerry debebd2082 Fix typos. 2009-07-16 19:56:39 +02:00
Dan Davison e49db4f3e6 New proposed tasks: make tangled files read-only, and fold source blocks on #+srcname line 2009-07-16 12:16:16 -04:00
Dan Davison c6b628d3ad Make org-babel-tangle comment with ;;*.
With a view to providing org-style folding with the outline-regexp
settings from Tassilo Horn / Michael Zeller / Sebastain Vauban.
2009-07-16 11:25:57 -04:00
Dan Davison 690ed664c6 Merging master into results.
In order to get new tangle load-file function. Had to resolve org-babel.org conflict manually and didn't know the 'proper' way to do so, so there may be weirdness in that file.
2009-07-16 01:28:15 -04:00