From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Should ending successful Isearch with C-g restore the relative window position? Date: Tue, 15 Jan 2013 20:25:46 +0200 Message-ID: <83sj628frp.fsf@gnu.org> References: <7E5B63603B074626914E5DAEB90E738B@us.oracle.com> <83fw23qf57.fsf@gnu.org> <1712F3B8AF3D49DD9AC9F829FF560543@us.oracle.com> <834niiqubh.fsf@gnu.org> <75F694ACD7DA4E0482195A15331657BA@us.oracle.com> <83zk0ape2h.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1358274320 22286 80.91.229.3 (15 Jan 2013 18:25:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Jan 2013 18:25:20 +0000 (UTC) Cc: emacs-devel@gnu.org, dmoncayo@gmail.com To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 15 19:25:37 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 1TvBCZ-00050c-Jx for ged-emacs-devel@m.gmane.org; Tue, 15 Jan 2013 19:25:35 +0100 Original-Received: from localhost ([::1]:53813 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvBCJ-0003RM-9J for ged-emacs-devel@m.gmane.org; Tue, 15 Jan 2013 13:25:19 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:56578) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvBCF-0003QQ-UU for emacs-devel@gnu.org; Tue, 15 Jan 2013 13:25:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TvBCE-0002XW-Re for emacs-devel@gnu.org; Tue, 15 Jan 2013 13:25:15 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:65215) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvBCE-0002WD-Jr for emacs-devel@gnu.org; Tue, 15 Jan 2013 13:25:14 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MGO00500J3HZN00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Tue, 15 Jan 2013 20:25:13 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MGO005THJ61SD50@a-mtaout22.012.net.il>; Tue, 15 Jan 2013 20:25:13 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 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:156404 Archived-At: > From: "Drew Adams" > Cc: , > Date: Tue, 15 Jan 2013 09:59:02 -0800 > > > Does scroll-preserve-screen-position change anything in this > > situation? > > Not for me. Does it help for you? Didn't try. But I suspected that much. > That has little to do with "scrolling" per se, AFAICT. Yes, the text gets > "scrolled", in a sense, when Isearch moves to a match that is outside the text > shown in the window. But that is not what I think of as scrolling. Alas, too many people expect Emacs to behave similarly to what it does during scrolling, even if point moves for reasons entirely unrelated to scroll commands. So most, if not all, of the scroll-* variables are in effect even if there's no scrolling anywhere in sight.