emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [Babel] Buffer-wide properties ignored ...
@ 2013-09-17 22:34 aditya siram
  2013-09-18  7:31 ` Sebastien Vauban
  0 siblings, 1 reply; 7+ messages in thread
From: aditya siram @ 2013-09-17 22:34 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 361 bytes --]

Hi all,

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.

-deech

[-- Attachment #2: Type: text/html, Size: 425 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Babel] Buffer-wide properties ignored ...
  2013-09-17 22:34 [Babel] Buffer-wide properties ignored aditya siram
@ 2013-09-18  7:31 ` Sebastien Vauban
  2013-09-18 12:44   ` aditya siram
  0 siblings, 1 reply; 7+ messages in thread
From: Sebastien Vauban @ 2013-09-18  7:31 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Babel] Buffer-wide properties ignored ...
  2013-09-18  7:31 ` Sebastien Vauban
@ 2013-09-18 12:44   ` aditya siram
  2013-09-18 17:20     ` Sebastien Vauban
  0 siblings, 1 reply; 7+ messages in thread
From: aditya siram @ 2013-09-18 12:44 UTC (permalink / raw)
  To: Sebastien Vauban; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 955 bytes --]

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-news@mygooglest.com>wrote:

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

[-- Attachment #2: Type: text/html, Size: 1528 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Babel] Buffer-wide properties ignored ...
  2013-09-18 12:44   ` aditya siram
@ 2013-09-18 17:20     ` Sebastien Vauban
  2013-09-18 18:43       ` aditya siram
  0 siblings, 1 reply; 7+ messages in thread
From: Sebastien Vauban @ 2013-09-18 17:20 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Babel] Buffer-wide properties ignored ...
  2013-09-18 17:20     ` Sebastien Vauban
@ 2013-09-18 18:43       ` aditya siram
  2013-09-18 18:59         ` Sebastien Vauban
  0 siblings, 1 reply; 7+ messages in thread
From: aditya siram @ 2013-09-18 18:43 UTC (permalink / raw)
  To: Sebastien Vauban; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 766 bytes --]

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-news@mygooglest.com>wrote:

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

[-- Attachment #2: Type: text/html, Size: 1353 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Babel] Buffer-wide properties ignored ...
  2013-09-18 18:43       ` aditya siram
@ 2013-09-18 18:59         ` Sebastien Vauban
  2013-09-18 20:15           ` aditya siram
  0 siblings, 1 reply; 7+ messages in thread
From: Sebastien Vauban @ 2013-09-18 18:59 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

aditya siram wrote:
> Sebastien Vauban <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>wrote:
>> 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Babel] Buffer-wide properties ignored ...
  2013-09-18 18:59         ` Sebastien Vauban
@ 2013-09-18 20:15           ` aditya siram
  0 siblings, 0 replies; 7+ messages in thread
From: aditya siram @ 2013-09-18 20:15 UTC (permalink / raw)
  To: Sebastien Vauban; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1378 bytes --]

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-news@mygooglest.com>wrote:

> aditya siram wrote:
> > Sebastien Vauban <sva-news@mygooglest.com>wrote:
> >> 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
>
>
>

[-- Attachment #2: Type: text/html, Size: 2241 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-09-18 20:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-17 22:34 [Babel] Buffer-wide properties ignored aditya siram
2013-09-18  7:31 ` Sebastien Vauban
2013-09-18 12:44   ` aditya siram
2013-09-18 17:20     ` Sebastien Vauban
2013-09-18 18:43       ` aditya siram
2013-09-18 18:59         ` Sebastien Vauban
2013-09-18 20:15           ` aditya siram

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).