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 hs...@nwlink.com writes: Eric Schulte schulte.eric at gmail.com writes: Babel sessions explicitly are

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 necessary,

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 carsten.domi...@gmail.com 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 the

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 be...@norang.ca 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

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

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

2011-06-21 Thread Memnon Anon
Marcel van der Boom mar...@hsdev.com 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

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

2011-06-21 Thread Bernt Hansen
Marcel van der Boom mar...@hsdev.com writes: On ma 20-jun-2011 19:37 Bernt Hansen be...@norang.ca 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

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 be...@norang.ca 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 --

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 be...@norang.ca 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

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 be...@norang.ca 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

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

2011-06-21 Thread Karl Voit
* Eric S Fraga e.fr...@ucl.ac.uk wrote: Karl Voit devn...@karl-voit.at writes: * Eric S Fraga e.fr...@ucl.ac.uk 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?

[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'' Examples in

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 nicholas.do...@hp.com wrote: Herbert Sitz hs...@nwlink.com 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)

[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

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 mar...@hsdev.com 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

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 n.goaziou at 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 ``Internal''

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

2011-06-21 Thread Nick Dokos
Benjamin Slade sl...@jnanam.net 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

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

2011-06-21 Thread Herbert Sitz
Thomas S. Dye tsd at 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-based

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 devn...@karl-voit.at writes: * Eric S Fraga e.fr...@ucl.ac.uk wrote: Karl Voit devn...@karl-voit.at writes: * Eric S Fraga e.fr...@ucl.ac.uk 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

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

[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 nickpap...@gmail.com 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

Re: [O] [WISH] Latex WYSIWYG

2011-06-21 Thread Eric S Fraga
Sebastian Berchtold sebastian.bercht...@campus.lmu.de 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

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

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

2011-06-21 Thread Karl Voit
* Rémi Vanicat vani...@debian.org wrote: Karl Voit devn...@karl-voit.at 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

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

2011-06-21 Thread Karl Voit
* Eric S Fraga e.fr...@ucl.ac.uk wrote: Karl Voit devn...@karl-voit.at 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 ...

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

2011-06-21 Thread Herbert Sitz
Thomas S. Dye tsd at 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 works

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: [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 and

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

2011-06-21 Thread Eric Schulte
Herbert Sitz hs...@nwlink.com writes: Thomas S. Dye tsd at 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

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

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 the

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 e.fr...@ucl.ac.uk Nick Papior Andersen nickpap...@gmail.com writes: Hi Eric

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 nickpap...@gmail.com 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

[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

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 recognised. I

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

2011-06-21 Thread Eric Schulte
Xin Shi shixin...@gmail.com 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

[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 |

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 shixin...@gmail.com 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 nicholas.do...@hp.com wrote: Xin Shi shixin...@gmail.com wrote:

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 m...@christianmoe.com writes: Hi, Eric, Just curious: What about the org-entry--multivalued-property functions mentioned in

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 shixin...@gmail.com wrote:

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 e.fr...@ucl.ac.uk 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

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

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

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

2011-06-21 Thread Eric Schulte
Xin Shi shixin...@gmail.com 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)

[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

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 a