GNU bug report logs - #65159
30.0.50; pp-fill fails when symbol's lisp-indent-function is bigger than number of arguments

Previous Next

Package: emacs;

Reported by: Ola x Nilsson <ola.x.nilsson <at> axis.com>

Date: Tue, 8 Aug 2023 22:10:02 UTC

Severity: normal

Found in version 30.0.50

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Ola x Nilsson <ola.x.nilsson <at> axis.com>
Cc: 65159 <at> debbugs.gnu.org
Subject: Re: 30.0.50; pp-fill fails when symbol's lisp-indent-function is
 bigger than number of arguments
Date: Mon, 14 Aug 2023 23:02:13 -0400
> The `pp-fill' function uses the symbol property `lisp-indent-function'
> to insert line breaks in function calls.  If the property is an integer
> larger than the actual number of arguments in the function call,
> `forward-sexp' will eventually signal an error.

I pushed a patch to `master` which should fix this problem.


        Stefan





This bug report was last modified 1 year and 260 days ago.

Previous Next


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