source: trunk/athena/bin/discuss/debian/debathena-discuss-emacs.emacsen-startup @ 22699

Revision 22699, 1.1 KB checked in by ghudson, 17 years ago (diff)
Snapshot the Debathena materials for Athena packages into "debian" subdirs of the relevant Athena sources, pulling from /mit/debathena/packages/athena. Some big caveats: - Six Debathena packages are excluded because the current Athena 10 project plan does not call for building them: config-console console, dotfiles, glue, olc, and xscreensaver. (dotfiles and glue will be replaced with new Debathena-specific packages.) - Debathena does not cover all Athena packages which are called for to be built; Debian directories for these packages will have to be created. - Some of the packages contain patches, managed by quilt. The plan is to review and apply (or otherwise address) these patches and eliminate them. - The debian/rules files for Debathena packages are designed for use with the result of the athena-tarball script (from /mit/debathena/packages/athena/bin which I don't currently plan to import), and will not work with the raw source directories. The plan here is to write a CDBS extension package containing rules to handle raw Athena source directories, and then modify the rules files appropriately.
Line 
1;; -*-emacs-lisp-*-
2;;
3;; Emacs startup file, e.g.  /etc/emacs/site-start.d/50debathena-discuss-emacs.el
4;; for the Debian debathena-discuss-emacs package
5;;
6;; Originally contributed by Nils Naumann <naumann@unileoben.ac.at>
7;; Modified by Dirk Eddelbuettel <edd@debian.org>
8;; Adapted for dh-make by Jim Van Zandt <jrv@debian.org>
9
10;; The debathena-discuss-emacs package follows the Debian/GNU Linux 'emacsen' policy and
11;; byte-compiles its elisp files for each 'emacs flavor' (emacs19,
12;; xemacs19, emacs20, xemacs20...).  The compiled code is then
13;; installed in a subdirectory of the respective site-lisp directory.
14;; We have to add this to the load-path:
15(let ((package-dir (concat "/usr/share/"
16                           (symbol-name flavor)
17                           "/site-lisp/debathena-discuss-emacs")))
18;; If package-dir does not exist, the debathena-discuss-emacs package must have
19;; removed but not purged, and we should skip the setup.
20  (when (file-directory-p package-dir)
21        (setq load-path (cons package-dir load-path))
22       (autoload 'discuss "discuss"
23           "Enter discuss mode for emacs and list meetings." t)))
24
Note: See TracBrowser for help on using the repository browser.