GNU bug report logs - #43329
28.0.50; Incorrect indentation for variables starting with `def' in let form

Previous Next

Package: emacs;

Reported by: Philipp Stephani <p.stephani2 <at> gmail.com>

Date: Fri, 11 Sep 2020 10:11:02 UTC

Severity: minor

Tags: confirmed, moreinfo

Merged with 33301

Found in versions 24.3, 27.0.50, 28.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Philipp Stephani <p.stephani2 <at> gmail.com>,
 Noam Postavsky <npostavs <at> gmail.com>, 43329 <at> debbugs.gnu.org,
 João Távora <joaotavora <at> gmail.com>
Subject: Re: bug#43329: 28.0.50; Incorrect indentation for variables
 starting with `def' in let form
Date: Sun, 13 Sep 2020 19:20:47 +0200
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

> Indeed (and I think we've been getting there bit by bit.  Not sure how
> far we stand from that nowadays).

João suggested over on bug#33301 to only make the heuristic happen for
macros, and I was sceptical, but:

> Indeed I don't know how to proceed.  There seem to be around 34. 
> Add indent specs for these 34 symbols? I suspect that some have exclusively
> one-line uses that don't need them.

So 34 in-tree functions that start with "def", but an unknown number of
macros.  That's not a lot, and I think we should add indent specs to all
of them, including the macros.

> Of course, that won't help with
>
>     (let ((defvar
>            3))
>       (+ defvar 5))
>
> and other oddball cases ;-)

Heh, no.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 214 days ago.

Previous Next


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