From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: babel detangling visits a large number of files Date: Wed, 06 Mar 2019 14:48:12 +0000 Message-ID: <87pnr4kqj7.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:49635) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h1XqD-0000wR-C2 for emacs-orgmode@gnu.org; Wed, 06 Mar 2019 09:48:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h1XqB-00048U-PG for emacs-orgmode@gnu.org; Wed, 06 Mar 2019 09:48:17 -0500 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:33739) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h1XqB-00047r-HP for emacs-orgmode@gnu.org; Wed, 06 Mar 2019 09:48:15 -0500 Received: by mail-wr1-x434.google.com with SMTP id i12so13710477wrw.0 for ; Wed, 06 Mar 2019 06:48:15 -0800 (PST) Received: from t3610 ([95.151.192.190]) by smtp.gmail.com with ESMTPSA id y13sm2214701wrw.31.2019.03.06.06.48.12 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 06 Mar 2019 06:48:13 -0800 (PST) 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" To: emacs-orgmode@gnu.org Hello, motivated by having just watched this video, https://www.youtube.com/watch?time_continue=479&v=BLomb52wjvE I decided to play around a bit with detangling. When I try, it takes some time to get to the original src block. Even though the comment entry before the code looks very reasonable, e.g.: #+begin_src julia # [[file:~/s/research/strawberry/src/fresa.org::modulestart][modulestart]] module Fresa [... code elided ...] end # modulestart ends here #+end_src invoking org-babel-tangle-jump-to-org proceeds to visit a large number of files (I only know because many of them require accepting some local file variable settings when the files are visited) and org further complains about a large number of multiply defined IDs. Given that the detangling information in the comment has the file explicitly stated, why should the detangling procedure care about IDs and why does it need to visit so many files? Have I configured something wrongly? And a side question: what can I do about my 95 duplicate IDs? Thanks, eric PS - running latest org from git as of a few minutes ago. -- Eric S Fraga via Emacs 27.0.50, Org release_9.2.2-249-g51444a