emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: 赵一宇 <zhyznd@163.com>
To: "yantar92@posteo.net" <yantar92@posteo.net>
Cc: "mick.dauer@gmail.com" <mick.dauer@gmail.com>,
	 "orgmode@tec.tecosaur.net" <orgmode@tec.tecosaur.net>,
	 "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re:  BUG: org-sbe not working anymore: Format specifier doesn’t match argument type
Date: Wed, 22 Feb 2023 22:05:53 +0800 (GMT+08:00)	[thread overview]
Message-ID: <40651be0.3e3b.1867971e644.Coremail.zhyznd@163.com> (raw)
In-Reply-To: <87r0uh3iqi.fsf@localhost>

[-- Attachment #1: Type: text/plain, Size: 1229 bytes --]

Here is an example, in org file

#+name: test
#+begin_src emacs-lisp :var a :results silent

Now, if I execute 
(org-sbe "test" (a "123°34'23.34\"otherthing"))
it would say: Reference 123°34'23.34"otherthing not found
(org-sbe "test" (a $"123°34'23.34\"otherthing"))
would result 123°34'23.34

---- Replied Message ----
| From | Ihor Radchenko<yantar92@posteo.net> |
| Date | 2/22/2023 21:57 |
| To | 赵一宇<zhyznd@163.com> |
| Cc | mick.dauer@gmail.com<mick.dauer@gmail.com> ,
orgmode@tec.tecosaur.net<orgmode@tec.tecosaur.net> ,
emacs-orgmode@gnu.org<emacs-orgmode@gnu.org> |
| Subject | Re: BUG: org-sbe not working anymore: Format specifier doesn’t match argument type |
赵一宇 <zhyznd@163.com> writes:

However, I wanna figure out if another change would somehow fix another problem, when in the (var value) pair, the value contains quotation marks, for example 123°34'23.34", the assignment would fail.

Could you please provide a reproducer?

Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

[-- Attachment #2: Type: text/html, Size: 10626 bytes --]

  reply	other threads:[~2023-02-22 14:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-17 10:40 BUG: org-sbe not working anymore: Format specifier doesn’t match argument type Michael Dauer
2022-10-17 13:11 ` Ihor Radchenko
2022-11-04  7:07   ` BUG: org-sbe not working anymore: Format " Michael Dauer
2022-11-04  7:23     ` Ihor Radchenko
2023-02-22  3:49       ` zhaoyiyu
2023-02-22 11:18         ` Ihor Radchenko
2023-02-22 13:47           ` 赵一宇
2023-02-22 13:57             ` Ihor Radchenko
2023-02-22 14:05               ` 赵一宇 [this message]
2023-02-23  9:33                 ` Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40651be0.3e3b.1867971e644.Coremail.zhyznd@163.com \
    --to=zhyznd@163.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mick.dauer@gmail.com \
    --cc=orgmode@tec.tecosaur.net \
    --cc=yantar92@posteo.net \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).