GNU bug report logs -
#62032
28.2; `switch-frame' event exits incremental search
Previous Next
Full log
Message #32 received at 62032 <at> debbugs.gnu.org (full text, mbox):
> To summarize:
>
> I have been confused by a misleading comment in ispell.el - frame switches
> should actually exit isearch. Others have been confused as well, see
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=41338#59.
>
> Attached is a patch that changes the comment to avoid future confusion. I'm
> still in the process of FSF copyright assignment, but the patch probably
> classifies as paperwork-exempt, anyway.
>
> If you feel that this all not worth the hassle, you can also just close
> this bug without patching anything.
>
> - ;; Pass frame events transparently so they won't exit the search.
> - ;; In particular, if we have more than one display open, then a
> - ;; switch-frame might be generated by someone typing at another keyboard.
> + ;; Frame events should exit the search, because such frame events
> + ;; as `switch-frame’ and `delete-frame’ change the current buffer.
> + ;; See Bug#41338 for details.
> (define-key map [switch-frame] nil)
> (define-key map [delete-frame] nil)
> (define-key map [iconify-frame] nil)
Such comment could be pushed to emacs-29.
Then emacs-30 hopefully will support a new feature
'isearch-buffer-local' allowing not to exit isearch
after switching frames.
This bug report was last modified 2 years and 66 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.