Skip to content

Commit

Permalink
Merge pull request #1013 from KineticTheory/elisp_update
Browse files Browse the repository at this point in the history
Updates to default elisp files and templates.
  • Loading branch information
jhchang-lanl authored Jan 11, 2021
2 parents 94cf450 + 74c5789 commit 20cb775
Show file tree
Hide file tree
Showing 6 changed files with 86 additions and 1,691 deletions.
10 changes: 4 additions & 6 deletions environment/elisp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,17 @@ all: ${elcfiles}
%.elc: %.el
./compile-elisp $<

clean:
clean:
rm -rf *.elc *~

##################################################
# Specific dependencies
##################################################

doxymacs.elc: xml-parse.elc
./compile-elisp $*.el
# doxymacs.elc: xml-parse.elc
# ./compile-elisp $*.el

draco-config-modes.elc: draco-mode.elc draco-setup.elc doxymacs.elc draco-global-keys.elc draco-menu.elc
draco-config-modes.elc: draco-mode.elc draco-setup.elc draco-global-keys.elc draco-menu.elc
./compile-elisp $*.el

draco-menu.elc: draco-mode.elc
Expand All @@ -40,5 +40,3 @@ draco-new-files.elc: draco-helper-functions.elc

draco-setup.elc: draco-faces.elc draco-new-files.elc
./compile-elisp $*.el


37 changes: 19 additions & 18 deletions environment/elisp/README.elisp
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,31 @@
>>> All rights reserved.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

The XEmacs elisp files associated with this package make up a
development enviornment used by CCS-4. To use these files add the
elisp directory to your XEmacs load path and then load the
ccs4defaults library.

In ~/.xemacs/init.el add the following elisp. You should replace the
path to the Draco environment (~/draco/environment) directory with the
real path on your current machine. The value shown below assumes that
you have Draco checked out in your home space. The directories should
be listed in the order you want them searched for Draco elisp code.
If you prefer to use the latest/greatest elisp code (instead of stable
versions intalled at /codes/radtran) you should switch the order of
the first two entries.
The XEmacs elisp files associated with this package make up a development enviornment used by
CCS-2. To use these files add the elisp directory to your Emacs load path and then load the
draco-setup package..

Follow the example provided by sample.emacs in your own $HOME/.emacs add the following elisp. You
should replace the path to the Draco environment (~/draco/environment) directory with the real path
on your current machine. The value shown below assumes that you have Draco checked out in your home
space. The directories should be listed in the order you want them searched for Draco elisp code.

;; Load Draco Elisp files

(setq my-draco-env-dir "~/draco/environment/" )
(load-library (concat my-draco-env-dir "/elisp/draco-setup"))

It is recommended that you compile the .el files located at
draco/environment/elisp for better XEmacs performance. Simply run
'make' from the draco/environment/elisp directory. If you have a lot
of elisp commands in your ~/.emacs.d directory, you may want to compile
those files too.
It is recommended that you compile the .el files located at draco/environment/elisp for better emacs
performance. Simply run 'make' from the draco/environment/elisp directory. If you have a lot of
elisp commands in your ~/.emacs.d directory, you may want to compile those files too.

There are several packages that are recommended for instalation via Melpa (M-x package-list-packages):
- cmake-mode
- fill-column-indicator
- highlight-doxygen
- lua-mode
- rtags
- yaml-mode

MELPA - Install extra Emacs modes
==============================
Expand Down
Loading

0 comments on commit 20cb775

Please sign in to comment.