X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=lisp%2Fisearch-mode.el;h=4ec4f662ad090030294b66ecef21a4688b3a78cf;hb=75b7fc487b2b0474ac6facbd9bdc34a8143cefee;hp=3cb2440fb1a50d94cc9a13ddfdc73a34d672b30b;hpb=98a6e4055a1fa624c592ac06f79287d55196ca37;p=chise%2Fxemacs-chise.git.1 diff --git a/lisp/isearch-mode.el b/lisp/isearch-mode.el index 3cb2440..4ec4f66 100644 --- a/lisp/isearch-mode.el +++ b/lisp/isearch-mode.el @@ -238,6 +238,13 @@ Default nil means edit the string from the search ring first." ;; then it would terminate the search and be executed without this. (let ((i 32) (str (make-string 1 0))) + ;; #### GR (and C1 too, in KOI8 and Windows-land at least) should + ;; be printing. But that breaks on high-bit-is-meta brain-damage. + ;; At least in no-mule, the high bit is treated as a meta bit. + ;; With GR treated as printable in isearch, any meta command + ;; events will not be executed because they are treated as GR + ;; characters by isearch, but then there is an error because + ;; event-to-character (properly) returns nil. (while (< i 127) (aset str 0 i) (define-key map str 'isearch-printing-char) @@ -866,7 +873,7 @@ Use `isearch-exit' to quit without signaling." ;; and really do quit. (progn (goto-char isearch-opoint) (setq isearch-success nil) - (isearch-done t) ; exit isearch + (isearch-done) ; exit and push target string (signal 'quit '(isearch))) ; and pass on quit signal ;; If search is failing, or has an incomplete regexp, ;; rub out until it is once more successful.