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

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

Re: Setting auto-indentation of braces


From: Juha Nieminen
Subject: Re: Setting auto-indentation of braces
Date: Wed, 25 Feb 2009 16:14:45 GMT
User-agent: Thunderbird 2.0.0.19 (X11/20081227)

Juha Nieminen wrote:
> Kevin Rodgers kirjoitti:
>> (global-set-key (kbd "M-7") "{")
> 
>   (global-set-key "M-7" "{") seems to work as well.
> 
>   This is exactly what I was looking for. I didn't know you could give
> directly a string to global-set-key, rather than a command (as I
> mentioned, my knowledge of elisp is next to nil).

  New problem: When I do that, and then press ctrl-s to start a search
and press the key combination in question, rather than inserting { in
the search area at the bottom of the window, it instead cancels the
search and inserts the { in the current buffer, as if I hadn't started a
search at all.

  Why is it doing that?


reply via email to

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