* bug#50644: Ungrokkable argument names in string-replace
@ 2021-09-17 16:08 Juri Linkov
2021-09-17 16:25 ` Lars Ingebrigtsen
0 siblings, 1 reply; 2+ messages in thread
From: Juri Linkov @ 2021-09-17 16:08 UTC (permalink / raw)
To: 50644
Especially INSTRING is hard to parse in:
-- Function: string-replace fromstring tostring instring
This function replaces all occurrences of FROMSTRING with TOSTRING
in INSTRING and returns the result. It may return one of its
arguments unchanged, a constant string or a new string. Case is
significant, and text properties are ignored.
Whereas other functions like perform-replace use ‘-’ to separate words,
e.g. “FROM-STRING”:
-- Function: perform-replace from-string replacements query-flag
regexp-flag delimited-flag &optional repeat-count map start
end backward region-noncontiguous-p
This function is the guts of ‘query-replace’ and related commands.
It searches for occurrences of FROM-STRING in the text between
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#50644: Ungrokkable argument names in string-replace
2021-09-17 16:08 bug#50644: Ungrokkable argument names in string-replace Juri Linkov
@ 2021-09-17 16:25 ` Lars Ingebrigtsen
0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2021-09-17 16:25 UTC (permalink / raw)
To: Juri Linkov; +Cc: 50644
Juri Linkov <juri@linkov.net> writes:
> Whereas other functions like perform-replace use ‘-’ to separate words,
> e.g. “FROM-STRING”:
Sure, go ahead and add dashes.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-09-17 16:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-17 16:08 bug#50644: Ungrokkable argument names in string-replace Juri Linkov
2021-09-17 16:25 ` Lars Ingebrigtsen
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.