From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Rettke Subject: Re: Bug: Org-babel-detangle does not work for subtrees [8.3.5 (8.3.5-elpaplus @ /home/andrea/.emacs.d/elpa/org-plus-contrib-20160808/)] Date: Tue, 30 Aug 2016 15:19:59 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38895) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bepVr-0006ae-B2 for emacs-orgmode@gnu.org; Tue, 30 Aug 2016 16:20:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bepVp-0004PX-1G for emacs-orgmode@gnu.org; Tue, 30 Aug 2016 16:20:02 -0400 Received: from mail-it0-x22f.google.com ([2607:f8b0:4001:c0b::22f]:36615) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bepVo-0004PT-SI for emacs-orgmode@gnu.org; Tue, 30 Aug 2016 16:20:00 -0400 Received: by mail-it0-x22f.google.com with SMTP id n75so7228566ith.1 for ; Tue, 30 Aug 2016 13:20:00 -0700 (PDT) In-Reply-To: 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: Andrea Giugliano Cc: "emacs-orgmode@gnu.org" On Tue, Aug 30, 2016 at 12:25 PM, Andrea Giugliano wrote: > I think that the ideal solution is to allow an user to make > org-babel-detangle rely on header IDs, since this not only assures > detangle to find the correct header every time, but also push the user > to use IDs through org-id (that seems good practice). > What do you think? Yes you should set a ID on every Headline and source-block automatically using org-id so that detangling always works. When you want a custom ID it is easily changed.