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 17:37:38 +0200 Message-ID: <468A6D42.2090401@gmx.at> References: <87ejjp692z.fsf@escher.local.home> <468A47B7.1060601@gmx.at> <87abud6052.fsf@escher.local.home> <468A6044.8020303@gmx.at> <8764515xwx.fsf@escher.local.home> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------050309090202000004050308" X-Trace: sea.gmane.org 1183477005 7237 80.91.229.12 (3 Jul 2007 15:36:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 3 Jul 2007 15:36:45 +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 17:36:44 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 1I5kQl-0007CH-72 for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Jul 2007 17:36:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I5kQk-0006Wv-Kz for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Jul 2007 11:36:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I5kQh-0006WZ-RS for bug-gnu-emacs@gnu.org; Tue, 03 Jul 2007 11:36:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I5kQe-0006Vu-D1 for bug-gnu-emacs@gnu.org; Tue, 03 Jul 2007 11:36:38 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I5kQe-0006Vr-Ab for bug-gnu-emacs@gnu.org; Tue, 03 Jul 2007 11:36:36 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1I5kQd-0005Ws-Ou for bug-gnu-emacs@gnu.org; Tue, 03 Jul 2007 11:36:36 -0400 Original-Received: (qmail invoked by alias); 03 Jul 2007 15:36:34 -0000 Original-Received: from N955P000.adsl.highway.telekom.at (EHLO [62.47.63.64]) [62.47.63.64] by mail.gmx.net (mp058) with SMTP; 03 Jul 2007 17:36:34 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/q6D17SbLqaGhMSjuJKmK3sdBamsXFI78sXS1N5H VJwj5D4oGF48n9 User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: <8764515xwx.fsf@escher.local.home> X-Y-GMX-Trusted: 0 X-detected-kernel: Linux 2.6 (newer, 1) 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:16071 Archived-At: This is a multi-part message in MIME format. --------------050309090202000004050308 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit > *** novice.el 2007-01-21 23:44:40.000000000 +0100 > --- novice.el 2007-07-03 16:57:33.000000000 +0200 > *************** > *** 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 > ! (pop-to-buffer "*Disabled Command*") > ! (fit-window-to-buffer) > ! (help-mode))) > (message "Type y, n, ! or SPC (the space bar): ") > (let ((cursor-in-echo-area t)) > (while (progn (setq char (read-event)) `pop-to-buffer' is drastic, I'd prefer something like the attached one (my earlier patch was wrong because `with-output-to-temp-buffer' first evaluates the args and then selects the window to show the buffer). --------------050309090202000004050308 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 17:33:24 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 (get-buffer-window "*Disabled Command*")) (message "Type y, n, ! or SPC (the space bar): ") (let ((cursor-in-echo-area t)) (while (progn (setq char (read-event)) --------------050309090202000004050308 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 --------------050309090202000004050308--