From: Le Wang (nospam) Date: 2001-12-29T17:36:32+09:00 Subject: [ruby-talk:29625] Re: XEmacs problems with ruby-mode.el On Sat, 29 Dec 2001 06:00:50 GMT, nobu.nokada@softhome.net wrote: >At Sat, 29 Dec 2001 09:35:49 +0900, >Le Wang wrote: >> >> (setq major-mode 'ruby-mode) >> >> line # 186 >> >> I don't think The last patch is necessary. > >Since the line is in the (defun ruby-mode), major-mode isn't >set to 'ruby-mode while loading/evaling ruby-mode.el. At the >moment, major-mode is still existing buffers major mode. > >You can confirm this, by typing uppercase word in the buffer >which was active when ruby-mode was loaded. The word would >seem font-lock-type-face(constants for ruby-mode). I can't recreate this issue within XEmacs, but you obviously know much more lisp than I, and it appears to me to work well either way. A milllion thanks for all your help. -Le