all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

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.