From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?SsOpcsOpbWllIEp1c3Rl?= Subject: does :eval no works with org-babel-load-file? Date: Sat, 2 Apr 2016 18:05:12 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113e9ce4439206052f82aa14 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47555) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1amO3K-0008UL-Ek for emacs-orgmode@gnu.org; Sat, 02 Apr 2016 12:05:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1amO3J-00071A-At for emacs-orgmode@gnu.org; Sat, 02 Apr 2016 12:05:34 -0400 Received: from mail-yw0-x22b.google.com ([2607:f8b0:4002:c05::22b]:35900) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1amO3J-000711-5m for emacs-orgmode@gnu.org; Sat, 02 Apr 2016 12:05:33 -0400 Received: by mail-yw0-x22b.google.com with SMTP id g3so207913157ywa.3 for ; Sat, 02 Apr 2016 09:05:32 -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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-org list --001a113e9ce4439206052f82aa14 Content-Type: text/plain; charset=UTF-8 Hello, I use my an org-mode file as my init.el and use org-babel-load-file to launch the the file emacs-init.org. i was trying to debug the emacs-init.org and wanted to prevent some part from being written to the file emacs-init.el but didn't succeed. in emacs-init.org #+begin_src emacs-lisp :eval no (message "you should not appear") #+end_src in emacs-init.el (message "you should not appear") Preventing part of the init.el file to be read would be awesome for debugging. Do you have a way around it? Best -- Jeremie Juste --001a113e9ce4439206052f82aa14 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello,

I use my=C2=A0 an org-mode file a= s my init.el and use=C2=A0 org-babel-load-file to launch the
=
the file emacs-init.org.
i was trying to debug the emacs-init.org and wanted to prevent some part from being written to t= he file emacs-init.el but didn't succeed.

in emacs-init.org

#+begin_src emacs-lisp :eval no(message "you should not appear")
#+end_src

in emacs-init.el

(message "you sho= uld not appear")

Preventing part of the init.el file= to be read would be awesome for debugging.
Do you have a way= around it?

Best
--
Jeremie Juste
--001a113e9ce4439206052f82aa14--