HDTenEightyP/NetNews huggingface dataset:
From: imp@solbourne.com (Warner Losh)
Subject: Re: compile.el for Suns CC (C++ compiler) available ?
Organization: ParcPlace Boulder
Distribution: gnu
Date: Fri, 9 Oct 1992 20:20:05 GMT

In article <JOL.92Oct9102411@etn_madonna.etn.ericsson.se> jol@etn.ericsson.se (Jon Olav Linde 1213) writes:
>Do anyone know of a compile.el that works with Suns CC (based upon AT&Ts
>C++ translator, version 2.1) ? Preferably a "ready to run version", since
>my knowledge of Elisp and regexps is pretty limited.

The compile.el that came with epoch (and I think therefore emacs
18.58) already handles it.  Or rather, it handles cfront 2.1.12 and
3.0.1 error messages.  I'm almost positive that we didn't hack it here
to get it to work.

Do you happen to know if sun changed the error message from something
like the following?
"oenum.C", line 589: warning:  long  assigned to  short

Warner

P.S.  Here's a C-H v compilation-error-regexp that is used:

compilation-error-regexp's value is "\\([^ :
]+\\(: *\\|, line \\|(\\)[0-9]+\\)\\|\\([0-9]+ *of *[^ 
]+\\)"

Documentation:
Regular expression for filename/linenumber in error in compilation log.
-- 
Warner Losh		imp@parcplace.COM	ParcPlace Boulder
I've almost finished my brute force solution to subtlety.
From: tbruseha@hollywood.ems.cdc.com (Tom Brusehaver)
Newsgroups: gnu.emacs.help
Subject: Epoch IBM RS6000, garbage collecting forever
Summary: garbage collecting
Keywords: garbage collecting
Date: 8 Oct 92 14:52:24 GMT
Organization: Empros Systems International, a division of Control Data


I built Epoch 4.2 on an IBM RS6000 running AIX 3.2, and when I try to
load some of the lisp functions (M-x mail, M-x gdb, etc), the thing
garbage collects repeatedly.  It does the same thing running the emacs
18.58 that came with it.

Has anyone tried this combination and had success.  How?  

Thanks
From: barmar@think.com (Barry Margolin)
Newsgroups: gnu.emacs.help
Subject: Re: Elisp question about 'let'
Date: 9 Oct 1992 19:43:01 GMT
Organization: Thinking Machines Corporation, Cambridge MA, USA
NNTP-Posting-Host: telecaster.think.com

In article <DOUGM.92Oct8232438@bradbury.cns.caltech.edu> dougm@cns.caltech.edu (Doug McNaught) writes:
>Greetings, fellow Emacs fanatics!
>  I have a question about how to change a variable temporarily while
>calling a function interactively. I have the following in my .emacs
>file:
>
>(defun run-scheme-compiler ()
>  "Run MIT Scheme with the compiler enabled."
>  (interactive)
>  (let ((scheme-program-arguments "-compiler"))
>    (call-interactively 'run-scheme)))
>
>What I want to have happen is for "run-scheme-compiler" to start up
>MIT Scheme with the compiler enabled, then, if I kill the process and
>do "M-x run-scheme" (the normal method of invocation) it'll start
>without the compiler.

The problem is that when run-scheme is invoked interactively, it defaults
the command line to the command line used in the last invocation, rather
than recomputing it from scheme-program-name, scheme-program-arguments, and
scheme-band-name.

However, you can get around this.  It remembers the last command line in
the variable xscheme-process-command-line.  If you bind or set this to nil
then it will assume that this is the first invocation and recompute the
command.  So try:

(defun run-scheme-compiler ()
  "Run MIT Scheme with the compiler enabled."
  (interactive)
  (let ((scheme-program-arguments "-compiler")
        (xscheme-process-command-line nil))
    (call-interactively 'run-scheme)))

Another solution would be to call run-scheme as a lisp function, rather
than using call-interactively.  The function takes the command line as an
argument.  You can do something like:

(defun run-scheme-compiler ()
  "Run MIT Scheme with the compiler enabled."
  (interactive)
  (run-scheme (let ((scheme-program-arguments "-compiler"))
                (xscheme-default-command-line))))

Also, make sure xscheme.el is already loaded before you run
run-scheme-compiler, rather than letting it be autoloaded when
run-scheme-compiler calls it.  The defvar for scheme-program-arguments is
only executed when the file is loaded, and it get confused if the variable
is bound; defvar only assigns a variable if it doesn't have a value, but
when the let is exited the old unbound value will be restored, which is not
the default value you want.
-- 
Barry Margolin
System Manager, Thinking Machines Corp.

barmar@think.com          {uunet,harvard}!think!barmar
Newsgroups: gnu.emacs.help
From: ejh@khonshu.colorado.edu (Edward J. Hartnett)
Subject: question about setq and defvar
Organization: CIRES, University of Colorado
Date: 16 Oct 92 15:07:02


Dear elisp gurus,

I have been studying fortran.el and emacs lisp to help my
productivity, but I am confused. If, in my .emacs file, I use a setq
to set a fortan variable (for example fortran-continuation-string), it
creates the global variable and sets its value. Is that correct?

Now in fortran.el (version 1.28.6), at the very beginning it makes all
these global variables (including the one I set in .emacs), which
creates a local version of that variable, giving it the same value it
had. Immediately following the variable is set with a setq. It seems
to me, therefore, that when I start emacs for the day and my .emacs is
run, the variable fortran-continuation-string will be set as I wish.
When I go into fortran mode, that meaning will be politely put on the
stack, a local variable of the same name will be created, and the next
setq will change it's value from what I want '+' back to the default
'&'. Obviously that doesn't happen. What am I missing?

				signed,
				Desperately Seeking Stallman
--
Edward Hartnett			ejh@khonshu.colorado.edu

Newsgroups: gnu.emacs.help,comp.emacs
From: bm@shadow.columbia.edu (Blair MacIntyre)
Subject: C outline mode in Emacs
Reply-To: Blair MacIntyre <bm@cs.columbia.edu>
Organization: Columbia University
Date: Thu, 15 Oct 1992 14:38:07 GMT


Has anybody written a C outline mode?  I looked at the LCD archive site
at Ohio State and didn't find anything the looked promising, but I may
have been looking for the wrong thing.  

What I'd like to do is hit a key and (ideally) have all the level N and
below defs hidden.  I can envision how to write this within C mode
(using the indent level as an indication of the conceptual level) so it
seems like someone must have done it.

--
Blair MacIntyre --- bm@cs.columbia.edu --- CS Department, Columbia University

"Men can get into shaving, because it reminds them of what stud hombres
they are, having to tame their manliness on a regular basis." - Dave Barry
Newsgroups: gnu.emacs.help
From: reingold@cs.uiuc.edu (Edward M. Reingold)
Subject: Re: Problem using Calendar
Organization: University of Illinois, Dept. of Comp. Sci., Urbana, IL
Distribution: gnu.emacs.help
Date: Fri, 16 Oct 1992 02:24:00 GMT


Attempts to reply by email to the following posting have all bounced.  Please
send me you .emacs and diary files if you want me to try to help find the
problem.

>> Newsgroups: gnu.emacs.help
>> Path: m.cs.uiuc.edu!ux1.cso.uiuc.edu!uwm.edu!rpi!utcsri!torn!watserv2.uwaterloo.ca!sun3.vlsi.uwaterloo.ca!sun3.vlsi.waterloo.edu!shadri
>> From: shadri@sun14.waterloo.edu (Seddik Hadri)
>> Subject: Problem using Calendar
>> Message-ID: <SHADRI.92Oct15132231@sun14.waterloo.edu>
>> Sender: news@sun3.vlsi.uwaterloo.ca
>> Organization: University of Waterloo
>> Distribution: gnu.emacs.help
>> Date: Thu, 15 Oct 1992 18:22:31 GMT
>> Lines: 21
>> 
>> Hi,
>> 
>> I have been using calendar and diary, without any
>> problems, for a while now.  Recently some thing
>> strange started happening.  It takes very
>> looooong time to finish marking the diary
>> entries. In the mini-buffer I get an alternating
>> message saying "marking diary entries" and
>> "garbage collection".  I have no idea what has
>> changed in my .emacs file.  
>> Also, I ftp'ed appt.el a while ago but was never
>> able to use it, everything is ok --It accepts the
>> time of the appointment and every thing. however,
>> it doesn't give a warning at the time of the
>> appointment.
>> xo
>> Any pointers will be greatly appreciated. 
>> 
>> Thanks,
>> --Seddik
>> 
--

Professor Edward M. Reingold                  Email: reingold@cs.uiuc.edu
Department of Computer Science                Phone: (217) 333-6733
University of Illinois at Urbana-Champaign    FAX:   (217) 333-3501
1304 W. Springfield Ave.
Urbana, IL 61801-2987  USA
Newsgroups: gnu.emacs.help
From: rms@gnu.ai.mit.edu (Richard Stallman)
Subject: Major mode for Mathematica
Organization: Gatewayed from the GNU Project mailing list help-gnu-emacs@prep.ai.mit.edu
Date: Thu, 8 Oct 1992 11:12:33 GMT

Wolfram has threatened an look and feel lawsuit against the
University of California, so I suggest people think twice
about using Mathematica.

There is a project to develop a symbolic math program for GNU; a
version is actually available that will do some jobs.  We are looking
for good Lisp programmers who would like to write more of it.  Those
seriously interested in working on this should contact
jaffer@gnu.ai.mit.edu.

Newsgroups: gnu.emacs.help
From: blanchad@rintintin.Colorado.EDU (BLANCHARD DAVID OWEN)
Subject: Re: How to search again using forward-search?
Organization: University of Colorado, Boulder
Date: Thu, 15 Oct 1992 17:23:22 GMT

In article <1992Oct15.145542.20675@netcom.com> jamieson@netcom.com (David Jamieson) writes:
>I've bound C-S to forward-search (never cared much for incremental
>search, esp. on a slow connection).  I've used a half dozen other
>editors from the emacs "family".  Repeat search is always perform by
>pressing C-S again and using the contents of the minibuffer as the
>default search string.  With my installation of gnu-emacs I get the
>message, "Command attempted to use minibuffer while in minibuffer".
>I'm new to gnu, so I've never programmed with it or examined how its
>underlying principles differ from other family members (like Epsilon).
>Any simple solution?
>

I have been searching for a solution to this problem for a long time.
If anybody can post an answer, fix, or code to search again for a string
using non-incremental search, I would be grateful.

David Blanchard
dob@esg1.nssl.erl.gov
From: abraham@iesd.auc.dk (Per Abrahamsen)
Newsgroups: gnu.emacs.help
Subject: Re: tex-mode-map problems
Date: 10 Oct 92 22:14:53 GMT
Distribution: gnu
Organization: Mathematics and Computer Science, Aalborg University


>>>>> On 8 Oct 92 14:32:51, konkar@bimini.stanford.edu (Ranjit Konkar) said:

Ranjit> I want to define some key bindings but only for the LaTeX mode. 
Ranjit> [ ... ]

Ranjit> This doesn't work:

Ranjit> (setq tex-mode-hook
Ranjit>       '(lambda()
Ranjit> 	(use-local-map tex-mode-map)
Ranjit> 	(define-key tex-mode-map "\C-ci" 'tex-italicise-word)
Ranjit> 	(define-key tex-mode-map "\C-cb" 'tex-boldface-word)
Ranjit> 	))

You could get AUC TeX, which already includes these bindings...

File: /pub/emacs-lisp/auctex.tar.Z
Ftp site: iesd.auc.dk
Newsgroups: gnu.emacs.help
From: vpcsc4@sfsuvax1.sfsu.edu (Emmett McLean)
Subject: keybindings (Seek help from where the FAQ leaves off)
Organization: San Francisco State University
Distribution: NA
Date: Wed, 7 Oct 1992 05:37:33 GMT

I am trying to bind a F2 key to the find-file command.
As suggested in the FAQ I found the string of characters
generated by F2 by typing "xyzF2", and then "C-h l". 
(The FAQ program "see-characters" yeilded the same result.)
After eliminating the string xyz, I found that F2 returns:
A RET C RET 1 RET . Following a FAQ suggestion, I put the 
command,

(global-set-key "A\rC\r1\r" 'find-file)

into my .emacs file, but unfortunately this invokes an 
"Error in init file " message, and not suprisingly, F2 doesn't
do what I'd like. What did I miss?

Thanks!

Emmett vpcsc4@sfsuvax1.sfsu.edu
Newsgroups: gnu.emacs.help
From: gunter@denbigh.cs.ucla.edu (Michial Gunter)
Subject: Weirdness trying to exec a dumped emacs
Keywords: Emacs, dump, unexec
Organization: /global/us/edu/ucla/cs/ficus/users/gunter/.organization
Date: 12 Oct 92 18:55:16



In order to shorten the start-up time of emacs, I have been attempting
to dump emacs after it has loaded my .emacs file.  This has been
successful.  I can even exec the dumped file - for a little while.
After a while, each attempt to exec the dumped file leads to a seg fault.

What's going on here?  Why does the exec work for some time, then stop
working?  How can I achieve what I want to achieve?



			thanks,
			mike

Newsgroups: gnu.emacs.help
From: shadri@sun14.waterloo.edu (Seddik Hadri)
Subject: Problem using Calendar
Organization: University of Waterloo
Distribution: gnu.emacs.help
Date: Thu, 15 Oct 1992 18:22:31 GMT

Hi,

I have been using calendar and diary, without any
problems, for a while now.  Recently some thing
strange started happening.  It takes very
looooong time to finish marking the diary
entries. In the mini-buffer I get an alternating
message saying "marking diary entries" and
"garbage collection".  I have no idea what has
changed in my .emacs file.  
Also, I ftp'ed appt.el a while ago but was never
able to use it, everything is ok --It accepts the
time of the appointment and every thing. however,
it doesn't give a warning at the time of the
appointment.
xo
Any pointers will be greatly appreciated. 

Thanks,
--Seddik

Xref: sparky gnu.emacs.help:4423 comp.emacs:3296
From: paj@uk.co.gec-mrc (Paul Johnson)
Newsgroups: gnu.emacs.help,comp.emacs
Subject: Re: outline mode in Emacs
Date: 9 Oct 92 08:35:55 GMT
Reply-To: paj@uk.co.gec-mrc (Paul Johnson)
Organization: GEC-Marconi Research Centre, Great Baddow, UK

In article <1avkjiINN361@agate.berkeley.edu> yee@garnet.berkeley.edu (Raymond Yee) writes:
>Hello,
>
>        I'm considering learning emacs for several reasons.  One of
>them is that emacs has an 'outline' mode.  [...] I am thinking of
>formatting everything in LaTeX -- is there an easy way to convert a
>emacs-outline into nice formatting commands in LaTeX?

I recall seeing an outline minor mode.  I would imagine that you could
tie this into the \subsection{} syntax used by LaTex.

If anyone has done this or does this in the future then please post.
I would appreciate knowing about this as well.

Paul.
-- 
Paul Johnson (paj@gec-mrc.co.uk).	    | Tel: +44 245 73331 ext 3245
--------------------------------------------+----------------------------------
These ideas and others like them can be had | GEC-Marconi Research is not
for $0.02 each from any reputable idealist. | responsible for my opinions
Newsgroups: gnu.emacs.help
From: rim@bme.ri.ccf.org (Robert M. Cothren)
Subject: highlighting selected text
Organization: The Cleveland Clinic Foundation, Cleveland, OH
Distribution: usa
Date: Fri, 9 Oct 1992 18:14:28 GMT

Is there an elisp mouse extension that would make emacs highlight text
selected by dragging the mouse in an X11 emacs buffer for cut and
paste like xterm does?

--
----Robert M. Cothren, PhD--------------------------rim@bme.ri.ccf.org----
    Department of Biomedical Engineering
    The Cleveland Clinic Foundation                voice: 216 445-9305
----Cleveland, Ohio----------------------------------fax: 216 444-9198----
Newsgroups: gnu.emacs.help
From: cloos@theory.TC.Cornell.EDU (James H. Cloos Jr.)
Subject: Infer, Crypt and Rmail
Organization: Cornell Information Technologies, Ithaca, NY 14853
Distribution: gnu
Date: Wed, 14 Oct 1992 08:20:41 GMT

I just recently discovered that the reason that, when I opened
compressed babyl files, I did not end up in rmail mode was that I was
requiring infer after I required crypt.

I made the change by moving the inclusion of crypt to the end of my
.emacs.  (Moving infer to just before crypt had blown up via some
other interaction the symptoms of which I do not remember.)  Now, I
get search out of bounds errors when I try to run rmail w/o args iff
~/RMAIL exists.  Everything works OK if ~/RMAIL is deleted.  Deleting
the require infer also fixed the problems.  NB that once I made the
change, looking at a babyl file via the `e', `f', or `v' keys in
tree-dired would work OK.  Only calling rmail w/o an arg would cause
the problem.

Below is my alist.  The only change I made was to add the perl-mode
entry.  The commented out lines were how I got it; I only realized
just now that they were in fact commented out...! [SIGH]

(defvar infer-mode-alist 
  '(
    ;;("^\\\\documentstyle" . latex-mode)
    ("^\\\\chapter" . latex-mode)
    ;;("^\\\\\\(sub\\)*section *{" . latex-mode)
    ("\\`BABYL OPTIONS:$" . rmail-magic)
    ;;("\\`#! */bin/t?csh\\>" . csh-mode)
    ;;("\\`:  *#" . fundamental-mode)
    ;;("\\`#! */bin/sh\\>" . fundamental-mode)
    ("\\`#!.*/perl\\>" . perl-mode)
    )
  "Alist of file content patterns vs corresponding major mode functions.
Each element looks like (REGEXP . FUNCTION).
Visiting a file whose which contains REGEXP within the first infer-mode-limit
characters causes FUNCTION to be called.")

My find-file-hook gets set to (find-crypt-file-hook
ange-ftp-set-buffer-mode vm-handle-file-recovery
vm-handle-file-reversion dos-check-buffer) when infer is not loaded.
My old setup had infer-file-mode first, the error causing one had it
second.

If anyone has any idea what the problem could be I'd appreciate any
info you can provide.

Thanks.

-JimC

--
James H. Cloos, Jr.		include <std/disclaimers.h>
Cloos@Theory.TC.Cornell.EDU     include <std/qotd>
Cloos@Batcomputer.UUCP 		Phone:  +1 716 866-5249
Cloos@CrnlThry.BITNET 		Snail:  POBox 1111, Amherst, NY 14226-1111
Newsgroups: gnu.emacs.help
From: vaitkus@mars.lexmark.com (Keith Vaitkus)
Subject: Binding Sun Numeric Keypad
X-Disclaimer: These views are the poster's and not necessarily those of Lexmark
Organization: /lab1/vaitkus/.organization
Distribution: na
Date: Fri, 16 Oct 1992 15:26:09 GMT

Could some kind guru-type soul, please please please tell me how to 
bind my numeric keypad keys to real functions? The arrow keys
work fine, but they generate nice Ctrl-B, Ctrl-A, etc. commands
while HOME, END, etc. generate nasty esc-[ sequences.... I am
using a sun IPX and openwindows.

7 generates [214z
1 generates [220z

I have tried to get the example given in O'Reilly & Assoc.'s
Emacs Book, but I cant get it to work with these weird 
sequences....

This is something that has bothered me for YEARS. And I would
be very grateful to whoever can help me solve this annoyance
for good.

Thanks in Advance,

Keith

email: vaitkus@lexmark.com
Newsgroups: gnu.emacs.help
From: summeral@ucsu.Colorado.EDU (SUMMERALL  ELMINA LANIER)
Subject: Why don't my arrow keys work?!?
Organization: University of Colorado, Boulder
Date: Tue, 13 Oct 1992 18:40:25 GMT

I would love to use gnuemacs, but for some reason my arrow keys don't work.

The strange thing is that they work fine in vi and tpu editors.  They seem to
be sending the kosher escape sequences.  I tried to rebind to whatever my keys
are sending, but emacs freaks out in the bind command when I hit the keys.

Any clue about what's going on?

Thanks in advance,

Thomas Summerall
Newsgroups: gnu.emacs.help
From: d90-awe@tukur.nada.kth.se (Assar Westerlund)
Subject: Re: Keystroke logging?
Originator: d90-awe@tukur.nada.kth.se
Organization: Royal Institute of Technology, Stockholm, Sweden
Date: Thu, 8 Oct 1992 15:11:19 GMT

In article <9210080616.AA06211@news.cis.ohio-state.edu> Erik.Altmann@cs.cmu.edu writes:
   I need to instrument emacs to log keystrokes (for a psychology 
   experiment).  Anyone have such code, or relevant comments?

open-dribble-file:
Start writing all keyboard characters to FILE.

Use it like this:

(open-dribble-file "keys.log")

-- 
Assar					        d90-awe@nada.kth.se
-------------------------------------------------------------------
Truth is the most valuable thing we have -- so let us economize it.
                -- Mark Twain
Newsgroups: gnu.emacs.help
From: keith%accura_nc@concert.net (Keith B. Kee {AISG} )
Subject: headers
Organization: Gatewayed from the GNU Project mailing list help-gnu-emacs@prep.ai.mit.edu
Date: Wed, 14 Oct 1992 17:39:33 GMT

Hi:
  Sometime ago, I acquired a copy of header.el from a ftp site. However, I
was not able to byte-compile the macro. The error message I obtained was:
	"end of file during parsing". Also, I was not able to create headers
with this macro. Can somebody send me a copy of header.el again. I would 
greatly appreciate that. Thanks.

	-Keith
From: jbw@bigbird.bu.edu (Joe Wells)
Newsgroups: gnu.emacs.help
Subject: Re: emacs-lisp code for vi-style tags files
Date: 7 Oct 92 17:44:02 GMT
Followup-To: gnu.emacs.help
Distribution: gnu
Organization: Boston University Computer Science Department
In-reply-to: mccanne@horse.ee.lbl.gov's message of 29 Sep 92 18:35:52 GMT

In article <26536@dog.ee.lbl.gov> mccanne@horse.ee.lbl.gov (Steven McCanne) writes:

   Has anyone written emacs-lisp functions to interface to vi-style tag
   files (i.e., tags files generated by ctags)?

I believe the FSF version 19 code does this.  The Lucid version 19 code is
mine, and does not do this.

-- 
Enjoy,

Joe Wells <jbw@cs.bu.edu>
Member of the League for Programming Freedom --- send e-mail for details
From: ethanb@ptolemy.astro.washington.edu (Ethan Bradford)
Newsgroups: gnu.emacs.help
Subject: Re: MAN mode?
Date: 17 Oct 92 00:51:09 GMT
Article-I.D.: ptolemy.ETHANB.92Oct16165109
Organization: U. of Washington
To: hermit@cats.UCSC.EDU (William R. Ward)

There is a command for reading man pages in the standard distribution
called manual-entry.  Here is its documentation:

    Display the Unix manual entry for TOPIC.
    TOPIC is either the title of the entry, or has the form TITLE(SECTION)
    where SECTION is the desired section of the manual, as in `tty(4)'.

I use an optional package called manual.el by Eric Rose
<erose@jessica.stanford.edu>, which has a couple of enhancements over
the standard, including a different buffer for each item you look up,
the option of finding multiple manual entries, and a fancy manual
viewing mode (whose capabilities include following the SEE ALSO
links, as you asked).

I will post my version of it, if Mr. Rose does not offer his latest
version within a couple of days.

There is also something called man+ listed in the lisp dir archives.

-- Ethan
Newsgroups: gnu.emacs.help
From: tom@smart.bo.open.de (Thomas Neumann)
Subject: Re: Behavior of C-n at end of buffer.
Organization: News at smart
Distribution: gnu
Date: Thu, 8 Oct 1992 16:12:54 GMT

In article <1992Sep30.145024.13959@porthos.cc.bellcore.com> ilg@dasher.uucp (25852-guthrie) writes:

   Whenever I execute the C-n command in the last line of the
   buffer, a new line is added to the end of the buffer. Any
   suggestions on how to change this so that instead an error
   is signaled (for example a beep).


Put the following into your ~/.emacs file.

;;--

(fset 'next-line-org (symbol-function 'next-line))
(fset 'next-line 'next-line-restrictive)

(defun next-line-restrictive
  (n)
  "This is an overloaded version of (next-line) that does not
extend the buffer when used at (eob)."
  (interactive "p")
  (if (not (eobp))
      (next-line-org n)
    (beep)))

;;--

bye -- Thomas
Newsgroups: gnu.emacs.help
From: piet@cs.ruu.nl (Piet van Oostrum)
Subject: Re: Why don't my arrow keys work?!?
Date: Thu, 15 Oct 1992 12:51:29 GMT
Reply-To: piet@cs.ruu.nl (Piet van Oostrum)
Organization: Dept of Computer Science, Utrecht University, The Netherlands

>>>>> dma@cs.bham.ac.uk (Denis Anthony) (DA) writes:

DA> Our systems admin has installed emacs, and as an editor it works.
DA> However whenever I try to use a loadable file it fails. The file
DA> exists, emacs loads it ok, but then won't execute. Even dired does'nt
DA> work viz :-

DA> "Cannot open load file: dired"

DA> when I do a C-x d. This occurs even if I specifically load dired.el or dired.elc.

DA> and similarly for byte-compile etc. The path is set up ok as afr as I
DA> can see, and the .el and .elc files exist. Ie.

frodo>~ :echo $PATH
DA> /bham/bin:/bin:/usr/bin:.:/bham/X11/bin:/bham/X11/pd/bin
frodo>~ :echo $EMACSLOADPATH
DA> /bham/lib/emacs/lisp
          ^^^
DA> and 

frodo>/bham/emacs/lisp :ls dir*
DA> dired.el   dired.elc

As you can see, dired is not in the directory that EMACSLOADPATH describes.
-- 
Piet van Oostrum <piet@cs.ruu.nl>
Newsgroups: gnu.emacs.help