GNU bug report logs - #63861
[PATCH] pp.el: New "pretty printing" code

Previous Next

Package: emacs;

Reported by: Stefan Monnier <monnier <at> iro.umontreal.ca>

Date: Fri, 2 Jun 2023 22:52:02 UTC

Severity: normal

Tags: patch

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


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

From: Juri Linkov <juri <at> linkov.net>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 63861 <at> debbugs.gnu.org
Subject: Re: bug#63861: [PATCH] pp.el: New "pretty printing" code
Date: Wed, 07 Jun 2023 21:12:00 +0300
>> 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.




This bug report was last modified 2 years and 27 days ago.

Previous Next


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