From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juha Nieminen Newsgroups: gmane.emacs.help Subject: Re: Setting auto-indentation of braces Date: Wed, 04 Mar 2009 23:59:01 GMT Organization: Sonera Customer Message-ID: <9BErl.299$l83.30@read4.inet.fi> References: <4991527f$0$14913$9b536df3@news.fv.fi> <499936d0$0$14920$9b536df3@news.fv.fi> <499bca7b$0$30006$9b536df3@news.fv.fi> <366A7DB0-A0E6-41DD-97D1-FB7650F4F87E@Web.DE> <49a27098$0$14890$9b536df3@news.fv.fi> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1236231955 12620 80.91.229.12 (5 Mar 2009 05:45:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Mar 2009 05:45:55 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 05 06:47:12 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Lf6QH-0004Xt-9Z for geh-help-gnu-emacs@m.gmane.org; Thu, 05 Mar 2009 06:47:09 +0100 Original-Received: from localhost ([127.0.0.1]:42440 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lf6Ow-0002fv-0a for geh-help-gnu-emacs@m.gmane.org; Thu, 05 Mar 2009 00:45:46 -0500 Original-Path: news.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!news.germany.com!newsfeed1.funet.fi!newsfeeds.funet.fi!nntp.inet.fi!central1.inet.fi!inet.fi!read4.inet.fi.POSTED!53ab2750!not-for-mail User-Agent: Thunderbird 2.0.0.19 (X11/20081227) Original-Newsgroups: gnu.emacs.help In-Reply-To: X-Enigmail-Version: 0.95.7 Original-Lines: 19 Original-NNTP-Posting-Host: 88.193.76.143 Original-X-Complaints-To: abuse@inet.fi Original-X-Trace: read4.inet.fi 1236211141 88.193.76.143 (Thu, 05 Mar 2009 01:59:01 EET) Original-NNTP-Posting-Date: Thu, 05 Mar 2009 01:59:01 EET Original-Xref: news.stanford.edu gnu.emacs.help:167302 X-Mailman-Approved-At: Thu, 05 Mar 2009 00:43:35 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:62598 Archived-At: Juha Nieminen wrote: > 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? Seemingly nobody knows?