[Ilugc] Fwd: January ILUGC emacs ruby mode trouble posting

  • From: manokaran@xxxxxxxxx (Mano)
  • Date: Wed May 21 10:26:13 2008

Hi,

I had posted about a problem in emacs ruby mode regarding the capital
C not working as expected. I later found out why but did not post it
here. Here it is:



I was wondering if you had ever figured out why Shift-C acted as a command
instead of typing "C". I'm having the same problem, and I can't find a thing
on it


You'll  have to escape the 'C' in the following line in your .emacs:

Change it from
(define-key ruby-mode-map "C-m" 'newline-and-indent)

to
(define-key ruby-mode-map "\C-m" 'newline-and-indent)


regds,
mano
--



-- 
After spiderman foils a crime who clears the cobwebs?

Other related posts:

  • » [Ilugc] Fwd: January ILUGC emacs ruby mode trouble posting - Mano