From: Dmitry Gutov <dgutov@yandex.ru>
To: Lars Ingebrigtsen <larsi@gnus.org>, lispercat@gmail.com
Cc: 26304@debbugs.gnu.org, 26305@debbugs.gnu.org
Subject: bug#26304: 25.0.90; last sexp is incorrect for ruby-mode
Date: Fri, 5 Feb 2021 15:23:37 +0200 [thread overview]
Message-ID: <e4773f01-1f1a-54fe-6584-0ad346fd49eb@yandex.ru> (raw)
In-Reply-To: <87k0rmhd3c.fsf@gnus.org>
On 05.02.2021 15:13, Lars Ingebrigtsen wrote:
> <lispercat@gmail.com> writes:
>
>> When trying to evaluate following line:
>> arr = Array.new(100) { rand(1...100) }
>>
>> usng ruby-send-last-sexp (C-x C-e) gives an error.
>> Probably the whole line or just "Array.new(100) { rand(1...100) }"
>> should be considered as last sexp.
>
> (I'm going through old bug reports that unfortunately got little response at
> the time.)
Thanks, I missed it. Will put it on my list.
> I can't find `ruby-send-last-sexp' in the Emacs source tree (or any sign
> that it's ever been there) -- is this from a third party package?
It's from inf-ruby. What is a sexp is determined by ruby-mode's SMIE
grammar, though.
next prev parent reply other threads:[~2021-02-05 13:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-29 20:34 bug#26305: 25.0.90; backward-sexp doesn't jump over the whole assignment lispercat
2021-02-05 13:13 ` bug#26305: bug#26304: 25.0.90; last sexp is incorrect for ruby-mode Lars Ingebrigtsen
2021-02-05 13:23 ` Dmitry Gutov [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-03-29 20:29 lispercat
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=e4773f01-1f1a-54fe-6584-0ad346fd49eb@yandex.ru \
--to=dgutov@yandex.ru \
--cc=26304@debbugs.gnu.org \
--cc=26305@debbugs.gnu.org \
--cc=larsi@gnus.org \
--cc=lispercat@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 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.