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 #35 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 22:23:31 -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.

I guess I was a bit terse here: what I meant is that changing the
behavior depending on isearch-* variables is OK for a function named
isearch-foo but not word-search-*ward.


        Stefan




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

Previous Next


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