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 21:47:27 +0800 (GMT+08:00)	[thread overview]
Message-ID: <11a138fe.3db9.186796106bc.Coremail.zhyznd@163.com> (raw)
In-Reply-To: <87cz62c5i9.fsf@localhost>

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

Oh thanks, that was clear.
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.


In macro she-org,
change
(quote (format "\"%s\"" el))
to
(quote (format "%S" el))


Now I can use the $ prefix to assign the string value.


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

zhaoyiyu <zhyznd@163.com> writes:
Maybe change the org-sbe macro? Below is a workaround.

Sorry, I was not clear.
This bug has been fixed.
I can no longer reproduce it.

--
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: 6862 bytes --]

  reply	other threads:[~2023-02-22 14:04 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           ` 赵一宇 [this message]
2023-02-22 13:57             ` Ihor Radchenko
2023-02-22 14:05               ` 赵一宇
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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  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=11a138fe.3db9.186796106bc.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 \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).