help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cut and open commands?


From: saneman
Subject: Re: Cut and open commands?
Date: Mon, 25 Feb 2008 20:38:01 +0100
User-agent: Thunderbird 2.0.0.6 (X11/20071022)

Joel J. Adamson wrote:
saneman <address@hidden> writes:


[...]

I have installed: emacs-goodies-el where I can see that cua is listed,
but I still get the error.

You have to load it; make sure the .el file is in your load-path (M-x
describe-variable RET load-path) and then use (require 'emacs-goodies).
I'm guessing you're using a Debian system, so it probably installed into
your load-path and all you need is the require statement in your .emacs.

Joel


I have added this to my .emacs file:


(setq load-path (cons "~/work/mylisp" load-path))
(setq load-path (cons "/usr/share/emacs21/site-lisp/emacs-goodies-el" load-path))


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Load .el files
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(require 'emacs-goodies)




But I get the error:

File error: "Cannot open load file", "emacs-goodies"

So even though I have added the directory:
/usr/share/emacs21/site-lisp/emacs-goodies-el

To the load-path, its not found.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]