Re: [O] Extraneous output from Python code blocks using :session option

2015-03-12 Thread Kyle Meyer
Kyle Meyer wrote: > Richard Stanton wrote: >> This looks great. While we're patching this code, why does having >> blank lines inside function definitions cause such problems in >> :session mode? > > I think this is because the lines are being sent one by one, so sending > the blank line causes a

Re: [O] Extraneous output from Python code blocks using :session option

2015-03-12 Thread Kyle Meyer
Richard Stanton wrote: > This looks great. While we're patching this code, why does having > blank lines inside function definitions cause such problems in > :session mode? I think this is because the lines are being sent one by one, so sending the blank line causes an issue, like typing enter wi

Re: [O] Extraneous output from Python code blocks using :session option

2015-03-12 Thread Kyle Meyer
John Kitchin wrote: > Nice. I hope this makes it into org-mode one day. > > In the mean time, I crafted an approach with another hook function that > is described here: > > http://kitchingroup.cheme.cmu.edu/blog/2015/03/12/Making-org-mode-Python-sessions-look-better/ Good idea. Thanks for the in

Re: [O] about htmlize.el

2015-03-12 Thread Nick Dokos
I wonder if you might find Sebastian Rose's javascript stuff useful for your purposes: (info "(org) JavaScript support") Nick

Re: [O] about htmlize.el

2015-03-12 Thread Ista Zahn
It looks like that was created just by calling 'htmlize-buffer' three times with different visibility cycling. Does that work for you? Best, Ista On Thu, Mar 12, 2015 at 12:25 PM, XIE Yuheng wrote: > > > what I wish is org mode like web page > see :: > > http://the-little-language-designer.gi

Re: [O] about htmlize.el

2015-03-12 Thread XIE Yuheng
what I wish is org mode like web page see :: http://the-little-language-designer.github.io/org-html/cicada-nymph/overview.html On 03/12/2015 04:20 PM, Eric S Fraga wrote: > On Wednesday, 11 Mar 2015 at 02:01, XIE Yuheng wrote: >> Hi friends ^-^, >> it is me again. >> can you guys hack "htmliz

Re: [O] Extraneous output from Python code blocks using :session option

2015-03-12 Thread Richard Stanton
This looks great. While we're patching this code, why does having blank lines inside function definitions cause such problems in :session mode? It would be nice if you could just type any valid Python code and have it execute (like you can in an IPython notebook cell) > On Mar 12, 2015, at 8:1

Re: [O] Extraneous output from Python code blocks using :session option

2015-03-12 Thread John Kitchin
Nice. I hope this makes it into org-mode one day. In the mean time, I crafted an approach with another hook function that is described here: http://kitchingroup.cheme.cmu.edu/blog/2015/03/12/Making-org-mode-Python-sessions-look-better/ This can be done in an init file. Kyle Meyer writes: > Ric

[O] Data format for keeping track of weekly & yearly stats?

2015-03-12 Thread Leo Ufimtsev
Hello, I'm new to Tables/formulas. I started using a table with formulas to keep track of productivity, # of hours of sleep etc.. I have something like this: | Day | Dev | Leo |@ 9 | Sleep | |--+--+--++---|

Re: [O] lots of CLOCK lines displayed when opening a TODO

2015-03-12 Thread Leo Ufimtsev
I've been down this road before, I tried to add a hook to org-cycle to make it expand log-book drawers, but wasn't very successful in the past: http://emacs.stackexchange.com/questions/9743/expand-logbook-on-2nd-tab-press-hook-for-2nd-org-cycle If anyone has working hack for this, it'd be cool :

Re: [O] lots of CLOCK lines displayed when opening a TODO

2015-03-12 Thread Leo Ufimtsev
>> (org-drawers >>(quote >> ("FURTHER_READING" "THEORY" "TASKS" "INFO" "TIP" "NOTE" "EG" "LINKS" >> "APPENDIX" "DETAILS" "PROPERTIES" "CLOCK" "LOGBOOK" "RESULTS" "TASKARCHIVE" >> "SOURCE" "TROUBLESHOOTING"))) >OMG ! All of them are used ? :-D, I need to consolidate some of those. Many a

Re: [O] Table caption in Latex export with :float nil

2015-03-12 Thread Vikas Rawal
>> >> We need to consider the scenario that if we need a captioned table >> without a floating environment, what is the right way of obtaining >> it. > > Is that a question? A right approach is to use the float package as you > did. I don't like it cause it redefines floats. Another right appr

Re: [O] lots of CLOCK lines displayed when opening a TODO

2015-03-12 Thread Loris Bennett
Rainer Stengele writes: > Am 12.03.2015 um 09:03 schrieb Loris Bennett: >> Rainer Stengele writes: >> >>> Am 05.03.2015 um 09:02 schrieb Loris Bennett: Rainer Stengele writes: > Hi! > > I have lots of weekly reoccuring meetings and do collect the clocked > time for ea

Re: [O] Table caption in Latex export with :float nil

2015-03-12 Thread Rasmus
Vikas Rawal writes: > I did see this, but needed an example to understand what was going to > work. Specifying \captionof in a separate line did not occur to me. The point is merely that you need to "cheat" ox-latex to think there's not a caption. I used this macro as a workaround (since I also

Re: [O] lots of CLOCK lines displayed when opening a TODO

2015-03-12 Thread Rainer Stengele
Am 12.03.2015 um 09:03 schrieb Loris Bennett: > Rainer Stengele writes: > >> Am 05.03.2015 um 09:02 schrieb Loris Bennett: >>> Rainer Stengele writes: >>> Hi! I have lots of weekly reoccuring meetings and do collect the clocked time for each meeting. After a while I have lot

Re: [O] Only showing part of a list

2015-03-12 Thread John Kitchin
> >> It sounds like this would be a good case for subheadings, to break up >> the long check list. >> > > ​Then I get something like: > * Actions [0/5] > - [ ] First action > - [ ] Second action > - [ ] Third action > - [ ] Fourth action > - [ ] Fifth Action >

Re: [O] lots of CLOCK lines displayed when opening a TODO

2015-03-12 Thread Nick Dokos
"Loris Bennett" writes: > > If I jump from the agenda entry 'Fun', I get something like the > following: > > * Stuff > ** Fun... > ** Boring... > > If I press 'tab', I get > > * Stuff > ** Fun >:LOGBOOK:... >:OLDLOGS:... > ** Boring > > If I press 'tab' again, nothing happens. If I press

Re: [O] about htmlize.el

2015-03-12 Thread Eric S Fraga
On Wednesday, 11 Mar 2015 at 02:01, XIE Yuheng wrote: > Hi friends ^-^, > it is me again. > can you guys hack "htmlize.el" for me, > to make it an "org->html" with better support to view exported > org-mode file online ? > (only viewing, no editing) See info: (org) HTML export -- : Eric S Fraga

Re: [O] Extraneous output from Python code blocks using :session option

2015-03-12 Thread Richard Stanton
> On Mar 11, 2015, at 11:29 AM, Kyle Meyer wrote: > > Richard Stanton wrote: >> I'm trying to use the :session option so I can import modules, etc., >> just once at the beginning of my document, like with am IPython >> notebook. Unfortunately, the output from these code blocks contains >> some e

Re: [O] Preserve tabs in tangled babel output

2015-03-12 Thread John Kitchin
No I meant to confirm that it does work for me with that setting. On Wednesday, March 11, 2015, Charles C. Berry wrote: > On Wed, 11 Mar 2015, John Kitchin wrote: > > I have org-src-preserve-indentation set to t. >> > > Are you saying this does not work on your setup? > > When I copy/paste Roge

Re: [O] [PATCH] Internal Links with Spaces

2015-03-12 Thread Nicolas Goaziou
Jacob Gerlach writes: > At least in the case of org-id, I can imagine that the description > might only be used to control appearance in the org buffer, not to > express desired export behavior. > A link that uses org-id really begs for a description for readability, > but then you can't get \ref

Re: [O] [PATCH] Internal Links with Spaces

2015-03-12 Thread Jacob Gerlach
On Tue, Mar 10, 2015 at 3:47 PM, Jacob Gerlach wrote: > After finally getting this function to work, I discovered that I had > the same problem as when I used org-id: the link description causes > exported latex references to use the headline text instead of the > \label{}. ... > This works for me

Re: [O] CATEGORY Drawer

2015-03-12 Thread Marco Wahl
Colin Baxter writes: > If I try to insert a Category drawer with C-c C-x p and select CATEGORY, > I get the error: > > org-entry-put: The CATEGORY property cannot be set with `org-entry-put' Same here. > I don't understand why I'm not able to do this. I'm using org-8.3beta. I also think this i

[O] What is quote-section? [eom]

2015-03-12 Thread Marcin Borkowski
-- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University

Re: [O] lots of CLOCK lines displayed when opening a TODO

2015-03-12 Thread Loris Bennett
Rainer Stengele writes: > Am 05.03.2015 um 09:02 schrieb Loris Bennett: >> Rainer Stengele writes: >> >>> Hi! >>> >>> I have lots of weekly reoccuring meetings and do collect the clocked >>> time for each meeting. After a while I have lots of CLOCK >>> lines. Opening the TODO shows all the CLO

Re: [O] [PATCH] Adding a BEAMER_HEADER_EXTRA tag, allows short titles, etc.

2015-03-12 Thread Matthew Gidden
Updated patch attached On Tue, Mar 10, 2015 at 10:44 AM, Nicolas Goaziou wrote: > Matthew Gidden writes: > > > Updated patch with updated commit message attached. > > Thank you. > > > Subject: [PATCH] org-beamer.el: Enable custom beamer input before > > \begin{document} > > "ox-beamer". Also t

Re: [O] [PATCH] Adding a BEAMER_HEADER_EXTRA tag, allows short titles, etc.

2015-03-12 Thread Nicolas Goaziou
Matthew Gidden writes: > Updated patch with updated commit message attached. Thank you. > Subject: [PATCH] org-beamer.el: Enable custom beamer input before > \begin{document} "ox-beamer". Also the summary is too long. > * lisp/ox-beamer.el (`beamer-header'): Move BEAMER_HEADER injection to >