From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Joakim Hove Newsgroups: gmane.emacs.help Subject: Re: defun in global-set-key Date: Mon, 15 Nov 2004 10:10:56 +0100 Organization: University of Bergen Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1100509965 22281 80.91.229.6 (15 Nov 2004 09:12:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 15 Nov 2004 09:12:45 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 15 10:12:38 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CTcuc-0001cr-00 for ; Mon, 15 Nov 2004 10:12:38 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CTd3J-0006Ev-43 for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Nov 2004 04:21:37 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!uninett.no!nntp.uib.no!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 21 Original-NNTP-Posting-Host: termo1.fi.uib.no Original-X-Trace: toralf.uib.no 1100509861 37348 129.177.39.206 (15 Nov 2004 09:11:01 GMT) Original-X-Complaints-To: abuse@uib.no Original-NNTP-Posting-Date: 15 Nov 2004 09:11:01 GMT User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.2 (gnu/linux) Cancel-Lock: sha1:P6ynODvc2MsTAd7H7DWdq79PuMk= Original-Xref: shelby.stanford.edu gnu.emacs.help:126598 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: main.gmane.org gmane.emacs.help:21993 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:21993 Rodrigo Canellas writes: > Does anyone know what am I doing wrong? A debugging tip: Try out your function with M-x indent-all before binding it to a key. In your case you would then see that the problem was with the function defenition, and not with the keybinding. Joakim -- Joakim Hove hove AT ift uib no Tlf: +47 (55 5)8 27 90 Fax: +47 (55 5)8 94 40 http://www.ift.uib.no/~hove/