[Top][All Lists]

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

isearch-query-replace: empty search

From: aaron . hawley
Subject: isearch-query-replace: empty search
Date: Mon, 12 Dec 2005 10:42:13 -0500

Typing `C-s M-%' or `C-s C-M-%' gives the error:

  isearch-query-replace: Wrong type argument: number-or-marker-p, nil

Here's a patch:

--- isearch.el  28 Nov 2005 12:43:16 -0500      1.276
+++ isearch.el  12 Dec 2005 10:38:02 -0500      
@@ -1222,7 +1222,8 @@
   (let ((case-fold-search isearch-case-fold-search))
-    (if (and (< isearch-other-end (point))
+    (if (and isearch-other-end
+            (< isearch-other-end (point))
              (not (and transient-mark-mode mark-active
                        (< isearch-opoint (point)))))
         (goto-char isearch-other-end))

In GNU Emacs (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2005-12-07 on pacem, modified by Debian
X server distributor `The X.Org Foundation', version 11.0.60802000
configured using `configure '--build' 'i486-linux-gnu' '--host' 
'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' 
'--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' 
'--mandir=/usr/share/man' '--with-pop=yes' 
 '--with-x=yes' '--with-x-toolkit=athena' '--with-toolkit-scroll-bars' 
'CFLAGS=-DDEBIAN -g -Wno-pointer-sign -O2' 'build_alias=i486-linux-gnu' 

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Minor modes in effect:
  tooltip-mode: t
  auto-compression-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  line-number-mode: t

reply via email to

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