GNU bug report logs -
#57256
Very long lines displayed in debugger window
Previous Next
Reported by: uzibalqa <uzibalqa <at> proton.me>
Date: Wed, 17 Aug 2022 01:47:01 UTC
Severity: normal
Tags: notabug
Done: Lars Ingebrigtsen <larsi <at> gnus.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 57256 in the body.
You can then email your comments to 57256 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#57256
; Package
emacs
.
(Wed, 17 Aug 2022 01:47:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
uzibalqa <uzibalqa <at> proton.me>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Wed, 17 Aug 2022 01:47:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
When I use the debugger I frequently get extremely long lines. I either have to move an
excessive amount to the right or having to reduce the scale height to a point where the
text gets too small to read.
Some work needs to be done so as to prettify the debugger output.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#57256
; Package
emacs
.
(Wed, 17 Aug 2022 01:56:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 57256 <at> debbugs.gnu.org (full text, mbox):
On 2022-08-17 13:45, uzibalqa wrote:
> When I use the debugger I frequently get extremely long lines.
> I either have to move an excessive amount to the right or having
> to reduce the scale height to a point where the text gets too
> small to read.
You can also simply M-x toggle-truncate-lines
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#57256
; Package
emacs
.
(Wed, 17 Aug 2022 02:25:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 57256 <at> debbugs.gnu.org (full text, mbox):
------- Original Message -------
On Wednesday, August 17th, 2022 at 1:55 AM, Phil Sainty <psainty <at> orcon.net.nz> wrote:
> On 2022-08-17 13:45, uzibalqa wrote:
>
> > When I use the debugger I frequently get extremely long lines.
> > I either have to move an excessive amount to the right or having
> > to reduce the scale height to a point where the text gets too
> > small to read.
>
>
> You can also simply M-x toggle-truncate-lines
Would be much better to prettify the display and fitting it in the debugger window
automatically. Reduces the amount of continuous typing we all have to do during
our interaction with emacs. We sprain our fingers frequently enough that we can do
without.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#57256
; Package
emacs
.
(Wed, 17 Aug 2022 03:38:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 57256 <at> debbugs.gnu.org (full text, mbox):
On 2022-08-17 14:24, uzibalqa wrote:
>> You can also simply M-x toggle-truncate-lines
>
> Would be much better to prettify the display and fitting it in the
> debugger window automatically.
Conversely, a debugger frame might have a HUGE amount of data in that
truncated information, yet it might be a frame you don't care about,
and then you might have many pages of prettified output to get past in
order to see what you're actually interested in, which is irritating.
So I think even with prettified output, being able to toggle that is
going to be a necessary feature.
> Reduces the amount of continuous typing we all have to do during
> our interaction with emacs.
FWIW I highly recommend binding `toggle-truncate-lines' to a key
sequence (I have it on "s-\") as I find it's a very helpful thing to
have trivially available (i.e. without much typing) in all kinds of
situations.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#57256
; Package
emacs
.
(Wed, 17 Aug 2022 03:49:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 57256 <at> debbugs.gnu.org (full text, mbox):
------- Original Message -------
On Wednesday, August 17th, 2022 at 3:37 AM, Phil Sainty <psainty <at> orcon.net.nz> wrote:
> On 2022-08-17 14:24, uzibalqa wrote:
>
> > > You can also simply M-x toggle-truncate-lines
> >
> > Would be much better to prettify the display and fitting it in the
> > debugger window automatically.
>
>
> Conversely, a debugger frame might have a HUGE amount of data in that
> truncated information, yet it might be a frame you don't care about,
> and then you might have many pages of prettified output to get past in
> order to see what you're actually interested in, which is irritating.
>
> So I think even with prettified output, being able to toggle that is
> going to be a necessary feature.
>
> > Reduces the amount of continuous typing we all have to do during
> > our interaction with emacs.
>
>
> FWIW I highly recommend binding `toggle-truncate-lines' to a key
> sequence (I have it on "s-\") as I find it's a very helpful thing to
> have trivially available (i.e. without much typing) in all kinds of
> situations.
If that is the case (huge amount of data) can there be a debug customisation
variable that regulates the display, so users can decide what they prefer to
see by default?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#57256
; Package
emacs
.
(Wed, 17 Aug 2022 07:48:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 57256 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Phil Sainty <psainty <at> orcon.net.nz> writes:
> You can also simply M-x toggle-truncate-lines
Or, C-x x t
--
Akib Azmain Turja
Find me on Mastodon at @akib <at> hostux.social.
This message is signed by me with my GnuPG key. Its fingerprint is:
7001 8CE5 819F 17A3 BBA6 66AF E74F 0EFA 922A E7F5
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#57256
; Package
emacs
.
(Wed, 17 Aug 2022 11:14:01 GMT)
Full text and
rfc822 format available.
Message #23 received at 57256 <at> debbugs.gnu.org (full text, mbox):
uzibalqa <uzibalqa <at> proton.me> writes:
> When I use the debugger I frequently get extremely long lines. I
> either have to move an excessive amount to the right or having to
> reduce the scale height to a point where the text gets too small to
> read.
>
> Some work needs to be done so as to prettify the debugger output.
The data shown there is necessary, so this is working as designed.
Closing.
Added tag(s) notabug.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Wed, 17 Aug 2022 11:14:02 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
57256 <at> debbugs.gnu.org and uzibalqa <uzibalqa <at> proton.me>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Wed, 17 Aug 2022 11:14:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#57256
; Package
emacs
.
(Wed, 17 Aug 2022 11:56:01 GMT)
Full text and
rfc822 format available.
Message #30 received at 57256 <at> debbugs.gnu.org (full text, mbox):
> Cc: 57256 <at> debbugs.gnu.org
> Date: Wed, 17 Aug 2022 03:48:40 +0000
> From: uzibalqa via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
>
> If that is the case (huge amount of data) can there be a debug customisation
> variable that regulates the display, so users can decide what they prefer to
> see by default?
It sounds like a solution that looks for a problem to me.
What exactly is the problem with the very long lines you see now?
Emacs has several display-related capabilities to allow you both bring
the hidden parts into view and disregard them, depending on your
needs. I don't see why we need to add a pretty-printing feature,
which would definitely make the buffer have more lines, and then on
top of that add a customization option to selectively disable the
pretty-printing. It's a complicated solution (and likely will become
even more so once we implement it) for a problem that I fail to see in
practice.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#57256
; Package
emacs
.
(Wed, 17 Aug 2022 20:38:01 GMT)
Full text and
rfc822 format available.
Message #33 received at 57256 <at> debbugs.gnu.org (full text, mbox):
------- Original Message -------
On Wednesday, August 17th, 2022 at 11:13 AM, Lars Ingebrigtsen <larsi <at> gnus.org> wrote:
> uzibalqa uzibalqa <at> proton.me writes:
>
> > When I use the debugger I frequently get extremely long lines. I
> > either have to move an excessive amount to the right or having to
> > reduce the scale height to a point where the text gets too small to
> > read.
> >
> > Some work needs to be done so as to prettify the debugger output.
>
>
> The data shown there is necessary, so this is working as designed.
>
> Closing.
The report is not about reducing the amount of output. But in not
letting the debug information drag on horizontally ad infinitum.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#57256
; Package
emacs
.
(Thu, 18 Aug 2022 13:40:01 GMT)
Full text and
rfc822 format available.
Message #36 received at 57256 <at> debbugs.gnu.org (full text, mbox):
On 2022-08-17 13:55, Phil Sainty wrote:
> On 2022-08-17 13:45, uzibalqa wrote:
>> When I use the debugger I frequently get extremely long lines.
>> I either have to move an excessive amount to the right or having
>> to reduce the scale height to a point where the text gets too
>> small to read.
>
> You can also simply M-x toggle-truncate-lines
In fact, the debugger already supports pretty-printing for the
frame at point if you type "+" (collapse again with "-").
Here's a starter for you:
(defun debugger-expand-all-frames ()
"Call `backtrace-multi-line' for all debugger frames."
(interactive)
(save-excursion
(goto-char (point-min))
(while (ignore-errors (backtrace-forward-frame))
(backtrace-multi-line))))
(define-key debugger-mode-map (kbd "*") #'debugger-expand-all-frames)
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 16 Sep 2022 11:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 275 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.