* how to get this file to work? (another newbie question)
@ 2006-12-24 21:21 ocelot1970
2006-12-24 22:25 ` Peter Dyballa
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: ocelot1970 @ 2006-12-24 21:21 UTC (permalink / raw)
Everyone was so helpful for my last question!
Here is another: I found a file keywiz.el, at this location:
http://whome.phys.au.dk/~harder/
What the file is is a game where the player tries to guess the right
key-binding.
What I want to know is just how to make it work. The instructions for
the file say to press M-x and then keywiz. When I do that what happens
is I get a '[no match]' error.
The problem is, I don't know where to store this file to make this
work. I tried my home folder, and also the "play" folder within "usr."
They don't work and this is probably a really basis question, but where
do I put files like this I get from external sources?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: how to get this file to work? (another newbie question)
2006-12-24 21:21 how to get this file to work? (another newbie question) ocelot1970
@ 2006-12-24 22:25 ` Peter Dyballa
[not found] ` <mailman.2334.1166999141.2155.help-gnu-emacs@gnu.org>
2006-12-26 17:27 ` Rupert
2 siblings, 0 replies; 6+ messages in thread
From: Peter Dyballa @ 2006-12-24 22:25 UTC (permalink / raw)
Cc: help-gnu-emacs
Am 24.12.2006 um 22:21 schrieb ocelot1970@gmail.com:
> The problem is, I don't know where to store this file to make this
> work.
When you put it into a location as described in the variable load-
path, you can require it, or use load-library. You can put it
anywhere and load it with load-file. You can even load it into GNU
Emacs from the command line ...
--
Greetings
Pete
"Specifications are for the weak and timid!"
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: how to get this file to work? (another newbie question)
[not found] ` <mailman.2334.1166999141.2155.help-gnu-emacs@gnu.org>
@ 2006-12-25 1:39 ` ocelot1970
2006-12-25 1:48 ` Lennart Borgman
2006-12-25 10:00 ` Peter Dyballa
0 siblings, 2 replies; 6+ messages in thread
From: ocelot1970 @ 2006-12-25 1:39 UTC (permalink / raw)
Peter Dyballa wrote:
> Am 24.12.2006 um 22:21 schrieb ocelot1970@gmail.com:
>
> > The problem is, I don't know where to store this file to make this
> > work.
>
> When you put it into a location as described in the variable load-
> path, you can require it, or use load-library. You can put it
> anywhere and load it with load-file. You can even load it into GNU
> Emacs from the command line ...
Thank you generously for the response. But I do not understand. I do
not see 'load-library' or 'load-file' anywhere, because the file manu
has 'open file' and 'insert file.' Please what is the key-binding for
either load-path or load-library, or how could I find out if there
wasn't a newsgroup here?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: how to get this file to work? (another newbie question)
2006-12-25 1:39 ` ocelot1970
@ 2006-12-25 1:48 ` Lennart Borgman
2006-12-25 10:00 ` Peter Dyballa
1 sibling, 0 replies; 6+ messages in thread
From: Lennart Borgman @ 2006-12-25 1:48 UTC (permalink / raw)
Cc: help-gnu-emacs
ocelot1970@gmail.com wrote:
> Peter Dyballa wrote:
>> Am 24.12.2006 um 22:21 schrieb ocelot1970@gmail.com:
>>
>>> The problem is, I don't know where to store this file to make this
>>> work.
>> When you put it into a location as described in the variable load-
>> path, you can require it, or use load-library. You can put it
>> anywhere and load it with load-file. You can even load it into GNU
>> Emacs from the command line ...
>
> Thank you generously for the response. But I do not understand. I do
> not see 'load-library' or 'load-file' anywhere, because the file manu
> has 'open file' and 'insert file.' Please what is the key-binding for
> either load-path or load-library, or how could I find out if there
> wasn't a newsgroup here?
The good place to start to learn is usually in Info, a hypertext
documentation system inside Emacs. You reach it by typing
C-h r
or via the menus
Help - Read the Emacs Manual
(This is how it looks in Emacs 22, now in pretest.)
Another starting place might be http://www.EmacsWiki.org/.
Interactive commands (load-library is that) can be called like
M-x load-library
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: how to get this file to work? (another newbie question)
2006-12-25 1:39 ` ocelot1970
2006-12-25 1:48 ` Lennart Borgman
@ 2006-12-25 10:00 ` Peter Dyballa
1 sibling, 0 replies; 6+ messages in thread
From: Peter Dyballa @ 2006-12-25 10:00 UTC (permalink / raw)
Cc: emacs mailing list
Am 25.12.2006 um 02:39 schrieb ocelot1970@gmail.com:
> Please what is the key-binding for either load-path or load-library,
I have none created ...
> or how could I find out if there wasn't a newsgroup here?
You could try C-h f ... Or you just start with C-h t. Next year you
should know the answers before you imagine the question. That's GNU
Emacs!
--
Greetings
Pete
Think of XML as Lisp for COBOL programmers.
-- Tony-A (some guy on /.)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: how to get this file to work? (another newbie question)
2006-12-24 21:21 how to get this file to work? (another newbie question) ocelot1970
2006-12-24 22:25 ` Peter Dyballa
[not found] ` <mailman.2334.1166999141.2155.help-gnu-emacs@gnu.org>
@ 2006-12-26 17:27 ` Rupert
2 siblings, 0 replies; 6+ messages in thread
From: Rupert @ 2006-12-26 17:27 UTC (permalink / raw)
ocelot1970@gmail.com wrote:
> Everyone was so helpful for my last question!
>
> Here is another: I found a file keywiz.el, at this location:
> http://whome.phys.au.dk/~harder/
>
> What the file is is a game where the player tries to guess the right
> key-binding.
>
> What I want to know is just how to make it work. The instructions for
> the file say to press M-x and then keywiz. When I do that what happens
> is I get a '[no match]' error.
>
> The problem is, I don't know where to store this file to make this
> work. I tried my home folder, and also the "play" folder within "usr."
> They don't work and this is probably a really basis question, but where
> do I put files like this I get from external sources?
Hi! I feel I should help - the other answers you got are correct, but
you might be looking for something a little more targeted.
When emacs loads, it reads through a load of .el files containing elisp
code. A large proportion of emacs is in fact written in elisp rather
than C, the core programming language. However, emacs needs to know
what files to read, which is controlled by two things:
- It maintains a list of directories in a variable called load-path. To
see this, probably it's easiest to run C-h v load-path (help,about
variable,load-path).
- There is a function called load, which finds a file in one of the
directories in load-path and then reads everything in it.
- Files loaded by emacs have lots of invocations of load, which then
load a sort of tree of dependent files.
The easiest thing for now is to add a "load" invocation in your .emacs
file and put the file you want to load in your site-lisp directory.
Eventually, things will get very slow unless you factor them out with
autoloading etc., but maybe that's for when you're a little more
confident with elisp in general.
Hope this is of some use,
Rupert
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-12-26 17:27 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-24 21:21 how to get this file to work? (another newbie question) ocelot1970
2006-12-24 22:25 ` Peter Dyballa
[not found] ` <mailman.2334.1166999141.2155.help-gnu-emacs@gnu.org>
2006-12-25 1:39 ` ocelot1970
2006-12-25 1:48 ` Lennart Borgman
2006-12-25 10:00 ` Peter Dyballa
2006-12-26 17:27 ` Rupert
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.