emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Automatically adding local variables to tangled file


From: Vitalie Spinu
Subject: Re: [O] Automatically adding local variables to tangled file
Date: Wed, 05 Jun 2013 17:41:59 +0200
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux)


 >> Darlan Cavalcante Moreira <address@hidden>
 >> on Wed, 05 Jun 2013 11:32:22 -0300 wrote:

 > It's a good idea to have useful information in the tangled file that can
 > help these functions. But since org-mode can already tangle with comments
 > containing useful information, isn't this enough to detect that the file
 > is a tangled file?

In principle yes, but it would be nice to avoid searching the whole
buffer for org comments on every step of the debugger. Especially given
that OP's workflow is very specific and most users won't ever need it.

Instead of local variable it might be just a simple comment at bof and a
function org-babel-tangled-file-p to quickly recognize the file.

    Vitlaie




reply via email to

[Prev in Thread] Current Thread [Next in Thread]