emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Help needed tangling with orgmode v9
@ 2017-03-31 18:45 Guido Van Hoecke
  2017-03-31 18:58 ` Bruce V Chiarelli
  0 siblings, 1 reply; 3+ messages in thread
From: Guido Van Hoecke @ 2017-03-31 18:45 UTC (permalink / raw)
  To: orgmode

Hi,

I used to generate my .emacs (named emacs-guivho.el) from
emacs-guivho.org and I just realised that this no longer works since I
switched from orgmode v8 to v9 some 10 days ago.

These are the header lines I had in the org file:
#+TITLE:    Emacs config file guivho
+AUTHOR:    Guido Van Hoecke
+EMAIL:     (concat "guivho" at-sign "gmail.com")
#+DESCRIPTION:
#+KEYWORDS:
#+LANGUAGE:  en
#+OPTIONS:   H:4 num:nil
#+SEQ_TODO: TODO FIXME DOESN'T_WORK | WORKS
#+PROPERTY:  tangle emacs-guivho.el
#+PROPERTY:  padline yes
#+PROPERTY:  eval no

Somehow this does no longer work
Running org-lint indicates that these are deprecated:

    10 low   Deprecated syntax for "tangle".  Use header-args instead
    11 low   Deprecated syntax for "padline".  Use header-args instead
    12 low   Deprecated syntax for "eval".  Use header-args instead

So I changed the #+PROPERTY lines into:

#+PROPERTY:  header-args  :tangle emacs-guivho.el
#+PROPERTY:  header-args  :padline yes
#+PROPERTY:  header-args  :eval never
#+PROPERTY:  header-args  :eval no
#+PROPERTY:  header-args  :exports code

Still doesn't work though: when running org-babel-tangle it reports
Tangled 0 code blocks from emacs-guivho.org

Please advise.

Thanks in advance,

--
Guido

Fourth Law of Revision:
	It is usually impractical to worry beforehand about
	interferences -- if you have none, someone will make one for you.

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

* Re: Help needed tangling with orgmode v9
  2017-03-31 18:45 Help needed tangling with orgmode v9 Guido Van Hoecke
@ 2017-03-31 18:58 ` Bruce V Chiarelli
  2017-03-31 19:15   ` Guido Van Hoecke
  0 siblings, 1 reply; 3+ messages in thread
From: Bruce V Chiarelli @ 2017-03-31 18:58 UTC (permalink / raw)
  To: orgmode


Guido Van Hoecke <guivho@gmail.com> writes:

> Hi,
>

Hi there,

> So I changed the #+PROPERTY lines into:
>
> #+PROPERTY:  header-args  :tangle emacs-guivho.el
> #+PROPERTY:  header-args  :padline yes
> #+PROPERTY:  header-args  :eval never
> #+PROPERTY:  header-args  :eval no
> #+PROPERTY:  header-args  :exports code
>

Just had the same problem myself not too long ago. It should be

#+PROPERTY:  header-args   :tangle emacs-guivho.el
#+PROPERTY:  header-args+  :padline yes
#+PROPERTY:  header-args+  :eval never
#+PROPERTY:  header-args+  :eval no
#+PROPERTY:  header-args+  :exports code

Be sure also to hit C-c somewhere in the header after updating them too,
so that Org is aware of the change.

Bruce Chiarelli

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

* Re: Help needed tangling with orgmode v9
  2017-03-31 18:58 ` Bruce V Chiarelli
@ 2017-03-31 19:15   ` Guido Van Hoecke
  0 siblings, 0 replies; 3+ messages in thread
From: Guido Van Hoecke @ 2017-03-31 19:15 UTC (permalink / raw)
  To: orgmode

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

On 31 March 2017 at 20:58, Bruce V Chiarelli <mano155@gmail.com> wrote:

>
> Just had the same problem myself not too long ago. It should be
>
> #+PROPERTY:  header-args   :tangle emacs-guivho.el
> #+PROPERTY:  header-args+  :padline yes
> #+PROPERTY:  header-args+  :eval never
> #+PROPERTY:  header-args+  :eval no
> #+PROPERTY:  header-args+  :exports code
>
> Be sure also to hit C-c somewhere in the header after updating them too,
> so that Org is aware of the change.
>

Thanks Bruce, works as expected now!

Have a nice week-end,

-- 
Guido

Tout choses sont dites deja, mais comme personne n'ecoute, il faut
toujours recommencer.
        -- A. Gide

[ All things have already been said, but since no one listens, one
  must always start again. ]

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

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

end of thread, other threads:[~2017-03-31 19:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-31 18:45 Help needed tangling with orgmode v9 Guido Van Hoecke
2017-03-31 18:58 ` Bruce V Chiarelli
2017-03-31 19:15   ` Guido Van Hoecke

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