help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to change keys for uncomment (C-u C-c C-c)?


From: Alan Mackenzie
Subject: Re: How to change keys for uncomment (C-u C-c C-c)?
Date: Fri, 22 Apr 2005 18:07:55 +0000
User-agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (Linux/2.0.35 (i686))

Mathias Dahl <address@hidden> wrote on Fri, 22 Apr 2005
16:53:56 +0200:

> 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 

iso-8995-1 0xA0 is "non-break space".  Perhaps JS's newsreader (Knode) is
"trying to be helpful" in pre-empting the possibility of the line being
broken up by filling.

> 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

-- 
Alan Mackenzie (Munich, Germany)
Email: address@hidden; to decode, wherever there is a repeated letter
(like "aa"), remove half of them (leaving, say, "a").



reply via email to

[Prev in Thread] Current Thread [Next in Thread]