Re: [O] [Babel] Buffer-wide properties ignored ...
Hi Aditya, aditya siram wrote: It appears as though buffer wide properties are ignored when tangling source blocks. This is easily reproducible by add a `#+PROPERTY: :padlines no` to the top of the file and tangling something. The source has padlines. I tried variations on including `#+PROPERTY: padlines no` and `#+PROPERTY: header-args: padlines-no` with the same result. Could you send an ECM [1], please? Best regards, Seb [1] Exemple Complet Minimal, or Minimal Working Example. -- Sebastien Vauban
Re: [O] [Babel] Buffer-wide properties ignored ...
Here's the org-file with padlines set to no up top: #+PROPERTY: :padlines no * Headline #+BEGIN_SRC c :tangle /tmp/padlines-test.c :comments link hello world #+END_SRC And the tangle file: /* [[file:/tmp/padlines-test.org::*Headline][Headline:1]] */ hello world /* Headline:1 ends here */ On Wed, Sep 18, 2013 at 2:31 AM, Sebastien Vauban sva-n...@mygooglest.comwrote: Hi Aditya, aditya siram wrote: It appears as though buffer wide properties are ignored when tangling source blocks. This is easily reproducible by add a `#+PROPERTY: :padlines no` to the top of the file and tangling something. The source has padlines. I tried variations on including `#+PROPERTY: padlines no` and `#+PROPERTY: header-args: padlines-no` with the same result. Could you send an ECM [1], please? Best regards, Seb [1] Exemple Complet Minimal, or Minimal Working Example. -- Sebastien Vauban
Re: [O] [Babel] Buffer-wide properties ignored ...
aditya siram wrote: Here's the org-file with padlines set to no up top: #+PROPERTY: :padlines no ^ Try without the :... * Headline #+BEGIN_SRC c :tangle /tmp/padlines-test.c :comments link hello world #+END_SRC And the tangle file: /* [[file:/tmp/padlines-test.org::*Headline][Headline:1]] */ hello world /* Headline:1 ends here */ You see why an ECM is sometimes the best way to find a problem... Best regards, Seb -- Sebastien Vauban
Re: [O] [Babel] Buffer-wide properties ignored ...
I tried `#+PROPERTY :padlines no` , `#+PROPERTY: padlines no` and `#+PROPERTY padlines no` all with the same result. Thanks! -deech On Wed, Sep 18, 2013 at 12:20 PM, Sebastien Vauban sva-n...@mygooglest.comwrote: aditya siram wrote: Here's the org-file with padlines set to no up top: #+PROPERTY: :padlines no ^ Try without the :... * Headline #+BEGIN_SRC c :tangle /tmp/padlines-test.c :comments link hello world #+END_SRC And the tangle file: /* [[file:/tmp/padlines-test.org::*Headline][Headline:1]] */ hello world /* Headline:1 ends here */ You see why an ECM is sometimes the best way to find a problem... Best regards, Seb -- Sebastien Vauban
Re: [O] [Babel] Buffer-wide properties ignored ...
aditya siram wrote: Sebastien Vauban sva-n...@mygooglest.comwrote: aditya siram wrote: Here's the org-file with padlines set to no up top: #+PROPERTY: :padlines no ^ Try without the :... ... and without the s to padlines... So, the correct line is: --8---cut here---start-8--- #+PROPERTY: padline no --8---cut here---end---8--- * Headline #+BEGIN_SRC c :tangle /tmp/padlines-test.c :comments link hello world #+END_SRC I tried `#+PROPERTY :padlines no` , `#+PROPERTY: padlines no` and `#+PROPERTY padlines no` all with the same result. Don't forget as well that you must do a C-c C-c on the options block after every change you make to one of them. That's annoying, because we always forget it, but that's necessary for your change to be applied! You see why an ECM is sometimes the best way to find a problem... Same conclusion, except I should have run your ECM! ;-) Best regards, Seb -- Sebastien Vauban
Re: [O] [Babel] Buffer-wide properties ignored ...
Yup running C-c C-c solved it! Didn't know about that. And I can't believe I made the padlines typo. Thanks for taking the time! -deech On Wed, Sep 18, 2013 at 1:59 PM, Sebastien Vauban sva-n...@mygooglest.comwrote: aditya siram wrote: Sebastien Vauban sva-n...@mygooglest.comwrote: aditya siram wrote: Here's the org-file with padlines set to no up top: #+PROPERTY: :padlines no ^ Try without the :... ... and without the s to padlines... So, the correct line is: --8---cut here---start-8--- #+PROPERTY: padline no --8---cut here---end---8--- * Headline #+BEGIN_SRC c :tangle /tmp/padlines-test.c :comments link hello world #+END_SRC I tried `#+PROPERTY :padlines no` , `#+PROPERTY: padlines no` and `#+PROPERTY padlines no` all with the same result. Don't forget as well that you must do a C-c C-c on the options block after every change you make to one of them. That's annoying, because we always forget it, but that's necessary for your change to be applied! You see why an ECM is sometimes the best way to find a problem... Same conclusion, except I should have run your ECM! ;-) Best regards, Seb -- Sebastien Vauban