From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Rettke Subject: Tangling the same file in v8.2 and v.8.5 produces different results? Date: Wed, 3 Aug 2016 22:34:24 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41958) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bV9QS-00052E-6y for emacs-orgmode@gnu.org; Wed, 03 Aug 2016 23:34:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bV9QQ-0007SO-3R for emacs-orgmode@gnu.org; Wed, 03 Aug 2016 23:34:27 -0400 Received: from mail-io0-x233.google.com ([2607:f8b0:4001:c06::233]:33142) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bV9QP-0007SG-UZ for emacs-orgmode@gnu.org; Wed, 03 Aug 2016 23:34:26 -0400 Received: by mail-io0-x233.google.com with SMTP id 38so261413605iol.0 for ; Wed, 03 Aug 2016 20:34:25 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: "emacs-orgmode@gnu.org" Good evening, I'm tangling this example in a file named test3.org --snip-- #+BEGIN_SRC sh :tangle yes :noweb yes :shebang #!/bin/sh <> #+END_SRC * the mount point of the fullest disk :PROPERTIES: :noweb-ref: fullest-disk :END: ** query all mounted disks #+BEGIN_SRC sh df \ #+END_SRC ** strip the header row #+BEGIN_SRC sh |sed '1d' \ #+END_SRC ** sort by the percent full #+BEGIN_SRC sh |awk '{print $5 " " $6}'|sort -n |tail -1 \ #+END_SRC ** extract the mount point #+BEGIN_SRC sh |awk '{print $2}' #+END_SRC --snip-- with GNU Emacs 24.5.1 (x86_64-apple-darwin15.4.0, NS apple-appkit-1404.46) and Org-mode version 8.2.10 (release_8.2.10 @ /usr/local/Cellar/emacs/24.5/share/emacs/24.5/lisp/org/) started like this open /Applications/Emacs.app -n --args --no-init-file and when I run `org-babel-tangle' it create a file test3.sh which contains the following --snip-- #!/bin/sh df \ |sed '1d' \ |awk '{print $5 " " $6}'|sort -n |tail -1 \ |awk '{print $2}' --snip-- I am trying to tangle the same file test3.org in the Git version of Org-Mode and get a different result. Here is how I started Emacs this time: open /Applications/Emacs.app -n --args --quick --load ~/src/help/.org-mode-ecm.emacs.el Here are the contents of .org-mode-ecm.emacs.el right now --snip-- (setq load-prefer-newer t) (add-to-list 'load-path "~/src/org-mode/lisp") (add-to-list 'load-path "~/src/org-mode/contrib/lisp") ;;(setq org-list-allow-alphabetical t) ;;(setq org-enforce-todo-checkbox-dependencies t) ;;(setq org-babel-noweb-wrap-start "=C2=AB") ;;(setq org-babel-noweb-wrap-end "=C2=BB") (require 'org) --snip-- The Org mode version is Org-mode version 8.3.5 (release_8.3.5-1032-g9798da-git @ /Users/gcr/src/org-mode/lisp/) When I tangle the file it's output to test3.sh is --snip-- #!/bin/sh --snip-- I expected the contents of test3.sh to be the same when I tangled it in Org 8.5 as in Org 8.2 but instead they were not. Do you know if what setting changed to cause this or if I am doing something incorrectly here what is the right approach? Sincerely, Grant Rettke