From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.help Subject: Re: global-set-key doesnot seem to work Date: Tue, 09 Aug 2005 02:16:24 +0200 Message-ID: <42F7F5D8.6050407@student.lu.se> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1123548089 18803 80.91.229.2 (9 Aug 2005 00:41:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 9 Aug 2005 00:41:29 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 09 02:41:27 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E2IAL-0006R2-Ld for geh-help-gnu-emacs@m.gmane.org; Tue, 09 Aug 2005 02:40:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E2IDN-00037V-Rs for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Aug 2005 20:43:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E2I6e-0007xo-Jg for help-gnu-emacs@gnu.org; Mon, 08 Aug 2005 20:36:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E2I6V-0007sL-2g for help-gnu-emacs@gnu.org; Mon, 08 Aug 2005 20:36:33 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E2I6T-0007ka-Jx for help-gnu-emacs@gnu.org; Mon, 08 Aug 2005 20:36:25 -0400 Original-Received: from [81.228.11.98] (helo=pne-smtpout1-sn1.fre.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E2I15-0006dQ-5f for help-gnu-emacs@gnu.org; Mon, 08 Aug 2005 20:30:51 -0400 Original-Received: from [192.168.123.121] (83.249.204.33) by pne-smtpout1-sn1.fre.skanova.net (7.2.060.1) id 42B813B00075910B; Tue, 9 Aug 2005 02:16:33 +0200 User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en Original-To: Shashank Khanvilkar In-Reply-To: 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:28577 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:28577 Shashank Khanvilkar wrote: > 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) > (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-- > > However none of these mapped keys work. Am i forgetting to do something? > All help appreciated. > Also where can i see error logs that emacs might spit out. Try C-x C-f ~/.emacs RET in Emacs to open your .emacs. Is it the file above that is opened?