[O] org and microsoft exchange

2011-06-17 Thread Skip Collins
I was thinking of trying to get org and microsoft exchange talking to each other via soap-client.el and exchange web services (ews). Ultimately it would be nice to have a route into the corporate world of exchange, outlook, entourage, and blackberry where so many of us are forced to live. My first

Re: [O] org-capture does not fully clean up after C-c C-k

2011-06-17 Thread Leo
On 2011-06-16 15:51 +0800, Carsten Dominik wrote: > Hi Leo, > > I am unable to reproduce this. I do get an empty line the first time, > but when the empty line is already there, then there is no problem. > > Do you find the insertion of this one empty line a problem? > > - Carsten I am running or

Re: [O] Batch mode evaluation of source code?

2011-06-17 Thread Herbert Sitz
Eric Schulte gmail.com> writes: > > By connecting to a persistent Emacs instance much of the .el script I > attached could be removed assuming Babel has already been configured in > the running Emacs server. > > Hope this helps -- Eric > Eric, Nick: Thanks, yes it does. Using also Nick's tip

Re: [O] Batch mode evaluation of source code?

2011-06-17 Thread Herbert Sitz
Nick Dokos hp.com> writes: > > > You do M-x server-start on the running emacs to start the server > part. Then you invoke emacsclient from the command line to connect to > it - check the manpage of emacsclient for details: you might be able to > arrange something with the --eval argument. > > N

Re: [O] Batch mode evaluation of source code?

2011-06-17 Thread Eric Schulte
Herbert Sitz writes: > Eric Schulte gmail.com> writes: > >> >> The following org-mode file and minimal elisp file can be used >> to print >> the results of evaluating a code block from a batch Emacs >> session >> (note >> this is using Emacs24, so Org-mode/Babel do not need to be >> explic

Re: [O] Batch mode evaluation of source code?

2011-06-17 Thread Nick Dokos
Herbert Sitz wrote: > Herbert Sitz nwlink.com> writes: > > > I'm working on Windows7 and have an Emacs client running when I issue the > > batch command, which I assumed also means there is a running emacs server. > > Is the > > call getting made to the running emacs server? If so, is there

Re: [O] Batch mode evaluation of source code?

2011-06-17 Thread Herbert Sitz
Herbert Sitz nwlink.com> writes: > I'm working on Windows7 and have an Emacs client running when I issue the > batch command, which I assumed also means there is a running emacs server. > Is the > call getting made to the running emacs server? If so, is there some way to > avoid the startup o

Re: [O] Batch mode evaluation of source code?

2011-06-17 Thread Herbert Sitz
Eric Schulte gmail.com> writes: > > The following org-mode file and minimal elisp file can be used > to print > the results of evaluating a code block from a batch Emacs > session > (note > this is using Emacs24, so Org-mode/Babel do not need to be > explicitly > loaded). > > I used the fo

Re: [O] Batch mode evaluation of source code?

2011-06-17 Thread Eric Schulte
Hi Herb, The following org-mode file and minimal elisp file can be used to print the results of evaluating a code block from a batch Emacs session (note this is using Emacs24, so Org-mode/Babel do not need to be explicitly loaded). I used the following command line : emacs --batch -l run-code.el

[O] Batch mode evaluation of source code?

2011-06-17 Thread Herbert Sitz
The Org manual gives an example of a batch mode --eval that runs code to tangle code from Org files. I assume there's also a way to simply run a source code block and get its output in the terminal but I can't see how to do it. To give a concrete example, the Org manual uses this Python source bl

Re: [O] HTML5 presentations

2011-06-17 Thread Eric S Fraga
Achim Gratz writes: > Eric S Fraga writes: >> What browser(s) are people using for this? Conkeror doesn't work well >> at all and iceweasel (aka firefox) 3.5.19 sort of works. > > Although I haven't tried it recently, conkeror just uses the XULrunner > engine that Firefox is based on. So if yo

Re: [O] latex checkboxes

2011-06-17 Thread Nick Dokos
Skip Collins wrote: > >> Then, what about setting :cbtrans to "\\texttt{[-]}" and > >> `org-export-latex-list-parameters' to nil, instead of "$\\boxminus$" and > >> '(:cbon "$\\boxtimes$" :cboff "$\\Box$"), respectively? > >> > > > > I'm fine with that - Skip? Tom? Others? If this does end up bei

Re: [O] latex checkboxes

2011-06-17 Thread Thomas S. Dye
Nick Dokos writes: > Nicolas Goaziou wrote: > >> Nick Dokos writes: >> >> >> Btw, is there any consensus on better default values for :cbon, :cboff >> >> and :cbtrans? Configurability isn't an excuse for ugly standards. >> >> >> > >> > I don't think so - not yet in any case. I didn't even kno

Re: [O] latex checkboxes

2011-06-17 Thread Skip Collins
>> Then, what about setting :cbtrans to "\\texttt{[-]}" and >> `org-export-latex-list-parameters' to nil, instead of "$\\boxminus$" and >> '(:cbon "$\\boxtimes$" :cboff "$\\Box$"), respectively? >> > > I'm fine with that - Skip? Tom? Others? If this does end up being the case, > then Skip's \parbox

Re: [O] latex checkboxes

2011-06-17 Thread Nick Dokos
Nicolas Goaziou wrote: > Nick Dokos writes: > > >> Btw, is there any consensus on better default values for :cbon, :cboff > >> and :cbtrans? Configurability isn't an excuse for ugly standards. > >> > > > > I don't think so - not yet in any case. I didn't even know about the > > box stuff until

Re: [O] latex checkboxes

2011-06-17 Thread Nicolas Goaziou
Nick Dokos writes: >> Btw, is there any consensus on better default values for :cbon, :cboff >> and :cbtrans? Configurability isn't an excuse for ugly standards. >> > > I don't think so - not yet in any case. I didn't even know about the > box stuff until Skip brought it up. I would have thought

Re: [O] odd behaviour in a function - looking for advice

2011-06-17 Thread Rustom Mody
[OT for this discussion but just wondering if Jambunathan's suggestions may work here] There has been this question asked both on the emacs and on the python list Just excerpting from http://groups.google.com/group/comp.lang.python/browse_thread/thread/acb0f2a01fe50151# I am using python-mode to

Re: [O] odd behaviour in a function - looking for advice

2011-06-17 Thread Rustom Mody
[OT for this discussion but just wondering if Jambunathan's suggestions may work here] There has been this question asked both on the emacs and on the python list Just excerpting from http://groups.google.com/group/comp.lang.python/browse_thread/thread/acb0f2a01fe50151# I am using python-mode to

Re: [O] latex checkboxes

2011-06-17 Thread Nicolas Goaziou
Hello, Nick Dokos writes: > Yes, you can indeed - except for the [-] which is hardcoded. Try the > following: > > #LATEX_HEADER: \setbox0=\hbox{\large$\square$} > > #+BIND: org-export-latex-list-parameters (:cbon > "[{\\parbox[][][c]{\\wd0}{\\large$\\boxtimes$}}]" :cboff > "[{\\parbox[][][c]{\

Re: [O] latex checkboxes

2011-06-17 Thread Nick Dokos
Nicolas Goaziou wrote: > Hello, > > Nick Dokos writes: > > > Yes, you can indeed - except for the [-] which is hardcoded. Try the > > following: > > > > #LATEX_HEADER: \setbox0=\hbox{\large$\square$} > > > > #+BIND: org-export-latex-list-parameters (:cbon > > "[{\\parbox[][][c]{\\wd0}{\\large

Re: [O] Literate Programming - Continue a Source Block?

2011-06-17 Thread Sebastien Vauban
Hi Eric and Neeum, Eric Schulte wrote: >> Overwriting is still not supported, but I don't know if that's all that >> important (I don't have an immediate need for it). And noweb by default >> did not have it either, so perhaps it's not needed for most tasks > > This was my thinking. > >> (OTOH, yo