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

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

Re: Suggestion: check for \n, \t in regexp for query-replace-regexp


From: David Kastrup
Subject: Re: Suggestion: check for \n, \t in regexp for query-replace-regexp
Date: 04 Dec 2001 16:06:04 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

>>>>> "Michael" == Michael J Downes <address@hidden> writes:

 Michael> Indeed it might be worth considering whether it should
 Michael> simply be silently converted to a newline character, for the
 Michael> sake of user friendliness---bearing in mind that I am only
 Michael> talking about the case where the expression is entered
 Michael> interactively in a user-level command---even though that
 Michael> would not be strictly consistent with the advertised regexp
 Michael> rules.

Not a good idea.  Second-guessing the user and accepting slightly
illegal input is going to lead to problems later on.  For example, if
the user decides to use the regexp he used interactively somewhere
non-interactively, or not even in Emacs.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum
Email: address@hidden



reply via email to

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