From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: Should ending successful Isearch with C-g restore therelativewindow position? Date: Tue, 15 Jan 2013 08:54:45 -0800 Message-ID: <702126387EFF4CCFB1BF1E0315FE79EC@us.oracle.com> References: <7E5B63603B074626914E5DAEB90E738B@us.oracle.com><83fw23qf57.fsf@gnu.org><1712F3B8AF3D49DD9AC9F829FF560543@us.oracle.com><20130115150950.GB3430@acm.acm> <20130115163642.GC3430@acm.acm> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1358268900 414 80.91.229.3 (15 Jan 2013 16:55:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Jan 2013 16:55:00 +0000 (UTC) Cc: 'Eli Zaretskii' , emacs-devel@gnu.org, dmoncayo@gmail.com To: "'Alan Mackenzie'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 15 17:55:16 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 1Tv9n9-0003tu-8N for ged-emacs-devel@m.gmane.org; Tue, 15 Jan 2013 17:55:15 +0100 Original-Received: from localhost ([::1]:60895 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tv9mt-0000RS-0R for ged-emacs-devel@m.gmane.org; Tue, 15 Jan 2013 11:54:59 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:34550) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tv9mr-0000RE-4U for emacs-devel@gnu.org; Tue, 15 Jan 2013 11:54:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tv9mp-0007KF-UU for emacs-devel@gnu.org; Tue, 15 Jan 2013 11:54:57 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:39452) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tv9ml-0007HN-DC; Tue, 15 Jan 2013 11:54:51 -0500 Original-Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by aserp1040.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id r0FGsm5F021838 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 15 Jan 2013 16:54:49 GMT Original-Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r0FGsmLT002119 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 15 Jan 2013 16:54:48 GMT Original-Received: from abhmt116.oracle.com (abhmt116.oracle.com [141.146.116.68]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id r0FGsmxS029530; Tue, 15 Jan 2013 10:54:48 -0600 Original-Received: from dradamslap1 (/10.159.246.149) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 15 Jan 2013 08:54:47 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <20130115163642.GC3430@acm.acm> Thread-Index: Ac3zP3OBavM0kBHPSGWquBxIhC+i/AAAP0tg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 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:156390 Archived-At: > > But what does any of this have to do with `C-SPC'? Sorry, > > you've lost me. The question is about `C-g' in the case > > of search success. > > I suppose it's the way I use isearch. I frequently use C-g > to go back to my starting position, but I also use C- > to do this (completing the search in the process). So, to me, > C-g and C- are semantically very close. Were I a mere > user, I'd get somewhat irritated if C-g restored the original > scroll-position, but C- didn't. Is this with emacs -Q or some special setting? For me with emacs -Q, C-SPC exits Isearch, setting the mark, and nothing more. Yes, I can then pop the mark to get back where I was, but C-SPC itself does not do anything like what C-g does, AFAICT. Anyway, I get your point; thanks.