unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* removing extraneous information in repeat-complex-command
@ 2023-01-07 18:59 Frederick Bartlett
  2023-01-07 22:02 ` Emanuel Berg
  2023-01-07 22:14 ` [External] : " Drew Adams
  0 siblings, 2 replies; 3+ messages in thread
From: Frederick Bartlett @ 2023-01-07 18:59 UTC (permalink / raw)
  To: help-gnu-emacs

Is there a simple way to resimplify complex commands?

E.g, after
     (query-replace "<^J/script>" "</script>" nil nil nil nil nil)

C-x ESC ESC produced
     (query-replace #("<^J/script>" 0 8 (syntax-table … )) "</script>" nil
nil nil nil nil)
     where … represents about 120k characters.
in the minibuffer.

I strongly prefer the former.

Alternatively, if this can only be solved via a macro, I'd appreciate a
clue or two. While I have written a few in the past, I'm not sure how to
approach this.

Thanks!
Fred


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

end of thread, other threads:[~2023-01-07 22:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-07 18:59 removing extraneous information in repeat-complex-command Frederick Bartlett
2023-01-07 22:02 ` Emanuel Berg
2023-01-07 22:14 ` [External] : " Drew Adams

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