From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.help Subject: Re: help Date: Fri, 25 Sep 2015 13:00:54 +0200 Message-ID: <20150925110054.GA19997@tuxteam.de> References: <1ed03e78.d8f0.150035db811.Coremail.fuzaode@163.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1443178888 28595 80.91.229.3 (25 Sep 2015 11:01:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Sep 2015 11:01:28 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: ss Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 25 13:01:23 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZfQkj-0000Yv-5m for geh-help-gnu-emacs@m.gmane.org; Fri, 25 Sep 2015 13:01:21 +0200 Original-Received: from localhost ([::1]:58599 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZfQki-0007eI-K8 for geh-help-gnu-emacs@m.gmane.org; Fri, 25 Sep 2015 07:01:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36283) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZfQkV-0007Yu-8e for help-gnu-emacs@gnu.org; Fri, 25 Sep 2015 07:01:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZfQkQ-00072u-AT for help-gnu-emacs@gnu.org; Fri, 25 Sep 2015 07:01:07 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]:60672 helo=tomasium.tuxteam.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZfQkQ-00072m-60 for help-gnu-emacs@gnu.org; Fri, 25 Sep 2015 07:01:02 -0400 Original-Received: from tomas by tomasium.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1ZfQkI-0005Dq-Pn; Fri, 25 Sep 2015 13:00:54 +0200 In-Reply-To: <1ed03e78.d8f0.150035db811.Coremail.fuzaode@163.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 5.199.139.25 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:107331 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, Sep 25, 2015 at 03:18:05PM +0800, ss wrote: > emacs version 24.3, OS: ubuntu > I put the file nim-mode.el in the folder: ~/.emacs.d/nim > then I configure the file ~/.emacs as foloows: > (add-to-list 'load-path "~/.emacs.d/nim") > (require 'nim-mode) Try just adding the directory to your load path, i.e.: (add-to-list 'load-path "~/.emacs.d") regards - -- tomás -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlYFKWYACgkQBcgs9XrR2kaXQgCePcq/xKUuSNW3KJWR+IvJN0Pe FMsAn3UG2UIMjflrmWuCF7mS1nOHVo5a =i8HJ -----END PGP SIGNATURE-----