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 the relative window position? Date: Mon, 14 Jan 2013 15:17:51 -0800 Message-ID: References: <7E5B63603B074626914E5DAEB90E738B@us.oracle.com> 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 1358205483 9737 80.91.229.3 (14 Jan 2013 23:18:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Jan 2013 23:18:03 +0000 (UTC) Cc: emacs-devel@gnu.org To: "'Dani Moncayo'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 15 00:18:21 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 1TutIG-0003v4-Hz for ged-emacs-devel@m.gmane.org; Tue, 15 Jan 2013 00:18:16 +0100 Original-Received: from localhost ([::1]:58967 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TutI0-0005Fq-4s for ged-emacs-devel@m.gmane.org; Mon, 14 Jan 2013 18:18:00 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:58078) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TutHx-0005Fk-Hs for emacs-devel@gnu.org; Mon, 14 Jan 2013 18:17:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TutHw-0007b0-8X for emacs-devel@gnu.org; Mon, 14 Jan 2013 18:17:57 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:39185) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TutHw-0007ah-1k for emacs-devel@gnu.org; Mon, 14 Jan 2013 18:17:56 -0500 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by userp1040.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id r0ENHrAq013716 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 14 Jan 2013 23:17:54 GMT Original-Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r0ENHrxS021256 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 14 Jan 2013 23:17:53 GMT Original-Received: from abhmt108.oracle.com (abhmt108.oracle.com [141.146.116.60]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id r0ENHqH1026166; Mon, 14 Jan 2013 17:17:52 -0600 Original-Received: from dradamslap1 (/130.35.178.8) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 14 Jan 2013 15:17:52 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: Ac3yq/2AA9vOx+eLQFOUO4SaqcBisgAAMSFA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 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:156356 Archived-At: > IMO, TRT would be to restore both point and the window position. I > filed bug #12799, which is about a similar issue: > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12799 I see. Perhaps my setting of zero for `scroll-conservatively' is the culprit. (But I see the same behavior in older Emacs versions, where the doc of `scroll-conservatively' does not mention that zero means recenter. Perhaps that just represents an old doc problem.) In my case, I really only care about this for Isearch. Isearch should, I think, bring you back where you were, including the window position.