From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Andreas_R=F6hler?= Newsgroups: gmane.emacs.help Subject: Re: Loading .el file Date: Mon, 25 Mar 2013 16:12:32 +0100 Message-ID: <51506960.6050008@easy-emacs.de> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1364224300 28959 80.91.229.3 (25 Mar 2013 15:11:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Mar 2013 15:11:40 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 25 16:12:07 2013 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 1UK949-0005OV-V5 for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Mar 2013 16:12:06 +0100 Original-Received: from localhost ([::1]:38101 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UK93j-0006L3-C8 for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Mar 2013 11:11:39 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36133) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UK93V-0006Kn-9v for help-gnu-emacs@gnu.org; Mon, 25 Mar 2013 11:11:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UK93S-0004gD-Vz for help-gnu-emacs@gnu.org; Mon, 25 Mar 2013 11:11:25 -0400 Original-Received: from moutng.kundenserver.de ([212.227.17.8]:65224) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UK93S-0004fp-MC for help-gnu-emacs@gnu.org; Mon, 25 Mar 2013 11:11:22 -0400 Original-Received: from [192.168.178.21] (brln-4d0c3420.pool.mediaWays.net [77.12.52.32]) by mrelayeu.kundenserver.de (node=mrbap4) with ESMTP (Nemesis) id 0LrbZ7-1Uo9Ey1g5N-0135F9; Mon, 25 Mar 2013 16:11:21 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 In-Reply-To: X-Provags-ID: V02:K0:6QwZXLzsh/2PaYpK/vS8+JzlRS+KAo+uzjYz9gFjvhB POhGIJE669ztph+ZxCXlmM93CYjdx0POGkw2GQcf/gqQER0aHv VPQD29MuNHofIBkt/Gtm2Y30dW53hOCqevdUmTxNAVXV/Qcs2C 948waT/ivyUcgFmjBvlpML8aj3U3/7t8TfixwZE5YsDSdcUj1t zF01Keu+DTwTtiekoUAycR7leOyUe1DeuYcQKOScvTY0dO52na D1sxAEWgZ4pTimU2QBsUxGZRkfZmHpFS+f0JTKXEnU+ydJ+hYC 8Y5xmZRxK5f7L6rjrJqUtLNt4yoRrC3HBh/GbWWGKQhdUIDvW2 YCZSUkJbcmTndVGap6TuAmJceKATGiUKUQ4wMiJEa X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.17.8 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:89735 Archived-At: Am 25.03.2013 08:23, schrieb Dennis Stello: > Hi, > > I have been trying to load a custom .el file in emacs to add some personal functionalities when I run emacs. > The file is called mesa-minor-mode.el and is attach here for completeness. I have saved it in my ~/emacslisp/ and after a few unsuccesful attempts to get it working I also > saved it in ~/.emacs.d/ just to be sure emacs was not being sensitive to where the file was. > > I run emacs version: GNU 21.4.1 x86_64-redhat-linux-gnu. [ ... ] > I also tried to replace tilde in the above attempts with the full path but still no luck. Also replacing emacslisp with .emacs.d, as well as incl and removing '/' at the > end of paths was tested. > > Any help with this would be greatly appreciated. > > > Thanks Hi Dennis, seems something went wrong fundamentally. A file-format with ending "el." for Emacs Lisp is not a XML-File as attached. Your XML-attachement points at the net, at github. The minor mode you are looking for seems to exist at https://github.com/jschwab/mesa-minor-mode/blob/master/mesa-minor-mode.el Remains to download it at your machine and write into you .emacs for example something like (load "MY_LOCAL_PATH_/mesa-minor-mode.el") Certainly it should be possible to fetch code from the net on the fly if needed. HTH, Andreas