HDTenEightyP/NetNews huggingface dataset:
From: cnall00@mik.uky.edu (chris nalley)
Subject: End of file during parsing...
Keywords: ERROR EMACS PARSING
Organization: University Of Kentucky, Dept. of Math Sciences
Date: Wed, 15 Apr 1992 02:08:25 GMT
X-Bytes: 

I am have SERIOUS problems running a lot of things in EMACS.  Specifically
GNUS, RMAIL, DIRED and a few others.

I am getting an error "End of file during parsing..." when I try a
M-x rmail   or   M-x gnus-Group-postnews 

among others.

Any help here?

Chris Nalley

CNALL00@mik.uky.edu


--

 ___/~~~\_____/~\__/~\___/~~~~~~\___/~\____/~~~~\___ /~~~~~~~~~~~~~~~~~~~~~~~~\
 _/~\___/~\___/~\__/~\___/~\__/~\___/~\___/~\_______ |  Christopher D Nalley  |
 _/~\_________/~~~~~~\___/~\~~~~\___/~\____/~~~\____ |  Digital Underground   |
Newsgroups: gnu.emacs.help
From: h.b.furuseth@usit.uio.NO (hbf)
Subject: Re: completing-read
Organization: Gatewayed from the GNU Project mailing list help-gnu-emacs@prep.ai.mit.edu
Date: Wed, 15 Apr 1992 21:44:13 GMT

> What I really want to be able to do is to scroll the *Completions*
> buffer without having to do a couple of C-x o and then using C-v.
> Ideally I'd like C-v and M-v to work from the completing-read prompt.

From the minibuffer, C-M-v is already scrolls the help/completion
buffer up.  For the rest -

(define-key minibuffer-local-completion-map "\C-v" 'scroll-other-window)
(define-key minibuffer-local-must-match-map "\C-v" 'scroll-other-window)
(define-key minibuffer-local-completion-map "\ev" 'scroll-other-window-down)
(define-key minibuffer-local-must-match-map "\ev" 'scroll-other-window-down)

(defun scroll-other-window-down (&optional arg)
  "As scroll-other-window, but scrolls the other way."
  (interactive "P")
  (scroll-other-window
   ;; This reverses the arg to scroll-other-window
   (cond ((null arg) '-)
	 ((eq arg '-) nil)
	 ((- (if (consp arg) (car arg) arg))))))


Regards,

Hallvard
Newsgroups: gnu.emacs.help
From: dhami@cs.ubc.ca (Mandeep S Dhami)
Subject: Bourne shell mode
Summary: Want bourne shell mode.
Keywords: sh, bourne shell
Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
Date: Sun, 12 Apr 92 06:41:20 GMT


Where can I pick up Bourne shell mode for emacs? 
(Could you please email the reply as I do not read
this group very often).

Thank you,
Mandeep.

-----------------------------------------------------
well, another hacker.
-----------------------------------------------------
Newsgroups: gnu.emacs.help
From: radin@thor.albany.edu (Jonathan Radin)
Subject: TABS in c-mode
Organization: Image Systems Technology, Inc.
Distribution: gnu
Date: Tue, 7 Apr 92 14:36:39 GMT

Hi there,
	We're in the midst of a source-code formatting holy-war, and I
need help making emacs comply with the "standards" that are being
created.  I need to know if there is a way to make C-mode begin lines
with TABS instead of spaces.  I haven't been able to discover an easy way
to do this yet, and would appreciate any help someone could provide.  If
possible, please reply by e-mail to

cjk@imagesys.com

Thanks in advance.
From: wallis@psychosis.ssc.gov (Dave Wallis)
Newsgroups: gnu.emacs.help
Subject: Re: RMAIL woes
Date: 15 Apr 92 19:26:06 GMT
Article-I.D.: psychosi.WALLIS.92Apr15132606
Reply-To: wallis@psychosis.ssc.gov
Distribution: gnu
Organization: SSC Laboratory, Dallas, TX

In article <kuoogaINN2sm@appserv.Eng.Sun.COM> mrm@puffin.Eng.Sun.COM (Marianne Mueller) writes:
   Every now and then, a piece of mail I attempt to save in an RMAIL
   folder is marked with

   ^_

   or 

   ^L

   instead of 

   ^_^L

   and the mail is lost to me, in that I can't view it from inside RMAIL.
   I have to look at that RMAIL folder as a flat text file in order to
   see the mail that's marked wrong.

   I'm trying to notice what circumstances cause this, but meantime, has
   anyone else noticed stuff like this and fixed it?

   It may be caused by FCC:, or by using o (save to rmail folder) and
   control-o (save to unix mail file) on the same piece of mail.

   Merci, 
    Marianne


Interesting this should come up just now. Earlier this week, I was
writing a library for rmail, and had this very same problem as I was
debugging my code! I never really did figure out what was causing the
problem - I was doing editing in the message, but not in that area. I
had issued a (widen) to allow me to do regex searches of message
labels, and adding (narrow-to-region) after the search and before
editing seems to have cleared up the problem. I don't know if this
helps you too much, but hey, you get what you pay for! I'd really like
to know what the real cause of this is (other than that I don't really
know what I'm doing with emacs-lisp!)
--
Dave Wallis (wallis@psychosis.ssc.gov)
SSC Laboratory,
Dallas, TX
(214)708-3410
Newsgroups: gnu.emacs.help
From: ssurhode@susssys1.reading.ac.UK (Paul Rhodes)
Subject: tvi terminals
Organization: Gatewayed from the GNU Project mailing list help-gnu-emacs@prep.ai.mit.edu
Date: Thu, 9 Apr 1992 16:18:01 GMT

I've just configure emacs for our system here
(which comprises of a number of sparc stations
networked together under nfs, running sunos 4.1), 
and it is necessary for our version of epoch to 
support tvi terminals from tvi910's onwards.

Has anyone got any terminal bindings out there
which might be of some use ??

Also, is it possible to configure epoch to run under
sunview as well as in terminal mode and x-windows.
We have epoch 4.0p0, which has the two executables.

thanks,

Paul
From: dipak@radiant.eng.yale.edu (Dipak Chowdhury)
Newsgroups: gnu.emacs.help
Subject: Correction: reading news in emacs
Date: 9 Apr 92 14:36:41 GMT
Article-I.D.: cs.1992Apr9.143641.13523
Organization: INRIA Sophia Antipolis, France

I posted that M-x rn <return> reads .chrc file. It should be .newsrc file. Rest
of the problem is still there. Thanks
Newsgroups: gnu.emacs.help
From: cliff@sfn.ORG (R. Cliff Young)
Subject: Re: "who am I" in shell buffer
Organization: Society for Neuroscience
Distribution: gnu
Date: Fri, 10 Apr 1992 18:48:49 GMT

In article <SHIBUYA.92Apr9161535@burger.sinet.slb.com> shibuya@boston.sinet.slb.com writes:
>This may be comp.unix.question question.  Why don't I get any output
>when I say "who am i" in shell buffer? (same result in cmushell
>buffer).

Probably because the Emacs shell buffer is not technically attached to
a terminal, and thus does not have an entry in /etc/utmp.  "who am i"
uses the terminal's entry in /etc/utmp to identify the login name of
the user utilizing that terminal, but since the shell buffer has no
utmp entry, nothing gets printed . . .

On my system, I get a nice little "process not attached to a terminal"
error . . .

-- 
--/\/-- R. Cliff Young, SysAdmin, SFN -- cliff@sfn.ORG
Newsgroups: gnu.emacs.help
From: mpklein@acsu.buffalo.edu (Matthew P. Klein)
Newsgroups: gnu.emacs.help
Subject: Get rid of auto-save files?
Summary: I hate rm .#*
Date: 13 Apr 92 01:04:01 GMT
Distribution: gnu
Organization: UB


	Would someone tell me how to have Emacs automatically get rid of
the ".#" files that it creates with auto-save?  In the manual it says that
these are automatically deleted as soon as you do a real save (C-x C-s).
This seems to work sometimes and not work others.  The inconsistency seems
to be related to whether emacs creates a ".##" file for the same buffer,
but I can't figure out exactly what is going on or why a ".##" file is
created at all - backing up a backup?  I'm not really interested in simply
turning off auto-save; I've needed to recover a lot of times.
	Thanks for any help.

					Matt Klein
Newsgroups: gnu.emacs.help
From: patrick@casbs.Stanford.EDU (Patrick Goebel)
Subject: Setting default directory at startup
Organization: Center for Advanced Study in the Behavioral Sciences
Distribution: gnu
Date: Thu, 16 Apr 1992 00:40:33 GMT

When using emacs as the editor for MH, a C-x i brings up the
~/Mail/drafts directory by default.  I'd prefer it to come up with ~/
as the default.

Although I have used an example from MH, my general question is, can
one set the default directory for commands such as C-x i at the time
of starting up emacs without explicitly cd'ing to that directory.

Thanks!
--
Patrick Goebel                    E-MAIL: patrick@casbs.Stanford.EDU
Network Administrator             VOICE:  (415) 321-2052
CASBS, 202 Junipero Serra Blvd.   FAX:    (415) 321-1192
Stanford, CA 94305                BEEPER: Temporarily Out of Order...
From: rusty@anasaz (Rusty Carruth)
Newsgroups: gnu.emacs.help
Subject: Re: Get rid of auto-save files?
Date: 15 Apr 92 22:37:02 GMT
Reply-To: rusty@anasazi.com
Distribution: gnu
Organization: Anasazi, Inc.  Phoenix, Az

In article <1992Apr13.010401.1657@acsu.buffalo.edu> mpklein@acsu.buffalo.edu (Matthew P. Klein) writes:
>
>	Would someone tell me how to have Emacs automatically get rid of
>the ".#" files that it creates with auto-save?  In the manual it says that
>these are automatically deleted as soon as you do a real save (C-x C-s).
>This seems to work sometimes and not work others.  The inconsistency seems
>to be related to whether emacs creates a ".##" file for the same buffer,
>but I can't figure out exactly what is going on or why a ".##" file is
>created at all - backing up a backup?  I'm not really interested in simply
>turning off auto-save; I've needed to recover a lot of times.
>	Thanks for any help.

You had me going until you mentioned the old ##*## files.

My guess is you managed to convince emacs to load up the backup 
files.  (My usual trick is to type 'emacs *', which gets
the *~ files as well, then since emacs puts them in the
buffer list in reverse order, I end up editing my backup file
instead of the most recent one, thus I have *~, *~~ ACK! - this
rarely happens to me any more :-)

(Yes, I did get ##*## before, and I believe it was due to editing
a directory with #*# files in it and typing something silly like
'emacs *' - which (of course) gets the #*# files as well...)



-- 
73 de Rusty Carruth, N7IKQ   P.O. Box 27001, Tempe, AZ 85285
      (602) 870-3330         !'s:{ames!ncar!noao!asuvax,mcdphx}!anasaz!rusty
@'s: rusty@anasazi.com       LastResort: rusty%anasaz.UUCP@asuvax.eas.asu.edu
Join the Usenet Un-Net:      1700-1900Z  Saturdays, 28.410 or 28.390 MHz
The 1991 Callsign Project lives!  email beers@cs.buffalo.edu for details.
Newsgroups: gnu.emacs.help
From: Karl_Kleinpaste@cs.cmu.edu
Subject: Re: Read Usenet News Via Emacs
Date: Thu, 09 Apr 92 02:45:23 GMT
Organization: Carnegie-Mellon Univ, Nectar Project

ethanb@ptolemy.astro.washington.edu writes:
   If you have access to the Internet, you can get the latest version of
   GNUS from tut.cis.ohio-state.edu [128.146.8.60] using anonymous ftp.

Ack!  Tut is dead.  There is nothing at [128.146.8.60].  Tut is
formally an alias (DNS CNAME) for archive.cis.ohio-state.edu today.

--karl
Xref: sparky gnu.emacs.help:2430 comp.sys.hp:5262
From: jeff@ursa.UUCP (Jeff Langer)
Newsgroups: gnu.emacs.help,comp.sys.hp
Subject: M-x compile on HP (HPUX 8.0.7)
Date: 15 Apr 92 22:45:13 GMT
Organization: Bear Stearns, NY

We are running  emacs 18.58.1.

M-x compile does not seem to recognize the c-compiler output messages
on HPUX 8.0.7.  The compiler generates messages of the form

	cc: "/tmp/foo.c", line 4: error 1000: Unexpected symbol: "i".

Anyone have a compilation-error-regexp that will work here ?


Newsgroups: gnu.emacs.help
From: choo@cs.yale.edu (Young-il Choo)
Subject: Re: RMAIL and dired
Organization: Yale Univ.  Computics Dep.
Distribution: gnu
Date: Wed, 15 Apr 1992 23:17:12 GMT


Rather than having "f" from Dired try and detect the type of file, here's a
simple solution.  "R" in dired will run rmail on the file.

Personally, I have a very customized version of dired.el
that contains this, but I think putting the following into your .emacs should
do the trick:

(setq dired-mode-hook
      (function
       (lambda ()
	 (define-key dired-mode-map "R" 'dired-rmail) ;; key binding
	 (defun dired-rmail ()			
	   "Run `rmail' on this file"
	   (interactive)
	   (let ((buffer-read-only nil)
		 (buffer (current-buffer))
		 (file (dired-get-filename)))
	     (rmail file)))
       )))

--  Young-il Choo
Newsgroups: gnu.emacs.help
From: liblit@cs.psu.edu (Benjamin R. Liblit)
Subject: echoing shell
Organization: /usr/new/lib/news/organization
Distribution: gnu
Date: Sun, 12 Apr 1992 04:51:14 GMT

When I run a shell in a buffer, each line I enter is echoed to the
screen when I press <return>.  This does not happen, BTW, in a
terminal buffer (M-x terminal-emulator).  I am using emacs 18.58.1 and
tcsh 6.00.02.

Any ideas?
--
			Ben Liblit
			liblit @ cs.psu.edu -- brl102 @ psuvm.psu.edu
			"Fais que tes reves soient plus longs que la nuit."
From: halldors@garlic.cs.titech.ac.jp (Magnus M. Halldorsson)
Newsgroups: gnu.emacs.help
Subject: Request for a Emacs programming handbook suggestion
Date: 11 Apr 92 08:13:44 GMT
Distribution: gnu
Organization: Dept. of Computer Sci, Tokyo Inst. of Tech., Japan

I want to write a small Emacs utility, but need some decent reference
and 'how-to' programming handbook. Mostly, I need to do fairly basic
processing of files, buffers, and windows. I'm not interested in any
user manual; it need be only slightly more explanatory than a
description of built-in function calls and variables would be useful.

Could anybody suggest such a book? (Please include publisher, since
there are no English language bookstores within a large radius of
here).  Last I knew, a couple of years ago, the only such book would
be the official GNUEmacsLisp manual, which then was quite rough.

Thanks in advance, and apologies if this is a rehashed topic.

Magnus M. Halldorsson
JAIST Hokuriku, Japan
Newsgroups: gnu.emacs.help
From: swispl@solomon.technet.sg (SW International)
Subject: GNU Emacs on Sparc under SVR4
Organization: National University of Singapore
Date: Wed, 8 Apr 1992 13:50:47 GMT

I am having difficulty building emacs on our ICL DRS6000, which is a
Sparc-based system running Unix System V Rel. 4.

m-sparc.h will not work with s-usg5-4.h.

Anybody built emacs on a similar system ( should be ABI! )

Thanks for help!

Brian Cohen

--
SW International Systems Pte Ltd     |  "I've got a plan so cunning 
    14, Science Park Drive           | you could put a tail on it and
    Singapore Science Park           | call it a weasle".. Black Adder
    Singapore 0511                   | 
    (65) 778-0066                    | swispl@solomon.technet.sg
From: lebowitz@krypton.Mankato.MSUS.EDU (Robert J. Lebowitz)
Newsgroups: gnu.emacs.help
Subject: Alternate NNTP servers
Date: 8 Apr 92 14:10:35 GMT
Article-I.D.: krypton.LEBOWITZ.92Apr8091035
Distribution: gnu
Organization: Mankato State University

I've been trying to setup the proper environment variables to alter the 
default newsserver that NNTP uses under EMACS.  Could someone send me 
examples of how to specify my newsserver as msus1.msus.edu?

Rob
--
Robert J. Lebowitz           Internet         lebowitz@krypton.mankato.msus.edu
Mankato State University     VOX              (507) 389-2540
Mankato MN 56002-8400
Newsgroups: gnu.emacs.help
From: jain@curie.CES.CWRU.Edu (Ashish Jain)
Subject: Source code for loadst
Followup-To: poster
Reply-To: jain@alpha.ces.cwru.edu
Organization: Computer Engineering and Science, CWRU, Cleveland OH.
Distribution: gnu
Date: 10 Apr 92 15:16:24

Hi:

I need the source code for loadst which emacs runs in the background.


Thanks
--
Ashish Jain
jain@alpha.ces.cwru.edu
From: hollen@megatek.uucp (Dion Hollenbeck)
Newsgroups: gnu.emacs.help
Subject: how to edit file, not link
Date: 17 Apr 92 20:01:59 GMT
Article-I.D.: joker.HOLLEN.92Apr17120159
Organization: Megatek Corporation, San Diego, California

At our site, we have an enormous number of files which are pointed to
by soft links from other places.  I want to be able to edit the link and
get emacs to change the real file, not put another copy of the file
replacing the link and not touching the original file.  I have looked
at all the variables related to backup-by-copying and these do not
seem to have any control over what I want to do.  I have also looked
at files.el and cannot see how to modify it to do what I want.  Could
someone please tell me how to do this?

-- 
Dion Hollenbeck       UUCP: {uunet, ucsd, sun}!megatek!hollen
Megatek Corporation  9645 Scranton Rd.  San Diego, Ca.  92121
(619)455-5590x2814
From: wallis@psychosis.ssc.gov (Dave Wallis)
Newsgroups: gnu.emacs.help
Subject: Emacs & multiple rmail file updaters
Date: 13 Apr 92 19:43:20 GMT
Reply-To: wallis@psychosis.ssc.gov
Distribution: gnu.emacs.help
Organization: SSC Laboratory, Dallas, TX


I am writing an emacs-lisp application in which requests for services
are e-mailed to a central ID. Then, members in a group of people will
field the requests, and add information etc. to the mail message. The
question is this: is there a reasonable way in emacs to deal with the
situation where more than one person is making changes to the rmail
file? Can I at least set up my application to re-read the rmail file
before allowing the user to make an update, to get any changes made by
other users? Any ideas?

Thanks in advance
--
Dave Wallis (wallis@psychosis.ssc.gov)
SSC Laboratory,
Dallas, TX
(214)708-3410
Newsgroups: gnu.emacs.help
From: marke@fsi-ssd.UUCP (fsi-ssd!Mark.Easter@uunet.uu.net,
        marke%fsi-ssd@uunet.uu.net)
Subject: 18.57 bug report
Organization: Gatewayed from the GNU Project mailing list help-gnu-emacs@prep.ai.mit.edu
Date: Thu, 9 Apr 1992 06:33:14 GMT


dispnew.c is dependent on lisp.h but the dependency is not provided for
in ymakefile; therefore, when using RCS for configuration management
and a make is done in a "clean" emacs filesystem, lisp.h won't be
checked out and an error occurs.
From: f1toyl@uta.fi (Topi Ylinen)
Newsgroups: gnu.emacs.help
Subject: "More" marker?
Keywords: more
Date: 7 Apr 92 07:33:47 GMT
Organization: University of Tampere, Finland

How do I get a "more" marker to an article I am writing? (with emacs)
CTRL+something?????


-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Topi Ylinen :    	"Of what use is the final answer if you 
f1toyl@kielo.uta fi  	 had the wrong question?" (Hint: it IS of some use)
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
From: abraham@iesd.auc.dk (Per Abrahamsen)
Newsgroups: gnu.emacs.help
Subject: Re: who knows a better way? this is mine
Date: 15 Apr 92 18:50:58 GMT
Article-I.D.: galilei.ABRAHAM.92Apr15195058
	<1992Apr14.161004.15935@solbourne.com>
Distribution: gnu
Organization: HUGIN Expert A/S


>>>>> On 14 Apr 92 16:10:04 GMT, imp@solbourne.com (Warner Losh) said:

Warner> ;;; What's wrong with the following:
Warner> (save-excursion
Warner> 	(goto-char (point-min))
Warner> 	(replace-string "^M
Warner> " "
Warner> "))

Warner> ;;; The ^M above should be replaced by a real <CR>

Try undoing the changes in a large file.  I believe replace-string
should only be used interactively.
Newsgroups: gnu.emacs.help
From: harelb@math.cornell.edu (Harel Barzilai)
Subject: emacs RMAIL error
Organization: The Ohio State University Department of Computer and Information Science
Date: Mon, 13 Apr 1992 01:08:27 GMT

This is quite a rare thing, but has happened to me a few times since I
edit large messages using rmail's "w" option:

if you use "narrow-to-region" and then "widen" rmail is confused about
reading the "babyl"-format file and you're suddently editing the whole
thing in your buffer.

I just "save-buffer", kill it, and re "M-x rmail <return>"

But maybe there is a better way or even a fix for future versions?

Harel

--
Please CC any responses to harelb@math.cornell.edu
Newsgroups: gnu.emacs.help
From: FCELCRUZ@ciuc2.uc.PT (LUIS ALBERTO SILVA CRUZ)
Subject: (none)
Organization: Gatewayed from the GNU Project mailing list help-gnu-emacs@prep.ai.mit.edu
Date: Mon, 13 Apr 1992 18:40:32 GMT

Hi,

        We have Emacs running on several SUNs. Recently we have acquired some
HP 9000 series 700 and we want to install Emacs on these machines. My questions
are :

        - is there a new release of Emacs supporting the HP 9000/700 ?
        - if there is, how can I have it ?

Best reagrds

Luis Cruz

Newsgroups: gnu.emacs.help
From: farrell@goat.drea.dnd.ca
Subject: gnu on HP 730 and Masscomp 6650
Organization: Gatewayed from the GNU Project mailing list help-gnu-emacs@prep.ai.mit.edu
Date: Tue, 14 Apr 1992 14:43:08 GMT

Hello All,
  I have the unenviable task (being a complete novice at this) of
trying to bring up gnu emacs (18.58) on both an HP Apollo Series 700 
Model 730 workstation AND on a Masscomp (Concurrent) Model 6650 machine.

  After reading the installation instructions I tried a build-install
on the HP machine first (fewer dire warnings in the MACHINES file).
The machine came up with (HP-UX pictor A.B8.05 A 9000/730) when I
logged in, so I used m-hp9000s800.h and s-hpux8.h in the config.h
file.  
  From the results (shown below) there are obviously some libraries
missing:

+ cd etc
+ make
        cc -o yow -g yow.c
+ cd src
+ make
        make    -f xmakefile  all
        cc -g -Demacs   -I/usr/include/X11R4 -c x11term.c
./x11term.h: 2: Can't find include file X11/Xlib.h
./x11term.h: 3: Can't find include file X11/Xatom.h
./x11term.h: 4: Can't find include file X11/keysym.h
./x11term.h: 5: Can't find include file X11/cursorfont.h
./x11term.h: 6: Can't find include file X11/Xutil.h
x11term.c: 81: Can't find include file X11/Xresource.h

  I scanned the entire system disk and didn't find the required
include files anywhere - any hints about what might be going on??
Also - has anyone brought up gnu emacs for non X window terminals on a
700 series machine - libcurses.a doesn't appear anywhere either.

  On the Masscomp (Concurrent) side - the only info in the MACHINES
file concerned 5500 machines running RTU 3.1.  We have a 6650 running 
RTU 6.0 - not close enough for the comments to be useful as far as I'm
concerned .  Has anyone out there managed to bring gnu emacs (any
version) up properly on a Masscomp 6000 series machine running either 
RTU 5.0C or RTU 6??  I'd appreciate any help anyone could give me on
this!!

I don't subscribe directly to this list, so please mail replies
directly to <farrell@goat.drea.dnd.ca>.  Thanks in advance for your
help!

						Joe Farrell

- 

Newsgroups: gnu.emacs.help
From: patrick@casbs.Stanford.EDU (Patrick Goebel)
Subject: Re: Setting default directory at startup
Organization: Center for Advanced Study in the Behavioral Sciences
	<ADAM.92Apr15203949@node_48dc0.dadhb1.ti.com>
Distribution: gnu
Date: Thu, 16 Apr 1992 18:58:40 GMT

In article <ADAM.92Apr15203949@node_48dc0.dadhb1.ti.com> adam@dadhb1.ti.com (Adam Hudd) writes:

> Patrick,
> 
> Try this in your .emacs file:
> 
> (setq default-directory "~/")
> 
> Adam

Many thanks Adam, your suggestion led me to the final solution.
Putting the above line in my ~/.emacs file does indeed have the
desired effect when bringing up emacs straight from the shell prompt.
However, whenever emacs is called from within another program such as
comp under MH or ordinary UNIX mail (using ~e), the default directory
is overridden by the calling program.

Luckily, it is possible to have MH or mail use an editor "myemacs"
(call it what you will) which is a simple script looking something
like this.

#! /bin/sh
emacs $* -l loadfile

The loadfile can contain whatever lisp code you like including the
above line setting the default directory.  This works exactly as I
wanted.

Cheers,
patrick
--
Patrick Goebel                    E-MAIL: patrick@casbs.Stanford.EDU
Network Administrator             VOICE:  (415) 321-2052
CASBS, 202 Junipero Serra Blvd.   FAX:    (415) 321-1192
Stanford, CA 94305                BEEPER: Temporarily Out of Order...
Newsgroups: gnu.emacs.help
From: jla@lucid.com (Joseph Arceneaux)
Subject: Version 19 of Elisp and Emacs
Reply-To: jla@ai.mit.edu
Organization: Gatewayed from the GNU Project mailing list help-gnu-emacs@prep.ai.mit.edu
Date: Thu, 16 Apr 1992 22:15:38 GMT

   Date: Thu, 2 Apr 92 16:53:56 PST
   From: yonkman@askungen.css.gov (Tom Yonkman)

   Greetings,

   What is the status of Version 19 of Emacs/Elisp?  In particular the
   floating point option is very desirable.

There are extensions to the elisp environment, including native
floating point support.
Newsgroups: gnu.emacs.help