unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#42846: 27.1; [ruby-mode] setter symbol treated as assignment
@ 2020-08-13  7:41 Nobuyoshi Nakada
  2020-08-22  0:29 ` Dmitry Gutov
  2020-12-31 16:40 ` Dmitry Gutov
  0 siblings, 2 replies; 4+ messages in thread
From: Nobuyoshi Nakada @ 2020-08-13  7:41 UTC (permalink / raw)
  To: 42846

I found thatruby-mode.el in GNU Emacs 27.1 has a problem with the 
following code.


     :foo=
       # indent here

The setter symbol seems treated as an assignment

Also, the succeeding modifier is treated as the beginning of a block.

     :foo= if true
             # indent here







^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#42846: 27.1; [ruby-mode] setter symbol treated as assignment
  2020-08-13  7:41 bug#42846: 27.1; [ruby-mode] setter symbol treated as assignment Nobuyoshi Nakada
@ 2020-08-22  0:29 ` Dmitry Gutov
       [not found]   ` <556442a2-1a56-4ea4-d2ff-13616e5d31ac@gmail.com>
  2020-12-31 16:40 ` Dmitry Gutov
  1 sibling, 1 reply; 4+ messages in thread
From: Dmitry Gutov @ 2020-08-22  0:29 UTC (permalink / raw)
  To: Nobuyoshi Nakada, 42846

Hi!

On 13.08.2020 10:41, Nobuyoshi Nakada wrote:
> I found thatruby-mode.el in GNU Emacs 27.1 has a problem with the 
> following code.
> 
> 
>      :foo=
>        # indent here
> 
> The setter symbol seems treated as an assignment
> 
> Also, the succeeding modifier is treated as the beginning of a block.
> 
>      :foo= if true
>              # indent here

Are you the Nobuyoshi Nakada from the Ruby core team?





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#42846: 27.1; [ruby-mode] setter symbol treated as assignment
       [not found]   ` <556442a2-1a56-4ea4-d2ff-13616e5d31ac@gmail.com>
@ 2020-08-26 12:40     ` Dmitry Gutov
  0 siblings, 0 replies; 4+ messages in thread
From: Dmitry Gutov @ 2020-08-26 12:40 UTC (permalink / raw)
  To: Nobuyoshi Nakada, 42846

Hi again,

On 26.08.2020 03:48, Nobuyoshi Nakada wrote:

>> Are you the Nobuyoshi Nakada from the Ruby core team?
> 
> 
> Yes, I sent from the different address mistakenly, sorry.

I asked this because Emacs <-> Ruby Core communication have been very 
one-sided on all my memory taking care of ruby-mode here.

Here's just one example: https://bugs.ruby-lang.org/issues/6854

And here you are filing a bug report.

Do Ruby core developers still use Emacs?

Can you facilitate fixing problems brought on by recent changes?

In particular, https://github.com/ruby/irb/issues/113 and 
https://github.com/nonsequitur/inf-ruby/issues/137.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#42846: 27.1; [ruby-mode] setter symbol treated as assignment
  2020-08-13  7:41 bug#42846: 27.1; [ruby-mode] setter symbol treated as assignment Nobuyoshi Nakada
  2020-08-22  0:29 ` Dmitry Gutov
@ 2020-12-31 16:40 ` Dmitry Gutov
  1 sibling, 0 replies; 4+ messages in thread
From: Dmitry Gutov @ 2020-12-31 16:40 UTC (permalink / raw)
  To: Nobuyoshi Nakada, 42846-done

Version: 28.1

On 13.08.2020 10:41, Nobuyoshi Nakada wrote:
> I found thatruby-mode.el in GNU Emacs 27.1 has a problem with the 
> following code.
> 
> 
>      :foo=
>        # indent here
> 
> The setter symbol seems treated as an assignment
> 
> Also, the succeeding modifier is treated as the beginning of a block.
> 
>      :foo= if true
>              # indent here

Should be fixed in master, commit b47b98bc4b. Thanks for the report.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-12-31 16:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-13  7:41 bug#42846: 27.1; [ruby-mode] setter symbol treated as assignment Nobuyoshi Nakada
2020-08-22  0:29 ` Dmitry Gutov
     [not found]   ` <556442a2-1a56-4ea4-d2ff-13616e5d31ac@gmail.com>
2020-08-26 12:40     ` Dmitry Gutov
2020-12-31 16:40 ` Dmitry Gutov

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).