GNU bug report logs - #6991
Please keep bytecode out of *Backtrace* buffers

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Tue, 7 Sep 2010 01:34:01 UTC

Severity: wishlist

Tags: fixed, notabug

Merged with 15789

Found in version 24.3.50

Fixed in version 26.1

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


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

From: npostavs <at> users.sourceforge.net
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: lekktu <at> gmail.com, johnw <at> gnu.org, 6991 <at> debbugs.gnu.org,
 Eli Zaretskii <eliz <at> gnu.org>, larsi <at> gnus.org, drew.adams <at> oracle.com
Subject: Re: bug#6991: Please keep bytecode out of *Backtrace* buffers
Date: Sat, 24 Jun 2017 18:27:46 -0400
[Message part 1 (text/plain, inline)]
npostavs <at> users.sourceforge.net writes:

> npostavs <at> users.sourceforge.net writes:
>
>> I propose adding a new flag print_escape_control_characters instead (see
>> patch #3 in the series).  I also implemented hiding the byte code
>> functions with text properties in #4.  It's not quite satisfactory
>> though, because it doesn't cover byte code functions values that are
>> arguments, only byte code being called.  I think printing needs to be
>> made more flexible in order to cleanly catch all byte code values.
>> Patch #5 replaces NUL bytes with "\0" in X selections (I guess it covers
>> w32 as well? Haven't checked yet).
>
> Updated the patchset to use cl-prin1, now it applies to function values
> in arguments as well.  This one actually doesn't include the byte code
> text at all (path of least resistance: cl-print-object wasn't already
> omitting bytecode and I haven't bothered adding it).

I made use of cl-prin1 depend on a custom option, and replace NUL bytes
also in w32.  I think this is ready to merge now, I will probably do so
sometime next week.

[v3-0001-Operate-on-frame-list-instead-of-printed-backtrac.patch (text/x-diff, attachment)]
[v3-0002-Improve-ert-backtrace-recording.patch (text/x-diff, attachment)]
[v3-0003-Escape-control-characters-in-backtraces-Bug-6991.patch (text/x-diff, attachment)]
[v3-0004-Don-t-redundantly-cl-print-arglist-in-function-do.patch (text/x-diff, attachment)]
[v3-0005-Hide-byte-code-in-backtraces-Bug-6991.patch (text/x-diff, attachment)]
[v3-0006-Escape-NUL-bytes-in-X-selections-Bug-6991.patch (text/x-diff, attachment)]

This bug report was last modified 7 years and 254 days ago.

Previous Next


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