Steve Rauch <[EMAIL PROTECTED]> Fri, 10 Nov 2000 11:51:55 -0400 (AST)
> Bruce and I will do our best to answer any questions that you may
> have.  I have been mainly responsible for the UNB customizations for
> Emacs and JDE having written or modified code for most of the
> unb-jde-java.el file that is included under the site-lisp directory.

[EMAIL PROTECTED] Thu, 09 Nov 2000 16:23:51 -0500
>> * This has developed into a thread on gnu.emacs.help. Would you
>>   mind if I posted your information there?

Steve Rauch <[EMAIL PROTECTED]> Fri, 10 Nov 2000 11:51:55 -0400 (AST)
> Sure, you may post and Bruce and I will do our best to answer any
> questions that may arise.

Great! I'm finding lotsa information about installing Emacs, and the
JDE, for oneself, but not so much about installing it for a site. So
I'd really appreciate answers to the following questions. However,
please bear in mind that 

* NCSU runs a multi-client environment (called "Unity") on top of a
  fairly-well-integrated backend (AFS, Kerberos, Hesiod, mostly on
  Solaris and NetWare). I'd like my setup to work as well as possible,
  and administratively integrate as well as possible, across the four
  main platforms: Solaris 2.6, Red Hat Linux 6.0, NT 4.0, and Mac
  8.5. (Note the stress on the "as possible": I'm not asking for
  miracles :-)

* I'm personally installing Emacs and the JDE on only a part of it,
  the NT/NetWare part. Unfortunately this means that I _don't_ have
  the ability to symlink.

* Neither do we have Cygwin setup. However, I have personally used
  MinGW tools (such as cp, rm, grep, diff, etc) successfully with my
  own NT/NetWare setup.

* No part of Unity has, since ~1995, had an up-to-date Emacs installed
  or supported. Unfortunately that means that local Emacs expertise is
  pretty scarce.

That being said, I've been running GNU Emacs 20.7.1 in the new space
for two weeks, and I've gotten JDE 2.2.6 installed with

eieio-0.15
elib-1.0
semantic-1.3.2
speedbar-0.13a

This also seems to be working, but I haven't yet heard from the admins
where to tell JDE to find its JDK; until then I won't know for sure,
but that should happen soon. (In any case, when I pull up a .java file,
I see all the JDE bells/whistles.)

What I'd like to know (now, anyway :-) is:

* How to setup site lisp? I'd like to make it as easy as possible
  (lacking symlinks) to update Emacs and package versions without
  changing the global structure. I've currently got drive space
  (mapped to n:) in which I've put

  n:/
     emacs-20.7
     site-lisp

  n:/emacs-20.7 has the extracted contents of

  emacs-20.7-fullbin-i386.tar.gz

  n:/site-lisp presently has

  - n:/site-lisp/site-start.el

  which is visible for comments, complaints, and suggestions at

  > http://www4.ncsu.edu/~tlroche/site-start.el

  - n:/site-lisp/dir

  points to .info for the site packages, and is referenced in
  site-start.el.

  - n:/site-lisp/jde-2.2.6

  and its required packages.

  - n:/site-lisp/eieio-0.15
  - n:/site-lisp/elib-1.0
  - n:/site-lisp/semantic-1.3.2
  - n:/site-lisp/speedbar-0.13a

  However, I can't get Emacs to read site-start.el unless I copy it to
  n:/emacs-20.7/lisp, which IMHO is less administrable. I want to be
  able to upgrade Emacs separately from the site lisp: is there a way
  to do this?

* Similarly, how should one setup site tools?

* What's the "best way" to setup JDK pointers for a site? I'd like to
  make this as transparent as possible for users, esp since many of
  them will be, as I believe yours are, Emacs novices taking our
  introductory programming course (since NCSU's primary pedagogic
  language is Java). I see that

  http://sunsite.dk/jde/trouble-shooting.htm
  >  Yes, you must use custom to customize JDE variables (or at least
  >  duplicate its behavior). The reason is that custom on most
  >  versions of Emacs does not allow customization of buffer-local
  >  variables. This conflicts with the need for the JDE to support
  >  project-specific customization of JDE variables. The JDE solves
  >  this problem by taking advantage of the fact that custom stores
  >  the standard and customized values of a variable as properties of
  >  the variable.

  <snip>

  > So if you want to customize a variable in your .emacs file, you
  > have two options:

  >       Open a customization buffer for the variable, edit the
  >       standard value, and save the result by selecting the Save
  >       for future sessions option from custom's State menu.

  >       Set the value of the variable's customized-value property to
  >       the customized value, using a put form in your .emacs file,
  >       for example,

  >            (put 'jde-compiler 'customized-value "jikes") 

  Could I, for instance, copy the custom-inserted statements from my
  .emacs into site-start.el? Or is there a better way?

* Do you have any advice regarding multi-platform .emacs? Our users
  have home directories in AFS space, addressable from all platforms
  ... except, that is, for w2k users such as myself, who don't yet
  have AFS clients :-( I'd like to make available to users, either
  upon installation (via the NAL) or just via the web, an .emacs
  template that would be useful across platforms. Granted, this would
  require some tweaking :-)

* More generally: do you have any pointers to documentation on Emacs
  site setups? E.g. material on site-start.el, defaults.el,
  subdirs.el, etc? I've found snippets in .info (i.e. in (emacs)Init
  File) and in web searching (mostly links to old posts), but I'd
  really like to see a comprehensive HOWTO.

Your assistance is appreciated, [EMAIL PROTECTED]

Reply via email to