From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: D. Goel Newsgroups: gmane.emacs.devel Subject: A scrolling wish.. Date: 23 Sep 2002 04:01:22 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: <87fzw1rv71.fsf@computer.localdomain> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1032768268 1294 127.0.0.1 (23 Sep 2002 08:04:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 23 Sep 2002 08:04:28 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17tOCh-0000Kk-00 for ; Mon, 23 Sep 2002 10:04:27 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17tOst-0000hw-00 for ; Mon, 23 Sep 2002 10:48:03 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17tOCf-0007cB-00; Mon, 23 Sep 2002 04:04:25 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17tO9l-0007aR-00 for emacs-devel@gnu.org; Mon, 23 Sep 2002 04:01:25 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17tO9j-0007aF-00 for emacs-devel@gnu.org; Mon, 23 Sep 2002 04:01:24 -0400 Original-Received: from 24-197-159-102.charterga.net ([24.197.159.102] helo=computer) by monty-python.gnu.org with esmtp (Exim 4.10) id 17tO9j-0007aB-00 for emacs-devel@gnu.org; Mon, 23 Sep 2002 04:01:23 -0400 Original-Received: from deego by computer with local (Exim 3.35 #1 (Debian)) id 17tO9i-0003wZ-00 for ; Mon, 23 Sep 2002 04:01:22 -0400 Original-To: emacs-devel@gnu.org Original-Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:8113 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:8113 If I programatically call (scroll-up 2), there seems to be no way to tell what the result of the operation was. viz. whether we reached a max-scrolled-out [not same as eobp] condition, or whether the output succeeded. (scroll-up) always returns nil. Perhaps it could return something more useful? The only other option looks like (window-vscroll), but is it buggy right now? ---> I try an emacs -q -no-site-file, go to *scratch*, insert many screenfuls of lines, then at various positions, insert this and eval ---> I have tried (window-vscroll) as well as: (window-vscroll (get-buffer-window (buffer-name))), at many different scroll positions, but i always get 0, both with the cvs as well as 21.2. DG http://24.197.159.102/~deego/ --