From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org-detangle seems broken Date: Tue, 05 Jun 2018 11:59:00 +0200 Message-ID: <87o9gp7dwb.fsf@nicolasgoaziou.fr> References: <87wovhmr0v.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38951) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fQ8kA-0003rt-NG for emacs-orgmode@gnu.org; Tue, 05 Jun 2018 05:59:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fQ8k6-0008Ey-Qk for emacs-orgmode@gnu.org; Tue, 05 Jun 2018 05:59:10 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:43353) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fQ8k6-0008Cx-Jq for emacs-orgmode@gnu.org; Tue, 05 Jun 2018 05:59:06 -0400 In-Reply-To: (Frederick Giasson's message of "Mon, 4 Jun 2018 08:42:27 -0400") 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: Frederick Giasson Cc: emacs-orgmode@gnu.org Hello, Frederick Giasson writes: > Here it is. If you =detangle= the =broken-detangle--working.el= file, it > will work as expected. > > However, if you try to detangle the =broken-detangle--NOT-working.el= file, > you should get a "Not in a source block" error in *message*. This is fixed in "master". > Another thing I noted while creating the ECM is if there is only *one* code > block in the =.org= file, then it throws a =End of Buffer= error. I couldn't reproduce this. If the fix below doesn't solve it, could you provide a dedicated ECM? Thank you. Regards, -- Nicolas Goaziou 0x80A93738