Re: query-replace-regexp slow for evaluated lisp expressions

2007-01-12 Thread Richard Stallman
Sure, but I don't have access to commit the patch. Please send the patch again. ___ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Re: query-replace-regexp slow for evaluated lisp expressions

2007-01-11 Thread Richard Stallman
Sure, but I don't have access to commit the patch. Please send the patch again. ___ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Re: query-replace-regexp slow for evaluated lisp expressions

2007-01-11 Thread Chris Moore
Richard Stallman [EMAIL PROTECTED] writes: Sure, but I don't have access to commit the patch. Please send the patch again. I just tried, but got bounces both from you directly and from the list. From: Mail Delivery

Re: query-replace-regexp slow for evaluated lisp expressions

2007-01-10 Thread Aaron S. Hawley
Chris Moore wrote: I'm not confident about it. It seems to be working well for me still, but there's quite a lot of functionality available at the query-replace prompt which I neither understand nor use. All the replacement actions seem to work in my experience. The ones I tested were the

Re: query-replace-regexp slow for evaluated lisp expressions

2007-01-10 Thread Chris Moore
Aaron S. Hawley [EMAIL PROTECTED] writes: This bug is really worth fixing. Otherwise, the lisp expression aspect of `query-replace-regexp' will behave /unnecessarily/ slow. Sure, but I don't have access to commit the patch. Can someone who does please take a look and check it in if it's OK?

Re: query-replace-regexp slow for evaluated lisp expressions

2007-01-07 Thread Aaron S. Hawley
Quoting Chris Moore [EMAIL PROTECTED]: Aaron S. Hawley [EMAIL PROTECTED] writes: Then, do the most basic of replacements that would never be done in practice, but shows how slow interactive regexp replacements can be: Or just replace it with \,\ for an even simpler test case. Damn right.

Re: query-replace-regexp slow for evaluated lisp expressions

2007-01-07 Thread Chris Moore
Aaron S. Hawley [EMAIL PROTECTED] writes: Quoting Chris Moore [EMAIL PROTECTED]: Or just replace it with \,\ for an even simpler test case. Damn right. Or: \, makes it one character shorter, and gives lie to replace-match-string-symbols's docstring. It turns out that doesn't need to be

Re: query-replace-regexp slow for evaluated lisp expressions

2007-01-06 Thread Chris Moore
Aaron S. Hawley [EMAIL PROTECTED] writes: Then, do the most basic of replacements that would never be done in practice, but shows how slow interactive regexp replacements can be: Or just replace it with \,\ for an even simpler test case. Does this patch fix the bug? --- old/replace.el

query-replace-regexp slow for evaluated lisp expressions

2007-01-03 Thread Aaron S. Hawley
Search and evaluated replace expressions with `query-replace-regexp' are a bit slow and do not scale well to large files, even with the simplest of lisp expressions, in particular when using automatic replace of all matches by hitting !? For instance, create a buffer `foo' with 200 lines