From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#6991: Please keep bytecode out of *Backtrace* buffers Date: Wed, 7 Aug 2013 15:25:01 -0700 (PDT) Message-ID: <0095ac50-a6da-4058-a981-43954ba62e12@default> References: <<8739tm9vzl.fsf@jidanni.org>> <> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1375914390 14603 80.91.229.3 (7 Aug 2013 22:26:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 7 Aug 2013 22:26:30 +0000 (UTC) Cc: Juanma Barranquero , 6991@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 08 00:26:31 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V7CBa-00036W-OW for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Aug 2013 00:26:30 +0200 Original-Received: from localhost ([::1]:35210 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V7CBa-00050z-0o for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 Aug 2013 18:26:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41138) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V7CBM-0004p0-4p for bug-gnu-emacs@gnu.org; Wed, 07 Aug 2013 18:26:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V7CB8-0005Ml-2j for bug-gnu-emacs@gnu.org; Wed, 07 Aug 2013 18:26:16 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51961) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V7CB7-0005Mf-Uc for bug-gnu-emacs@gnu.org; Wed, 07 Aug 2013 18:26:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1V7CB7-0006Cg-O5 for bug-gnu-emacs@gnu.org; Wed, 07 Aug 2013 18:26:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 07 Aug 2013 22:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6991 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix Original-Received: via spool by 6991-submit@debbugs.gnu.org id=B6991.137591431423746 (code B ref 6991); Wed, 07 Aug 2013 22:26:01 +0000 Original-Received: (at 6991) by debbugs.gnu.org; 7 Aug 2013 22:25:14 +0000 Original-Received: from localhost ([127.0.0.1]:46277 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V7CAL-0006Av-Lj for submit@debbugs.gnu.org; Wed, 07 Aug 2013 18:25:14 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:29929) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V7CAI-0006AU-FU for 6991@debbugs.gnu.org; Wed, 07 Aug 2013 18:25:11 -0400 Original-Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r77MP3Y7030785 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 7 Aug 2013 22:25:04 GMT Original-Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r77MP163024765 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 7 Aug 2013 22:25:02 GMT Original-Received: from abhmt117.oracle.com (abhmt117.oracle.com [141.146.116.69]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r77MP1Bq017625; Wed, 7 Aug 2013 22:25:01 GMT In-Reply-To: <> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6668.5000 (x86)] X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:77065 Archived-At: Can we please fix this? What about Stefan's patch? Etc. > Sent: Thursday, January 24, 2013 2:43 PM >=20 > > Sent: Monday, July 02, 2012 12:06 PM > > > > > You can try the simple patch below. It doesn't cut it for me, and > > > I think the only way to make it work well would be to change the > > > representation of the byte-codes so that they're not just a "unibyte > > > string" but an object with a distinctive type: the patch > > > only catches the case where the byte-codes appear within a printed > > > byte-compiled-function, not when they're arguments to the > > > `byte-code' function or to the `make-byte-code' function, and I'm sur= e > > > there can be other cases. > > > > Thanks, but I don't build Emacs. Hopefully something like > > this will be added to Emacs itself, even if it is only a partial > > solution. > > > > Did you mean to close the bug? It seems to be getting closed > > just because (?) 6991-done is in the recipients list. > > > > If you did not mean to close it, let's please reopen it. > > Even if it is made only a wishlist item, it is a useful enhancement > > request. >=20 > Can we please follow up on this? The status seems to be `wishlist' but > tagged `wontfix', which doesn't make a lot of sense to me. >=20 > I cannot build Emacs to test this. Could someone else please test it? O= r > could it please be installed without testing? (Seriously.) >=20 > It would _really_ be helpful if there were no binary crap in Lisp > backtraces. Does that stuff actually help anyone? If so, perhaps we can > keep it as a (non-default) option, but otherwise, can't we simply elide > anything that is not a printable character, at the least? >=20 > I mean replace it by `...', not just change a `display' property. The > problems > I encounter arise from trying to copy + paste the backtrace. >=20 > I don't understand why we even have backtraces that one cannot copy & pas= te > completely, into, e.g., an email. What's the point of that? If I try to > paste a copied backtrace I need to paste bits of it piecemeal, because th= e > binary parts do not paste. That is tedious and error prone. Many users > might not even realize that the backtrace did not get completely pasted. >=20 > Why is it so hard to advance on something like this? Stefan provided a C > patch to test, and that was the end of the thread. >=20 > So much stuff gets added to the Emacs C sources anyway, sometimes breakin= g > all kinds of stuff. Why don't you please just go ahead and install your > patch, Stefan, so we can see whether and how much it helps? >=20 > Please consider trying to do something to advance this schmilblick. I am > sure that it will be appreciated by more than just me.