all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dmitry@gutov.dev>
To: Aaron Jensen <aaronjensen@gmail.com>
Cc: 64589@debbugs.gnu.org, Stefan Monnier <monnier@iro.umontreal.ca>
Subject: bug#64589: 30.0.50; smie-config-guess can break ruby indentation
Date: Fri, 20 Oct 2023 02:29:21 +0300	[thread overview]
Message-ID: <2c81d38d-2d92-8196-c481-e6fa59e94d01@gutov.dev> (raw)
In-Reply-To: <CAHyO48zmKKM2zcwTGcQzXqQhjKHqgg1uYV7DK7W3ZMMSk4MThQ@mail.gmail.com>

On 20/10/2023 00:41, Aaron Jensen wrote:
> Ok, thanks. The context here is that I use dtrt-indent and it invokes
> this before doing its work. For now, I have disabled it in Ruby (which
> I think is actually fine because I thankfully don't work with any Ruby
> code that is something other than 2 spaces).

All right.

> So right now, I'm not concerned about this personally, but it does
> seem odd that it breaks indentation in some cases.

Perhaps we'll simply end up documenting that it doesn't work for all 
SMIE modes, just for some. And dtrt-indent will have a whitelist.





  reply	other threads:[~2023-10-19 23:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-13  4:20 bug#64589: 30.0.50; smie-config-guess can break ruby indentation Aaron Jensen
2023-10-19 20:05 ` Dmitry Gutov
2023-10-19 21:41   ` Aaron Jensen
2023-10-19 23:29     ` Dmitry Gutov [this message]
2023-10-20  2:15       ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-10-20  3:39         ` Aaron Jensen

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2c81d38d-2d92-8196-c481-e6fa59e94d01@gutov.dev \
    --to=dmitry@gutov.dev \
    --cc=64589@debbugs.gnu.org \
    --cc=aaronjensen@gmail.com \
    --cc=monnier@iro.umontreal.ca \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.