GNU bug report logs - #12851
Revert the change to ruby-move-to-block from 109576

Previous Next

Package: emacs;

Reported by: Dmitry Gutov <dgutov <at> yandex.ru>

Date: Sat, 10 Nov 2012 03:17:02 UTC

Severity: normal

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: bug-gnu-emacs <at> gnu.org
Subject: Revert the change to ruby-move-to-block from 109576
Date: Sat, 10 Nov 2012 07:15:36 +0400
[Message part 1 (text/plain, inline)]
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.
[ruby-move-to-block-revert.diff (text/plain, attachment)]

This bug report was last modified 12 years and 278 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.