From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Rudolf =?UTF-8?Q?Adamkovi=C4=8D?= via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#52545: 29.0.50; Make org-babel-execute-buffer ignore irrelevant src blocks Date: Thu, 16 Dec 2021 11:35:44 +0100 Message-ID: Reply-To: Rudolf =?UTF-8?Q?Adamkovi=C4=8D?= Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11522"; mail-complaints-to="usenet@ciao.gmane.io" To: 52545@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 16 11:36:46 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mxo7x-0002qN-Rv for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 16 Dec 2021 11:36:45 +0100 Original-Received: from localhost ([::1]:59784 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxo7w-0006jb-Ar for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 16 Dec 2021 05:36:44 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:45438) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxo7G-0006jK-2u for bug-gnu-emacs@gnu.org; Thu, 16 Dec 2021 05:36:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51477) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mxo7F-0006xV-QF for bug-gnu-emacs@gnu.org; Thu, 16 Dec 2021 05:36:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mxo7F-0008Us-Ne for bug-gnu-emacs@gnu.org; Thu, 16 Dec 2021 05:36:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Rudolf =?UTF-8?Q?Adamkovi=C4=8D?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 16 Dec 2021 10:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52545 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.163965096032653 (code B ref -1); Thu, 16 Dec 2021 10:36:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Dec 2021 10:36:00 +0000 Original-Received: from localhost ([127.0.0.1]:34790 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mxo7D-0008Ub-Mx for submit@debbugs.gnu.org; Thu, 16 Dec 2021 05:36:00 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:33204) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mxo78-0008UN-QR for submit@debbugs.gnu.org; Thu, 16 Dec 2021 05:35:58 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:45430) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxo78-0006hu-0P for bug-gnu-emacs@gnu.org; Thu, 16 Dec 2021 05:35:54 -0500 Original-Received: from mr85p00im-ztdg06011901.me.com ([17.58.23.198]:56680) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxo75-0006wn-Qy for bug-gnu-emacs@gnu.org; Thu, 16 Dec 2021 05:35:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1639650949; bh=n0TtP8Jlc4f3+4JEbDeMfTtZgPPwaZCOB4fOoyTrNRs=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=lpM13V0SqfDHs/hzCwxHiN29nx1RXz4Q9XebeKhssKH1k0Mw4WtXTPNlkS5vAX5xK ZuzTXl3/PKd8lqv+C9nHiUVWceMEVxWaMz0zRtn0m1hjQy4Qzz13OKFZg8/S036EjS RNcOYqZHCrk6d+dizM5H46SlL3yMa5WPuVW2/vUQ/piPJycE3TqDwhzgF0GS/NHH7Y NaI5kWK0kTPW2Urgz2+eYWU5uUaESUKjEcFuD5xPlJR34N9sbqXbu/wf53QSMENDop 92l07mKm+w0oOr4BT3uRbHUMoXh/oRARvdrTOAYxkHwK8+Smy3cngpq4DV+270ptLl t605Hfe2W/iCQ== Original-Received: from Workstation.local (78-141-116-131.dynamic.orange.sk [78.141.116.131]) by mr85p00im-ztdg06011901.me.com (Postfix) with ESMTPSA id A32AAA60790 for ; Thu, 16 Dec 2021 10:35:48 +0000 (UTC) X-Proofpoint-Virus-Version: vendor=fsecure engine=1.1.170-22c6f66c430a71ce266a39bfe25bc2903e8d5c8f:6.0.425, 18.0.790, 17.11.62.513.0000000 definitions=2021-12-16_03:2021-12-16_01, 2021-12-16_03, 2021-12-02_01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 clxscore=1015 malwarescore=0 spamscore=0 mlxscore=0 adultscore=0 suspectscore=0 mlxlogscore=999 phishscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2112160060 Received-SPF: pass client-ip=17.58.23.198; envelope-from=salutis@me.com; helo=mr85p00im-ztdg06011901.me.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:222475 Archived-At: I have a .org file with two kinds of src blocks: 1. sqlite blocks 2. bibtex blocks I want to execute all sqlite blocks with org-babel-execute-buffer. When I try to do so, org-mode complains: org-babel-execute-src-block: No org-babel-execute function for bibtex! I know I can work around the problem (as one does in org-mode) with: #+property: header-args:bibtex+ :eval no Then, why not skip the irrelevant blocks, the ones with no execute function= s, by default? Rudy In GNU Emacs 29.0.50 (build 10, x86_64-apple-darwin21.1.0, NS appkit-2113.0= 0 Version 12.0.1 (Build 21A559)) of 2021-12-15 built on Workstation.local Repository revision: 5a057f6716e6991a60968e48f849da57a0339735 Repository branch: master Windowing system distributor 'Apple', version 10.3.2113 System Description: macOS 12.1 Configured using: 'configure --with-json --with-xwidgets --with-native-compilation' Configured features: ACL DBUS GIF GLIB GMP GNUTLS JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY KQUEUE NS PDUMPER PNG RSVG SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP XIM XWIDGETS ZLIB Important settings: value of $LC_ALL: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Org Minor modes in effect: shell-dirtrack-mode: t TeX-PDF-mode: t flymake-mode: t display-fill-column-indicator-mode: t corfu-global-mode: t corfu-mode: t vertico-mode: t marginalia-mode: t global-diff-hl-mode: t diff-hl-mode: t yas-global-mode: t yas-minor-mode: t global-hl-todo-mode: t global-subword-mode: t subword-mode: t save-place-mode: t global-auto-revert-mode: t delete-selection-mode: t savehist-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t size-indication-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: /Users/salutis/.emacs.d/elpa/transient-20211208.1819/transient hides /Users= /salutis/src/emacs/nextstep/Emacs.app/Contents/Resources/lisp/transient /Users/salutis/src/emacs/nextstep/Emacs.app/Contents/Resources/lisp/emacs-l= isp/eieio-compat hides /Users/salutis/src/emacs/nextstep/Emacs.app/Contents= /Resources/lisp/obsolete/eieio-compat Features: (shadow sort bbdb-message fortune mail-extr emacsbug sendmail tramp-cmds goto-addr mhtml-mode css-mode smie js sgml-mode facemenu htmlize preview tex-buf font-latex tex-mode pulse color consult-xref xref shortdoc ob-ditaa ob-plantuml org-crypt org-habit ess-tracebug ess-utils ess-custom org-colview org-plot ob-awk ob-calc calc-store calc-trail calc-ext calc calc-loaddefs rect calc-macs ob-clojure ob-css ob-dot ob-eshell eshell esh-cmd esh-ext esh-opt esh-proc esh-io esh-arg esh-module esh-groups esh-util ob-forth ob-fortran ob-gnuplot ob-groovy ob-haskell ob-java ob-js ob-julia ob-latex ob-lilypond ob-lisp ob-lua ob-makefile ob-maxima ob-ocaml ob-octave ob-org ob-perl ob-processing ob-python python tramp-sh tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat ob-ruby ob-sass ob-scheme ob-screen ob-sed ob-shell shell embark ffap helpful imenu trace edebug backtrace info-look help-fns radix-tree elisp-refs sql latex latex-flymake tex-ispell tex-style tex texmathp ox-md ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex ox-icalendar ox-html table ox-ascii ox-publish ox citar-org oc-csl citeproc citeproc-itemgetters citeproc-biblatex citeproc-bibtex citeproc-cite citeproc-subbibs citeproc-sort citeproc-name citeproc-formatters citeproc-number rst citeproc-proc citeproc-disamb citeproc-itemdata citeproc-generic-elements citeproc-macro citeproc-choose citeproc-date citeproc-context citeproc-prange citeproc-style citeproc-locale citeproc-term f citeproc-rt citeproc-lib citeproc-s let-alist queue dash org-id citar crm s parsebib citar-file vc-mtn vc-hg vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs consult-vertico consult recentf tree-widget view org-pomodoro alert log4e notifications gntp org-timer org-agenda org-refile org-duration bug-reference flymake-proc flymake project compile image-file image-converter disp-table char-fold orderless cursor-sensor paredit edmacro kmacro display-fill-column-indicator bbdb bbdb-site timezone modus-vivendi-theme modus-operandi-theme modus-themes corfu vertico marginalia pdf-loader diff-hl log-view pcvs-util vc-dir ewoc vc diminish yasnippet hl-todo finder-inf ob-sqlite ob-sql ob-C cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs ob-R org-clock cl ls-lisp cap-words superword subword saveplace autorevert filenotify comp comp-cstr warnings delsel savehist elfeed-link elfeed-show elfeed-search elfeed-csv elfeed elfeed-curl elfeed-log xml-query bookmark pp elfeed-db elfeed-lib vc-git diff-mode vc-dispatcher org-element avl-tree generator ol-eww eww xdg url-queue thingatpt mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-search eieio-opt speedbar ezimage dframe gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-sum shr pixel-fill kinsoku svg dom gnus-group gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo parse-time gnus-spec gnus-int gnus-range message yank-media rmc puny rfc822 mml mml-sec epa derived epg rfc6068 epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums text-property-search mail-utils mm-util mail-prsvr wid-edit ol-docview doc-view jka-compr image-mode exif dired dired-loaddefs ol-bibtex ol-bbdb ol-w3m ol-doi org-link-doi cl-extra help-mode org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete pcomplete comint ansi-color ring org-list org-faces org-entities noutline outline easy-mmode org-version ob-emacs-lisp ob-core ob-eval org-table oc-basic bibtex iso8601 time-date ol rx org-keys oc org-compat advice org-macs org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs tex-site info package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map url-vars seq gv subr-x byte-opt bytecomp byte-compile cconv cl-loaddefs cl-lib iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads xwidget-internal dbusbind kqueue cocoa ns lcms2 multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 2797544 115059) (symbols 48 57535 17) (strings 32 307749 28260) (string-bytes 1 9616525) (vectors 16 123840) (vector-slots 8 4329893 151750) (floats 8 797 616) (intervals 56 15721 1087) (buffers 992 148)) --=20 "Programming reliably --- must be an activity of an undeniably mathematical= nature [=E2=80=A6] You see, mathematics is about thinking, and doing mathe= matics is always trying to think as well as possible." -- Edsger W. Dijkstr= a (1981) Rudolf Adamkovi=C4=8D [he/him] Studenohorsk=C3=A1 25 84103 Bratislava Slovakia