From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: JS Newsgroups: gmane.emacs.help Subject: Re: Shortcut to change buffers? Date: Fri, 22 Apr 2005 17:18:18 +0200 Organization: UNI-C Message-ID: References: <4268528b$0$12638$5a62ac22@per-qv1-newsreader-01.iinet.net.au> <87k6mvgkvn.fsf@tiger.rapttech.com.au> 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 1114183021 12112 80.91.229.2 (22 Apr 2005 15:17:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 22 Apr 2005 15:17:01 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 22 17:16:59 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DOzsA-0000EU-IB for geh-help-gnu-emacs@m.gmane.org; Fri, 22 Apr 2005 17:15:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DOzx6-00004r-LJ for geh-help-gnu-emacs@m.gmane.org; Fri, 22 Apr 2005 11:20:20 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!news-FFM2.ecrc.net!news.net.uni-c.dk!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 41 Original-NNTP-Posting-Host: 130.225.245.182 Original-X-Trace: news.net.uni-c.dk 1114182998 14371 130.225.245.182 (22 Apr 2005 15:16:38 GMT) Original-X-Complaints-To: usenet@news.net.uni-c.dk Original-NNTP-Posting-Date: Fri, 22 Apr 2005 15:16:38 +0000 (UTC) User-Agent: KNode/0.7.7 Original-Xref: shelby.stanford.edu gnu.emacs.help:130388 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:25959 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:25959 Mathias Dahl wrote: > JS writes: > >> As I wrote before my setnu.el mode is working so I compared the >> permissions with that for tabbar and they are the same. >> >> So its in my load path and the permissions should be ok...what could >> else be the problem? > > That sounds really strange... Anyway, you could load it more directly, > like this in your .emacs: > > (load-file "/home/js/mylispfile.el") It keeps getting wierder and wierder. I have now writtin this in my .emacs file: (load-file "/home/johs/sml-mode/swbuff.el") (require 'swbuff) (global-set-key '[C-tab] 'swbuff-switch-to-next-buffer) I get this error when I restart emacs: An error has occurred while loading `/home/johs/.emacs': Symbol's function definition is void: load-file  To ensure normal operation, you should investigate the cause of the error in your initialization file and remove it. Start Emacs with the `--debug-init' option to view a complete error backtrace I have also tried to outcomment (require 'swbuff) but it still gives the same error.