GNU bug report logs - #9622
23.3; flet indentation

Previous Next

Package: emacs;

Reported by: diogofsr <at> gmail.com (Diogo F. S. Ramos)

Date: Wed, 28 Sep 2011 01:59:02 UTC

Severity: minor

Tags: confirmed

Found in versions 23.3, 26.2

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Stefan Kangas <stefankangas <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#9622: closed (23.3; flet indentation)
Date: Sat, 15 Feb 2025 02:21:03 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 15 Feb 2025 02:20:26 +0000
with message-id <CADwFkm=cR34R6L+UotAShNVLBO=6tJzjgPFFCxop1E936cTQZg <at> mail.gmail.com>
and subject line Re: bug#9622: 23.3; flet indentation
has caused the debbugs.gnu.org bug report #9622,
regarding 23.3; flet indentation
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
9622: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=9622
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: diogofsr <at> gmail.com (Diogo F. S. Ramos)
To: bug-gnu-emacs <at> gnu.org
Subject: 23.3; flet indentation
Date: Tue, 27 Sep 2011 22:56:45 -0300
Currently, when using `flet', the functions are indented with respect of
the arglist.

It would be nice if flet functions were indented like a `defun', for
example.

Current behavior:

(defun foo ()
  (flet ((long-function-name ()
                             (misses-flet)))
    (long-function-name)))

Wanted behavior:

(defun foo ()
  (flet ((long-function-name ()
           (hi-flet)))
    (long-function-name)))

-- 
Diogo F. S. Ramos


[Message part 3 (message/rfc822, inline)]
From: Stefan Kangas <stefankangas <at> gmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 9622-done <at> debbugs.gnu.org, akater <nuclearspace <at> gmail.com>
Subject: Re: bug#9622: 23.3; flet indentation
Date: Sat, 15 Feb 2025 02:20:26 +0000
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> akater <nuclearspace <at> gmail.com> writes:
>
>>> Can you send a new patch against the current trunk?
>>
>> Here it goes.
>
> Thanks; applied to Emacs 29.

All the test cases in this thread indent correctly, and there are
several tests.  So I assume that fixed it, and I'm closing this bug.


This bug report was last modified 94 days ago.

Previous Next


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