From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Pascal Bourguignon Newsgroups: gmane.emacs.help Subject: Re: global-set-key doesnot seem to work Date: Tue, 09 Aug 2005 02:27:23 +0200 Organization: Informatimago Message-ID: <87mznsosyc.fsf@thalassa.informatimago.com> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1123547608 16010 80.91.229.2 (9 Aug 2005 00:33:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 9 Aug 2005 00:33:28 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 09 02:33:18 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E2I2M-0004ds-M8 for geh-help-gnu-emacs@m.gmane.org; Tue, 09 Aug 2005 02:32:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E2I5N-0007bh-Vn for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Aug 2005 20:35:18 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.gamma.ru!Gamma.RU!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.tiscali.de!newsfeed.freenet.de!feeder2.ecngs.de!ecngs!feeder.ecngs.de!195.40.4.120.MISMATCH!easynet-quince!easynet.net!easynet-post2!not-for-mail Original-Newsgroups: gnu.emacs.help Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:Vt8VBpyPFLINquEqF01vStgudL0= Original-Lines: 34 Original-NNTP-Posting-Host: 62.93.174.79 Original-X-Trace: DXC=DXCU1V:GMlk0Y2Wge5>T_eSiHWb3f14:cbBd4DjF1d]a Original-Xref: shelby.stanford.edu gnu.emacs.help:133056 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:28575 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:28575 Shashank Khanvilkar writes: > Hi, > I have defined the following in my .emacs file > $>cat .emacs > --Snip-- > (global-set-key [delete] 'delete-char) > (global-set-key [kp-delete] 'delete-char)global-set-key [f1] 'dired) There is an error here: -------------------^ > (global-set-key [f2] 'dired-omit-toggle) > (global-set-key [f3] 'shell) > (global-set-key [f4] 'find-file) > (global-set-key [f5] 'compile) > (global-set-key [f6] 'visit-tags-table) > (global-set-key [f8] 'add-change-log-entry-other-window) > (global-set-key [f12] 'make-frame) > --Snip-- To debug errors in ~/.emacs, launch emacs with: emacs --debug-init > However none of these mapped keys work. Am i forgetting to do something? > All help appreciated. Check the key binding, type: C-h k DEL then: C-h k F12 > Also where can i see error logs that emacs might spit out. In the buffer: *Message* -- __Pascal Bourguignon__ http://www.informatimago.com/ Wanna go outside. Oh, no! Help! I got outside! Let me back inside!