From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: Re: scroll-left *Disabled Command* buffer is too short Date: Tue, 03 Jul 2007 14:57:27 +0200 Message-ID: <468A47B7.1060601@gmx.at> References: <87ejjp692z.fsf@escher.local.home> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------080008090705010901020408" X-Trace: sea.gmane.org 1183467393 1101 80.91.229.12 (3 Jul 2007 12:56:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 3 Jul 2007 12:56:33 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: Stephen Berman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 03 14:56:29 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 1I5hve-0000y7-Jd for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Jul 2007 14:56:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I5hvd-0005si-UN for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Jul 2007 08:56:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I5hvb-0005sT-BX for bug-gnu-emacs@gnu.org; Tue, 03 Jul 2007 08:56:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I5hva-0005s5-Dy for bug-gnu-emacs@gnu.org; Tue, 03 Jul 2007 08:56:22 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I5hva-0005s0-9l for bug-gnu-emacs@gnu.org; Tue, 03 Jul 2007 08:56:22 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1I5hvZ-0007RV-Ml for bug-gnu-emacs@gnu.org; Tue, 03 Jul 2007 08:56:22 -0400 Original-Received: (qmail invoked by alias); 03 Jul 2007 12:56:20 -0000 Original-Received: from N945P011.adsl.highway.telekom.at (EHLO [62.47.62.11]) [62.47.62.11] by mail.gmx.net (mp046) with SMTP; 03 Jul 2007 14:56:20 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/l3tMl49zl9hG1bEoqqin+lg5EwJRi7v5HAqFWaJ Qlle3HDA90Ajfy User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: <87ejjp692z.fsf@escher.local.home> X-Y-GMX-Trusted: 0 X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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:16067 Archived-At: This is a multi-part message in MIME format. --------------080008090705010901020408 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit > 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.) Could you please try the attached patch? --------------080008090705010901020408 Content-Type: text/plain; name="novice.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="novice.patch" *** novice.el Tue Jan 23 06:40:06 2007 --- novice.el Tue Jul 3 14:55:20 2007 *************** *** 88,95 **** SPC to try the command just this once, but leave it disabled. ! to try it, and enable all disabled commands for this session only.") (save-excursion ! (set-buffer standard-output) ! (help-mode))) (message "Type y, n, ! or SPC (the space bar): ") (let ((cursor-in-echo-area t)) (while (progn (setq char (read-event)) --- 88,96 ---- SPC to try the command just this once, but leave it disabled. ! to try it, and enable all disabled commands for this session only.") (save-excursion ! (set-buffer standard-output) ! (help-mode)) ! (fit-window-to-buffer)) (message "Type y, n, ! or SPC (the space bar): ") (let ((cursor-in-echo-area t)) (while (progn (setq char (read-event)) --------------080008090705010901020408 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ bug-gnu-emacs mailing list bug-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs --------------080008090705010901020408--