Re: [O] org-babel -- Improper syntax error in session mode?

2011-06-21 Thread Thomas S. Dye
Aloha Herbert, I think you're right about the potential to improve the documentation. That's an on-going process. Could you suggest some specific changes? All the best, Tom Herbert Sitz writes: > Eric Schulte gmail.com> writes: > >> >> Babel sessions explicitly are thin wrappers around the

Re: [O] [Bug] Doc string for org-clock-into-drawer truncated?

2011-06-21 Thread Carsten Dominik
On Jun 20, 2011, at 9:32 PM, Achim Gratz wrote: > > In org-clock.el, the following definition is found: > > (defcustom org-clock-into-drawer org-log-into-drawer > "Should clocking info be wrapped into a drawer? > When t, clocking info will always be inserted into a :LOGBOOK: drawer. > If neces

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

2011-06-21 Thread Carsten Dominik
Hi Jason, On Jun 16, 2011, at 8:44 PM, Jason Dunsmore wrote: > Carsten Dominik writes: > >> On 4.5.2011, at 14:30, Leo wrote: >> >>> Hello, >>> >>> I have one template as follows >>> >>> ("n" "Notes" entry (file "Notes.org") "* %?\n %i" :prepend t) >>> >>> Every time I `C-c C-k' to abort

Re: [O] Subtasks are blocked in todo-items of ordered projects. Bug?

2011-06-21 Thread Marcel van der Boom
On ma 20-jun-2011 19:37 Bernt Hansen wrote: >> Should the first task in a subproject of a project >> having the ':ORDERED:' property set to true be blocked from marking >> 'DONE'? If so, why? > > I think the answer is yes it should be blocked because the entire tree > is blocked - the previou

Re: [O] [Bug] Doc string for org-clock-into-drawer truncated?

2011-06-21 Thread Ian Barton
On 21/06/11 08:49, Carsten Dominik wrote: On Jun 20, 2011, at 9:32 PM, Achim Gratz wrote: In org-clock.el, the following definition is found: (defcustom org-clock-into-drawer org-log-into-drawer "Should clocking info be wrapped into a drawer? When t, clocking info will always be inserted i

Re: [O] Subtasks are blocked in todo-items of ordered projects. Bug?

2011-06-21 Thread Memnon Anon
Marcel van der Boom writes: [...] > That will allow me to work on the subitems in parallel. Obvious > disadvantage is that the subproject as such can only have a > 'count' or 'percentage' but not a 'state' and thus cannot be tracked > anymore. > > Any other suggestions for a way to work on subit

Re: [O] Subtasks are blocked in todo-items of ordered projects. Bug?

2011-06-21 Thread Bernt Hansen
Marcel van der Boom writes: > On ma 20-jun-2011 19:37 > Bernt Hansen wrote: > >>> Should the first task in a subproject of a project >>> having the ':ORDERED:' property set to true be blocked from marking >>> 'DONE'? If so, why? >> >> I think the answer is yes it should be blocked because the

Re: [O] Subtasks are blocked in todo-items of ordered projects. Bug?

2011-06-21 Thread Marcel van der Boom
On di 21-jun-2011 07:30 Bernt Hansen wrote: > You can also force the task state to DONE with a triple prefix (C-u > C-u C-u C-c C-t d) which will ignore the blocking rules for this state > change. I think I'll use this, sounds the simplest for my usecase. Thanks, marcel -- Marcel van der Boo

Re: [O] Subtasks are blocked in todo-items of ordered projects. Bug?

2011-06-21 Thread Carsten Dominik
On Jun 21, 2011, at 1:40 PM, Marcel van der Boom wrote: > > On di 21-jun-2011 07:30 > Bernt Hansen wrote: > >> You can also force the task state to DONE with a triple prefix (C-u >> C-u C-u C-c C-t d) which will ignore the blocking rules for this state >> change. And one more alternative: If

Re: [O] Subtasks are blocked in todo-items of ordered projects. Bug?

2011-06-21 Thread Carsten Dominik
On Jun 21, 2011, at 1:54 PM, Carsten Dominik wrote: > > On Jun 21, 2011, at 1:40 PM, Marcel van der Boom wrote: > >> >> On di 21-jun-2011 07:30 >> Bernt Hansen wrote: >> >>> You can also force the task state to DONE with a triple prefix (C-u >>> C-u C-u C-c C-t d) which will ignore the block

Re: [O] Org-mode is not able to manage complex calendar events

2011-06-21 Thread Karl Voit
* Eric S Fraga wrote: > Karl Voit writes: > >> * Eric S Fraga wrote: >>> you can clone with time shift whole trees, etc. >> >> Oh, I have to look up that clone thing. This is new to me. Do you >> happen to have an URL for this feature by instance? > > ,[ org-clone-subtree-with-time-shift ]

Re: [O] Org-mode is not able to manage complex calendar events

2011-06-21 Thread Rémi Vanicat
Karl Voit writes: [...] > Sure, org-clone-subtree-with-time-shift is very cool indeed. But it > goes in this direction: > > * Event <2011-06-21 Tue> > * Event <2011-06-28 Tue> > * Event <2011-07-05 Tue> > * Event <2011-07-12 Tue +1w> > > But I aim in a slightly different direct

[O] Double Quotation not translated in sections for LaTeX

2011-06-21 Thread Xin Shi
Hello, I'm using the org-mode 7.5 in Emacs 23.3. I noticed this lines in org: ** ``Internal'' and "External" Example ``Internal'' and "External" Examples in paragraph will result in tex: \section{``Internal'' and "External" Example} \label{sec-1_1} ``Internal'' and ``External'' Example

Re: [O] org-babel -- Improper syntax error in session mode?

2011-06-21 Thread Herbert Sitz
On Mon, Jun 20, 2011 at 5:08 PM, Nick Dokos wrote: > Herbert Sitz wrote: > >> ... (and, it turns out, _avoid_ blank lines in other cases) > > What are those cases? > > Nick > _Every_ spot where a blank line occurs that is followed by "unindented" line of (uncommented) code. By design, the blank

[O] [WISH] Latex WYSIWYG

2011-06-21 Thread Sebastian Berchtold
Hi, my first post here: So big shout outs to all org-mode hackers. Great Stuff! There is one feature I'd really like to have, but i couldn't find anything that does what i want. I guess it's just a small hack, but with my retarded elisp skills it would take me days to implement it. WYSIWYG Late

Re: [O] [PATCH] Subtasks are blocked in todo-items of ordered projects. Bug?

2011-06-21 Thread Marcel van der Boom
On di 21-jun-2011 13:40 Marcel van der Boom wrote: >> You can also force the task state to DONE with a triple prefix (C-u >> C-u C-u C-c C-t d) which will ignore the blocking rules for this >> state change. > I think I'll use this, sounds the simplest for my usecase. On second thought, the pa

Re: [O] Bug: org-reset-checkbox-state-subtree doesn't update checkbox cookies [7.5 (release_7.5.280.ga6e9)]

2011-06-21 Thread Paul Mead
Nicolas Goaziou gmail.com> writes: > > Indeed, I noticed that when working on Paul's report. Issues should be > fixed now. > > Regards, > All working fine now, thanks! Paul

[O] [PATCH] org-latex: Convert quote marks in section headers

2011-06-21 Thread Lawrence Mitchell
* lisp/org-latex.el (org-export-latex-fontify-headline): Convert quotes to their LaTeX equivalents using org-export-latex-quotation-marks. --- Xin Shi wrote: > Hello, > I'm using the org-mode 7.5 in Emacs 23.3. > I noticed this lines in org: > ** ``Internal'' and "External" Example >``Inter

Re: [O] exporting emphasised text (bold, italics etc.) in ORGTBL

2011-06-21 Thread Nick Dokos
Benjamin Slade wrote: > When I'm using orgtbl in the midst of a LaTeX document, is there a way to > tell it to export *bold* > as \textbf{bold}, /italics/ as \textit{italics} etc.? Yes, just like that. For example, the following works fine for me: --8<---cut here---star

Re: [O] org-babel -- Improper syntax error in session mode?

2011-06-21 Thread Herbert Sitz
Thomas S. Dye tsdye.com> writes: > > Aloha Herbert, > > I think you're right about the potential to improve the documentation. > That's an on-going process. Could you suggest some specific changes? > > All the best, > Tom Tom -- I would suggest just adding specific warnings that session-bas

Re: [O] exporting emphasised text (bold, italics etc.) in ORGTBL

2011-06-21 Thread Benjamin Slade
Thanks, Nick. Yes, I understand what you're saying. But what I was wondering is this: orgmode generally interprets *word* as bolding of "word" and /word/ as italicising of "word". So is there a way to make it export *word* as \textbf{word} and /word/ as \textit{word}, when using orgtbl. cheers,

Re: [O] Org-mode is not able to manage complex calendar events

2011-06-21 Thread Eric S Fraga
Karl Voit writes: > * Eric S Fraga wrote: >> Karl Voit writes: >> > >>> * Eric S Fraga wrote: you can clone with time shift whole trees, etc. >>> >>> Oh, I have to look up that clone thing. This is new to me. Do you >>> happen to have an URL for this feature by instance? >> >> ,[ or

Re: [O] org-babel -- Improper syntax error in session mode?

2011-06-21 Thread Thomas S. Dye
Aloha Herb, I think a note to that effect belongs here: http://orgmode.org/manual/session.html#session Perhaps the behavior related to session persistence could be described there, as well. Examples are probably best left to the language-specific documentation, such as it is, at http://orgmode.o

[O] [bug] Latex export of lists (was Re: Problem with BEGIN_SRC export-as-latex and FORTRAN code)

2011-06-21 Thread Eric S Fraga
Nick Papior Andersen writes: > Hi all > > I have attached a sample which produces a wrong output in my org-mode > installation. Both the output TeX file and the org file are attached. > > The wrong doing happens when i do "org-export-as-latex". The output tex file > has removed a certain string l

Re: [O] [WISH] Latex WYSIWYG

2011-06-21 Thread Eric S Fraga
Sebastian Berchtold writes: > Hi, my first post here: So big shout outs to all org-mode hackers. Great > Stuff! > > There is one feature I'd really like to have, but i couldn't find > anything that does what i want. I guess it's just a small hack, but > with my retarded elisp skills it would tak

Re: [O] [bug] Latex export of lists (was Re: Problem with BEGIN_SRC export-as-latex and FORTRAN code)

2011-06-21 Thread Nick Papior Andersen
Hi Eric Thanks. I can see why the new thing would work as it utilizes the listing environment. If the bug is fully removed then great. It shows when the verbatim environment is used in my version. If a newer version of org-mode will ever be used with only the verbatim environment, then what happ

Re: [O] Org-mode is not able to manage complex calendar events

2011-06-21 Thread Karl Voit
* Rémi Vanicat wrote: > Karl Voit writes: > > >> Sure, org-clone-subtree-with-time-shift is very cool indeed. But it >> goes in this direction: >> >> * Event <2011-06-21 Tue> >> * Event <2011-06-28 Tue> >> * Event <2011-07-05 Tue> >> * Event <2011-07-12 Tue +1w> >> >> But I aim in

Re: [O] Org-mode is not able to manage complex calendar events

2011-06-21 Thread Karl Voit
* Eric S Fraga wrote: > Karl Voit writes: > > Better yet, however, is to update the documentation yourself and submit > a patch! Pulled the current Org-mode files, read the contribution instructions[1], found the spot where the information should go and ... boom: ,[ http://orgmode.org/org.h

Re: [O] org-babel -- Improper syntax error in session mode?

2011-06-21 Thread Herbert Sitz
Thomas S. Dye tsdye.com> writes: > > Aloha Herb, > > [ . . . ] > > Is it the case that the Ruby and Perl interpreters won't run code that > does run in non-session mode? > > All the best, > Tom > Tom -- I don't know about Ruby and Perl, have only done some basic testing in Ruby and it work

Re: [O] question about :results scalar

2011-06-21 Thread Robert McIntyre
Excellent --- I'm glad that the interaction with emacs-lisp is straightened out! I've been continuing working with source blocks and the same problem seems to be present with clojure interaction. #+begin_src clojure :exports both :results scalar (ns whatever) (defn works? [] true) #+end_src #+re

Re: [O] Problem with BEGIN_SRC export-as-latex and FORTRAN code

2011-06-21 Thread Eric Schulte
Hi Nick, I think the solution to your problem may be simply to update to the latest version of Org-mode, I get the following output when exporting your example to LaTeX. --8<---cut here---start->8--- \section{Test} \label{sec-1} \begin{enumerate} \item Try an

Re: [O] org-babel -- Improper syntax error in session mode?

2011-06-21 Thread Eric Schulte
Herbert Sitz writes: > Thomas S. Dye tsdye.com> writes: >> >> Aloha Herbert, >> >> I think you're right about the potential to improve the documentation. >> That's an on-going process. Could you suggest some specific changes? >> >> All the best, >> Tom > > Tom -- > > I would suggest just ad

Re: [O] question about :results scalar

2011-06-21 Thread Eric Schulte
Hi Robert, I've added "verbatim" to the Emacs-lisp support. The attached patch should fix the Clojure behavior as well, however since I no longer have a working clojure install on my system, would you mind confirming it's behavior before I push it to the git repository? Thanks -- Eric >From 3d8

Re: [O] org-babel -- Improper syntax error in session mode?

2011-06-21 Thread Eric Schulte
Hi Herb, I think we're agreed that the documentation should be updated, which I've just done. As for your proposed solution. You are suggesting that code to be run "interactively" should be written to an external file then loaded into the interactive session. This would certainly work around th

Re: [O] [bug] Latex export of lists (was Re: Problem with BEGIN_SRC export-as-latex and FORTRAN code)

2011-06-21 Thread Nick Papior Andersen
I puzzled with it... And finally got it working... Wasn't a pretty work around! Well it all works now! Thanks for this! I can see your point on the babel stuff.. :) Kind regards Nick 2011/6/21 Eric S Fraga > Nick Papior Andersen writes: > > > Hi Eric > > > > Thanks. > > > > I can see why the

Re: [O] [bug] Latex export of lists (was Re: Problem with BEGIN_SRC export-as-latex and FORTRAN code)

2011-06-21 Thread Eric S Fraga
Nick Papior Andersen writes: > Hi Eric > > Thanks. > > I can see why the new thing would work as it utilizes the listing > environment. If the bug is fully removed then great. > > It shows when the verbatim environment is used in my version. If a newer > version of org-mode will ever be used with

[O] How to highlight the LaTeX fragments inside orgmode

2011-06-21 Thread Xin Shi
Hello, I'm looking for a way to highlight the syntax of the LaTeX fragments inside orgmode. I have tried to put the LaTeX parts into: #+BEGIN_SRC LaTeX #+END_SRC But the output tex file will have the \begin{verbatim} \end{verbatim} surrounding the parts. I'm wondering if it's possible to #+BEG

Re: [O] org-babel -- Improper syntax error in session mode?

2011-06-21 Thread Eric Schulte
t...@tsdye.com (Thomas S. Dye) writes: > Aloha Herb, > > I think a note to that effect belongs here: > http://orgmode.org/manual/session.html#session > > Perhaps the behavior related to session persistence could be described > there, as well. > > Examples are probably best left to the language-spe

Re: [O] [bug] Latex export of lists (was Re: Problem with BEGIN_SRC export-as-latex and FORTRAN code)

2011-06-21 Thread Eric Schulte
> >> I have speculated whether the error is due to fortran is not in >> language list. >> http://orgmode.org/worg/org-contrib/babel/languages.html > > I doubt it. #+begin_src ... #+end_src is somewhat generic; it's only > when you want babel to interpret the code that the language has to be > reco

Re: [O] How to highlight the LaTeX fragments inside orgmode

2011-06-21 Thread Eric Schulte
Xin Shi writes: > Hello, > > I'm looking for a way to highlight the syntax of the LaTeX fragments inside > orgmode. > > I have tried to put the LaTeX parts into: > > #+BEGIN_SRC LaTeX > #+END_SRC > > But the output tex file will have the > \begin{verbatim} > \end{verbatim} > > surrounding the par

[O] [babel] How to set multiple variables with properties

2011-06-21 Thread Darlan Cavalcante Moreira
I'm using org-babel to automate a few tasks and I'd like to define a few variables that are common to several code blocks as sub-tree properties. It works when I have only one variable, where I can use --8<---cut here---start->8--- * Heading :PROPERTY: :var

Re: [O] [babel] How to set multiple variables with properties

2011-06-21 Thread Eric Schulte
Unfortunately org-mode properties only allow a single entry for any given key, so you can only specify one variable using properties. However the following workaround does exist. *** alternative :PROPERTIES: :var: vars=variables :END: #+tblname: variables | var1 | 1 | | var2 | 2

Re: [O] How to highlight the LaTeX fragments inside orgmode

2011-06-21 Thread Xin Shi
Hi Eric, Thanks for your reply! I added these two lines into .emacs and it worked! (require 'ob-latex) (setq org-src-fontify-natively t) However, I noticed something else is broken with the ob-latex: The C-c C-e d (export to PDF and open the PDF file) is no longer working. Maybe a bug in 7.5?

Re: [O] How to highlight the LaTeX fragments inside orgmode

2011-06-21 Thread Nick Dokos
Xin Shi wrote: > > However, I noticed something else is broken with the ob-latex: > > The C-c C-e d (export to PDF and open the PDF file) is no longer working. > Maybe a bug in 7.5?  > Works fine here: Org-mode version 7.5 (baseline.324.ga0bc.dirty) Nick

Re: [O] How to highlight the LaTeX fragments inside orgmode

2011-06-21 Thread Xin Shi
Thanks. Maybe it's just not working here. Also, I got this question every time: Evaluate this latex code block on your system? (y or n) Are there anyway to turn accept all? Xin On Tue, Jun 21, 2011 at 4:49 PM, Nick Dokos wrote: > Xin Shi wrote: > > > > > However, I noticed something else

Re: [O] [babel] How to set multiple variables with properties

2011-06-21 Thread Eric Schulte
Hi Christian, That's the first I've heard of that variable? If you do get something working with multivalued properties please do share. Cheers -- Eric Christian Moe writes: > Hi, Eric, > > Just curious: What about the org-entry--multivalued-property functions > mentioned in "Using the proper

Re: [O] How to highlight the LaTeX fragments inside orgmode

2011-06-21 Thread chris . m . malone
Hi Xin, I have the following line in my .emacs file: (setq org-confirm-babel-evaluate nil) This, I think, turns off asking for evaluation for all languages. Not sure if it can be done on a language specific basis or not. Chris On Jun 21, 2011 4:56pm, Xin Shi wrote: Thanks. Maybe it's just

Re: [O] [bug] Latex export of lists (was Re: Problem with BEGIN_SRC export-as-latex and FORTRAN code)

2011-06-21 Thread Nicolas Goaziou
Hello, Eric S Fraga writes: > Very true. I missed this. Given the indentation, the listing should > indeed belong to the enumeration item. > > Nicolas? If I export this: - * Test 1. Try and use =org-export-as-latex=, it will produce error segment. #+BEGIN_SRC C MODULE m_global_prec

Re: [O] [babel] How to set multiple variables with properties

2011-06-21 Thread Christian Moe
Hi, Eric, Just curious: What about the org-entry--multivalued-property functions mentioned in "Using the properties API"? Is anybody using multivalued properties for anything? Yours, Christian On 6/21/11 10:17 PM, Eric Schulte wrote: Unfortunately org-mode properties only allow a single en

Re: [O] How to highlight the LaTeX fragments inside orgmode

2011-06-21 Thread Xin Shi
Thank you! P.S. Although this works, I still think for my purpose of just want to see the syntax of the LaTeX highlight, this "begin_src latex" might be a bit overkill. It would be nice the begin_latex have the option to do this job. Xin On Tue, Jun 21, 2011 at 5:05 PM, Eric Schulte wrote: >

Re: [O] How to highlight the LaTeX fragments inside orgmode

2011-06-21 Thread Eric Schulte
Xin Shi writes: > Thanks. Maybe it's just not working here. > > Also, I got this question every time: > > Evaluate this latex code block on your system? (y or n) > > Are there anyway to turn accept all? > the following will disable this prompt (setq org-confirm-babel-evaluate nil) Best -- Eric

[O] Make M-up and M-down transpose paragraphs in org buffers

2011-06-21 Thread Paul Sexton
By default, if used within ordinary paragraphs in org mode, M-up and M-down transpose *lines* (not sentences). This was not useful to me. The following code makes these keys transpose paragraphs, keeping the point at the start of the moved paragraph. Behaviour in tables and headings is unaffected

Re: [O] [babel] How to set multiple variables with properties

2011-06-21 Thread Darlan Cavalcante Moreira
Thanks Eric, I'll minimize the need of this by using "#+babel: var=something" for variables that are common to many blocks. The tip with the table is a good one also. -- Darlan Cavalcante At Tue, 21 Jun 2011 13:17:17 -0700, Eric Schulte wrote: > > Unfortunately org-mode properties only allow