From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: Line numbers in tangled source Date: Sat, 04 Sep 2010 07:21:20 -0600 Message-ID: <87y6bhczxj.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=34791 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OruIi-0005wQ-LS for emacs-orgmode@gnu.org; Sat, 04 Sep 2010 11:05:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OruIe-0007Ln-MN for emacs-orgmode@gnu.org; Sat, 04 Sep 2010 11:05:04 -0400 Received: from mail-px0-f169.google.com ([209.85.212.169]:39386) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OruIe-0007Lh-Dx for emacs-orgmode@gnu.org; Sat, 04 Sep 2010 11:05:00 -0400 Received: by pxi5 with SMTP id 5so899364pxi.0 for ; Sat, 04 Sep 2010 08:04:59 -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: aditya siram Cc: emacs-orgmode@gnu.org Hi, You can use the :comments header argument to include comments around tangled code blocks indicating where the code block lives in the original Org file. See [1] for information on the :comment header argument, and see [2] for information on using header arguments in general. Best -- Eric aditya siram writes: > Hi all, > How do I get the org file line numbers in the tangled source? This way error > messages point to the org file. > > thanks ... > -deech Footnotes: [1] http://orgmode.org/manual/comments.html#comments [2] http://orgmode.org/manual/Using-header-arguments.html#Using-header-arguments