From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] /srv/bzr/emacs/trunk r99831: Scrolling commands which does not signal errors at top/bottom. Date: Wed, 07 Apr 2010 23:17:36 +0300 Organization: JURTA Message-ID: <874ojn8eqf.fsf@mail.jurta.org> References: <877hol5qso.fsf@mail.jurta.org> <874ojozp27.fsf@mail.jurta.org> <87ljd0wcw3.fsf@mail.jurta.org> <876344wamo.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1270671721 11054 80.91.229.12 (7 Apr 2010 20:22:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 7 Apr 2010 20:22:01 +0000 (UTC) Cc: Emacs developers To: Juanma Barranquero Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 07 22:22:00 2010 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.69) (envelope-from ) id 1Nzbl9-0004mF-Bd for ged-emacs-devel@m.gmane.org; Wed, 07 Apr 2010 22:22:00 +0200 Original-Received: from localhost ([127.0.0.1]:44356 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nzbl7-0005VM-Qs for ged-emacs-devel@m.gmane.org; Wed, 07 Apr 2010 16:21:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NzbkM-0005Ay-Lp for emacs-devel@gnu.org; Wed, 07 Apr 2010 16:21:10 -0400 Original-Received: from [140.186.70.92] (port=54361 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NzbkL-0005AX-2S for emacs-devel@gnu.org; Wed, 07 Apr 2010 16:21:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NzbkI-0007CM-PR for emacs-devel@gnu.org; Wed, 07 Apr 2010 16:21:08 -0400 Original-Received: from smtp-out2.starman.ee ([85.253.0.4]:48706 helo=mx2.starman.ee) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NzbkI-0007Bh-KA for emacs-devel@gnu.org; Wed, 07 Apr 2010 16:21:06 -0400 X-Virus-Scanned: by Amavisd-New at mx2.starman.ee Original-Received: from mail.starman.ee (82.131.54.87.cable.starman.ee [82.131.54.87]) by mx2.starman.ee (Postfix) with ESMTP id AB7D53F4117; Wed, 7 Apr 2010 23:20:58 +0300 (EEST) In-Reply-To: (Juanma Barranquero's message of "Tue, 6 Apr 2010 23:47:16 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:123330 Archived-At: > BTW, it's less important, but it would be nice if > scroll-(up|down)-line also obeyed `scroll-preserve-screen-position'. `mwheel-scroll' disobeys `scroll-preserve-screen-position' too. I think it would be wrong to add all possible scrolling commands to this code: && !EQ (current_kboard->Vlast_command, Qscroll_up))) && !EQ (current_kboard->Vlast_command, Qscroll_down) && !EQ (current_kboard->Vlast_command, Qscroll_up_command) && !EQ (current_kboard->Vlast_command, Qscroll_down_command))) -- Juri Linkov http://www.jurta.org/emacs/