all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Doug Lewan <dougl@shubertticketing.com>
To: Dennis Stello <stello@physics.usyd.edu.au>,
	"help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: RE: Loading .el file
Date: Mon, 25 Mar 2013 15:04:39 +0000	[thread overview]
Message-ID: <155DEC68569B714B86C2C7075F5EDA9828ECFB20@DAKIYA1.pegasus.local> (raw)
In-Reply-To: <Pine.LNX.4.64.1303251704490.24749@kepler.physics.usyd.edu.au>

Dennis,

The file you attached is an HTML file, not an emacs lisp file.

I bet if you find the true .el file that you're looking for, things will go much more easily. A more-circuitous-than-I'd-have-liked search led me to this URL: https://raw.github.com/jschwab/mesa-minor-mode/master/mesa-minor-mode.el.

I make no guarantees, but it satisfies all of your requirements that a layperson could understand.

I hope this helps.

,Douglas
Douglas Lewan
Shubert Ticketing
(201) 489-8600 ext 224

Journalism is printing what someone else does not want printed. Everything else is public relations. - George Orwell


> -----Original Message-----
> From: help-gnu-emacs-bounces+dougl=shubertticketing.com@gnu.org
> [mailto:help-gnu-emacs-bounces+dougl=shubertticketing.com@gnu.org] On
> Behalf Of Dennis Stello
> Sent: Monday, 2013 March 25 03:23
> To: help-gnu-emacs@gnu.org
> Subject: Loading .el file
> 
> 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.
> 
> From various online help and colleagues I have ended up trying (without
> luck) lots of permutations in my .emacs of the suggestions I received.
> These incl (after each permutation I include here the error message
> when
> starting emacs):
> 
> ;; (1)
> (add-to-list 'load-path "~/emacslisp/mesa-minor-mode/")
> (require 'mesa-minor-mode)
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "mesa-minor-mode"
> ;; (2)
> (add-to-list 'load-path "~/emacslisp/")
> (require 'mesa-minor-mode)
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;Symbol's value as variable is void: <!DOCTYPE
> ;; (3)
> (add-to-list 'load-path "~/emacslisp/mesa-minor-mode/")
> (load "mesa-minor-mode.el")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "mesa-minor-mode.el"
> ;; (4)
> (add-to-list 'load-path "~/emacslisp/")
> (load "mesa-minor-mode.el")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;Symbol's value as variable is void: <!DOCTYPE
> ;; (5)
> (add-to-list 'load-path "~/emacslisp/mesa-minor-mode/")
> (load "mesa-minor-mode")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "mesa-minor-mode"
> ;; (6)
> (add-to-list 'load-path "~/emacslisp/")
> (load "mesa-minor-mode")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;Symbol's value as variable is void: <!DOCTYPE
> ;; (7)
> (add-to-list 'load-path "~/emacslisp/mesa-minor-mode/")
> (load "emacslisp/mesa-minor-mode.el")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "emacslisp/mesa-minor-mode.el"
> ;; (8)
> (add-to-list 'load-path "~/emacslisp/")
> (load "emacslisp/mesa-minor-mode.el")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "emacslisp/mesa-minor-mode.el"
> ;; (9)
> (add-to-list 'load-path "~/emacslisp/mesa-minor-mode/")
> (load "emacslisp/mesa-minor-mode")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "emacslisp/mesa-minor-mode"
> ;; (10)
> (add-to-list 'load-path "~/emacslisp/")
> (load "emacslisp/mesa-minor-mode")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;Symbol's value as variable is void: <!DOCTYPE
> ;; (11)
> (add-to-list 'load-path "~/emacslisp/mesa-minor-mode/")
> (load-file "mesa-minor-mode.el")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "/suphys/stello/mesa-minor-
> mode.el"
> ;; (12)
> (add-to-list 'load-path "~/emacslisp/")
> (load-file "mesa-minor-mode.el")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "/suphys/stello/mesa-minor-
> mode.el"
> ;; (13)
> (add-to-list 'load-path "~/emacslisp/mesa-minor-mode/")
> (load-file "mesa-minor-mode")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "/suphys/stello/mesa-minor-mode"
> ;; (14)
> (add-to-list 'load-path "~/emacslisp/")
> (load-file "mesa-minor-mode")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "/suphys/stello/mesa-minor-mode"
> ;; (15)
> (add-to-list 'load-path "~/emacslisp/mesa-minor-mode/")
> (load-file "emacslisp/mesa-minor-mode.el")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;Symbol's value as variable is void: <!DOCTYPE
> ;; (16)
> (add-to-list 'load-path "~/emacslisp/")
> (load-file "emacslisp/mesa-minor-mode.el")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;Symbol's value as variable is void: <!DOCTYPE
> ;; (17)
> (add-to-list 'load-path "~/emacslisp/mesa-minor-mode/")
> (load-file "emacslisp/mesa-minor-mode")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file",
> "/suphys/stello/emacslisp/mesa-minor-mode"
> ;; (18)
> (add-to-list 'load-path "~/emacslisp/")
> (load-file "emacslisp/mesa-minor-mode")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file",
> "/suphys/stello/emacslisp/mesa-minor-mode"
> 
> ;; (19)
> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
> (require 'mesa-minor-mode)
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "mesa-minor-mode"
> ;; (20)
> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
> (require 'mesa-minor-mode)
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "mesa-minor-mode"
> ;; (21)
> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
> (load "mesa-minor-mode.el")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "mesa-minor-mode.el"
> ;; (22)
> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
> (load "mesa-minor-mode.el")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "mesa-minor-mode.el"
> ;; (23)
> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
> (load "mesa-minor-mode")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "mesa-minor-mode"
> ;; (24)
> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
> (load "mesa-minor-mode")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "mesa-minor-mode"
> ;; (25)
> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
> (load "emacslisp/mesa-minor-mode.el")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "emacslisp/mesa-minor-mode.el"
> :; (26)
> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
> (load "emacslisp/mesa-minor-mode.el")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "emacslisp/mesa-minor-mode.el"
> ;; (27)
> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
> (load "emacslisp/mesa-minor-mode")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "emacslisp/mesa-minor-mode"
> ;; (28)
> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
> (load "emacslisp/mesa-minor-mode")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "emacslisp/mesa-minor-mode"
> ;; (29)
> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
> (load-file "mesa-minor-mode.el")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "/suphys/stello/mesa-minor-
> mode.el"
> ;; (30)
> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
> (load-file "mesa-minor-mode.el")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "/suphys/stello/mesa-minor-
> mode.el"
> ;; (31)
> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
> (load-file "mesa-minor-mode")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "/suphys/stello/mesa-minor-mode"
> ;; (32)
> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
> (load-file "mesa-minor-mode")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "/suphys/stello/mesa-minor-mode"
> ;; (33)
> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
> (load-file "emacslisp/mesa-minor-mode.el")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;Symbol's value as variable is void: <!DOCTYPE
> ;; (34)
> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
> (load-file "emacslisp/mesa-minor-mode.el")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;Symbol's value as variable is void: <!DOCTYPE
> ;; (35)
> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
> (load-file "emacslisp/mesa-minor-mode")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "/suphys/stello/emacslisp/mesa-
> minor-mode"
> ;; (36)
> (setq load-path (cons "~/emacslisp/mesa_minor_mode" load-path))
> (load-file "emacslisp/mesa-minor-mode")
> ;An error has occurred while loading `/suphys/stello/.emacs':
> ;File error: "Cannot open load file", "/suphys/stello/emacslisp/mesa-
> minor-mode"
> 
> 
> 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
> --
> Dennis Stello



  reply	other threads:[~2013-03-25 15:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-25  7:23 Loading .el file Dennis Stello
2013-03-25 15:04 ` Doug Lewan [this message]
2013-03-25 22:54   ` Dennis Stello
2013-03-25 15:12 ` Andreas Röhler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=155DEC68569B714B86C2C7075F5EDA9828ECFB20@DAKIYA1.pegasus.local \
    --to=dougl@shubertticketing.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=stello@physics.usyd.edu.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.