GNU bug report logs - #11381
23.3; isearch-search-and-update issue?

Previous Next

Package: emacs;

Reported by: Andy Grover <andy <at> groveronline.com>

Date: Sun, 29 Apr 2012 23:00:02 UTC

Severity: wishlist

Found in version 23.3

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Juri Linkov <juri <at> jurta.org>
Cc: 11381 <at> debbugs.gnu.org
Subject: Re: bug#11381: 23.3; isearch-search-and-update issue?
Date: Sun, 20 May 2012 21:36:11 -0400
> @@ -1425,7 +1445,11 @@ (defun word-search-backward (string &opt
>  of words in STRING to a regexp used to search words without regard
>  to punctuation."
>    (interactive "sWord search backward: ")
> -  (re-search-backward (word-search-regexp string nil) bound noerror count))
> +  (re-search-backward
> +   (if (functionp isearch-word)
> +       (funcall isearch-word string nil)
> +     (word-search-regexp string nil))
> +   bound noerror count))

This doesn't sound right.
 
> +		   (if (eq isearch-word 'symbol-search-regexp)
> +		       "symbol "

Comparing two functions for equality is a bad idea.


        Stefan




This bug report was last modified 12 years and 206 days ago.

Previous Next


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