Re: [O] :noweb header argument

2012-01-10 Thread Andreas Leha
Sebastien Vauban wxhgmqzgw...@spammotel.com writes: [...] I think it might be good to have a parameter that expands noweb references on evaluation and tangling, but leaves them alone during export. This way the code block would be fully functional, but wouldn't duplicate code during export

Re: [O] Unable to unfold a folded block having point directly after the folded block

2012-01-10 Thread Rainer Stengele
Am 04.01.2012 11:27, schrieb Bastien: Hi Rainer, Rainer Stengele rainer.steng...@online.de writes: I just pulled and checked but cannot see a change. Did you check in the fix already? Yes I did. Try with (setq org-special-ctrl-a/e nil) C-e goes *after* the end of the

Re: [O] [Orgmode] Automatic screenshot insertion

2012-01-10 Thread Eric S Fraga
pin...@iro.umontreal.ca (François Pinard) writes: [...] Hi, Eric. Sorry. Here is a quick correction for that problem. This is only this week that I plan to use that function for actual work; last week was rather an exploration of the capability of various tools. Of course, do not

[O] S-tab in source blocks

2012-01-10 Thread Andreas Leha
Hi all, is it possible to make S-tab call the global org-cycle when the point is in a source block? Best, Andreas

Re: [O] if both schedule and deadline, appear only once in agenda

2012-01-10 Thread Detlef Steuer
On Fri, 12 Oct 2007 14:36:42 +0100 Bastien b...@altern.org wrote: Gijs Hillenius g...@hillenius.net writes: But maybe I should not :-). But here goes: I plan to start working on an item by date X - schedule stamp. The item has a deadline, so - deadline. For that I use

[O] Symbol's function definition is void: org-write-agenda

2012-01-10 Thread Karl Voit
Hi! I am using Org-mode from git and do face a problem when using a function that previously worked for a couple of weeks without any problem: Error-Message: #+begin_verse vk-export-agenda: Symbol's function definition is void: org-write-agenda #+end_verse #+begin_src emacs-lisp (defun

Re: [O] :noweb header argument

2012-01-10 Thread Eric S Fraga
Sebastien Vauban wxhgmqzgw...@spammotel.com writes: [...] Some time after that, we had block names in the HTML/PDF output, but not anymore. I've been wondering about this for some time. The appearance of source code block names in exported latex output comes and goes in what appears to me as

Re: [O] Symbol's function definition is void: org-write-agenda

2012-01-10 Thread Bastien
Hi Karl, Karl Voit devn...@karl-voit.at writes: I am using Org-mode from git and do face a problem when using a function that previously worked for a couple of weeks without any problem: Error-Message: #+begin_verse vk-export-agenda: Symbol's function definition is void: org-write-agenda

Re: [O] Symbol's function definition is void: org-write-agenda

2012-01-10 Thread Karl Voit
* Bastien b...@altern.org wrote: Hi Karl, Hi! Karl Voit devn...@karl-voit.at writes: vk-export-agenda: Symbol's function definition is void: org-write-agenda `org-write-agenda' has been renamed to `org-agenda-write', please update your code. Thanks for the hint! Missed in in the change

Re: [O] Symbol's function definition is void: org-write-agenda

2012-01-10 Thread Bastien
Karl Voit devn...@karl-voit.at writes: `org-write-agenda' has been renamed to `org-agenda-write', please update your code. Thanks for the hint! Missed in in the change notes ... You didn't miss anything -- this change is in current git HEAD, which used not to be advertised in

Re: [O] inline src_R also in latex src block

2012-01-10 Thread Michael Bach
Eric Schulte eric.schu...@gmx.com writes: I don't know of a way to evaluate inline code blocks which are already inside of regular code blocks. Thanks for your thoughts on this, Eric. This would be *really* convenient for me. Too bad the christmas wishlist was processed already. You

Re: [O] S-tab in source blocks

2012-01-10 Thread Bernt Hansen
Andreas Leha andreas.l...@med.uni-goettingen.de writes: is it possible to make S-tab call the global org-cycle when the point is in a source block? Yes, (setq org-src-tab-acts-natively nil) Regards, Bernt

Re: [O] S-tab in source blocks

2012-01-10 Thread Andreas Leha
Bernt Hansen be...@norang.ca writes: Andreas Leha andreas.l...@med.uni-goettingen.de writes: is it possible to make S-tab call the global org-cycle when the point is in a source block? Yes, (setq org-src-tab-acts-natively nil) Regards, Bernt Hi Bernt, thanks. But that disables tab

Re: [O] S-tab in source blocks

2012-01-10 Thread Bastien
Bernt Hansen be...@norang.ca writes: Andreas Leha andreas.l...@med.uni-goettingen.de writes: is it possible to make S-tab call the global org-cycle when the point is in a source block? Yes, (setq org-src-tab-acts-natively nil) Still, we could have TAB indent code in source blocks, and

Re: [O] inline src_R also in latex src block

2012-01-10 Thread Andreas Leha
Michael Bach pha...@gmail.com writes: Eric Schulte eric.schu...@gmx.com writes: I don't know of a way to evaluate inline code blocks which are already inside of regular code blocks. Thanks for your thoughts on this, Eric. This would be *really* convenient for me. Too bad the christmas

[O] org-preview-latex-fragment does not include #+LaTeX_CLASS definition

2012-01-10 Thread Michael Bach
Hello everyone, org-mode version 7.8.02 When doing `org-preview-latex-fragment' on a buffer with custom set #+LaTeX_CLASS and some #+LATEX_HEADER lines, the pdflatex process to create the ltxpng/*.png images fails e.g. with: Failed to create dvi file from /tmp/orgtex1650tNa.tex Now when I

Re: [O] [Orgmode] Automatic screenshot insertion

2012-01-10 Thread François Pinard
Eric S Fraga e.fr...@ucl.ac.uk writes: Hi again, Eric. I'll be using your corrections on the code, thanks! I had to add a call to expand-file-name for getting a file name which worked on my system for some reason. (make-temp-name (expand-file-name (concat (file-name-as-directory

Re: [O] Capitalisation and good taste ?

2012-01-10 Thread François Pinard
Nick Dokos nicholas.do...@hp.com writes: François Pinard pin...@iro.umontreal.ca wrote: P.P.S. How about amending the manual for consistent capitalization? Knock yourself out! ;-) I've absolutely nothing against doing that little work myself (that one is easy enough!), besides the idea

Re: [O] :noweb header argument

2012-01-10 Thread Thomas S. Dye
Hi Seb, Sebastien Vauban wxhgmqzgw...@spammotel.com writes: Hi Thomas, Thomas S. Dye wrote: Is there a difference between :noweb tangle and :noweb no? Yes: :noweb no is the default, and must *not expand* anything. Based on the documentation and some limited testing, I made the following

Re: [O] Capitalisation and good taste ?

2012-01-10 Thread Nick Dokos
François Pinard pin...@iro.umontreal.ca wrote: Nick Dokos nicholas.do...@hp.com writes: François Pinard pin...@iro.umontreal.ca wrote: P.P.S. How about amending the manual for consistent capitalization? Knock yourself out! ;-) I've absolutely nothing against doing that little

[O] [PATCH] Revise manual entry for :noweb no

2012-01-10 Thread Thomas S. Dye
Aloha all, The attached patch to the manual is intended to make the description of :noweb no conform to its behavior. All the best, Tom From 7207cdec84daecd31d4e53117c477abaad91bbd1 Mon Sep 17 00:00:00 2001 From: Thomas Dye dk@poto.local Date: Tue, 10 Jan 2012 06:06:49 -1000 Subject: [PATCH] *

Re: [O] :noweb header argument

2012-01-10 Thread Eric Schulte
t...@tsdye.com (Thomas S. Dye) writes: Hi Seb, Sebastien Vauban wxhgmqzgw...@spammotel.com writes: Hi Thomas, Thomas S. Dye wrote: Is there a difference between :noweb tangle and :noweb no? Yes: :noweb no is the default, and must *not expand* anything. Based on the documentation and

Re: [O] [PATCH] Revise manual entry for :noweb no

2012-01-10 Thread Eric Schulte
Applied, Thanks, t...@tsdye.com (Thomas S. Dye) writes: Aloha all, The attached patch to the manual is intended to make the description of :noweb no conform to its behavior. All the best, Tom -- Eric Schulte http://cs.unm.edu/~eschulte/

[O] Diacritics in image file names

2012-01-10 Thread François Pinard
Hi, Org people. It seems that if I use diacritics in file names for included images, and then asks for a PDF rendering of it (through LaTeX), the image does not get included. If I remember correctly, I only get a big hollow square, with the textual name of the image file (rather than the image)

Re: [O] [Orgmode] Automatic screenshot insertion

2012-01-10 Thread Eric S Fraga
pin...@iro.umontreal.ca (François Pinard) writes: Eric S Fraga e.fr...@ucl.ac.uk writes: Hi again, Eric. I'll be using your corrections on the code, thanks! You're welcome! I had to add a call to expand-file-name for getting a file name which worked on my system for some reason.

Re: [O] Capitalisation and good taste ?

2012-01-10 Thread Tommy Kelly
Hey François, bh I wouldn't spend too much time agonizing over the 'right' way fp Truth is that I've been so agonizing for the whole of my computer fp life! Each one his sickness, I guess... :-) I understand your pain. Have you read The Paradox of Choice by Bary Schwartz? Sounds as if you

Re: [O] :noweb header argument

2012-01-10 Thread Thomas S. Dye
Hi Eric, Eric Schulte eric.schu...@gmx.com writes: t...@tsdye.com (Thomas S. Dye) writes: Hi Seb, Sebastien Vauban wxhgmqzgw...@spammotel.com writes: Hi Thomas, Thomas S. Dye wrote: Is there a difference between :noweb tangle and :noweb no? Yes: :noweb no is the default, and must

Re: [O] [Orgmode] Automatic screenshot insertion

2012-01-10 Thread François Pinard
Eric S Fraga e.fr...@ucl.ac.uk writes: I appreciate your reasoning in each case I've elided but, in the end, the different versions or approaches you mention are all essentially equivalent (computationally)... :-) Who cares about computation! :-) Some sad people think of me as a programmer.

[O] [org-babel] break when used with header in emacs 22.3

2012-01-10 Thread d . tchin
Hi, I would like to report a problem of evalation when org-babel is used with emacs 22.3 on windows and recent org-mode 7.8.03. I use the following code : #+begin_src sh :results silent ls #+end_src It breaks when a header is used. When evaluated with C-c C-c, the following message appears

Re: [O] Capitalisation and good taste ?

2012-01-10 Thread Bastien
Hi François, pin...@iro.umontreal.ca (François Pinard) writes: P.P.S. How about amending the manual for consistent capitalization? I've pushed a fix for this. The manual used mostly uppercase so I fixed the few lowercase instances of option/environment keywords. I made an exception for

Re: [O] Capitalisation and good taste ?

2012-01-10 Thread Eric Schulte
Bastien b...@altern.org writes: Hi François, pin...@iro.umontreal.ca (François Pinard) writes: P.P.S. How about amending the manual for consistent capitalization? I've pushed a fix for this. The manual used mostly uppercase so I fixed the few lowercase instances of option/environment

Re: [O] [Orgmode] Automatic screenshot insertion

2012-01-10 Thread Skip Collins
2012/1/10 François Pinard pin...@iro.umontreal.ca: Some sad people think of me as a programmer.  While deep down, I am fundamentally an artist.  Programming is mere mean of expression :-). You and Jambunathan K. should form a club.

Re: [O] Capitalisation and good taste ?

2012-01-10 Thread Bastien
Eric Schulte eric.schu...@gmx.com writes: That said I'm happy that Org-mode is forgiving enough to allow me to lowercase most of my keywords locally. Actually, I'm thinking of another solution: - keep one-line option/environment keywords uppercase #+NAME #+HTML #+TITLE #+... - use

Re: [O] [org-babel] break when used with header in emacs 22.3

2012-01-10 Thread Eric Schulte
d.tchin d.tc...@voila.fr writes: Hi, I would like to report a problem of evalation when org-babel is used with emacs 22.3 on windows and recent org-mode 7.8.03. I use the following code : #+begin_src sh :results silent ls #+end_src It breaks when a header is used. When evaluated

Re: [O] [org-babel] break when used with header in emacs 22.3

2012-01-10 Thread d . tchin
Eric Schulte eric.schulte at gmx.com writes: This same issue was raised recently on the mailing list and (I believe) a patch has been pushed to the git repository. Would you mind checking if the problem persists in the git head? I download org-latest.zip archive and test it. This version

Re: [O] Capitalisation and good taste ?

2012-01-10 Thread François Pinard
Bastien b...@altern.org writes: Eric Schulte eric.schu...@gmx.com writes: That said I'm happy that Org-mode is forgiving enough to allow me to lowercase most of my keywords locally. Actually, I'm thinking of another solution: - keep one-line option/environment keywords uppercase #+NAME

Re: [O] [org-babel] break when used with header in emacs 22.3

2012-01-10 Thread Bastien
d.tchin d.tc...@voila.fr writes: I have the following message when I stroke C-c a a. Press key for agenda command: let*: Symbol's value as variable is void: diary-list-entries-hook Fixed in the git HEAD. Please download org-latest.zip in 24 hours or use the git repo. PS: the problem was

Re: [O] [Orgmode] Automatic screenshot insertion

2012-01-10 Thread Eric S Fraga
pin...@iro.umontreal.ca (François Pinard) writes: Some sad people think of me as a programmer. While deep down, I am fundamentally an artist. Programming is mere mean of expression :-). Hence: D Knuth: The Art of computer programming

Re: [O] Capitalisation and good taste ?

2012-01-10 Thread Martyn Jago
pin...@iro.umontreal.ca (François Pinard) writes: Bastien b...@altern.org writes: Eric Schulte eric.schu...@gmx.com writes: That said I'm happy that Org-mode is forgiving enough to allow me to lowercase most of my keywords locally. Actually, I'm thinking of another solution: - keep

Re: [O] :noweb header argument

2012-01-10 Thread Eric S Fraga
Eric Schulte eric.schu...@gmx.com writes: t...@tsdye.com (Thomas S. Dye) writes: [...] Alternatively for LaTeX, some way to wrap exported code blocks in a \begin{listing} ... \end{listing} environment, complete with caption and label. This way the code block name could appear in the

[O] org-property-accumulation tests broken

2012-01-10 Thread Martyn Jago
Just a testing head's up... commit f1043a53cc46d2ce2e578d3cb498f895dc65f1ff breaks the tests. FAILED test-org-property-accumulation-append-use FAILED test-org-property-accumulation-append-val FAILED test-org-property-accumulation-top-use FAILED

Re: [O] Minor org mode for achieve code folding effects

2012-01-10 Thread Eric S Fraga
Giovanni Giorgi j...@gioorgi.com writes: Hi all, I'd like to edit some ruby/python/shell script using functions folding. I'd like to get a way to fold functions or method. Carsten has already given you one possible solution; another is to use org + babel with tangling to have each

Re: [O] text background when exporting as HTML

2012-01-10 Thread Eric S Fraga
David Rogoff da...@therogoffs.com writes: Hi all. I'm using orgmode for outlines and documentation. Since no one else I work with does this, I export to HTML which generally works fine. However, I've got a problem with embedded code samples using #+BEGIN_SRC / #+END_SRC. The faces for

Re: [O] Capitalisation and good taste ?

2012-01-10 Thread Eric S Fraga
pin...@iro.umontreal.ca (François Pinard) writes: Hi, Org people. I really have mixed feelings about capitalisation of #+WORDS, and wonder if some consensus and good taste has developed over time among Org mode users. What is the collective wisdom saying as being nicer among: [...] Maybe

Re: [O] text background when exporting as HTML

2012-01-10 Thread David Rogoff
Hi all. I'm using orgmode for outlines and documentation. Since no one else I work with does this, I export to HTML which generally works fine. However, I've got a problem with embedded code samples using #+BEGIN_SRC / #+END_SRC. The faces for the source code are set up for a black

Re: [O] Capitalisation and good taste ?

2012-01-10 Thread Eric S Fraga
pin...@iro.umontreal.ca (François Pinard) writes: [...] Should I say, I notice a strong correlation between rotten software and the lack of attention to such details. I'm not saying that avoiding trailing white space is a guarantee of good software. But I'm saying that people unwilling to

Re: [O] Minor org mode for achieve code folding effects

2012-01-10 Thread Leo Alekseyev
On Tue, Jan 10, 2012 at 3:08 PM, Eric S Fraga e.fr...@ucl.ac.uk wrote: Giovanni Giorgi j...@gioorgi.com writes: Hi all,  I'd like to edit some ruby/python/shell script using functions folding. I'd like to get a way to fold functions or method. Carsten has already given you one possible

Re: [O] inline src_R also in latex src block

2012-01-10 Thread Michael Bach
Andreas Leha andreas.l...@med.uni-goettingen.de writes: would this noweb-based approach work for you: #+name: inner_test #+begin_src R 4 + 4 #+end_src #+name: test #+begin_src latex :noweb yes \begin{equation} inner_test() \end{equation} #+end_src Yes, that works. Thanks

Re: [O] Capitalisation and good taste ?

2012-01-10 Thread Sankalp
2012/1/11 Eric S Fraga e.fr...@ucl.ac.uk pin...@iro.umontreal.ca (François Pinard) writes: [...] Should I say, I notice a strong correlation between rotten software and the lack of attention to such details. I'm not saying that avoiding trailing white space is a guarantee of good

Re: [O] Minor org mode for achieve code folding effects

2012-01-10 Thread David Rogoff
Carlos Russo mestre.adamastor at gmail.com writes: I have used both Carsten's and Eric's solution, as well as hideshow-org (https://github.com/secelis/hideshow-org), which works rather well and deserves a mention. Expanding a bit on Carsten's post: Tassilo Horn wrote some convenience functions

Re: [O] Minor org mode for achieve code folding effects

2012-01-10 Thread David Rogoff
David Rogoff January 10, 2012 4:34 PM Carlos Russo mestre.adamastor at gmail.com writes: I have used both Carsten's and Eric's solution, as well as hideshow-org (https://github.com/secelis/hideshow-org), which works rather well and deserves a mention. Expanding

Re: [O] [BUG] org-agenda-switch-to fails with void function org-pop-to-buffer-same-window

2012-01-10 Thread Jeff Horn
Daniel's solution didn't end up working for some reason. After spending over an hour on it this evening, I couldn't get git-cloned org to work. I was running into an odd problem with 'cyclic variable indirection' or something like that. In a trouble-shooting step, I moved the git-cloned org out of

[O] Org exports leaking into each other?

2012-01-10 Thread Frozenlock
I'm trying to do simultaneous exports of an org document by doing the following: #+begin_src emacs-lisp (org-export-as-ascii org-export-headline-levels) (org-export-as-html org-export-headline-levels) #+end_src Each export done manually is fine, but when done like my code, the .txt file seems to

Re: [O] [Orgmode] Automatic screenshot insertion

2012-01-10 Thread Jambunathan K
Skip Collins skip.coll...@gmail.com writes: 2012/1/10 François Pinard pin...@iro.umontreal.ca: Some sad people think of me as a programmer.  While deep down, I am fundamentally an artist.  Programming is mere mean of expression :-). You and Jambunathan K. should form a club. Since I am

Re: [O] Minor org mode for achieve code folding effects

2012-01-10 Thread Leo Alekseyev
On Tue, Jan 10, 2012 at 7:21 PM, David Rogoff da...@therogoffs.com wrote: David Rogoff da...@therogoffs.com January 10, 2012 4:34 PM Carlos Russo mestre.adamastor at gmail.com writes: I have used both Carsten's and Eric's solution, as well as hideshow-org

[O] Org-edit-special and C-x C-s strange behavior

2012-01-10 Thread Leo Alekseyev
I often edit my org-babel code blocks via org-edit-special (C-'), in part because I find the tabbing behavior within the code blocks to be somewhat flaky. Inevitably, when editing the code block I will press C-x C-s (muscle memory). This causes all sorts of annoying consequences: the buffer with

Re: [O] Minor org mode for achieve code folding effects

2012-01-10 Thread Tassilo Horn
Leo Alekseyev dnqu...@gmail.com writes: I've done a little bit of digging into how Tassilo's code works, and realized that it's somewhat broken in the following way: if a mode provides its own outline-level function, chances are, his code will break (this is why c-mode doesn't work). Even if

Re: [O] Capitalisation and good taste ?

2012-01-10 Thread Sebastien Vauban
Hi Bastien, François Pinard wrote: Bastien b...@altern.org writes: Eric Schulte eric.schu...@gmx.com writes: That said I'm happy that Org-mode is forgiving enough to allow me to lowercase most of my keywords locally. Actually, I'm thinking of another solution: - keep one-line

Re: [O] inline src_R also in latex src block

2012-01-10 Thread Sebastien Vauban
Hi Michael, Michael Bach wrote: Andreas Leha andreas.l...@med.uni-goettingen.de writes: would this noweb-based approach work for you: #+name: inner_test #+begin_src R 4 + 4 #+end_src #+name: test #+begin_src latex :noweb yes \begin{equation} inner_test() \end{equation}