From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: [BABEL] tangling with leaving non-source code lines as empty lines? Date: Mon, 12 Jul 2010 17:19:42 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0348720681==" Return-path: Received: from [140.186.70.92] (port=37810 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYKnn-0006TG-Jm for emacs-orgmode@gnu.org; Mon, 12 Jul 2010 11:20:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OYKnZ-0001Su-OO for emacs-orgmode@gnu.org; Mon, 12 Jul 2010 11:20:02 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:53264) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYKnZ-0001Sd-KJ for emacs-orgmode@gnu.org; Mon, 12 Jul 2010 11:20:01 -0400 Received: by wyj26 with SMTP id 26so3911459wyj.0 for ; Mon, 12 Jul 2010 08:20:00 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode --===============0348720681== Content-Type: multipart/alternative; boundary=0016363b984e384fcb048b324814 --0016363b984e384fcb048b324814 Content-Type: text/plain; charset=ISO-8859-1 Hi Eric, would it be possible, when tangling, to leave lines without source code in the resulting code file as empty lines? The reasoning would be that error messages (at least in R) give the line in which the error occurred. If the line numbers in which the code sits would be preserved (by leaving empty lines where no code is in the .org file), debugging would be much easier. By the way: I am using the after tangle hook and it works absolutely perfectly. Thanks and cheers, Rainer -- NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Cell: +27 - (0)83 9479 042 Fax: +27 - (0)86 516 2782 Fax: +49 - (0)321 2125 2244 email: Rainer@krugs.de Skype: RMkrug Google: R.M.Krug@gmail.com --0016363b984e384fcb048b324814 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Eric,

would it be possible, when tangling, to leave l= ines without source code in the resulting code file as empty lines? The rea= soning would be that error messages (at least in R) give the line in which = the error=A0occurred. If the line numbers in which the code sits would be p= reserved (by leaving empty lines where no code is in the .org file), debugg= ing would be much easier.=A0

By the way: I am using the after tangle hook and it wor= ks absolutely perfectly.

Thanks and cheers,
Rainer


--
NEW GERMAN FAX N= UMBER!!!

Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biol= ogy, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion B= iology
Natural Sciences Building
Office Suite 2039
Stellenbosch UniversityMain Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:= =A0 =A0 =A0 =A0 =A0=A0 +27 - (0)83 9479 042
Fax:=A0 =A0 =A0 =A0 =A0 =A0 = +27 - (0)86 516 2782
Fax:=A0 =A0 =A0 =A0 =A0 =A0 +49 - (0)321 2125 2244
email:=A0 =A0 =A0 =A0= =A0 Rainer@krugs.de

Skype:=A0 =A0 =A0 =A0 =A0 RMkrug
Google:=A0 =A0 =A0 =A0=A0
R.M.Krug@gmail.com=

--0016363b984e384fcb048b324814-- --===============0348720681== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0348720681==--