From unknown Sun Aug 17 04:19:59 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#3304: view-lossage assumes always can see to bottom Reply-To: jidanni@jidanni.org, 3304@debbugs.gnu.org Resent-From: jidanni@jidanni.org Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 16 May 2009 04:25:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 3304 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.124244758922797 (code B ref -1); Sat, 16 May 2009 04:25:04 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 16 May 2009 04:19:49 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.6 required=4.0 tests=AWL,MURPHY_DRUGS_REL8, SARE_RECV_SPAM_DOMN0b autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n4G4Jgc7022784 for ; Fri, 15 May 2009 21:19:44 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M5BN8-0005ba-A8 for bug-gnu-emacs@gnu.org; Sat, 16 May 2009 00:19:42 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M5BN3-0005Zf-HU for bug-gnu-emacs@gnu.org; Sat, 16 May 2009 00:19:42 -0400 Received: from [199.232.76.173] (port=38099 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M5BN3-0005ZZ-CV for bug-gnu-emacs@gnu.org; Sat, 16 May 2009 00:19:37 -0400 Received: from balanced.mail.policyd.dreamhost.com ([208.97.132.119]:54345 helo=homiemail-a6.g.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M5BN3-0002WJ-0q for bug-gnu-emacs@gnu.org; Sat, 16 May 2009 00:19:37 -0400 Received: from jidanni.org (122-127-41-22.dynamic.hinet.net [122.127.41.22]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by homiemail-a6.g.dreamhost.com (Postfix) with ESMTP id EC0DE155B4 for ; Fri, 15 May 2009 21:19:34 -0700 (PDT) To: bug-gnu-emacs@gnu.org From: jidanni@jidanni.org Date: Sat, 16 May 2009 05:11:08 +0800 Message-ID: <87bppuysur.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) view-lossage assumes one has a terminal large enough to always see to the bottom of the *Help* buffer it creates. No, terminals aren't getting smaller since the last time I brought this up. The problem is that we are not just dealing with a b c d e, but longer names that fill up the *Help* buffer so one can't just see what one has just typed right away. One must scroll that buffer as an extra step. My terminal has exactly 20 lines available for the *Help* buffer when I hit C-h l. (defun view-lossage () Needs to have a variable instead of the hardwired "Display last 100 input keystrokes. But much more importantly needs to (goto-char (point-max)) somewhere inside it, as what we last typed is ALWAYS what we are interested in, not [aforementioned new variable] strokes ago, which no longer fits on the screen anyway. I tried to put (goto-char (point-max)) into view-lossage but failed the lisp miserably, else I would send you a patch. Anyway, just do will you please, while you are reading this message. The window splits in half but the *Help* buffer's bottom is too big at least here for me, and I must scroll it to see the vital last few lines. Wait! I have now a totally new solution that puts it all on the screen! Two wrongs (hardwiring variables) don't make a right, and will ensure I'll be writing you back the next time it outgrows its pants, but here it is anyway. emacs-version "22.3.1": $ cd /tmp;diff -u Orig.help.el help.el --- Orig.help.el 2009-05-16 04:57:07.811578491 +0800 +++ help.el 2009-05-16 04:55:50.000000000 +0800 @@ -453,7 +453,7 @@ " ")) (with-current-buffer standard-output (goto-char (point-min)) - (while (progn (move-to-column 50) (not (eobp))) + (while (progn (move-to-column 70) (not (eobp))) (when (search-forward " " nil t) (delete-char -1)) (insert "\n"))) From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 26 13:41:57 2010 Received: (at control) by debbugs.gnu.org; 26 Jan 2010 18:41:58 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NZqMP-0002bu-EP for submit@debbugs.gnu.org; Tue, 26 Jan 2010 13:41:57 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NZqMC-0002bf-7k for control@debbugs.gnu.org; Tue, 26 Jan 2010 13:41:56 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1NZqM6-00073h-Sb; Tue, 26 Jan 2010 13:41:38 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19295.14178.860840.157022@fencepost.gnu.org> Date: Tue, 26 Jan 2010 13:41:38 -0500 From: Glenn Morris To: control Subject: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: magenta X-Ran: c>qUJL[3-J}PozrYQKhkXmOqKZpEn9|:irefvRW$aMi54 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.0 (-----) severity 3304 minor severity 3314 minor close 3356 severity 3366 minor severity 3370 wishlist tags 3370 wontfix severity 3395 minor close 3396 unarchive 3443 unarchive 3431 reassign 3443 emacs,w32 merge 3431 3443 tags 3500 moreinfo From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 09 18:45:32 2011 Received: (at control) by debbugs.gnu.org; 9 Jul 2011 22:45:32 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QfgHE-0001MZ-DO for submit@debbugs.gnu.org; Sat, 09 Jul 2011 18:45:32 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QfgHC-0001MN-Fw for control@debbugs.gnu.org; Sat, 09 Jul 2011 18:45:31 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1QfgH7-0001Ob-BL for control@debbugs.gnu.org; Sat, 09 Jul 2011 18:45:25 -0400 Date: Sat, 09 Jul 2011 18:45:25 -0400 Message-Id: Subject: control message for bug 3304 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) forcemerge 215 3304 From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 22 12:16:11 2012 Received: (at control) by debbugs.gnu.org; 22 Feb 2012 17:16:11 +0000 Received: from localhost ([127.0.0.1]:51272 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S0FnT-0002j6-Qd for submit@debbugs.gnu.org; Wed, 22 Feb 2012 12:16:11 -0500 Received: from fencepost.gnu.org ([140.186.70.10]:47797 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S0FnO-0002iq-5v for control@debbugs.gnu.org; Wed, 22 Feb 2012 12:16:06 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1S0Fl4-0007qb-Rw for control@debbugs.gnu.org; Wed, 22 Feb 2012 12:13:38 -0500 Date: Wed, 22 Feb 2012 12:13:38 -0500 Message-Id: Subject: control message for bug 215 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) retitle 215 customizable number of characters in view-lossage tag 215 wontfix submitter 215 drew.adams@oracle.com From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 22 12:17:39 2012 Received: (at control) by debbugs.gnu.org; 22 Feb 2012 17:17:39 +0000 Received: from localhost ([127.0.0.1]:51276 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S0Fow-0002m0-NT for submit@debbugs.gnu.org; Wed, 22 Feb 2012 12:17:39 -0500 Received: from fencepost.gnu.org ([140.186.70.10]:47846 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S0Fou-0002lt-By for control@debbugs.gnu.org; Wed, 22 Feb 2012 12:17:37 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1S0Fma-00028q-SZ for control@debbugs.gnu.org; Wed, 22 Feb 2012 12:15:12 -0500 Date: Wed, 22 Feb 2012 12:15:12 -0500 Message-Id: Subject: control message for bug 3304 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) unmerge 3304 close 3304 23.1