Re: [O] [babel] Commenting out src blocks for tangling

2013-10-21 Thread Alan Schmitt
schulte.e...@gmail.com writes: Alan Schmitt alan.schm...@polytechnique.org writes: Hi Eric, schulte.e...@gmail.com writes: I see that hello subtree is tangled. Does it mean that to comment a whole tree I need to comment every subtree (recursively)? Thanks, Alan I just pushed up a

Re: [O] [babel] Commenting out src blocks for tangling

2013-10-20 Thread Alan Schmitt
Hi Eric, schulte.e...@gmail.com writes: I see that hello subtree is tangled. Does it mean that to comment a whole tree I need to comment every subtree (recursively)? Thanks, Alan I just pushed up a fix, thanks for catching this bug. I'm sorry, but I think there is a bug with the fix.

Re: [O] [babel] Commenting out src blocks for tangling

2013-10-20 Thread Eric Schulte
Alan Schmitt alan.schm...@polytechnique.org writes: Hi Eric, schulte.e...@gmail.com writes: I see that hello subtree is tangled. Does it mean that to comment a whole tree I need to comment every subtree (recursively)? Thanks, Alan I just pushed up a fix, thanks for catching this bug.

Re: [O] [babel] Commenting out src blocks for tangling

2013-10-19 Thread Alan Schmitt
schulte.e...@gmail.com writes: I just tried it with my init file and it did not work. Here is a minimal example. Save this as test.org: --8---cut here---start-8--- * Testing #+BEGIN_SRC emacs-lisp (message hello world) #+END_SRC * COMMENT Commenting

Re: [O] [babel] Commenting out src blocks for tangling

2013-10-19 Thread Eric Schulte
Alan Schmitt alan.schm...@polytechnique.org writes: schulte.e...@gmail.com writes: I just tried it with my init file and it did not work. Here is a minimal example. Save this as test.org: --8---cut here---start-8--- * Testing #+BEGIN_SRC emacs-lisp

Re: [O] [babel] Commenting out src blocks for tangling

2013-10-18 Thread Alan Schmitt
Hello, Sorry to resurrect this old thread, but I cannot make this work. b...@altern.org writes: Rainer M Krug r.m.k...@gmail.com writes: I agree - COMMENTing a subtree should automatically disable tangling of code blocks in the subtree. Would this something which could be introduced

Re: [O] [babel] Commenting out src blocks for tangling

2013-10-18 Thread Eric Schulte
Alan Schmitt alan.schm...@polytechnique.org writes: Hello, Sorry to resurrect this old thread, but I cannot make this work. b...@altern.org writes: Rainer M Krug r.m.k...@gmail.com writes: I agree - COMMENTing a subtree should automatically disable tangling of code blocks in the

Re: [O] [babel] Commenting out src blocks for tangling

2013-03-02 Thread Bastien
Hi Rainer, Rainer M Krug r.m.k...@gmail.com writes: Follow up: would it be possible to have the same mechanism for tangling, i.e. a tag :notangle:? functioning would be equivalent to property tangle: no but more visible and consistent with the :noexport:? One could also define properties

Re: [O] [babel] Commenting out src blocks for tangling

2013-03-02 Thread Charles Berry
Bastien bzg at altern.org writes: Hi Rainer, Rainer M Krug r.m.krug at gmail.com writes: Follow up: would it be possible to have the same mechanism for tangling, i.e. a tag :notangle:? functioning would be equivalent to property tangle: no but more visible and consistent with the

Re: [O] [babel] Commenting out src blocks for tangling

2013-03-02 Thread Bastien
Hi Charles, Charles Berry ccbe...@ucsd.edu writes: Why not use the new exporter, rather than org-babel-tangle? A very nice example on how the new exporter can be useful! Thanks for sharing this, -- Bastien

Re: [O] [babel] Commenting out src blocks for tangling

2013-02-28 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 28/02/13 00:33, Darlan Cavalcante Moreira wrote: I also converted my Emacs configuration to an org-mode file a long time ago and I hit the same spot you did. As you, I initially assumed (wished) that the COMMENT marker would disable

Re: [O] [babel] Commenting out src blocks for tangling

2013-02-28 Thread Bastien
Rainer M Krug r.m.k...@gmail.com writes: I agree - COMMENTing a subtree should automatically disable tangling of code blocks in the subtree. Would this something which could be introduced easily, as it seems there are quite a few who assumed that it would be doing it? This is now the case

Re: [O] [babel] Commenting out src blocks for tangling

2013-02-28 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 28/02/13 10:25, Bastien wrote: Rainer M Krug r.m.k...@gmail.com writes: I agree - COMMENTing a subtree should automatically disable tangling of code blocks in the subtree. Would this something which could be introduced easily, as it seems

Re: [O] [babel] Commenting out src blocks for tangling

2013-02-28 Thread Sebastien Vauban
Bastien, Bastien wrote: Rainer M Krug r.m.k...@gmail.com writes: I agree - COMMENTing a subtree should automatically disable tangling of code blocks in the subtree. Would this something which could be introduced easily, as it seems there are quite a few who assumed that it would be doing

Re: [O] [babel] Commenting out src blocks for tangling

2013-02-28 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 28/02/13 10:30, Sebastien Vauban wrote: Bastien, Bastien wrote: Rainer M Krug r.m.krug-re5jqeeqqe8avxtiumw...@public.gmane.org writes: I agree - COMMENTing a subtree should automatically disable tangling of code blocks in the subtree.

Re: [O] [babel] Commenting out src blocks for tangling

2013-02-28 Thread Sebastien Vauban
Hi Rainer, Rainer M Krug wrote: On 28/02/13 10:30, Sebastien Vauban wrote: Bastien wrote: Rainer M Krug r.m.k...@gmail.com writes: I agree - COMMENTing a subtree should automatically disable tangling of code blocks in the subtree. Would this something which could be introduced easily, as

Re: [O] [babel] Commenting out src blocks for tangling

2013-02-28 Thread Rasmus
Bastien b...@altern.org writes: Rainer M Krug r.m.k...@gmail.com writes: I agree - COMMENTing a subtree should automatically disable tangling of code blocks in the subtree. Would this something which could be introduced easily, as it seems there are quite a few who assumed that it would be

Re: [O] [babel] Commenting out src blocks for tangling

2013-02-28 Thread Bastien
Hi Rasmus, Rasmus ras...@gmx.us writes: Does this ONLY affect tangling or also other code? Only tangling. HTH, -- Bastien

Re: [O] [babel] Commenting out src blocks for tangling

2013-02-28 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 28/02/13 10:47, Sebastien Vauban wrote: Hi Rainer, Rainer M Krug wrote: On 28/02/13 10:30, Sebastien Vauban wrote: Bastien wrote: Rainer M Krug r.m.krug-re5jqeeqqe8avxtiumw...@public.gmane.org writes: I agree - COMMENTing a subtree should

Re: [O] [babel] Commenting out src blocks for tangling

2013-02-28 Thread Bastien
Sebastien Vauban wxhgmqzgwmuf-genee64ty+gs+fvcfc7...@public.gmane.org writes: Bastien wrote: Rainer M Krug r.m.krug-re5jqeeqqe8avxtiumw...@public.gmane.org writes: I agree - COMMENTing a subtree should automatically disable tangling of code blocks in the subtree. Would this something which

Re: [O] [babel] Commenting out src blocks for tangling

2013-02-28 Thread Eric S Fraga
Bastien b...@altern.org writes: Rainer M Krug r.m.k...@gmail.com writes: I agree - COMMENTing a subtree should automatically disable tangling of code blocks in the subtree. Would this something which could be introduced easily, as it seems there are quite a few who assumed that it would

[O] [babel] Commenting out src blocks for tangling

2013-02-27 Thread Eric S Fraga
Hello, I finally bit the bullet and converted by rather convoluted and long emacs startup code to an org file with emacs-lisp code blocks. I then tangle these into the actual code which is loaded by emacs at startup. So far, so good, and it does make it easier for me to navigate around my

Re: [O] [babel] Commenting out src blocks for tangling

2013-02-27 Thread Aaron Ecay
You should be able to set the “tangle” property of the headline to “no” to achieve this effect: see the following section of the manual: (org) Header arguments in Org mode properties It isn’t as easy to manipulate as a tag, perhaps. -- Aaron Ecay

Re: [O] [babel] Commenting out src blocks for tangling

2013-02-27 Thread Eric S Fraga
Aaron Ecay aarone...@gmail.com writes: You should be able to set the “tangle” property of the headline to “no” to achieve this effect: see the following section of the manual: (org) Header arguments in Org mode properties It isn’t as easy to manipulate as a tag, perhaps. Thanks. This does

Re: [O] [babel] Commenting out src blocks for tangling

2013-02-27 Thread Alan L Tyree
Eric S Fraga writes: Hello, I finally bit the bullet and converted by rather convoluted and long emacs startup code to an org file with emacs-lisp code blocks. I then tangle these into the actual code which is loaded by emacs at startup. So far, so good, and it does make it easier for me

Re: [O] [babel] Commenting out src blocks for tangling

2013-02-27 Thread Eric S Fraga
Alan L Tyree alanty...@gmail.com writes: [...] G'day Eric, If I understand your problem correctly, doesn't the property :tangle: do what you want? Yes, thanks; Aaron Ecay has also pointed out to me. It works and does exactly what I said I needed. And you have both been very polite :-) --

Re: [O] [babel] Commenting out src blocks for tangling

2013-02-27 Thread Darlan Cavalcante Moreira
I also converted my Emacs configuration to an org-mode file a long time ago and I hit the same spot you did. As you, I initially assumed (wished) that the COMMENT marker would disable tangling of blocks in that subtree. After that I found out the tangle property, which solves the problem but has