From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: Should ending successful Isearch with C-g restore the relative window position? Date: Tue, 15 Jan 2013 15:09:50 +0000 Message-ID: <20130115150950.GB3430@acm.acm> References: <7E5B63603B074626914E5DAEB90E738B@us.oracle.com> <83fw23qf57.fsf@gnu.org> <1712F3B8AF3D49DD9AC9F829FF560543@us.oracle.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1358263005 5318 80.91.229.3 (15 Jan 2013 15:16:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Jan 2013 15:16:45 +0000 (UTC) Cc: 'Eli Zaretskii' , dmoncayo@gmail.com, emacs-devel@gnu.org To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 15 16:17:02 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Tv8G5-0003Pf-LK for ged-emacs-devel@m.gmane.org; Tue, 15 Jan 2013 16:17:01 +0100 Original-Received: from localhost ([::1]:60184 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tv8Fp-0002ZS-3G for ged-emacs-devel@m.gmane.org; Tue, 15 Jan 2013 10:16:45 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:36989) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tv8Fm-0002ZM-Ts for emacs-devel@gnu.org; Tue, 15 Jan 2013 10:16:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tv8Fi-0003ZU-76 for emacs-devel@gnu.org; Tue, 15 Jan 2013 10:16:42 -0500 Original-Received: from colin.muc.de ([193.149.48.1]:55852 helo=mail.muc.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tv8Fh-0003Z3-So for emacs-devel@gnu.org; Tue, 15 Jan 2013 10:16:38 -0500 Original-Received: (qmail 60672 invoked by uid 3782); 15 Jan 2013 15:16:36 -0000 Original-Received: from acm.muc.de (pD951B697.dip.t-dialin.net [217.81.182.151]) by colin.muc.de (tmda-ofmipd) with ESMTP; Tue, 15 Jan 2013 16:16:34 +0100 Original-Received: (qmail 4577 invoked by uid 1000); 15 Jan 2013 15:09:50 -0000 Content-Disposition: inline In-Reply-To: <1712F3B8AF3D49DD9AC9F829FF560543@us.oracle.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 8.x X-Received-From: 193.149.48.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:156382 Archived-At: Hi, Drew. On Tue, Jan 15, 2013 at 06:58:49AM -0800, Drew Adams wrote: > > Recentering is the default, always was. > Just the _default_? > Does that mean that there is a simple user setting that changes the > behavior from the default so that it returns things as they were > before searching? No, I don't think it does. You might be being a bit too pedantic here. I think it would be easy enough to record the window position in isearch for this. But... If C-g restores the window position, then sooner or later somebody's going to want C- to do the same. Seems perfectly reasonable. Except that would lead to complications in the implementation of the mark and mark-ring, possibly intractable ones. -- Alan Mackenzie (Nuremberg, Germany).