From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id oM76E6QY9mPyUwAAbAwnHQ (envelope-from ) for ; Wed, 22 Feb 2023 14:29:08 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id gGCsE6QY9mOShwAAauVa8A (envelope-from ) for ; Wed, 22 Feb 2023 14:29:08 +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 8B6882D5C1 for ; Wed, 22 Feb 2023 14:29:07 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=163.com header.s=s110527 header.b=iHNI3Ozg; 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"; dmarc=pass (policy=none) header.from=163.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677072548; a=rsa-sha256; cv=none; b=JakeSEeET6UCkBZ/R5a+GvYugA/CQkRNYBaUN0Uwyya4029R0L8/evakQ5Co3y5nKUxSt4 91S0Wo09IoeJNMDaqmJaLaEr8w5qOQJ1LpqD9+EKBCg8Lt51pJQ+4PszntSwXF3hj+7d4Q BCyctKoTdsPfKnLcc2qlhJT9/wzkF/iXbqyTCfAV1KdbDkBBydkN/DC+e4GFRpSnuLkk77 Pk5lNs3FefCixJNQLdUJltJx7597g1zmML8L8QnXYf9DXIuwCs1iEHPUjpM4DFcOjNOgeC X3JEe/l3Pha/Ot12HutqtGSe8eSx0s35Vhp9g/eXXCYgf6YFjNSwi3GXdzcaIw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=163.com header.s=s110527 header.b=iHNI3Ozg; 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"; dmarc=pass (policy=none) header.from=163.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677072548; h=from:from:sender:sender: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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=WWmypkdx5Br9e1V+1g1GOMGrm6q5hKwbJylMQZmIVh0=; b=LYGKlJMvPRHnJw6zLqA4UUw1aAKT/kYiBclpF53TRclFS0JCKMU+e3ntpWak3Iu0VN7NkW fsEAFfeEx12r51gMbGq3kUaC+9eG2TxLWA0ogVHaL+2eGOGtXel8yjAkmx8o2vdDc0aMRf jr3eKnQgCvcKYy+okS76nhaQvO8qSp4Ry37XCZrT+JHQpfGN6a2eMZAgN9sETMmhgMCVlQ 6SAfE4oV/xE4CHYZ6lPHkTLyDDypTZTEy5VOMgc21KRHcBCFuu5qKgWxuj4VJVjdWbsuN/ U4fmRJ19HlWq5pD92w2vjEMBKdOl+aTVCCUITP06OteciszhGOeXfnbcLXtX8A== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pUpAJ-0004An-24; Wed, 22 Feb 2023 08:28:11 -0500 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 1pUg9B-0000PW-2p for emacs-orgmode@gnu.org; Tue, 21 Feb 2023 22:50:25 -0500 Received: from m12.mail.163.com ([220.181.12.197]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pUg97-0005yP-0U for emacs-orgmode@gnu.org; Tue, 21 Feb 2023 22:50:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=Message-ID:Date:MIME-Version:Subject:From: Content-Type; bh=WWmypkdx5Br9e1V+1g1GOMGrm6q5hKwbJylMQZmIVh0=; b=iHNI3Ozg9SbR760IaawJhxlpviYpZd4gz+/CYbiijkWJ+drMsjnkj7uzyr0pKe AZoRx1RJlT7eG8QomPOGBs3a8xGqFYai22LygWc0W193K2sQ7CYwJHqIFNmsi515 qAKsem5csw/MkIq4Mo2Rh3fA/JIDB+M/GjCSDUSh/FPig= Received: from [172.17.63.173] (unknown [103.85.170.50]) by zwqz-smtp-mta-g2-1 (Coremail) with SMTP id _____wDXvAXokPVjhcXiAg--.52708S2; Wed, 22 Feb 2023 11:50:00 +0800 (CST) Message-ID: <21a4d6be-e7ce-740a-f04a-2ebd54db2253@163.com> Date: Wed, 22 Feb 2023 11:49:59 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: =?UTF-8?Q?Re=3a_BUG=3a_org-sbe_not_working_anymore=3a_Format_specif?= =?UTF-8?Q?ier_doesn=e2=80=99t_match_argument_type?= To: Ihor Radchenko , Michael Dauer Cc: Timothy , emacs-orgmode@gnu.org References: <878rleppbb.fsf@localhost> <87iljvgp2z.fsf@localhost> Content-Language: en-US From: zhaoyiyu In-Reply-To: <87iljvgp2z.fsf@localhost> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CM-TRANSID: _____wDXvAXokPVjhcXiAg--.52708S2 X-Coremail-Antispam: 1Uf129KBjvJXoWxJr1kGw13uFy5ZF47Zr4xJFb_yoW8Cr13p3 y2qwn0kFW3Ca98XwsrJ3yrXryvg39IgF4YgFyrtF97Was8GF93Z3y5u3s5ZFyvkr1DJ3ZI qa1jvr95A3yavrJanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x07UUcTQUUUUU= X-Originating-IP: [103.85.170.50] X-CM-SenderInfo: h2k160rg6rljoofrz/1tbiPQAeQmI0VR9pDgACsY Received-SPF: pass client-ip=220.181.12.197; envelope-from=zhyznd@163.com; helo=m12.mail.163.com X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 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, NICE_REPLY_A=-0.095, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 22 Feb 2023 08:28:02 -0500 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: X-Migadu-Queue-Id: 8B6882D5C1 X-Spam-Score: -6.86 X-Migadu-Spam-Score: -6.86 X-Migadu-Scanner: scn0.migadu.com 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-TUID: vgqdQRryq6SW Maybe change the org-sbe macro? Below is a workaround. (defmacro org-sbe (source-block &rest variables)   (declare (debug (form form)))   (let* ((header-args (if (stringp (car variables)) (car variables) ""))      (variables (if (stringp (car variables)) (cdr variables) variables)))     (let* (quote        (variables         (mapcar          (lambda (var)            ;; ensure that all cells prefixed with $'s are strings            (cons (car var)              (delq nil (mapcar                 (lambda (el)                   (if (eq '$ el)                       (prog1 nil (setq quote t))                     (prog1                     (cond                                          ;; FIXME: replace "\"%s\"" for quotation marks inside value -->                     (quote (format "%S" el))                      ((stringp el) (org-no-properties el))                      (t el))                       (setq quote nil))))                 (cdr var)))))          variables)))       (unless (stringp source-block)     (setq source-block (symbol-name source-block)))       (let ((result              (if (and source-block (> (length source-block) 0))                  (let ((params                         ;; FIXME: Why `eval'?!?!?                         (eval `(org-babel-parse-header-arguments                                 (concat                                  ":var results="                                  ,source-block                                  "[" ,header-args "]"                                  "("                                  (mapconcat                                   (lambda (var-spec)                                     (if (> (length (cdr var-spec)) 1)                                         (format "%S='%S"                                                 (car var-spec)                                                 (mapcar #'read (cdr var-spec)))                                       (format "%S=%s"                                               (car var-spec) (cadr var-spec))))                                   ',variables ", ")                                  ")")))))                    (org-babel-execute-src-block                     ;; FIXME: manual add names in list -->                    nil (list "emacs-lisp" "results" params "" "results")                     '((:results . "silent"))))                "")))         (org-trim (if (stringp result) result (format "%S" result))))))) On 2022/11/4 15:23, Ihor Radchenko wrote: > Michael Dauer writes: > >> It's this fixed? How can I track myself? > I think it is, as a side effect of > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=9987451252fa64af65d0a0a014f41812f4402c02 > > I was mainly waiting for Timothy to chime in, but there was a second bug report... >