unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: saneman <asdfsdf@asd.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Cut and open commands?
Date: Mon, 25 Feb 2008 23:27:55 +0100	[thread overview]
Message-ID: <fpvfcu$hov$1@news.net.uni-c.dk> (raw)
In-Reply-To: <878x1866jz.fsf@W0053328.mgh.harvard.edu>

Joel J. Adamson wrote:
> saneman <asdfsdf@asd.com> writes:
> 
>> Joel J. Adamson wrote:
>>> saneman <asdfsdf@asd.com> 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))
> 
> Sorry I forgot to mention: use add-to-list as in
> 
> (add-to-list 'load-path
> 	     (expand-file-name "~/lisp/el/"))
> 
> Joel             
> 

I still get the same error. This is how my .emacs file looks:


;;; Emacs Load Path
(setq load-path (cons "~/work/mylisp" load-path))

(add-to-list 'load-path
	     (expand-file-name "/usr/share/emacs21/site-lisp/emacs-goodies-el"))


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

(require 'emacs-goodies)




I have tried to comment out:

(add-to-list 'load-path
	     (expand-file-name "/usr/share/emacs21/site-lisp/emacs-goodies-el"))

and then print the content of my load-path with:

M-x describe-variable RET load-path

and the result is:

load-path's value is
("~/work/mylisp" "/usr/share/emacs21/site-lisp/emacs-goodies-el" 
"/usr/share/emacs21/site-lisp/dictionaries-common" "/etc/emacs21" 
"/etc/emacs" "/usr/local/share/emacs/21.4/site-lisp" 
"/usr/local/share/emacs/site-lisp" "/usr/share/emacs/21.4/site-lisp" 
"/usr/share/emacs/21.4/site-lisp/dictionaries-common" 
"/usr/share/emacs/21.4/site-lisp/emacs-goodies-el" 
"/usr/share/emacs/site-lisp" "/usr/share/emacs/21.4/leim" 
"/usr/share/emacs/21.4/lisp" "/usr/share/emacs/21.4/lisp/toolbar" 
"/usr/share/emacs/21.4/lisp/textmodes" 
"/usr/share/emacs/21.4/lisp/progmodes" "/usr/share/emacs/21.4/lisp/play" 
"/usr/share/emacs/21.4/lisp/obsolete" "/usr/share/emacs/21.4/lisp/net" 
"/usr/share/emacs/21.4/lisp/mail" "/usr/share/emacs/21.4/lisp/language" 
"/usr/share/emacs/21.4/lisp/international" 
"/usr/share/emacs/21.4/lisp/gnus" "/usr/share/emacs/21.4/lisp/eshell" 
"/usr/share/emacs/21.4/lisp/emulation" 
"/usr/share/emacs/21.4/lisp/emacs-lisp" 
"/usr/share/emacs/21.4/lisp/calendar")

As can be seen the /usr/share/emacs21/site-lisp/emacs-goodies-el path is 
already in my load-path without adding it in my .emacs file. So the 
error must have something to do with the:

(require 'emacs-goodies)

command...


  reply	other threads:[~2008-02-25 22:27 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-23 13:06 Cut and open commands? saneman
2008-02-23 13:28 ` saneman
2008-02-23 17:22 ` Tassilo Horn
     [not found] ` <mailman.7830.1203787374.18990.help-gnu-emacs@gnu.org>
2008-02-25 10:02   ` saneman
2008-02-25 17:07     ` Joel J. Adamson
2008-02-25 19:38       ` saneman
2008-02-25 20:45         ` Joel J. Adamson
2008-02-25 22:27           ` saneman [this message]
2008-02-26  7:51             ` Thierry Volpiatto
     [not found]             ` <mailman.7948.1204011578.18990.help-gnu-emacs@gnu.org>
2008-02-26  9:12               ` saneman
2008-02-26  9:17                 ` saneman
2008-02-26 16:45                   ` Joel J. Adamson
2008-02-27  9:04                     ` saneman
2008-02-27 14:53                       ` Joel J. Adamson
2008-02-28  4:58                       ` Kevin Rodgers
2008-02-25 22:46         ` Peter Dyballa
2008-02-25 18:15     ` Sven Joachim

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='fpvfcu$hov$1@news.net.uni-c.dk' \
    --to=asdfsdf@asd.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).