From: George Ogata Date: 2005-12-17T22:07:46+09:00 Subject: Re: Emacs mode question: backward-sexp & forward-sexp for begin..end David Garamond writes: > Hi all, > > Is there a Ruby Emacs mode where I can do M-C-b (backward-sexp) and > M-C-f (forward-sexp) for "begin".."end" too [*], and not just for > "("..")", "{".."}", etc? I'd like to use "begin".."end" more to > delimit multiline blocks because it seems neater/creates less noise, > but many times I end up using "{".."}" for the above sole reason. I > find easy jumping like this more useful than folding (which Emacs > doesn't do particularly well, anyway). > > [*] If it can additionally do "if".."elsif".."else".."end", > "def".."end", etc. too then it would be infinitely more wonderful. > > Regards, > dave Hi David, Does C-M-n / C-M-p do what you want? Cheers, George.