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: Pretest? Date: Wed, 14 Mar 2007 10:24:04 -0400 Message-ID: References: <87slcf8qxr.fsf@stupidchicken.com> <20070309135920.GA3560@kobe.laptop> <87hcsuwk6w.fsf@stupidchicken.com> <87hcso2akn.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1173882278 7889 80.91.229.12 (14 Mar 2007 14:24:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 14 Mar 2007 14:24:38 +0000 (UTC) Cc: Juanma Barranquero , rms@gnu.org, emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 14 15:24:22 2007 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 1HRUOj-0008A1-PQ for ged-emacs-devel@m.gmane.org; Wed, 14 Mar 2007 15:24:14 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HRUPc-0004e5-T6 for ged-emacs-devel@m.gmane.org; Wed, 14 Mar 2007 09:25:08 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HRUPa-0004dn-6K for emacs-devel@gnu.org; Wed, 14 Mar 2007 10:25:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HRUPY-0004dS-Rx for emacs-devel@gnu.org; Wed, 14 Mar 2007 10:25:04 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HRUPY-0004dP-LR for emacs-devel@gnu.org; Wed, 14 Mar 2007 09:25:04 -0500 Original-Received: from tomts20.bellnexxia.net ([209.226.175.74] helo=tomts20-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HRUOa-0007GU-W6; Wed, 14 Mar 2007 10:24:05 -0400 Original-Received: from pastel.home ([70.55.141.217]) by tomts20-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20070314142404.SRNZ1637.tomts20-srv.bellnexxia.net@pastel.home>; Wed, 14 Mar 2007 10:24:04 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 189C87F26; Wed, 14 Mar 2007 10:24:04 -0400 (EDT) In-Reply-To: <87hcso2akn.fsf@stupidchicken.com> (Chong Yidong's message of "Wed\, 14 Mar 2007 09\:56\:08 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux) X-detected-kernel: Solaris 8 (1) 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:67935 Archived-At: > Another possible complication (which I haven't thought much about) is > when Emacs has frames open on more than one display. If you are > currently working on one display, having left isearch on in another > display, invoking emacsclient might lead to puzzling behavior. Read the relevant code in server.el. It contains a comment that explains that the exit-minibuffer behavior is there specifically to deal with multi-display situations. This same problem doesn't directly affect isearch I believe, or at least not to the same extent (with recursive edits, the active terminal grabs control, so the other display's events are completely blocked). Supposedly, since isearch uses overriding-terminal-local-map, it should be possible to keep isearch running on the other display, but I believe that the current implementation of isearch mixes up terminal-local, buffer-local, and global settings in such a messed up way that it won't work without further changes. Stefan