From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Rettke Subject: Re: Adding source location information when tangling Date: Tue, 27 May 2014 11:23:59 -0500 Message-ID: References: <87zji5bz6s.fsf@azha.ziiuu.com> 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]:40505) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WpKAV-0000sN-RL for emacs-orgmode@gnu.org; Tue, 27 May 2014 12:24:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WpKAT-0001Hr-2x for emacs-orgmode@gnu.org; Tue, 27 May 2014 12:24:03 -0400 Received: from mail-oa0-x22c.google.com ([2607:f8b0:4003:c02::22c]:37429) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WpKAS-0001Hh-TX for emacs-orgmode@gnu.org; Tue, 27 May 2014 12:24:01 -0400 Received: by mail-oa0-f44.google.com with SMTP id o6so9818183oag.3 for ; Tue, 27 May 2014 09:23:59 -0700 (PDT) In-Reply-To: <87zji5bz6s.fsf@azha.ziiuu.com> 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: Thomas Morgan Cc: "emacs-orgmode@gnu.org" Something like " Jumping between code and Org here? http://orgmode.org/manual/Extracting-source-code.html#Extracting-source-cod= e Grant Rettke | AAAS, ACM, ASA, FSF, IEEE, SIAM, Sigma Xi gcr@wisdomandwonder.com | http://www.wisdomandwonder.com/ =E2=80=9CWisdom begins in wonder.=E2=80=9D --Socrates ((=CE=BB (x) (x x)) (=CE=BB (x) (x x))) =E2=80=9CLife has become immeasurably better since I have been forced to st= op taking it seriously.=E2=80=9D --Thompson On Sun, May 25, 2014 at 11:28 AM, Thomas Morgan wrote: > Dear Org hackers, > > I have a question about tangling LilyPond code blocks. > > Is there a way to put the commands `\sourcefilename' and > `\sourcefileline' in the tangled file before each block, > perhaps in place of the comment that includes the same information? > (These commands are equivalent to the `#line LINENUM "FILE"' > directive in C.) If possible I'd like to let LilyPond know how > to give error messages that refer to the originating Org file. > > Thanks, > Thomas >