From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id ULFoBF3oMGYiswAAe85BDQ:P1 (envelope-from ) for ; Tue, 30 Apr 2024 14:47:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id ULFoBF3oMGYiswAAe85BDQ (envelope-from ) for ; Tue, 30 Apr 2024 14:47:25 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=free.fr header.s=smtp-20201208 header.b=hlJiAzU+; dmarc=pass (policy=none) header.from=free.fr; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1714481245; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ivsyUpL5ksA7KAUw4JgPNjO55LdaVX0fOyNDREMZIv4=; b=oRuOg2yr8a2Y5AGAv0CZ4HpJoHECcm2kxx7RM1Yb/3m8MVZ1OtxBRsQDfw656d4lDlDoOH go83bJu4+OduvVs/lFIpBgNwvxOw1zq4wI63JFR423ixQtGaXQWfH/Po6kjeJ8gIxMWZS6 Bo0ZwixpnWFLplLiFcef5giExrN7CUEOfygtO/AA/fPk5wdgKcoiYKjryjhlYJKe4kr50k vBEFRXrxyn/+AM1kT7XT407d7lN4eBDdHzIavqBSkPbyLtKUbp1Ra6UnZEWoULpTeH16F/ XSu8PhaIhpzyu4I1P7omXZcEVyfqFzLOLPnNX/5dXHJYHYlM/meWWMUzf6NfcQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1714481245; a=rsa-sha256; cv=none; b=P7c7PeBc7dKLaB8czkxXRfXlBmr+8nHUK4M3PNOuq5h9N/RdJxxNZqF2ZaIrvDLdYRLJlE Rwp9LT/K4z9Lhvuhg0rIiB/poFjVJvrzKrXKGdr3LL1FQCUDqVcns8J4hNa+x5h1Iu4sCx 4JyjKnxH17xYE9VwIeJqc2mEhuKkMCWqwEydnrt3dx4van41FSErcM2R2hax1bxbHIbykD W2QG4BRLRbPii2Q8Q3RLk+J2o4L52yBRtgeAUNUG8ucjdYLa2ER7sC1uXY7CXAyQyvOFOW Kzl8YHyNhl0rWTtCe5s9992+Isp4bfGOUnwH+r8B5UqbQpOlwMGTdB03BMNHAQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=free.fr header.s=smtp-20201208 header.b=hlJiAzU+; dmarc=pass (policy=none) header.from=free.fr; 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" 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 DB8C1611D6 for ; Tue, 30 Apr 2024 14:47:24 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s1msP-0003TI-P8; Tue, 30 Apr 2024 08:46:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s1NA0-0004aP-Oj for emacs-orgmode@gnu.org; Mon, 29 Apr 2024 05:18:56 -0400 Received: from smtp3-g21.free.fr ([212.27.42.3]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s1N9x-0003Cs-T3 for emacs-orgmode@gnu.org; Mon, 29 Apr 2024 05:18:56 -0400 Received: from zimbra71-e12.priv.proxad.net (unknown [172.20.243.221]) by smtp3-g21.free.fr (Postfix) with ESMTP id 4242A13F8D5 for ; Mon, 29 Apr 2024 11:18:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1714382329; bh=cp9wxlIK1H53ElG+AiFFYW5N7ZsrsThgvaHDQ+lBlQY=; h=Date:From:To:In-Reply-To:Subject:From; b=hlJiAzU+NwPWeEkIBXV3dMY6IA6M3ECrmKbnKNk9TJ/tadjWzLbfo9vBqA93Tm3qW rcE+7E+xy3dEmvgCIC+ZaaHiyIM+MWGslDwuTWgzCszwLaXtkSzIfcPpcLvGYHo3cn GiBIARhw1rGk8euzJ1r2rI7TrSnCwsRnzaLxvY/pSMYYBRw0jDXp+gtln1K/FklKyD NWruUQrTXieifDue2h3PQIU9PUSHxRvlo0ZY7qqy4CYKwHDAkTwc6GYcP5aLMGkP6u QcoQ3v/r2eTdlTVxY8eZD7otJYMXwH/xLljKMjEeIIug0c+FPLINyyAcw8hejG5KET CVL31a8jDWPYg== Date: Mon, 29 Apr 2024 11:18:47 +0200 (CEST) From: caroute@free.fr To: emacs-orgmode@gnu.org Message-ID: <297951359.-1716480072.1714382327340.JavaMail.root@zimbra71-e12.priv.proxad.net> In-Reply-To: <565059008.-1716491868.1714382181258.JavaMail.root@zimbra71-e12.priv.proxad.net> Subject: [BUG] With custom results keyword ([9.7-pre (release_9.6.24-1407-ga2514c)]) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [2a01:e0a:1b1:3490:6f1c:5789:32fb:c789] X-Mailer: Zimbra 7.2.0-GA2598 (ZimbraWebClient - FF3.0 (Linux)/7.2.0-GA2598) X-Authenticated-User: caroute@free.fr Received-SPF: pass client-ip=212.27.42.3; envelope-from=caroute@free.fr; helo=smtp3-g21.free.fr 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, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 30 Apr 2024 08:46:26 -0400 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.83 X-Spam-Score: -5.83 X-Migadu-Queue-Id: DB8C1611D6 X-Migadu-Scanner: mx11.migadu.com X-TUID: /0h6ni/PHMnh Hi With a custom results keyword the function org-babel-where-is-src-block-result doesn't find the results block when the src block is unnamed. #+name: config #+begin_src emacs-lisp (setopt org-babel-results-keyword "R=C3=89SULTATS") #+end_src #+R=C3=89SULTATS: config : R=C3=89SULTATS #+begin_src emacs-lisp (+ 1 6) #+end_src #+R=C3=89SULTATS: : 7 #+R=C3=89SULTATS: : 7 #+R=C3=89SULTATS: : 7 A possible fix (in ob-core.el): #+begin_src elisp =20 (defconst org-babel-result-regexp (rx (seq bol (zero-or-more (any "\t ")) (literal (format "#+%s" org-babel-results-keyword)) (opt "[" =09=09;; Time stamp part. =09=09(opt "(" (=3D 4 digit) (=3D 2 "-" (=3D 2 digit)) " " (=3D 2 digit) (=3D 2 ":" (=3D 2 digit)) ") ") =09=09;; SHA1 hash. =09=09(group (one-or-more hex-digit)) =09=09"]") ":" (zero-or-more (any "\t ")))) "Regular expression used to match result lines. If the results are associated with a hash key then the hash will be saved in match group 1.") org-babel-result-regexp #+end_src #+R=C3=89SULTATS: : ^[=09 ]*#\+R=C3=89SULTATS\(?:\[\(?:([[:digit:]]\{4\}\(?:-[[:digit:]]\{2\}= \)\{2\} [[:digit:]]\{2\}\(?::[[:digit:]]\{2\}\)\{2\}) \)?\([[:xdigit:]]+\)]= \)?:[=09 ]* but it doesn't work a run time. Best regards=20 Vincek Emacs : GNU Emacs 29.3 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.33= , cairo version 1.16.0) of 2024-03-26 Package: Org mode version 9.7-pre (release_9.6.24-1407-ga2514c @ ~/.emacs30= .d/straight/build/org/) current state: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (setq org-link-elisp-confirm-function 'yes-or-no-p org-roam-db-gc-threshold 800000 org-hide-emphasis-markers t org-bibtex-headline-format-function 'org-bibtex-headline-format-default org-babel-exp-inline-code-template "src_%lang[%switches%flags]{%body}" org-roam-mode-hook '(org-roam-bibtex-mode) org-pretty-table-mode-hook '(org-pretty-table-mode-set-explicitly) org-roam-node-display-template #("${title:*} ${tags:20}" 11 21 (face org-= tag)) org-persist-after-read-hook '(org-element--cache-persist-after-read) org-format-latex-options '(:foreground default :background default :scale = 2.0 :html-foreground =09=09=09 "Black" :html-background "Transparent" :html-scale 1.0 :matche= rs =09=09=09 ("begin" "$1" "$" "$$" "\\(" "\\[")) org-export-before-parsing-hook '(org-attach-expand-links org-babel-jupyter= -strip-ansi-escapes) org-cycle-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-he= ader-arg-expand) org-roam-find-file-hook '(org-roam-buffer--setup-redisplay-h =09=09=09 org-roam--register-completion-functions-h =09=09=09 org-roam--replace-roam-links-on-save-h =09=09=09 org-roam-db-autosync--setup-update-on-save-h) org-archive-hook '(org-attach-archive-delete-maybe) org-modern-list '((42 . "=E2=80=A2") (43 . "=E2=80=A3")) org-odt-format-inlinetask-function 'org-odt-format-inlinetask-default-func= tion org-ascii-format-drawer-function '(closure (t) (_name contents _width) con= tents) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-show-empty-lin= es =09=09 org-cycle-optimize-window-after-visibility-change org-cycle-display= -inline-images) org-persist-before-read-hook '(org-element--cache-persist-before-read) org-yank-image-file-name-function 'org-yank-image-autogen-filename org-mode-hook '((closure =09=09 (org--rds visual-fill-column-width org-clock-history org-with-time = org-defdecode =09=09 org-def org-read-date-inactive org-ans2 org-ans1 org-columns-curre= nt-fmt-compiled =09=09 org-clock-current-task org-clock-effort org-end-time-was-given org= -time-was-given =09=09 org-state org-agenda-headline-snapshot-before-repeat org-struct-me= nu =09=09 org-last-state org-clock-start-time remember-data-file align-mode-= rules-list =09=09 org-inlinetask-min-level t) =09=09 nil (add-hook 'change-major-mode-hook 'org-fold-show-all 'append 'l= ocal)) =09=09 #[0 "\301\211=10\207" [imenu-create-index-function org-imenu-get-tre= e] 2] =09=09 flyspell-mode (lambda nil (flycheck-mode 1)) org-modern-mode =09=09 (lambda nil (org-bullets-mode 1)) jupyter-org-interaction-mode =09=09 (closure =09=09 (org--rds org-attach-method org--single-lines-list-is-paragraph =09=09 org-element-greater-elements org-agenda-restrict-end org-agenda-re= strict-begin =09=09 org-agenda-restrict visual-fill-column-width org-clock-history =09=09 org-agenda-current-date org-with-time org-defdecode org-def =09=09 org-read-date-inactive org-ans2 org-ans1 org-columns-current-fmt-c= ompiled =09=09 org-clock-current-task org-clock-effort org-agenda-skip-function =09=09 org-agenda-skip-comment-trees org-agenda-archives-mode org-end-tim= e-was-given =09=09 org-time-was-given org-log-note-extra org-log-note-purpose org-log= -post-message =09=09 org-last-inserted-timestamp org-last-changed-timestamp =09=09 org-entry-property-inherited-from org-state =09=09 org-agenda-headline-snapshot-before-repeat org-agenda-buffer-name =09=09 org-agenda-start-on-weekday org-agenda-buffer-tmp-name org-priorit= y-regexp =09=09 org-mode-abbrev-table org-element-cache-persistent org-element-cac= he-version =09=09 buffer-face-mode-face org-tbl-menu org-org-menu org-struct-menu or= g-entities =09=09 org-last-state org-id-track-globally org-clock-start-time texmathp= -why =09=09 remember-data-file org-agenda-tags-todo-honor-ignore-options =09=09 calc-embedded-open-mode calc-embedded-open-formula calc-embedded-c= lose-formula =09=09 align-mode-rules-list org-emphasis-alist org-emphasis-regexp-compo= nents =09=09 org-export-registered-backends org-modules crm-separator org-babel= -load-languages =09=09 org-id-overriding-file-name org-indent-indentation-per-level =09=09 org-element--timestamp-regexp org-element-cache-map-continue-from =09=09 org-element-paragraph-separate org-agenda-buffer-name org-inlineta= sk-min-level t) =09=09 nil (add-hook 'change-major-mode-hook 'org-fold-show-all 'append 'l= ocal)) =09=09 #[0 "\300\301\302\303\304$\207" =09=09 [add-hook change-major-mode-hook org-babel-show-result-all append = local] 5] =09=09 org-babel-result-hide-spec org-babel-hide-all-hashes org-cdlatex-mod= e =09=09 auto-fill-mode org-babel-jupyter-make-local-aliases org-modern-inden= t-mode) org-babel-load-languages '((shell . t) (latex . t) (C . t) (jupyter . t) (= maxima . t) (giac . t)) org-roam-ref-annotation-function 'org-roam-ref-read--annotation org-modern-timestamp nil org-roam-directory "~/Documents/Memo/roam/" org-agenda-time-grid '((daily today require-timed) (800 1000 1200 1400 160= 0 1800 2000) "......" =09=09=09"----------------") org-latex-format-drawer-function '(closure =09=09=09=09 (engrave-faces-latex-mathescape =09=09=09=09 engrave-faces-current-preset-style =09=09=09=09 engrave-faces-latex-output-style t) =09=09=09=09 (_ contents) contents) org-ellipsis "=E2=80=A6" org-roam-db-node-include-function '(closure (t) nil t) org-latex-format-headline-function 'org-latex-format-headline-default-func= tion org-confirm-shell-link-function 'yes-or-no-p org-html-format-drawer-function '(closure =09=09=09=09 (htmlize-buffer-places org-html-format-table-no-css =09=09=09=09 htmlize-css-name-prefix htmlize-output-type htmlize-output-= type =09=09=09=09 htmlize-css-name-prefix t) =09=09=09=09 (_name contents) contents) outline-isearch-open-invisible-function 'outline-isearch-open-invisible org-src-lang-modes '(("jupyter-sage" . sage) ("jupyter-python" . python) (= "jupyter-R" . r) =09=09 ("jupyter-sage" . sage-shell) ("jupyter-python" . python-ts) ("= C" . c) =09=09 ("C++" . c++) ("asymptote" . asy) ("beamer" . latex) ("calc" . = fundamental) =09=09 ("cpp" . c++) ("ditaa" . artist) ("desktop" . conf-desktop) =09=09 ("dot" . fundamental) ("elisp" . emacs-lisp) ("ocaml" . tuareg) =09=09 ("screen" . shell-script) ("sqlite" . sql) ("toml" . conf-toml)= ("shell" . sh) =09=09 ("ash" . sh) ("sh" . sh) ("bash" . sh) ("jsh" . sh) ("bash2" . = sh) =09=09 ("dash" . sh) ("dtksh" . sh) ("ksh" . sh) ("es" . sh) ("rc" . s= h) =09=09 ("itcsh" . sh) ("tcsh" . sh) ("jcsh" . sh) ("csh" . sh) ("ksh88= " . sh) =09=09 ("oash" . sh) ("pdksh" . sh) ("mksh" . sh) ("posix" . sh) ("wks= h" . sh) =09=09 ("wsh" . sh) ("zsh" . sh) ("rpm" . sh)) org-babel-results-keyword "R=C3=89SULTATS" org-agenda-current-time-string "now - - - - - - - - - - - - - - - - - - - = - - - - - -" org-agenda-block-separator 61 org-roam-indirect-buffer-hook '(org-roam--register-completion-functions-h) org-hugo-date-format "%d-%m-%Y" )