From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: scroll-left *Disabled Command* buffer is too short Date: Tue, 03 Jul 2007 13:05:40 +0200 Message-ID: <87ejjp692z.fsf@escher.local.home> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1183464773 24375 80.91.229.12 (3 Jul 2007 12:12:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 3 Jul 2007 12:12:53 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 03 14:12:49 2007 connect(): Connection refused Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I5hFR-0000Wa-Io for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Jul 2007 14:12:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I5hFQ-0006FP-Uf for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Jul 2007 08:12:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I5gCa-00089N-9i for bug-gnu-emacs@gnu.org; Tue, 03 Jul 2007 07:05:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I5gCY-000890-IR for bug-gnu-emacs@gnu.org; Tue, 03 Jul 2007 07:05:47 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I5gCY-00088x-Fe for bug-gnu-emacs@gnu.org; Tue, 03 Jul 2007 07:05:46 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1I5gCX-0003db-RR for bug-gnu-emacs@gnu.org; Tue, 03 Jul 2007 07:05:46 -0400 Original-Received: (qmail invoked by alias); 03 Jul 2007 11:05:41 -0000 Original-Received: from i577BFF28.versanet.de (EHLO escher.local.home) [87.123.255.40] by mail.gmx.net (mp011) with SMTP; 03 Jul 2007 13:05:41 +0200 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX18VUihJ6AIVutvfcUkL2L95BjTFKWjI7TaNb4280c YC9lRzORS9GGfd Original-Received: by escher.local.home (Postfix, from userid 1000) id EFF775477A; Tue, 3 Jul 2007 13:05:40 +0200 (CEST) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Tue, 03 Jul 2007 08:12:07 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:16066 Archived-At: 1. emacs -Q 2. C-x < 3. Now I see this in the lower window: You have typed C-x <, invoking disabled command scroll-left. It is disabled because new users often find it confusing. Here's the first part of its description: Scroll selected window display ARG columns left. Default for ARG is window width minus 2. Value is the total amount of leftward horizontal scrolling in effect after the change. If SET_MINIMUM is non-nil, the new scroll amount becomes the lower bound for automatic scrolling, i.e. automatic scrolling will not scroll a window to a column less than the value returned by this function. This happens in an interactive call. Do you want to use this command anyway? You can now type y to try it and enable it (no questions if you use it again). n to cancel--don't try the command, and it remains disabled. SPC to try the command just this once, but leave it disabled. Note that the last line of this buffer: ! to try it, and enable all disabled commands for this session only. is not visible. And since, after displaying this message, disabled-command-function awaits user input, there is no way within Emacs to see that last line before responding. (It is, however, possible to see it by using the window manager to increase the height of the Emacs frame, if the monitor allows it. But this wouldn't help if you're running Emacs in a tty with sufficiently few screen lines.) In GNU Emacs 22.1.1 (i686-pc-linux-gnu, GTK+ Version 2.10.6) of 2007-06-02 on escher as well as in the current CVS trunk. Steve Berman