[Orgmode] Re: [Babel] Small problem with tangling

2010-10-15 Thread Sébastien Vauban
Hi Eric, "Eric Schulte" wrote: > Sébastien Vauban writes: >> I understand the need for creating links automatically to sections which >> host code blocks. >> >> However, I don't understand that tangling the *only* code block I have in >> an entire Org file does add ID in *every* section. Shouldn'

Re: [Orgmode] Re: [Babel] Small problem with tangling

2010-10-14 Thread Eric Schulte
Hi Seb, I fully agree with your point, I believe I've just pushed up a fix for this issue. This commit includes a short function with a long name `ob-tangle/no-excessive-id-insertion-on-tangle' in test-ob-tangle.el. Best -- Eric Sébastien Vauban writes: > Hi Eric, > > "Eric Schulte" wrote: >>

[Orgmode] Re: [Babel] Small problem with tangling

2010-10-14 Thread Sébastien Vauban
Hi Eric, "Eric Schulte" wrote: > Sébastien Vauban writes: >> "Eric Schulte" wrote: [...] empty first line that's always inserted at the beginning of the file. What should I do to get rid of that first *empty* line? >>> >>> The following inhibits the insertion of blank lines on tangling.

Re: [Orgmode] Re: [Babel] Small problem with tangling

2010-10-14 Thread Eric Schulte
Sébastien Vauban writes: > Hi Eric, > > "Eric Schulte" wrote: >>> [...] empty first line that's always inserted at the beginning of the file. >>> What should I do to get rid of that first *empty* line? >> >> The following inhibits the insertion of blank lines on tangling. >> >> (setq org-babel-

[Orgmode] Re: [Babel] Small problem with tangling

2010-10-14 Thread Sébastien Vauban
Hi Eric, "Eric Schulte" wrote: >> [...] empty first line that's always inserted at the beginning of the file. >> What should I do to get rid of that first *empty* line? > > The following inhibits the insertion of blank lines on tangling. > > (setq org-babel-tangle-pad-newline nil) Of course, th