From: Dmitry Gutov <dgutov@yandex.ru>
To: Aaron Jensen <aaronjensen@gmail.com>
Cc: 60110@debbugs.gnu.org
Subject: bug#60110: 29.0.60; ruby-mode method parameter alignment
Date: Mon, 19 Dec 2022 03:00:21 +0200 [thread overview]
Message-ID: <5db48acc-e8d0-6369-753a-4c1739a09ba5@yandex.ru> (raw)
In-Reply-To: <CAHyO48wd-4ij1gob_PTasbhKymxq70qThnDmJdw=W9fgP4kxog@mail.gmail.com>
On 19/12/2022 00:53, Aaron Jensen wrote:
> Next question is... is there an existing setting to change the
> indentation of expressions like:
>
> x = [3,4].
> map { |x| x * 2 }
>
> Like everything else, I just want a 2 space indent, no alignment,
> nothing clever:
>
> x = [3,4].
> map { |x| x * 2 }
>
> I can open another issue for this if there's no existing option and
> you'd like me to.
Yes, please.
That's going to be more difficult, though, since this part stems from
the default SMIE indentation behavior.
It will help to be specific: whether you are concerned about this
behavior for assignments only (and probably for operators like +=, /=,
&=, etc), or whether there are other tokens/keywords like that.
Or whether adding an option for = and friends will get us 99% there, maybe.
next prev parent reply other threads:[~2022-12-19 1:00 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-16 5:04 bug#60110: 29.0.60; ruby-mode method parameter alignment Aaron Jensen
2022-12-18 22:32 ` Dmitry Gutov
2022-12-18 22:53 ` Aaron Jensen
2022-12-19 1:00 ` Dmitry Gutov [this message]
2022-12-19 2:58 ` Aaron Jensen
2022-12-19 19:09 ` Dmitry Gutov
2022-12-19 0:48 ` Dmitry Gutov
2022-12-19 12:12 ` Eli Zaretskii
2022-12-19 19:14 ` Dmitry Gutov
2022-12-19 19:30 ` Eli Zaretskii
2022-12-19 20:08 ` Dmitry Gutov
2022-12-20 0:17 ` Andy Moreton
2022-12-20 1:13 ` Dmitry Gutov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5db48acc-e8d0-6369-753a-4c1739a09ba5@yandex.ru \
--to=dgutov@yandex.ru \
--cc=60110@debbugs.gnu.org \
--cc=aaronjensen@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).