JS <[EMAIL PROTECTED]> writes:

>
> I just wrote this in my .emacs file:
>
>
> (add-hook 'this-major-mode-hook
>           (lambda ()
>             (local-set-key "\C-cc" 'uncomment-region)))
>
> But when I restart emacs the program is split in two and I get this error:
>
>
>
> An error has occurred while loading `/home/johs/.emacs':
>
> Symbol's value as variable is void:           

I don't know about you other guys, but something seems fishy with JS'
.emacs file. When I read the post above, each supposed-to-be space
character has a magenta coloured backlshash in front of it, suggestion
some special or control-character.

I won't paste his text here again (it is above), but if you do not see
what I see, this is how it looks (drawn in normal ascii):

  (add-hook 'this-major-mode-hook
  \ \ \ \ \ \ \ \ \ \ (lambda\ ()
  \ \ \ \ \ \ \ \ \ \ \ \ (local-set-key\ "\C-cc"\ 'uncomment-region)))

When I put the cursor on one of those and used C-x =, this is what I
got:

Char: \  (04240, 2208, 0x8a0, file 0xA0) point=961 of 1442 (67%) column 0 

Note: I had to use normal ascii to be sure that the "backslash-space"
char above was displayed correctly. It is indeed only one character.

Anyway, just a thought.

/Mathias
_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to