bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#12851: Revert the change to ruby-move-to-block from 109576


From: Dmitry Gutov
Subject: bug#12851: Revert the change to ruby-move-to-block from 109576
Date: Sat, 10 Nov 2012 07:15:36 +0400
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2

I want to commit this patch to emacs-24. Is that okay?

The change is not particularly useful by itself, it changes `ruby-beginning-of-block' and `ruby-backward-sexp' behavior (making things more complicated for third-party code), and, while fixing the round-trip problem (*) for "something do\nend", introduces it for "def foo\nend".

(*) When the point is at the end of block, we want (progn (ruby-beginning-of-block) (ruby-end-of-block)) to bring us back to where we were at the start.

Attachment: ruby-move-to-block-revert.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]