Am 23.01.2008 um 20:48 schrieb Jakub Moskal:
> I found a bunch of *.el files for XEmacs which enable specware-mode.
> How do I make use of them in Carbon?
Put them into a directory that is in load-path. Then proceed, i.e.
invoke load-library or require from *scratch* buffer or such.
> Do I need to compile them, copy into some designated place?
The byte-compilation can save load-time. It's not needed to install
them in a certain place – except: Mac OS X applications are not real
files, but directory trees (or application "bundles"). (In Finder you
can control-click on such an object and then choose "Show contents"
from the pop-up context menu.) Most ELisp is "installed" inside the
Carbon Emacs application bundle, but when you update, it's likely
that the old contents of the application bundle is completely deleted
and substituted with the contents of the new application bundle. So
your files are best installed outside this application bundle. A good
place would be ~/Library/Application Support/Emacs for you only, or
system-wide /Library/Application Support/Emacs.
It's easy to add this element to load-path:
(add-to-list 'load-path (expand-file-name "~/Library/Application
Support/Emacs"))
--
Greetings
Pete
It's not the valleys in life I dread so much as the dips.
– Garfield
--~--~---------~--~----~------------~-------~--~----~
Carbon Emacs User Group
http://groups.google.com/group/carbon-emacs?hl=en
-~----------~----~----~----~------~----~------~--~---