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: Thu, 24 Jan 2013 14:43:16 -0800 Message-ID: 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: 7bit X-Trace: ger.gmane.org 1359067445 19427 80.91.229.3 (24 Jan 2013 22:44:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Jan 2013 22:44:05 +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 Jan 24 23:44:23 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 1TyVWw-0005lt-Dq for geb-bug-gnu-emacs@m.gmane.org; Thu, 24 Jan 2013 23:44:22 +0100 Original-Received: from localhost ([::1]:55473 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TyVWf-000443-03 for geb-bug-gnu-emacs@m.gmane.org; Thu, 24 Jan 2013 17:44:05 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:37996) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TyVWa-00043a-F1 for bug-gnu-emacs@gnu.org; Thu, 24 Jan 2013 17:44:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TyVWX-0005OA-3M for bug-gnu-emacs@gnu.org; Thu, 24 Jan 2013 17:44:00 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42805) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TyVWX-0005O6-01 for bug-gnu-emacs@gnu.org; Thu, 24 Jan 2013 17:43:57 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TyVWb-0000iQ-Jq for bug-gnu-emacs@gnu.org; Thu, 24 Jan 2013 17:44:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Jan 2013 22:44: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.13590674092704 (code B ref 6991); Thu, 24 Jan 2013 22:44:01 +0000 Original-Received: (at 6991) by debbugs.gnu.org; 24 Jan 2013 22:43:29 +0000 Original-Received: from localhost ([127.0.0.1]:48269 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TyVW5-0000hY-B0 for submit@debbugs.gnu.org; Thu, 24 Jan 2013 17:43:29 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:28491) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TyVW2-0000hQ-Ek for 6991@debbugs.gnu.org; Thu, 24 Jan 2013 17:43:27 -0500 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by userp1040.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id r0OMhKVC024030 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 24 Jan 2013 22:43:21 GMT Original-Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r0OMhIYj003797 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 24 Jan 2013 22:43:19 GMT Original-Received: from abhmt107.oracle.com (abhmt107.oracle.com [141.146.116.59]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id r0OMhHvH005017; Thu, 24 Jan 2013 16:43:17 -0600 Original-Received: from dradamslap1 (/130.35.178.8) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 24 Jan 2013 14:43:17 -0800 X-Mailer: Microsoft Office Outlook 11 In-reply-to: Thread-Index: Ac1YgeiZaRRlgG2uRbKxzdP0en3irAAA3gNwKH83EAA= X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.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:70265 Archived-At: > 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 sure > > 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. 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. I cannot build Emacs to test this. Could someone else please test it? Or could it please be installed without testing? (Seriously.) 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? I mean replace it by `...', not just change a `display' property. The problems I encounter arise from trying to copy + paste the backtrace. I don't understand why we even have backtraces that one cannot copy & paste 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 the 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. 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. So much stuff gets added to the Emacs C sources anyway, sometimes breaking 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? Please consider trying to do something to advance this schmilblick. I am sure that it will be appreciated by more than just me.