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: Emacs scrolling past the end of buffer Date: Sun, 12 Feb 2012 18:45:40 +0200 Message-ID: <83zkcoxaob.fsf@gnu.org> References: <4F32E763.1060104@dogan.se> <877gzxufq3.fsf@gmail.com> <4F330620.7060201@dogan.se> <87wr7we2xp.fsf_-_@gmail.com> <4F37EAB4.7050809@dogan.se> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1329065153 15154 80.91.229.3 (12 Feb 2012 16:45:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 12 Feb 2012 16:45:53 +0000 (UTC) Cc: emacs-devel@gnu.org To: Deniz Dogan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 12 17:45:49 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RwcYb-0008A0-Az for ged-emacs-devel@m.gmane.org; Sun, 12 Feb 2012 17:45:45 +0100 Original-Received: from localhost ([::1]:44478 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RwcYa-0005rP-LJ for ged-emacs-devel@m.gmane.org; Sun, 12 Feb 2012 11:45:44 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:59810) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RwcYY-0005rK-0s for emacs-devel@gnu.org; Sun, 12 Feb 2012 11:45:42 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RwcYW-0005SN-W6 for emacs-devel@gnu.org; Sun, 12 Feb 2012 11:45:41 -0500 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:44150) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RwcYW-0005SH-MW for emacs-devel@gnu.org; Sun, 12 Feb 2012 11:45:40 -0500 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0LZA00M00H3GKS00@a-mtaout23.012.net.il> for emacs-devel@gnu.org; Sun, 12 Feb 2012 18:45:39 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.124.150.51]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LZA00MOGH81HX60@a-mtaout23.012.net.il>; Sun, 12 Feb 2012 18:45:38 +0200 (IST) In-reply-to: <4F37EAB4.7050809@dogan.se> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.175 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:148508 Archived-At: > Date: Sun, 12 Feb 2012 17:37:08 +0100 > From: Deniz Dogan > > > But then it sometimes happen that you see past the end of the buffer > > when scrolling (the horror!). I'd rather have excessive CPU consumption. > > > > What if we combine this with a function in `window-scroll-functions'? Please make sure that no code that runs off `window-scroll-functions' tries to affect the display. Functions run by that hook should treat the display as "read-only".