From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#63861: [PATCH] pp.el: New "pretty printing" code Date: Wed, 07 Jun 2023 21:12:00 +0300 Organization: LINKOV.NET Message-ID: <867csf3zwv.fsf@mail.linkov.net> References: <83fs799jmi.fsf@gnu.org> <86r0qqnjce.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23960"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) Cc: 63861@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 07 20:15:21 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q6xgn-00062P-97 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 07 Jun 2023 20:15:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q6xgX-0004bf-2C; Wed, 07 Jun 2023 14:15:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q6xgU-0004am-OZ for bug-gnu-emacs@gnu.org; Wed, 07 Jun 2023 14:15:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q6xgU-0002mM-Ei for bug-gnu-emacs@gnu.org; Wed, 07 Jun 2023 14:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q6xgU-00011m-AJ for bug-gnu-emacs@gnu.org; Wed, 07 Jun 2023 14:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 07 Jun 2023 18:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63861 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 63861-submit@debbugs.gnu.org id=B63861.16861616853897 (code B ref 63861); Wed, 07 Jun 2023 18:15:02 +0000 Original-Received: (at 63861) by debbugs.gnu.org; 7 Jun 2023 18:14:45 +0000 Original-Received: from localhost ([127.0.0.1]:54702 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6xgC-00010n-T0 for submit@debbugs.gnu.org; Wed, 07 Jun 2023 14:14:45 -0400 Original-Received: from relay7-d.mail.gandi.net ([217.70.183.200]:54563) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6xgA-00010X-Fc for 63861@debbugs.gnu.org; Wed, 07 Jun 2023 14:14:43 -0400 X-GND-Sasl: juri@linkov.net X-GND-Sasl: juri@linkov.net Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id 3065D20004; Wed, 7 Jun 2023 18:14:34 +0000 (UTC) In-Reply-To: (Stefan Monnier's message of "Wed, 07 Jun 2023 11:21:23 -0400") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:263080 Archived-At: >> When tried on emoji-labels.el, at the end it failed with >> >> (scan-error "Containing expression ends prematurely" 255866 255867) > > Hmm... when I do > > rm lisp/international/emoji-labels.el > make > > the file is rebuilt correctly. > Could you give more details about how you got the above? With (setq debug-on-error t) when point is at the beginning of this line: (defconst emoji--labels '(("Smileys" typing 'C-u C-M-q' gives the error: Debugger entered--Lisp error: (scan-error "Containing expression ends prematurely" 9739 9740) pp-region(522 9447) pp-region(521 9448) pp-buffer() indent-pp-sexp((4)) funcall-interactively(indent-pp-sexp (4)) command-execute(indent-pp-sexp) I can send the file, but all its parens are balanced.