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.