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: Fri, 16 Apr 2010 02:56:33 +0300 Organization: JURTA Message-ID: <87ljcoe0cu.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> <874ojn8eqf.fsf@mail.jurta.org> <87aatcnufw.fsf@mail.jurta.org> <87y6gq6la3.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 1271376069 9798 80.91.229.12 (16 Apr 2010 00:01:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 16 Apr 2010 00:01:09 +0000 (UTC) Cc: Juanma Barranquero , Emacs developers To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 16 02:01:07 2010 connect(): No such file or directory 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 1O2Yzb-0006pe-9M for ged-emacs-devel@m.gmane.org; Fri, 16 Apr 2010 02:01:07 +0200 Original-Received: from localhost ([127.0.0.1]:58062 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O2Yza-0005kK-St for ged-emacs-devel@m.gmane.org; Thu, 15 Apr 2010 20:01:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O2YzS-0005g2-OG for emacs-devel@gnu.org; Thu, 15 Apr 2010 20:00:58 -0400 Original-Received: from [140.186.70.92] (port=36777 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O2YzQ-0005dH-7K for emacs-devel@gnu.org; Thu, 15 Apr 2010 20:00:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O2YzN-00066i-H1 for emacs-devel@gnu.org; Thu, 15 Apr 2010 20:00:56 -0400 Original-Received: from smtp-out2.starman.ee ([85.253.0.4]:49490 helo=mx2.starman.ee) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O2YzN-000665-Bf for emacs-devel@gnu.org; Thu, 15 Apr 2010 20:00:53 -0400 X-Virus-Scanned: by Amavisd-New at mx2.starman.ee Original-Received: from mail.starman.ee (82.131.70.13.cable.starman.ee [82.131.70.13]) by mx2.starman.ee (Postfix) with ESMTP id BBE163F40A0; Fri, 16 Apr 2010 03:00:48 +0300 (EEST) In-Reply-To: (Stefan Monnier's message of "Thu, 15 Apr 2010 00:41:24 -0400") 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:123730 Archived-At: >> Wouldn't it better to define scrolling commands for >> scroll-preserve-screen-position the same way with symbol properties? > > Fine by me. Done with the `scroll-command' property. > Especially if we can reduce the number of symbol properties > by merging them into just one `scroll-command' property > which isearch and scroll-preserve-screen-position can share. Unfortunately, the definition of a scroll command used by `isearch-allow-scroll' is too broad: it can be a command that scrolls the window, acts on the other window or changes the window layout. I'm not sure if it would be good for `scroll-preserve-screen-position' to put the `scroll-command' property on all these commands that currently have the `isearch-scroll' property, or whether some users might want to remove the `isearch-scroll' property from some real scroll commands. -- Juri Linkov http://www.jurta.org/emacs/