emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: address@hidden: scroll-left *Disabled Command* buffer is too short]


From: martin rudalics
Subject: Re: address@hidden: scroll-left *Disabled Command* buffer is too short]
Date: Mon, 06 Aug 2007 20:03:45 +0200
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

Does anyone see a possible solution for this problem?

------- Start of forwarded message -------
X-Spam-Status: No, score=1.2 required=5.0 tests=RCVD_IN_SORBS_WEB,
        UNPARSEABLE_RELAY autolearn=no version=3.1.0
To: address@hidden
From: Stephen Berman <address@hidden>
Date: Tue, 03 Jul 2007 13:05:40 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: scroll-left *Disabled Command* buffer is too short

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

I equipped `disabled-command-function' with a `fit-window-to-buffer' to
handle this particular case.  Checked in on 2007-07-08 in trunk.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]