help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding String to Beginning of Lines


From: Michael Heerdegen
Subject: Re: Adding String to Beginning of Lines
Date: Tue, 10 Nov 2020 13:07:55 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Christopher Dimech <dimech@gmx.com> writes:

> Had typed them in the prompts.

Yes, you don't need them.

And when prompted for a regexp in `query-replace-regexp', you also don't
have to quote backslashes for regexp specials, contrarily to string
syntax, so one backslash is ok where you would have to type two in a
string describing a regexp.

The background is: the minibuffer input is used directly in this case
instead of being `read' as a lisp object (string).

Michael.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]