Dan Davison
f03e3ed603
Further notes on org-babel session and ESS and *Org Edit Src Example* buffers.
2009-05-31 18:07:13 -04:00
Dan Davison
ce96d45374
Added reminder/request that we bear ESS in mind when designing org-babel 'sessions'
2009-05-31 17:48:00 -04:00
Dan Davison
e4263daf76
Make org table result have header row and hline when appropriate. (This should have been included with commit a39d68640e
). The approach I've taken is to make R always write the column names into the tsv file. If the result does not have user-supplied column-names, then R writes default column names of the form V1,V2,...,V$numcols. After reading the tsv back into lisp, we check whether it has "real" column names or the R defaults. If it has real column names, then I give the org table an hline.
...
I expect this will conflict with Eric's work on sessions, but we can deal with that.
There is a remaining quoting issue that needs to be dealt
with. E.g. with an unquoted string in the input, it comes out as
quoted in the result. This seems bad, since if you use the output as
new input you get something different (with extra
quoting). (non-idempotence if that's the right term).
| col1 | col2 | col3 |
|------+---------+------|
| 1 | 2 | 3 |
| 4 | schulte | 6 |
tabel
| "col1" | "col2" | "col3" |
|--------+-----------+--------|
| 1 | 2 | 3 |
| 4 | "schulte" | 6 |
2009-05-30 16:45:26 -04:00
Dan Davison
eb29bef93f
Made org-babel-remove-result interactive. Eric if you agree do you want to decide on a binding?
2009-05-30 15:59:46 -04:00
Dan Davison
e7f860cb19
Altered the python code in the chained references example. AIui the example was producing the correct answer (ruby class Array) but for the wrong reason (python was returning None)
2009-05-30 15:01:55 -04:00
Dan Davison
a39d68640e
Allowing org-tables with hline to be referred to and passed into R. If hline is present, the first row of the table becomes the column names in R. This allows the grades example to run for me which was not true before. Eric: any commits I make should be viewed as tentative -- feel free to reject or recode them.
2009-05-30 15:00:06 -04:00
Carsten Dominik
831050b23d
Add Effort property to completion list.
2009-05-30 07:44:02 +02:00
Carsten Dominik
0b5dcee06d
Minor fixes
2009-05-30 06:59:46 +02:00
Dan Davison
2ca59eaa0f
Preventing end of buffer error when no newline after #+end_src
2009-05-29 23:34:50 -04:00
Eric Schulte
f87a673c9c
replacing parts of org-babel lost in a merge
...
namely some extended discussion of environments and sessions under
the "Create objects in top level (global) environment in R?" header
2009-05-29 18:01:38 -07:00
Eric Schulte
d49084b73d
small additions to org-babel-comint.el
2009-05-29 17:45:40 -07:00
Eric Schulte
2fe76cd094
adding discussion to PROPOSED conversion between org-babel and noweb (e.g. .Rnw) format
2009-05-29 17:45:25 -07:00
Eric Schulte
986fcb4652
DONE pass multiple reference arguments into R
...
This should be working, see the following example...
n + m
: 10
2009-05-29 16:45:03 -07:00
Eric Schulte
8967366a3b
back to the working version
2009-05-29 16:44:33 -07:00
Dan Davison
fe22667f78
proposed org-babel <-> noweb interconversions
2009-05-29 16:22:09 -04:00
Dan Davison
8deae3517b
Trying to resolve conflict while understanding very little about git
2009-05-29 16:21:12 -04:00
Dan Davison
2adb00f678
proposed org-babel <-> noweb interconversions
2009-05-29 16:17:03 -04:00
Carsten Dominik
76979e62bd
Fix bug with LaTeX entities
2009-05-29 14:34:50 +02:00
Carsten Dominik
c3b24f1c19
Fix face inheritance problem for Emacs 22
2009-05-29 09:37:05 +02:00
Carsten Dominik
c030d53eb0
Fix indentation problem with editing blocks
2009-05-29 06:27:25 +02:00
Carsten Dominik
5ce1c5708f
Clocking: Fix bug in the new cocking code
...
The cursor could move while collecting the total time for the current
subtree.
2009-05-28 19:49:11 +02:00
Carsten Dominik
9efd83addd
Make the list of blocks protecting their content cofigurable
2009-05-28 17:44:44 +02:00
Carsten Dominik
19748886eb
Tables: Allow #+TBLFM to be indented
2009-05-28 17:44:12 +02:00
Carsten Dominik
0c49456103
Export: Allow #+label, #+caption, and #_attr_... to be indented.
2009-05-28 17:44:12 +02:00
Carsten Dominik
ecfabf4968
Export: Do not treat #+ lines as exportable comments
2009-05-28 17:44:12 +02:00
Carsten Dominik
3089eb6150
Insert block templates indented to cursor cookie position
...
When a template cookie like "<s" is typed indented on a line, the
amount of white space before the cookie is applied to each new line in
the template.
2009-05-28 17:44:12 +02:00
Carsten Dominik
1fc138838a
Blocks: Make editing indented blocks work correctly
2009-05-28 17:44:12 +02:00
Carsten Dominik
0b60bf8aac
Export: Allow center, quote, and verse markers to be indented
2009-05-28 17:44:12 +02:00
Carsten Dominik
2be3df3fd8
Export: Allow backend-specific code to be indented
...
Things like #+latex: and #+begin_html...#+end_html
can now be indented.
2009-05-28 17:43:57 +02:00
Carsten Dominik
aea59ca7a6
Export: Allow example and src blocks to be indented
2009-05-28 13:41:29 +02:00
Carsten Dominik
476493d3b3
Fontification: Better treatment of #+ lines and blocks
...
The content of blocks like #+begin_example will be marked with a
separate face. That same face is also used for single lines
introducing text for specific backends.
2009-05-28 13:41:28 +02:00
Carsten Dominik
99b3b2d261
HTML export: Better defaults for org-export-html-xml-declaration
2009-05-28 13:41:28 +02:00
Carsten Dominik
2b6a3ac71d
Clock notification: Cleaning up some issues
2009-05-28 13:24:23 +02:00
krick
e17fdc3aa9
Merge branch 'origin' into clock-effort-notify
2009-05-28 11:17:13 +02:00
Carsten Dominik
f3953d3b15
Fix bugs in the reference card
...
Reported by Michael Kaelbling.
2009-05-28 09:44:22 +02:00
Carsten Dominik
c4a566df87
Fix typo
2009-05-28 06:43:35 +02:00
Eric Schulte
e8e24c024b
added TODO fully purge org-babel-R of direct comint interaction
2009-05-27 19:01:29 -07:00
Eric Schulte
c5a58ad6aa
moving generalized comint functions to new file org-babel-comint.el
2009-05-27 19:00:13 -07:00
Eric Schulte
a54c27ec91
attempts at improving sb snippet
2009-05-27 18:42:15 -07:00
Eric Schulte
aca19b2efc
added my session thoughts for global variables
2009-05-27 16:40:47 -07:00
Eric Schulte
906c524234
Merge branch 'master' of git@github.com:eschulte/org-babel
...
Conflicts:
org-babel.org
2009-05-27 16:40:26 -07:00
Eric Schulte
2c3c91ed12
removed org-babel-ui (tabbing blocks) as the functionality will be included in org-mode core
2009-05-27 16:34:48 -07:00
Eric Schulte
2d1a5405d1
added task for improving the sb snippet
2009-05-27 16:33:22 -07:00
krick
59c6574c05
org-clock-sound could be
...
* nil. No sound played.
* any string, that is not a file. Make a beep
* file name. Emacs tries to play it with aplay, if available.
If not, use standard emacs play-sound-file function.
2009-05-28 01:10:27 +02:00
Carsten Dominik
ff222e41b8
Bind ESC sequences explicitly because translation does not always work.
...
Patch by Paolo Petta
2009-05-27 20:04:25 +02:00
Carsten Dominik
a18546c360
TODO entries: Control over when selecting a state is treated as state change.
...
This commit introduces two new variables:
- org-treat-insert-todo-heading-as-state-change
Default is nil. When set to t, adding a new TODO item will be done
by adding an item and the executing an "official" state change which
potentially will trigger state logging.
- org-treat-S-cursor-todo-seletion-as-state-change
Default is t. When set to nil, selecting a TODO state with
S-left/right will not trigger logging, only selecting a new state
with `C-c C-t'. I actually like this a lot and would even consider
making this the default.
2009-05-27 18:54:44 +02:00
Carsten Dominik
ca79257ca6
HTML export: Better defaults for org-export-html-xml-declaration
2009-05-27 18:16:26 +02:00
krick
8c3ffc6259
Remove setq of the org-clock-sound here :)
2009-05-27 08:49:51 +02:00
Dan Davison
5db027b3e1
Noted in hline TODO that plotting histogram in the grades example is blocked by not being able to deal with hline in the input table. (AIUI)
2009-05-26 19:40:47 -04:00
Dan Davison
57783f9ce2
A few new TODOS: deal with hlines in tables, how do we pass multiple args in R, and some extended wittering about scoping issues in R: basically I want to argue for not abandoning the Sweave-style mode where objects created in code blocks are persisten across different blocks.
2009-05-26 19:16:46 -04:00