From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YHmLJ59fzWFCrwAAgWs5BA (envelope-from ) for ; Thu, 30 Dec 2021 08:28:31 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 8BQwIJ9fzWFwwwAAG6o9tA (envelope-from ) for ; Thu, 30 Dec 2021 08:28:31 +0100 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 054BCB63F for ; Thu, 30 Dec 2021 08:28:31 +0100 (CET) Received: from localhost ([::1]:49374 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2prS-0003zc-3T for larch@yhetil.org; Thu, 30 Dec 2021 02:28:30 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51666) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2pq9-0003zJ-07 for emacs-orgmode@gnu.org; Thu, 30 Dec 2021 02:27:09 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39387) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n2pq2-0006IL-AH for emacs-orgmode@gnu.org; Thu, 30 Dec 2021 02:27:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n2pq1-00061O-W5 for emacs-orgmode@gnu.org; Thu, 30 Dec 2021 02:27:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#52545: 29.0.50; Make org-babel-execute-buffer ignore irrelevant src blocks Resent-From: Rudolf =?UTF-8?Q?Adamkovi=C4=8D?= Original-Sender: "Debbugs-submit" Resent-CC: emacs-orgmode@gnu.org Resent-Date: Thu, 30 Dec 2021 07:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52545 X-GNU-PR-Package: org-mode X-GNU-PR-Keywords: To: "Berry, Charles" Cc: Kyle Meyer , "52545@debbugs.gnu.org" <52545@debbugs.gnu.org>, Ihor Radchenko Received: via spool by 52545-submit@debbugs.gnu.org id=B52545.164084918823090 (code B ref 52545); Thu, 30 Dec 2021 07:27:01 +0000 Received: (at 52545) by debbugs.gnu.org; 30 Dec 2021 07:26:28 +0000 Received: from localhost ([127.0.0.1]:50933 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2ppT-00060M-JD for submit@debbugs.gnu.org; Thu, 30 Dec 2021 02:26:27 -0500 Received: from pv50p00im-ztdg10021901.me.com ([17.58.6.55]:53004) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2ppR-000607-LZ for 52545@debbugs.gnu.org; Thu, 30 Dec 2021 02:26:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1640849179; bh=q7cIRRB7cFEvqZZa707IVgTuNDmtcbiQ0VHqZhiocuA=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=v2WsXGphfut3YM3L1O9pdw3XPzcopQ/pHzYmlpZpkyhbLp50Wv7VXtPQ/XEnxxiTc znCOiXulf0YsxaXQ5qoLp6KdkV0odRYuyZiqUeoRqPKpmY+GNJadMuBMKfn6kazBzB 0m91ohBOcu1x4wegwJNQVY6DtLrzvmCxkpt+Pw5PmVZtw0JACDRFg9syHLZ6LIdalB fsjrS5JB7Ev9EhJhxH8FzNdoAgIZWiHZMg7sj16ejEFSr29pcfkg4k0chKnuOWZBge mmAY20lI4N8mu13GO71cAvYDtpBB+CG4FulNTIk1Q5M6egQ7uB7UNe08tsghPSa4mR RQiBeRdni9Wbg== Received: from Workstation.local (78-141-116-131.dynamic.orange.sk [78.141.116.131]) by pv50p00im-ztdg10021901.me.com (Postfix) with ESMTPSA id DC849817EC; Thu, 30 Dec 2021 07:26:17 +0000 (UTC) In-Reply-To: References: <87ilvnx29d.fsf@kyleam.com> <87y24ib5v1.fsf@localhost> <87mtkssmth.fsf@localhost> <8735mitzij.fsf@localhost> <840BA83C-A261-49FD-8FE5-EFEEA2DDEBCB@health.ucsd.edu> Date: Thu, 30 Dec 2021 08:26:14 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.425, 18.0.790 definitions=2021-12-29_06:2021-12-29, 2021-12-29 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2009150000 definitions=main-2112300040 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: emacs-orgmode@gnu.org 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" Reply-to: Rudolf =?UTF-8?Q?Adamkovi=C4=8D?= From: Rudolf =?UTF-8?Q?Adamkovi=C4=8D?= via "General discussions about Org-mode." X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640849311; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=q7cIRRB7cFEvqZZa707IVgTuNDmtcbiQ0VHqZhiocuA=; b=EV3dNyS4OBEfDGmtVJQ7wQ1llEjXa3mWOBEcFBJeQiKmHIaRSsyRi3YK3YOb+mX6gE6Fgv pXwsZBLmKsQSBCqZwN7aVZAOKu1zdomtG3XmtKNTzC8imAW1X9d+84EuNOZxZRabZGLUez xuzt8M/X1s3Op8eHZSk2US5CIsP4GUYQXegRkCaucizcD4upTOpD9TKeX/Kt/x8bUEeFFG n4JNWB4l8DHWfVz8urOt35tt/2IhHbPgKZW344Md6xYmchzwpjPnfD9XvBHSDMcn3+BHmy AcgrlHXYkexWgFxHOU0Z0/i92dBE0QCJ5IaD3mbjbP3Zq9IiKNAraEMkG2HGgA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640849311; a=rsa-sha256; cv=none; b=s4Cq6aOsY7uUVjK2Ol7nQ6nqyxtFyIlBhFV6bMUxynmKuTTdxw5rkIfmwXMx21MYU58ZKt fdmV0F6pYGPGJCFk2LDNFYvMVCGwojfDjoF7GLnbNv0NCxQ+zQbqziqrNbgnifW7NcSYJT 8QjybZPuN6UoxW6AWwf06dejFu8K9m92sdEjcvc/I03MGZE9e4agt/GojerJFmQykFBDyB kOku1p//ySHgJhX5iomdefJlWFSiNJ3C5rbC5ZRQnWBvw7QZ1XSzF/JeHpGTaG2JAv0IkF ikY1xI+5Bpy3Yw7uezRLDP+o052BjsvNa4/0J/CaPwjKBbx/iLlKcwdmWI/vag== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=me.com header.s=1a1hai header.b=v2WsXGph; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.67 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=me.com header.s=1a1hai header.b=v2WsXGph; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 054BCB63F X-Spam-Score: -3.67 X-Migadu-Scanner: scn1.migadu.com X-TUID: lbK19EdqAcIs "Berry, Charles" writes: > Rudy, > > Thanks for the comment, but ... > >> On Dec 25, 2021, at 1:37 PM, Rudolf Adamkovi=C4=8D wrot= e: >>=20 >> I think we look at the problem from two different perspectives. You >> look at the problem from the "how" perspective, whereas I look at it >> from the "why" perspective. Sure, we can work around everything in >> Org. Now, does that mean that Org should try to execute BibTeX >> blocks when executing a buffer? I do not think so. > > Using standard features (properties, header-args) in a standard way > does not strike me as a `work around'. I apologize for the lack of clarity. I used the term "workaround" from the perspective of a user, who probably does not expect Org to try "execute BibTeX" ever. > You have not made a clear case that src blocks are even needed to > support your use case. It may well be that export blocks (which never > execute) would work just as well. But with no ECM, one can only > guess. True that, I did not include an example! Below, I include a typical use case: Org notes about an article with a corresponding BibTeX entry. (Note: I do not know what ECM stands for.) [=E2=80=A6] #+property: header-args+ :comments link #+cite_export: csl apa.csl * Notes [=E2=80=A6] * References #+print_bibliography: * Sources #+begin_src bibtex :tangle knuth+2021.bib @Article{knuth+2021, author =3D {Knuth, Donald E. and Shustek, Len}, title =3D {Let's Not Dumb down the History of Computer Science}, journal =3D {Communications of the {ACM}}, year =3D 2021, volume =3D 64, number =3D 2, pages =3D {33=E2=80=9335}, month =3D {jan}, issue_date =3D {February 2021}, publisher =3D {Association for Computing Machinery, {ACM}}, issn =3D {0001-0782}, doi =3D {10.1145/3442377}, abstract =3D {Donald Knuth on the best way to recognize the history of computer science.}, numpages =3D 3 } #+end_src > I'm still inclined to call this a feature request, not a bug. And > decisions about adding complexity to an already complicated code base > should take that point of view, IMO. Sure. As a user, I can see it as both a bug, where Org tries to execute BibTeX, but also as a feature, where Org needs to become smarter and differentiate BibTeX from, say, Scheme or C. Rudy --=20 "Logic is a science of the necessary laws of thought, without which no employment of the understanding and the reason takes place." -- Immanuel Kant, 1785 Rudolf Adamkovi=C4=8D [he/him] Studenohorsk=C3=A1 25 84103 Bratislava Slovakia