From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id xBLwI9orAmHtLAEAgWs5BA (envelope-from ) for ; Thu, 29 Jul 2021 06:17:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id CD/bHtorAmFzawAAbx9fmQ (envelope-from ) for ; Thu, 29 Jul 2021 04:17:30 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D63481010C for ; Thu, 29 Jul 2021 06:17:29 +0200 (CEST) Received: from localhost ([::1]:47914 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m8xU8-0001Pj-8f for larch@yhetil.org; Thu, 29 Jul 2021 00:17:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60922) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m8xTj-0001PK-M2 for emacs-orgmode@gnu.org; Thu, 29 Jul 2021 00:17:03 -0400 Received: from mail-pj1-x1029.google.com ([2607:f8b0:4864:20::1029]:35543) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m8xTi-0000J3-5k for emacs-orgmode@gnu.org; Thu, 29 Jul 2021 00:17:03 -0400 Received: by mail-pj1-x1029.google.com with SMTP id pf12-20020a17090b1d8cb0290175c085e7a5so13579055pjb.0 for ; Wed, 28 Jul 2021 21:17:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:references:user-agent:in-reply-to:message-id :mime-version; bh=o8q7MYIe43Qs909XSPxNmivFZ3zQjEf8nIXBDvAjwQk=; b=aKRgVOeCCKLHVtq+yy6UCefYsIuG7MVI3kfv+mzTTAgGY/IAXQ1TcPvj9EyD+NvaSv +DZ5PFHGOeoYgPyDIcR2gTSTf7Nt7RFLcfFNP6yT4brJtA+wRj0mL+i1vgXHY4jggwEn uDzrXmT1hywrE3yFqDtVt0x0uEnj4RkX2yGq79RTOqnokEkrHxwvyKqUX1sdIutBsXB6 txsIxlGutkaPQSHtmohxouRmyWdA7Q+r5vDFI68BzFkHElvQUOr0MXyHNMdrwibt4vRe p9YgBBNIMvBTpI+l6Ef1eFfEHqGmPo4JUqYmZepJLwBQ7lM+w6/aRP1i0yZ1VEaYDKNT SY1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:references:user-agent :in-reply-to:message-id:mime-version; bh=o8q7MYIe43Qs909XSPxNmivFZ3zQjEf8nIXBDvAjwQk=; b=QoawSGQiW1C/kAP51piMc/f3qoz1VtRmr9eYTC4RPs1nQLUMIAcK8+I3mjNvpjwGc0 rODg/hJ9T3XkY69GH0YOpXLHmGE4/tZxneVH1bSBtHfdJaSCq7Yze1sOFJ83/9Ff078A EEmPCCSMu+29m30W9Dx9tI26H3npw65eAqKxrDjRP1sZbtahBZ8FbfGeLMCb6J+4qd8a +BMWqNCp0rrchYz7ZeTkzArnfDhQdtyAoULYmqvStFcv8K4QJ4kHXjhzlPKln6f5cC0+ fanxy7IJqyKalIlKbiQQSecrPhub+ja1+09i3U/mz5l+GgLJr7ACN4Jv86MH8c/kxJ0N 18TA== X-Gm-Message-State: AOAM5332OGKBeBjJxyDGuOpUqPjnJdTETLq7PtPUjL81NvWubvEI2xXm KGTNLBfDpqbC10bL5GCJN129Ga6+7qA= X-Google-Smtp-Source: ABdhPJwM3r43l2hvFdIUc9yNX9+THhEja7rX37crMuFuKyMud5ujQQyQvzBMMqh/VLNEQOzR6zbObQ== X-Received: by 2002:aa7:854a:0:b029:332:330e:1387 with SMTP id y10-20020aa7854a0000b0290332330e1387mr2866245pfn.67.1627532219920; Wed, 28 Jul 2021 21:16:59 -0700 (PDT) Received: from tim-desktop (106-69-97-14.dyn.iinet.net.au. [106.69.97.14]) by smtp.gmail.com with ESMTPSA id e13sm1664619pfd.11.2021.07.28.21.16.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Jul 2021 21:16:59 -0700 (PDT) From: Tim Cross To: emacs-orgmode@gnu.org Subject: Re: bug processing non emacs-lisp blocks Date: Thu, 29 Jul 2021 14:13:55 +1000 References: User-agent: mu4e 1.6.0; emacs 28.0.50 In-reply-to: Message-ID: <87r1fh3gb1.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2607:f8b0:4864:20::1029; envelope-from=theophilusx@gmail.com; helo=mail-pj1-x1029.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1627532250; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=o8q7MYIe43Qs909XSPxNmivFZ3zQjEf8nIXBDvAjwQk=; b=B4jB6ep4Lbb0u2I/3UdkTknkneOFnpUFR8mL29rQXJInU4T/ttFTPiMrAOfysfgOm0TGbz phyWp9QW2+E9l9uXL0sgra+wZ4oMNg7yMMaQdqfexn7EVQqGNMhoogBcg7Yy6qo3MT4rt1 KhuLYGSOnrq8Apte4wvFrq0Uul3M2hNlonI9XbGVlC+PmHsgS36euSsIB6JqfDlXUvIHRu +ybj5grlayEk2kkJkLstTtojbihVCnAiM7sRAk/UW+GPuziEgs8UPUvebPPTEaxMlop/wU 6pEE1cDjnQkWyFSEU6bAEkOaTbOK4qMhGmR/a+qjAeS6KYvMWT45V3YSr9GXHQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1627532250; a=rsa-sha256; cv=none; b=HBapl9vcfvf3x8C+SySE3KFKse81+AEbS5LyAWaNXCjx3m8FYqHbu6dppjHJAnEa+huXV/ JwIOFaqtcz036TkhakhRW4JuYQxOzKNAXNCZ1zjCSWhGBeZGNBI3rYd4s1RLfL2d1lHmm2 QXbNws6u+zgkJOoVWB98+2tAETesKlfNa1HtLfK12eLomv3c9c0j5okamzFsUaTzSyHWMO XFKvNW7n2zX+CMIioFQFlZj8e6tZWUZVb5SpU1dkW5A1FhLi6A0J1VYpIcwDwFPZA3HAaw LjeX0MKW/smMLKpQdXTyxVkdmpCVde2ARbSwsurXrL0NHj3lD+mRxJmjMP2d5w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=aKRgVOeC; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -0.62 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=aKRgVOeC; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: D63481010C X-Spam-Score: -0.62 X-Migadu-Scanner: scn1.migadu.com X-TUID: u2vkmy8pLIfT --=-=-= Content-Type: text/plain Content-Disposition: inline dmg writes: > org-babel-load-file will try to tangle any source block that contains > the substring emacs-lisp or elisp in their language. > > For example, the following code block will be tangled: > > #+begin_src emacs-lispDONOT > (use-package "org-sidebar") > #+end_src > > the following patch fixes that problem. The Regular expression should > be more stringent, so it does match exactly the string and not a > substring. > > I think this is a regression. I used to comment out blocks from my > .org init files by simply adding a XXX (as in emacs-lispXXXX). In > current org these blocks are tangled :( I think your right. The regexp should only match on complete string. BTW an easy way to comment out code blocks from tangling is to just add :tangle no to the header. This will work better because the code block will still work for editing etc and have correct syntax highlighting etc. Regards, Tim -- *Tim Cross* /For gor sake stop laughing, this is serious!/ --=-=-=--