GNU bug report logs - #15836
24.3; query-replace-regexp does not detect incorrect usage of \#

Previous Next

Package: emacs;

Reported by: Marcin Kasperski <Marcin.Kasperski <at> softax.com.pl>

Date: Fri, 8 Nov 2013 16:49:02 UTC

Severity: wishlist

Found in version 24.3

Fixed in version 24.4

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Marcin Kasperski <Marcin.Kasperski <at> softax.com.pl>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3; query-replace-regexp does not detect incorrect usage of \#
Date: Fri, 08 Nov 2013 11:24:14 +0100
I made mistake while entering regexp replacement, and got very
confusing error message.

Try the following: enter non-empty buffer and

   M-x query-replace-regexp
   ^
   \,(\#)

{ I  got this after correcting from earlier used \,(+ 1 \#)  }

Effect: 

   Symbol's function definition is void: replace-count

(which made me look for uninstalled libraries, spoiled files etc)

Expected effect:

   Some error pointing on regexp syntax.

GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.6.4)
 of 2013-10-03 on louvi, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.11303000
System Description:	Ubuntu 13.04

-- 




This bug report was last modified 11 years and 182 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.