From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Aaron S. Hawley" Newsgroups: gmane.emacs.bugs Subject: Isearch halts in commands and macros Date: Fri, 28 Oct 2005 19:43:55 -0400 Message-ID: NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1130543191 27102 80.91.229.2 (28 Oct 2005 23:46:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 28 Oct 2005 23:46:31 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 29 01:46:22 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EVdvE-0006qe-AF for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 Oct 2005 01:46:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EVdvD-0005VQ-0o for geb-bug-gnu-emacs@m.gmane.org; Fri, 28 Oct 2005 19:46:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EVdth-0004MO-Uf for bug-gnu-emacs@gnu.org; Fri, 28 Oct 2005 19:44:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EVdtf-0004Jl-S0 for bug-gnu-emacs@gnu.org; Fri, 28 Oct 2005 19:44:32 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EVdtf-0004JR-3t for bug-gnu-emacs@gnu.org; Fri, 28 Oct 2005 19:44:31 -0400 Original-Received: from [132.198.104.164] (helo=webteam-dvd) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EVdtf-0004ss-7N for bug-gnu-emacs@gnu.org; Fri, 28 Oct 2005 19:44:31 -0400 Original-Received: from ashawley by webteam-dvd with local (Exim 3.36 #1 (Debian)) id 1EVdt5-0006By-00 for ; Fri, 28 Oct 2005 19:43:55 -0400 Original-To: bug-gnu-emacs@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:13764 Archived-At: This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English, because the Emacs maintainers do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. In GNU Emacs 21.4.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2005-10-02 on trouble, modified by Debian configured using `configure '--build=i486-linux-gnu' '--host=i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--with-x=yes' '--with-x-toolkit=athena' 'CFLAGS=-DDEBIAN -g -O2' 'build_alias=i486-linux-gnu' 'host_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 Please describe exactly what actions triggered the bug and the precise symptoms of the bug: Binding a "word Isearch" with `C-s C-w' to a shorter command, like `C-.', causes Isearch to halt. The unfortunate halting is not existent in GNU Emacs 20.5.1. To reproduce, evaluate the following key binding: (global-set-key [?\C-.] "\C-s\C-w") Compare running `C-s C-w' with `C-.'. I enjoy incremental search's highlighting of all the instances of the completed search in the buffer. If I wanted to halt an incremental search in a key binding or macro I'd use `RET'. (global-set-key [?\C-.] "\C-s\C-w\C-m") This behavior exists in the development version of Emacs, also. Thanks for Emacs, /a Recent input: C-x k C-g C-x C-k C-x e C-n C-n C-k C-c C-c C-a C-f C-f C-f C-x C-k C-g C-x C-k b C-h f C-g C-h a b i n d C-x o C-s m a c C-a C-s m a c r o C-a C-v C-v C-x o C-h a b m a c r o C-x o C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-p C-p C-x o C-x C-k C-x e b C-_ M-x r e p o r Recent messages: edit-kbd-macro: Key sequence b is not a keyboard macro setq: Quit Loading apropos...done Loading view...done Type C-x 1 to remove help window. C-M-v to scroll the help. Mark saved where search started [2 times] Formatting keyboard macro...done Undo! Making completion list... Loading emacsbug...done