From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: binding c-h in isearch Date: Sat, 19 Apr 2008 16:57:35 -0400 Message-ID: References: <87d4oom6fm.fsf@jurta.org> <87fxthd8hk.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1208638671 25631 80.91.229.12 (19 Apr 2008 20:57:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Apr 2008 20:57:51 +0000 (UTC) Cc: joakim@verona.se, emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 19 22:58:24 2008 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JnK8d-0003Gn-80 for ged-emacs-devel@m.gmane.org; Sat, 19 Apr 2008 22:58:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JnK7y-0002x9-6R for ged-emacs-devel@m.gmane.org; Sat, 19 Apr 2008 16:57:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JnK7u-0002wT-24 for emacs-devel@gnu.org; Sat, 19 Apr 2008 16:57:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JnK7s-0002vm-F6 for emacs-devel@gnu.org; Sat, 19 Apr 2008 16:57:37 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JnK7s-0002vf-9h for emacs-devel@gnu.org; Sat, 19 Apr 2008 16:57:36 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JnK7s-0004pi-5H for emacs-devel@gnu.org; Sat, 19 Apr 2008 16:57:36 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: At0FAIj5CUhMCqsI/2dsb2JhbACBYKh9 X-IronPort-AV: E=Sophos;i="4.25,684,1199682000"; d="scan'208";a="18777753" Original-Received: from smtp.pppoe.ca (HELO smtp.teksavvy.com) ([65.39.196.238]) by ironport2-out.teksavvy.com with ESMTP; 19 Apr 2008 16:57:35 -0400 Original-Received: from pastel.home ([76.10.171.8]) by smtp.teksavvy.com (Internet Mail Server v1.0) with ESMTP id ZYY39935; Sat, 19 Apr 2008 16:57:35 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 1B9D18DDE; Sat, 19 Apr 2008 16:57:35 -0400 (EDT) In-Reply-To: <87fxthd8hk.fsf@jurta.org> (Juri Linkov's message of "Sat, 19 Apr 2008 23:07:07 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:95477 Archived-At: > window. So it is necessary to bind `same-window-buffer-names' and > `same-window-regexps' to nil temporarily to force displaying the Help > buffer in another window. That works around the problem but doesn't fix it. You can specify `same-window' in special-display-regexp, for example. Or you could encounter similar problems by setting display-buffer-function, etc... A real fix is to make sure we return to the proper window and buffer when we get back to the main search loop. > + (while (< i 256) > + (define-key map (vector i) 'isearch-other-control-char) > + (setq i (1+ i))) This doesn't look right. You probably just want to use (define-key map [t] 'isearch-other-control-char) instead. Stefan