From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mathias Dahl Newsgroups: gmane.emacs.help Subject: Re: How to change keys for uncomment (C-u C-c C-c)? Date: Fri, 22 Apr 2005 16:48:47 +0200 Message-ID: References: <877jiwrvuc.fsf@robotron.ath.cx> <87is2gq7i1.fsf@robotron.ath.cx> <87ekd4q6bn.fsf@robotron.ath.cx> <87acnrrik8.fsf@robotron.ath.cx> <873btjrhq2.fsf@robotron.ath.cx> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1114181166 5478 80.91.229.2 (22 Apr 2005 14:46:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 22 Apr 2005 14:46:06 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 22 16:46:06 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DOzPk-0002jB-PH for geh-help-gnu-emacs@m.gmane.org; Fri, 22 Apr 2005 16:45:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DOzUg-0006h6-Gv for geh-help-gnu-emacs@m.gmane.org; Fri, 22 Apr 2005 10:50:58 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsmi-us.news.garr.it!newsmi-eu.news.garr.it!NewsITBone-GARR!newsserver.news.garr.it!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Original-X-Trace: individual.net dl7Y2xM9LYbt7UQvTk2QZgW/CjYOdUqrRGKy0mbtBv6esw1Cc0 User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) Cancel-Lock: sha1:PctuyVhSA+UYxo2Xz4RR8Okk41g= Original-Xref: shelby.stanford.edu gnu.emacs.help:130384 Original-To: help-gnu-emacs@gnu.org 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:25955 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:25955 JS writes: > > I have just entered this in my .emacs fil: > > (global-set-key "\M-," 'comment-dwim) > > When I start up emacs I get this error: > An error has occurred while loading `/home/johs/.emacs': > > Symbol's function definition is void: global-set-key  Seems like your newreader put some extra magic characters in the parent post. Try this: (global-set-key "\M-," 'comment-dwim) /Mathias