all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Need `format' with position numbers
@ 2022-09-15 22:57 Jean Louis
  2022-09-16  6:09 ` [SOLVED] " Jean Louis
  0 siblings, 1 reply; 2+ messages in thread
From: Jean Louis @ 2022-09-15 22:57 UTC (permalink / raw)
  To: Help GNU Emacs

In Lisp and the command `format' does not have positioning number,
order of arguments is static:

(format "%s %s %s" name link description)

and I would like to have positioning such as in PostgreSQL:

"WHERE link = $2 AND name = $1" name link

This is because arbitrary formats for command `format' may come in the
system I am building, it is not predictable how users would like to
place name, link, description in various markup languages.

Maybe there exists different `format' command that uses position
numbers in some package?


Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-09-16  6:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-15 22:57 Need `format' with position numbers Jean Louis
2022-09-16  6:09 ` [SOLVED] " Jean Louis

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.