GNU bug report logs - #35596
view-lossage should leave less blank lines at bottom

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Mon, 6 May 2019 00:25:02 UTC

Severity: wishlist

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 35596 in the body.
You can then email your comments to 35596 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#35596; Package emacs. (Mon, 06 May 2019 00:25:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 06 May 2019 00:25:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: bug-gnu-emacs <at> gnu.org
Subject: view-lossage should leave less blank lines at bottom
Date: Mon, 06 May 2019 08:24:15 +0800
   C-h l runs the command view-lossage (found in global-map), which is an
   interactive compiled Lisp function in ‘help.el’.

   It is bound to C-h l, <f1> l, <help> l.

Well it doesn't seem so smart. Every time I use it the bottom half of
its window is wasted. Wouldn't it be smarter to just leave one or zero
blank lines at bottom?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#35596; Package emacs. (Tue, 07 May 2019 20:31:02 GMT) Full text and rfc822 format available.

Message #8 received at 35596 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 35596 <at> debbugs.gnu.org
Subject: Re: bug#35596: view-lossage should leave less blank lines at bottom
Date: Tue, 07 May 2019 23:27:50 +0300
>    C-h l runs the command view-lossage (found in global-map), which is an
>    interactive compiled Lisp function in ‘help.el’.
>
>    It is bound to C-h l, <f1> l, <help> l.
>
> Well it doesn't seem so smart. Every time I use it the bottom half of
> its window is wasted. Wouldn't it be smarter to just leave one or zero
> blank lines at bottom?

The last line of 'view-lossage' has this comment:

      ;; jidanni wants to see the last keystrokes immediately.
      (set-marker help-window-point-marker (point)))))

Why it fails to do what you want?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#35596; Package emacs. (Tue, 07 May 2019 21:46:01 GMT) Full text and rfc822 format available.

Message #11 received at 35596 <at> debbugs.gnu.org (full text, mbox):

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: Juri Linkov <juri <at> linkov.net>
Cc: 35596 <at> debbugs.gnu.org
Subject: Re: bug#35596: view-lossage should leave less blank lines at bottom
Date: Wed, 08 May 2019 05:45:24 +0800
JL> Why it fails to do what you want?

All I know is hold down some key for a long time, then do C-h l. You
will see

-UUU:**--F1  *scratch*      All L4     (Lisp
 j [self-insert-command]
 j [self-insert-command]
 j [self-insert-command]
 j [self-insert-command]
 j [self-insert-command]
 j [self-insert-command]
 j [self-insert-command]
 j [self-insert-command]
 j [self-insert-command]
 j [self-insert-command]
 C-h l [view-lossage]

[back]
<WASTED BLANK LINE>
<WASTED BLANK LINE>
<WASTED BLANK LINE>
<WASTED BLANK LINE>
<WASTED BLANK LINE>
<WASTED BLANK LINE>
<WASTED BLANK LINE>
-UUU:%%--F1  *Help*         Bot L76    (Help) --

emacs-version "26.1"




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#35596; Package emacs. (Wed, 08 May 2019 06:01:02 GMT) Full text and rfc822 format available.

Message #14 received at 35596 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 35596 <at> debbugs.gnu.org, juri <at> linkov.net
Subject: Re: bug#35596: view-lossage should leave less blank lines at bottom
Date: Wed, 08 May 2019 08:59:59 +0300
> From: 積丹尼 Dan Jacobson
> 	<jidanni <at> jidanni.org>
> Date: Wed, 08 May 2019 05:45:24 +0800
> Cc: 35596 <at> debbugs.gnu.org
> 
> All I know is hold down some key for a long time, then do C-h l. You
> will see
> 
> -UUU:**--F1  *scratch*      All L4     (Lisp
>  j [self-insert-command]
>  j [self-insert-command]
>  j [self-insert-command]
>  j [self-insert-command]
>  j [self-insert-command]
>  j [self-insert-command]
>  j [self-insert-command]
>  j [self-insert-command]
>  j [self-insert-command]
>  j [self-insert-command]
>  C-h l [view-lossage]
> 
> [back]
> <WASTED BLANK LINE>
> <WASTED BLANK LINE>
> <WASTED BLANK LINE>
> <WASTED BLANK LINE>
> <WASTED BLANK LINE>
> <WASTED BLANK LINE>
> <WASTED BLANK LINE>
> -UUU:%%--F1  *Help*         Bot L76    (Help) --
> 
> emacs-version "26.1"

This is the standard Emacs recentering behavior.  If you don't like
it, set scroll-conservatively to a value larger than 100.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#35596; Package emacs. (Wed, 08 May 2019 06:43:01 GMT) Full text and rfc822 format available.

Message #17 received at 35596 <at> debbugs.gnu.org (full text, mbox):

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 35596 <at> debbugs.gnu.org, juri <at> linkov.net
Subject: Re: bug#35596: view-lossage should leave less blank lines at bottom
Date: Wed, 08 May 2019 14:42:42 +0800
>>>>> "EZ" == Eli Zaretskii <eliz <at> gnu.org> writes:
EZ> This is the standard Emacs recentering behavior.  If you don't like
EZ> it, set scroll-conservatively to a value larger than 100.

OK, but now
"
[back]"
are cut off form view at the bottom.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#35596; Package emacs. (Wed, 08 May 2019 07:06:01 GMT) Full text and rfc822 format available.

Message #20 received at 35596 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 35596 <at> debbugs.gnu.org, juri <at> linkov.net
Subject: Re: bug#35596: view-lossage should leave less blank lines at bottom
Date: Wed, 08 May 2019 10:05:14 +0300
> From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
> Cc: juri <at> linkov.net,  35596 <at> debbugs.gnu.org
> Date: Wed, 08 May 2019 14:42:42 +0800
> 
> >>>>> "EZ" == Eli Zaretskii <eliz <at> gnu.org> writes:
> EZ> This is the standard Emacs recentering behavior.  If you don't like
> EZ> it, set scroll-conservatively to a value larger than 100.
> 
> OK, but now
> "
> [back]"
> are cut off form view at the bottom.

And that is a problem because...?

That button "wastes useful screen estate", doesn't it?  It's more
important to see one or two more keystrokes that to see this button,
which is always there, right?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#35596; Package emacs. (Wed, 08 May 2019 07:23:01 GMT) Full text and rfc822 format available.

Message #23 received at 35596 <at> debbugs.gnu.org (full text, mbox):

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 35596 <at> debbugs.gnu.org, juri <at> linkov.net
Subject: Re: bug#35596: view-lossage should leave less blank lines at bottom
Date: Wed, 08 May 2019 15:21:51 +0800
>>>>> "EZ" == Eli Zaretskii <eliz <at> gnu.org> writes:

EZ> That button "wastes useful screen estate", doesn't it?  It's more
EZ> important to see one or two more keystrokes that to see this button,
EZ> which is always there, right?

Using your fix on my example nine lines were gained, but two were lost.
I just want to gain seven lines, not nine.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#35596; Package emacs. (Wed, 08 May 2019 08:00:02 GMT) Full text and rfc822 format available.

Message #26 received at 35596 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 35596 <at> debbugs.gnu.org, juri <at> linkov.net
Subject: Re: bug#35596: view-lossage should leave less blank lines at bottom
Date: Wed, 08 May 2019 10:59:25 +0300
> From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
> Cc: juri <at> linkov.net,  35596 <at> debbugs.gnu.org
> Date: Wed, 08 May 2019 15:21:51 +0800
> 
> >>>>> "EZ" == Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> EZ> That button "wastes useful screen estate", doesn't it?  It's more
> EZ> important to see one or two more keystrokes that to see this button,
> EZ> which is always there, right?
> 
> Using your fix on my example nine lines were gained, but two were lost.
> I just want to gain seven lines, not nine.

Then the "jidanni wants" code should be modified to put point at EOB,
that's all.  That code currently does what you requested earlier, and
now you don't like the result.





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#35596; Package emacs. (Wed, 08 May 2019 08:06:02 GMT) Full text and rfc822 format available.

Message #29 received at 35596 <at> debbugs.gnu.org (full text, mbox):

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 35596 <at> debbugs.gnu.org, juri <at> linkov.net
Subject: Re: bug#35596: view-lossage should leave less blank lines at bottom
Date: Wed, 08 May 2019 16:05:29 +0800
>>>>> "EZ" == Eli Zaretskii <eliz <at> gnu.org> writes:
EZ> Then the "jidanni wants" code should be modified to put point at EOB,
EZ> that's all.  That code currently does what you requested earlier, and
EZ> now you don't like the result.

I bet back then they hadn't added the "\n[back]\n" yet anyway.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#35596; Package emacs. (Wed, 08 May 2019 08:46:02 GMT) Full text and rfc822 format available.

Message #32 received at 35596 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 35596 <at> debbugs.gnu.org, juri <at> linkov.net
Subject: Re: bug#35596: view-lossage should leave less blank lines at bottom
Date: Wed, 08 May 2019 11:44:43 +0300
> From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
> Cc: juri <at> linkov.net,  35596 <at> debbugs.gnu.org
> Date: Wed, 08 May 2019 16:05:29 +0800
> 
> >>>>> "EZ" == Eli Zaretskii <eliz <at> gnu.org> writes:
> EZ> Then the "jidanni wants" code should be modified to put point at EOB,
> EZ> that's all.  That code currently does what you requested earlier, and
> EZ> now you don't like the result.
> 
> I bet back then they hadn't added the "\n[back]\n" yet anyway.

Look at the code.  The code explicitly sets point to the end of the
text produced by the Help command, whereas the button is added after
that text.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#35596; Package emacs. (Wed, 08 May 2019 11:48:01 GMT) Full text and rfc822 format available.

Message #35 received at 35596 <at> debbugs.gnu.org (full text, mbox):

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 35596 <at> debbugs.gnu.org, juri <at> linkov.net
Subject: Re: bug#35596: view-lossage should leave less blank lines at bottom
Date: Wed, 08 May 2019 19:46:56 +0800
All I know is I am using emacs 26.1.
The first C-h l "wastes" half the *Help* buffer with blank lines.
Upon a second C-h l, the "\n[back]" appears, but still there is plenty
of wasteful blank lines below it.

I think there shouldn't be any blank lines following the "\n[back]",
unless we just started emacs and there isn't much to report.

I think this should be the default behavior and users shouldn't need to
set some variable (that is not even mentioned on C-h k C-h l) to "some
value over 100" to achieve it.




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Wed, 08 May 2019 12:33:02 GMT) Full text and rfc822 format available.

Notification sent to 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>:
bug acknowledged by developer. (Wed, 08 May 2019 12:33:04 GMT) Full text and rfc822 format available.

Message #40 received at 35596-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 35596-done <at> debbugs.gnu.org, juri <at> linkov.net
Subject: Re: bug#35596: view-lossage should leave less blank lines at bottom
Date: Wed, 08 May 2019 15:31:57 +0300
> From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
> Cc: juri <at> linkov.net,  35596 <at> debbugs.gnu.org
> Date: Wed, 08 May 2019 19:46:56 +0800
> 
> I think there shouldn't be any blank lines following the "\n[back]",
> unless we just started emacs and there isn't much to report.
> 
> I think this should be the default behavior and users shouldn't need to
> set some variable (that is not even mentioned on C-h k C-h l) to "some
> value over 100" to achieve it.

And I think there's nothing wrong with the default behavior as it is.
Emacs behaves like that with any window that pops up to show any
content.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#35596; Package emacs. (Wed, 08 May 2019 12:46:02 GMT) Full text and rfc822 format available.

Message #43 received at 35596-done <at> debbugs.gnu.org (full text, mbox):

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 35596-done <at> debbugs.gnu.org, juri <at> linkov.net
Subject: Re: bug#35596: view-lossage should leave less blank lines at bottom
Date: Wed, 08 May 2019 20:45:19 +0800
Well then take my name out of that code comment. As whatever change they
made doesn't still work in 26.1.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#35596; Package emacs. (Wed, 08 May 2019 13:24:02 GMT) Full text and rfc822 format available.

Message #46 received at 35596 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 35596 <at> debbugs.gnu.org, juri <at> linkov.net
Subject: Re: bug#35596: view-lossage should leave less blank lines at bottom
Date: Wed, 08 May 2019 16:22:51 +0300
> From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
> Cc: juri <at> linkov.net,  35596-done <at> debbugs.gnu.org
> Date: Wed, 08 May 2019 20:45:19 +0800
> 
> Well then take my name out of that code comment. As whatever change they
> made doesn't still work in 26.1.

It wasn't a change: we always showed point after the last command in
the history.  I changed the comment accordingly.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 06 Jun 2019 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 68 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.