GNU bug report logs - #54702
29.0.50; ruby-mode indentation: endless methods

Previous Next

Package: emacs;

Reported by: Aaron Jensen <aaronjensen <at> gmail.com>

Date: Mon, 4 Apr 2022 02:04:02 UTC

Severity: normal

Found in version 29.0.50

Fixed in version 29.1

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Aaron Jensen <aaronjensen <at> gmail.com>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: 54702 <at> debbugs.gnu.org
Subject: bug#54702: 29.0.50; ruby-mode indentation: endless methods
Date: Wed, 27 Apr 2022 19:58:42 -0400
On Tue, Apr 26, 2022 at 10:44 PM Dmitry Gutov <dgutov <at> yandex.ru> wrote:
> Thanks for the report.
>
> I'll work on this further, but here's a quick-and-dirty patch to fix the
> indentation problems.

Great, thank you. I've since moved back to enh-ruby-mode and I was
able to patch it to support this (though that project appears to be
currently not accepting contributions). I'd probably use ruby-mode if
it supported indenting long parameter/argument lists the way the
non-smie version does, like this:

def some_method(
  some_param,
  some_other_param
)

I believe I've seen you imply concerns about enh-ruby-mode -- do you
have any aside from the fact that it's not in core and it requires a
ruby process? It's mostly worked well for me, but I don't know what I
don't know.

Thanks,

Aaron




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

Previous Next


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