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#11934: 24.1; provide variable for pp.el to control max display width Date: Fri, 29 Apr 2016 10:47:36 -0700 (PDT) Message-ID: <9eca35ee-4253-4560-9406-ba9ac1dc9584@default> References: <87bn4tafw8.fsf@gnus.org> <87k2jg4i3j.fsf@web.de> <8737q47ata.fsf@gnus.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 1461952123 16882 80.91.229.3 (29 Apr 2016 17:48:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Apr 2016 17:48:43 +0000 (UTC) Cc: 11934@debbugs.gnu.org To: Lars Ingebrigtsen , Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Apr 29 19:48:29 2016 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 1awCWj-0006ts-4Y for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 Apr 2016 19:48:29 +0200 Original-Received: from localhost ([::1]:55708 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awCWf-0002yf-CX for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 Apr 2016 13:48:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57128) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awCWW-0002kb-Po for bug-gnu-emacs@gnu.org; Fri, 29 Apr 2016 13:48:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1awCWL-0000tu-9r for bug-gnu-emacs@gnu.org; Fri, 29 Apr 2016 13:48:11 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43357) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awCWL-0000t5-6S for bug-gnu-emacs@gnu.org; Fri, 29 Apr 2016 13:48:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1awCWH-0001Y0-QG for bug-gnu-emacs@gnu.org; Fri, 29 Apr 2016 13:48: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: Fri, 29 Apr 2016 17:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11934 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11934-submit@debbugs.gnu.org id=B11934.14619520685929 (code B ref 11934); Fri, 29 Apr 2016 17:48:01 +0000 Original-Received: (at 11934) by debbugs.gnu.org; 29 Apr 2016 17:47:48 +0000 Original-Received: from localhost ([127.0.0.1]:55694 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awCW4-0001XZ-Es for submit@debbugs.gnu.org; Fri, 29 Apr 2016 13:47:48 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:24831) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awCW3-0001XM-9r for 11934@debbugs.gnu.org; Fri, 29 Apr 2016 13:47:47 -0400 Original-Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u3THle86012166 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 29 Apr 2016 17:47:41 GMT Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id u3THleUX004566 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 29 Apr 2016 17:47:40 GMT Original-Received: from abhmp0001.oracle.com (abhmp0001.oracle.com [141.146.116.7]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id u3THlcrS009658; Fri, 29 Apr 2016 17:47:39 GMT In-Reply-To: <8737q47ata.fsf@gnus.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6744.5000 (x86)] X-Source-IP: aserv0021.oracle.com [141.146.126.233] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:117227 Archived-At: > Well, pp isn't really designed for handling code. Maybe you mean that it doesn't do a good enough job of it? I think it is designed for handling code, as much as for handling data. It just doesn't handle them differently. Lisp code and Lisp data structures are not very different, though yes, we generally follow some code-specific formatting conventions - and pp.el does not bother with those (as it cannot know whether you want to consider the sexp as code or data). > I pp'd a function at random... it may be pretty, but it > sure is unusual for code... It's pretty-printed. And not too bad. > So I don't really think that's a consideration here. If you mean that pp.el shouldn't bother to do something special for code then I agree. At least until/unless we add an optional arg to indicate the intention to interpret the result as code and not data.