HDTenEightyP/NetNews huggingface dataset:
From: evansg@uproar.enet.dec.com (Gwyn Evans @ IME)
Subject: Re: emacs 18.58 shell problem on DECs
Reply-To: evansg@uproar.enet.dec.com (Gwyn Evans @ IME)
Organization: Digital Equipment Service Industries Solutions Company Ltd
Date: Tue, 21 Jul 1992 07:58:02 GMT


In article <HENDRICK.92Jul18140320@marlins.ctron.com>, hendrick@ctron.com
(Jim Hendrick) writes:
>In response to my query, Jack Bryans <jbryans@beach.csulb.edu> writes:
>>
>>Jim,
>>
>>I built it w/s-bsd4-3.h & have no problems w/shell.
>>
>>Jack
>
>
>Thanks Jack!!
>
>And now, having re-compiled with the appropriate s file, I have no shell
>problems either. I was using s-bsd4-2.h since the ~etc/MACHINES file
>states:
>
>
>	Ultrix (s-bsd4-2.h)
>	
>	  DEC's Ultrix OS is essentially Berkeley 4.2.  It does not correctly
>	  implement certain features of 4.3.

 (Some of the description excluded)

>Apparently under ULTRIX V4.2A (Rev. 47), UWS V4.2A (Rev. 420) this
>is no longer appropriate.

 Well, from the description later in the file :-

	DECstation (m-pmax.h; s-bsd4-2.h or s-bsd4-3.h)

	  Works, as of 18.55.  See under Ultrix for problems using X windows
	  on Ultrix.  Note that this is a MIPS machine.
	  s-bsd4-3.h is said to work ok with Ultrix 4.1.

 I guess that that should be updated to drop the s-bsd4-2.h! Who should
be contacted?

Gwyn
-
+======================================================================+
| Gwyn Evans  | evansg@uproar.enet.dec.com |  Uxbridge, Middlesex, UK  |
| DESISCo - Digital Equipment Service Industries Solutions Company Ltd |
|  Views expressed and statements made are mine and not those of DEC   |
+======================================================================+
Newsgroups: comp.emacs
From: ramu@cadsun.corp.mot.com (Ramu Iyer)
Subject: Using different fonts in a single buffer (A Query)
Keywords: fonts, buffer, Symbolics, emacs
Organization: Motorola, Inc., Software Research and Development, Rolling Meadows, IL. 60008
Distribution: comp
Date: Mon, 27 Jul 92 16:56:12 GMT

Just as in a Symbolics machine, I am interested in using different
fonts in a (single) Emacs buffer.  For example, all the `comments' in
a C program could be italic and the code (without the comments) could
be roman. 

Has anybody written something similar?

Thanks,

--Ramu

"A machine with Emacs is Symbolics"

Xref: sparky comp.emacs:2674 comp.lang.functional:941
From: eglen@uk.co.gec-mrc (Stephen Eglen)
Newsgroups: comp.emacs,comp.lang.functional
Subject: Emacs TAGS  for haskell / gofer
Date: 22 Jul 92 14:12:16 GMT
Reply-To: eglen@uk.co.gec-mrc (Stephen Eglen)
Distribution: eunet
Organization: GEC-Marconi Research Centre, Great Baddow, Essex

Hello,
	I am writing some Haskell code within the emacs editor.  Does anyone
know of a program that will create a TAGS file, given some haskell files?
Alternatively, does anyone know what the format of the TAGS file is so
that I can try to generate one?
Thanks in advance,

Stephen Eglen.
Newsgroups: comp.emacs
From: vince@lpi.liant.com (Vince Fertig)
Subject: PL/I mode for emacs
Organization: Liant Software Corporation
Date: Mon, 27 Jul 1992 18:26:11 GMT

Does anyone know if there is a PL/I mode available for emacs, and how I
might get my hands on it?  

-Vince
From: zzang@whale.stat.ufl.edu (Zhuo Zang)
Newsgroups: comp.emacs
Subject: How to set environ for emacs?
Date: 22 Jul 92 23:15:42 GMT
Article-I.D.: eng.1992Jul22.231542.15035
Distribution: usa
Organization: College of LAS, UFL

Hello,
I wonder if emacs has environ variable for the
users. we are using the gnu emacs.
I now need the environ to inform the editor
the local lisp file directory.

Helps are very much appreciated.

Thanks in advance!

-- 
Zhuo ZANG
Department of Statistics               E-mail: zzang@stat.ufl.edu
University of Florida
Newsgroups: comp.emacs,gnu.emacs.help
From: asharpe@kithrup.com (Andrew Sharpe)
Subject: Re: 1) Install on SCO 2) X use on VMS w/CMUTEK
Organization: The Santa Cruz Operation, Inc.
Date: Fri, 24 Jul 1992 20:36:55 GMT


From article <DEAN.92Jul23125842@world.std.com>, by dean@world.std.com (Dean S Banfield):
> 1) we just installed on SCO UNIX Sys V R3.2.2.  Went OK with a few bumps.
>    are there any docs with the accummulated knowledge about the bumps for any
>    specific platform (we need SCO).  What does't work is the Mail hook-up
>    and the suspend function (CTRL-Z).  There may be others.

On SCO UNIX 3.2v2, and SCO UNIX 3.2v4, I had to modify emacs to ignore
SIGTSTP, look for a ^Z, save the tty state, default SIGTSTP, then send
myself a SIGTSTP. Upon receipt of SIGCONT, restore the tty state.

The mail hookup is simple if you write your own fakemail.


-- 

Judgment is poverty. - Ursula K. LeGuin
From: cornish@mullian.ee.mu.OZ.AU (simon cornish)
Newsgroups: comp.emacs
Subject: Sym links question
Summary: Can't wwrite over sym link llike before
Keywords: links, arrrgh
Date: 21 Jul 92 05:15:03 GMT
Organization: Computer Science, University of Melbourne, Australia

Hi netters, 
		A quick question that has me stumped:
Before (I'm not sure what has changed), when I had found a file
that was in fact a symbolic link, I would be able to edit what
was in the original file. 
		HOWEVER when I saved it, it would write 
OVER the link, rather than the original file. Now it doesn't.

Can anyone tell me how to get things back the way they were??

	Thanx 
		.simon.
				cornish@ee.mu.oz.au

 Victim of psychoactive .sig!
Newsgroups: comp.emacs
From: mrr@chene.cxo.dec.com (Mark Richard Rance)
Subject: special ASCII characters and xemacs
Reply-To: mrr@chene.cxo.dec.com (Mark Richard Rance)
Organization: Digital Equipment Corporation
Date: Thu, 23 Jul 92 00:16:17 GMT

is there some way to insert special ASCII characters using emacs?

i need to figure out how to type characters like:

  ,   et.al. and emacs doesn't seem to know what to do with the compose
character sequences understood by many other editors.  is there some way to 
insert the specific ASCII code for those characters??
  
additionally, files that already have those characters (130- 255) are not 
accurately presented on the screen when viewed thru xemacs.

mail replies graciously accepted

mark
Xref: sparky comp.emacs:2687 comp.lang.functional:944
From: dbh@doc.ic.ac.uk (Denis Howe)
Newsgroups: comp.emacs,comp.lang.functional
Subject: Re: Emacs TAGS  for haskell / gofer
Date: 23 Jul 92 15:00:06 GMT
Distribution: eunet
Organization: Computing Department, Imperial College, London, UK

In article <1834@miranda> eglen@uk.co.gec-mrc (Stephen Eglen) wrote:

>I am writing some Haskell code within the emacs editor.  Does anyone
>know of a program that will create a TAGS file, given some haskell files?

Your wish is my command :-)
--------8<---------8<-------- CUT HERE --------8<---------8<--------
: fptags 0.01 09-Apr-1992

#Create an emacs tags file for functional programs

#Please send me a copy of any modifications you make.
#Denis Howe <dbh@doc.ic.ac.uk>
#0.00 20-Sep-1991 created
#0.01 09-Apr-1992 don't count ==, <=, >= as definition

#The algorithm for spotting identifiers is crude to the point of
#vulgarity.  Any line containing an = is assumed to define an
#identifier.  If there are no non-white characters before the = then
#the definition is assumed to start on the previous line.  White
#characters are space, tab and > (for literate programs).

#The tags file is not in the format produced by ctags but rather,
#that produced by etags and used by GNU-Emacs's find-tag command.

#Does not tag constructors in sum data types.

#The tags file, TAGS, is created in the current directory.  It
#contains an entry for each argument file.  The entry begins with a
#line containing just ^L.  The next line contains the filename, a
#comma and the number of following bytes before the next ^L or EOF.
#Subsequent lines should give the location within the argument file of
#identifier definitions.  Each line contains a prefix of a line from
#the argument file, a ^?, the line number within the argument file, a
#comma and the position of the start of that line in bytes from the
#start of the argument file.

[ -z "$1" ] && echo usage: $0 files && exit 1
exec > TAGS
tf=/tmp/fp$$
for f
do	echo ""
	sed 's/==//g
	s/>=/=/g
	s/<=//g' $f | awk '
	/^[> 	]*\=/{ print prevline "" NR-1 "," prevpos; }
	/[^> 	].*\=/{ print $0 "" NR "," pos; }
	{ prevline = $0; prevpos = pos; pos += length($0); }
	' | sed 's/[	 )]*=.*//
	s//=/g' > $tf
	echo -n $f,; echo `wc -c < $tf`		#lose spaces
	cat $tf
done
rm -f $tf
--
Denis Howe <dbh@doc.ic.ac.uk>
Does this question have an answer?
From: nick@osf.org (Nick Dokos)
Newsgroups: comp.emacs
Subject: Re: Sequentially edit several files
Date: 23 Jul 92 05:47:24 GMT
	<BASHFORD.92Jul21211537@griffy.scripps.edu>
Organization: Open Software Foundation.

Put the following in your .emacs:

(server-start)

and then say from a shell (in another window if you are running under
a window system or from a shell buffer within emacs):

emacsclient file1 ... fileN

When you finish with a file, C-x # takes you to the next one.
--
Nick Dokos		(nick@osf.org)
Systems Engineering	(uunet!osf.org!nick)

Member of the League for Programming Freedom
Newsgroups: comp.emacs
From: bashford@scripps.edu (Don &)
Subject: Re: Sequentially edit several files
Organization: The Scripps Research Institute, La Jolla, CA, USA
Date: Wed, 22 Jul 1992 04:10:35 GMT

>>>>> In article <1992Jul22.004446.27938@Veritas.COM>, sef@Veritas.COM (Sef Kloninger) writes:

SK> There's a feature in VI that I still find useful:  you can select 
SK> many files to edit, and then use ":n" to go sequentially through
SK> the list, visiting or editing each file once and only once.

SK> Anyone know of something similar in emacs?  Just editing multiple
SK> files in emacs isn't enough because there's no quick way to visit
SK> each file once, as far as I can tell...

kill-buffer (C-x k) is the key.  Do "emacs bunch o files" to start up and
you will be presented with a window into the buffer of one file.
After you've finished with it (perhaps saving it with C-x s) kill the
buffer with C-x k.  You will then get the buffer of the next file,
and so on.  The only big difference from VI is that you will be presented
with the files in the reverse order to what you typed on the input line.

For visiting files in random order, do C-x C-b as soon as emacs starts
and you'll get a listing of all the current buffers and their associated
files.  To edit one of the files on the list move your cursor to the
corresponding line and type f and you'll be in that file.  C-x b will
get you back to the *Buffer List* buffer so you can select a new file.

Enjoy,

Don Bashford
bashford@scripps.edu
From: flash@aragorn.CSEE.Lehigh.Edu (Steve Corbesero-85001)
Newsgroups: comp.emacs
Subject: Emacs function to draw a box?
Date: 28 Jul 92 18:12:38 GMT
Organization: Lehigh University


Is there an emacs function somewhere to draw a box between the point
the point and the mark?  I checked the elisp-archives at osu, but
did not find anything explicit.


--
Stephen Corbesero
CSEE Dept, Lehigh University
Newsgroups: comp.emacs,gnu.emacs.help
From: mmwang@adobe.com (Michael Wang)
Subject: GNU Emacs under SunView problem
Organization: Adobe Systems Incorporated
Distribution: usa
Date: Wed, 22 Jul 1992 01:41:00 GMT

Hi, I'm trying to learn how to use GNU Emacs 18.55.5 running on
my Sun 3 (Sun OS 4.0.3, I think) and I've already run in a
problem with my setup. I would like to use my Left and Right
keys as the Meta key so I set the meta-flag variable to t in
my .emacs file. The problem is, if I use Meta-v to move back up
a screen (using the Left or Right as Meta) and I have something
in one of the SunView selection buffers like ttyselection,
I move back up a screen, but I also get whatever is in ttyselection
pasted in at the cursor point. I'm invoking GNU Emacs by typing
'emacstool -f emacstool-init' and I'm thinking GNU Emacs is
getting confused because Left-v is the 'paste' command for SunView
applications like mailtool and textedit. Any ideas on how I
can get around this problem?

-- 
Michael Wang
mmwang@adobe.com
Xref: sparky comp.emacs:2683 comp.lang.functional:942
From: kh@dcs.glasgow.ac.uk (Kevin Hammond)
Newsgroups: comp.emacs,comp.lang.functional
Subject: Re: Emacs TAGS  for haskell / gofer
Date: 23 Jul 92 09:58:45 GMT
Distribution: eunet
Organization: Computing Sci, Glasgow Univ, Scotland

In article <1834@miranda> eglen@uk.co.gec-mrc (Stephen Eglen) writes:
>	I am writing some Haskell code within the emacs editor.  Does anyone
>know of a program that will create a TAGS file, given some haskell files?

Yes, the parser for the new Glasgow compiler will do this.  Use the -E option.
The Glasgow Haskell compiler is available from ftp.dcs.glasgow.ac.uk [130.209.240.50]
in pub/haskell/glasgow/ghc-0.08.tar.Z (remember to use binary mode for transfer).
The parser can be run independently of the compiler.  If there's sufficient
interest, we could make this available separately.  We use it to navigate our
Haskell compiler (many thousands of lines), so you should find it fairly reliable.
It handles data, type, class, instance and where declarations, as well as top-level
definitions.  It understands multiple clauses for the same function.

Since the Gofer syntax is similar to Haskell, it will probably handle
most Gofer scripts, too, but that's not something I've bothered to
try.

There's also a sed script for tagging (offhand, I've forgotten the
author, sorry) available from the Manchester archive.  It may be in our
release too, but it's not easy for me to check...

>Alternatively, does anyone know what the format of the TAGS file is so
>that I can try to generate one?

It's fairly simple, but to do a really good job you need to write a
Haskell parser, anyway!

Kevin



-- 
This Signature Intentionally Left Blank.	E-mail: kh@dcs.glasgow.ac.uk
							   ^^^
From: petrilli@hal.gnu.ai.mit.edu (Chris Petrilli)
Newsgroups: comp.emacs
Subject: Re: emacsclient doesn't work
Keywords: emacsclient
Date: 24 Jul 92 17:07:45 GMT
Organization: Department of Redundency Department

In article <asrael.711961099@bob> asrael@bob.informatik.rwth-aachen.de (Stefan Schoef) writes:
>When I try to start emacsclient on a sparc station, I always get the
>message "stat: No such file or directory". On a hp9000s700 it will
>work perfectly.  Maybe it's the operating system on the sparc
>(sparc-sun-sunos4.1)?
>
>Any help is greatly appreciated!

I think you may be forgetting to execute theL

        (server-start)

command before trying to use the emacsclient.  This is not started
automatically (though I start it in my startup file).  Might want to
add that to the end of your .emacs file.

Chris        
-- 
| Chris Petrilli                                             ____
| petrilli@gnu.ai.mit.edu                                    \  /
| I don't even speak for myself.                              \/
From: crabtree@drivem.enet.dec.com (Alyson Crabtree)
Newsgroups: comp.emacs
Subject: emacs errors when saving cross-mounted vms files
Keywords: vms, ultrix, unix, save, error
Date: 30 Jul 92 17:22:31 GMT
Reply-To: crabtree@cookie.enet.dec.com (Alyson Crabtree)
Organization: Digital Equipment Corporation




I'm using emacs to edit stream-lf files I have cross-mounted from a vms account
to my ultrix workstation.  Emacs is done from the workstation, and when I do 
<ctrl>-x, <ctrl>-s, SOMETIMES (not always) it gives me the following error:

   Opening output file: i/O error, /usr/mypath/vmsdir.dir/vmsdir.dir/file.c
                                               ^                           ^
                                               |                           |
                                                \ vms cross-mounted files /
                                       


It's very frustrating, because I can't always be certain of being able to
save the changes I make.  Anyway,  has anyone ever seen anything like this
before? - or could anyone offer any clues to where I might look for insight?

Thanks.
Newsgroups: comp.emacs
From: desmedt@rulfsw.leidenuniv.nl
Subject: Re: search and insert e-mail address
Organization: Leiden University Faculty of Social Sciences
Date: 23 Jul 92 16:55:48 +0100

In article <LMS.92Jul22132401@rle-vlsi.mit.edu>, lms@rle-vlsi.mit.edu (Luis Miguel Silveira) writes:
> 
> 
>    In article <1992Jul22.112549.1@rulfsw.leidenuniv.nl>
>    desmedt@rulfsw.leidenuniv.nl writes:
> 
>    I have written a small package to search an e-mail address and insert
>    it into a mail buffer.
> 
>    It works in a simple but effective way.  You write the name to be
>    looked for in the To: field, then press C-C C-A, and a menu buffer
>    will appear with all addresses that match the name.  You can move
>    through the menu buffer and select one, which then replaces what was
>    the To: field.
> 
>    This package presupposes the existence of a data file that has, on
>    each line, a name, followed by one or more tabs, followed by an e-mail
>    address.
> 
> 
> [code deleted]
> 
> I fail to see why one would need a new package for this.  Isn't the
> data file you mention merely doing the job which is already done by
> the .mailrc file ?  And doesn't for instance the mail-abbrevs package
> (by Jamie Zawinsky) do what you are offering (perhaps without the
> option of choosing between the matched address on a separate buffer).
> 
> Please do not get me wrong.  I do not mean to be disrespectful of your
> work, merely suggesting that it would be more interesting if you would
> make it compatible with already existing and widely used packages
> 
> Just my 2c.
> 
> -Miguel
> 
> --
> =============================================================================
> Luis Miguel Silveira                            e-mail : lms@rle-vlsi.mit.edu

My package is different from what .mailrc offers in at least two respects:

1. you can search for arbitrary strings in the names as well as the addresses.
2. you avoid having to load a huge .mailrc file if you have a lot of addresses.

I don't know the mail-abbrevs package [yet] though.

- Koenraad de Smedt

Newsgroups: comp.emacs
From: jerbil@ultra.com (Joseph Beckenbach {Adapter Software Release Engr})
Subject: Re: Need Help Keybinding/X-Function (I give up!)
Organization: Ultra Network Technologies
Date: Fri, 24 Jul 92 19:26:38 GMT

	In his article, Jeffrey Templon <templon@paramount.nikhefk.nikhef.nl>
writes with a question regarding the "paste" key.  Someone on the network
a good while back posted his keymappings (thank you, originator of help-keys
and "~/.emacs-help") which contains:

(if sun-esc-bracket
    (progn
      (global-unset-key "\e[")
      (define-key esc-map "[" sun-raw-map)              ; Install sun-raw-map
      (define-key esc-map "[[" 'backward-paragraph)     ; the original esc-[
      (define-key esc-map "[A" 'scroll-down)
      ))

Would that extra "global-unset-key" be any help?  (Have you any other
mappings other than that shown in your posting?)

	Anyone who wishes my changes to that keymapping set, please email
me.  I have altered it such that F1 now triggers overwrite-mode, and the
Help key (and Ins, and NumLock, and F10 [all same keycode!!]) map to help-keys.
The transition to emacs has been eased considerably by having these mappings
on hand.

		Joseph Beckenbach  <jerbil@ultra.com>
		toolsmith and releaser
-- 
----
Joseph Beckenbach	jerbil@ultra.com	408-922-0600 x246
	(speaking from, but not for, Ultra Network Technologies)
Democracy is apple pie:  you must make it before you enjoy it.  -- me
Newsgroups: comp.emacs
From: adrianb@tplrd.tpl.oz.au (Adrian Barnes)
Subject: Filling C block comments
Originator: adrianb@sydrd19
Organization: Telectronics Pacing Systems
Date: Mon, 27 Jul 92 23:20:37 GMT


Hi -

Does anyone have an emacs function to re-justify a C block comment
like this?

/*
 *      This is the comment I want to re-justify
 *      I want the lines to fill in this area up to the fill
 *      column.
 *
 *      But I don't want it to munch up the gap between paragraphs
 *      in the block comment.
 */

I've tried using a fill prefix but that doesn't seem to cope with the
various characters at the start of the line ( '/*', ' *    ', ' *', and ' */').

Any ideas?
-- 
Adrian Barnes, Software Design Engineer  ____T_e_l_e_c_t_r_o_n_i_c_s__|/\  __
     Telectronics Pacing Systems                      Pacing Systems     \/
     7 Sirius Rd, Lane Cove, NSW 2066, Australia
     Tel: (02) 413 6888  Fax: (02) 413 6868  Email: adrianb@tplrd.tpl.oz.au
Newsgroups: comp.emacs,cs.emacs
From: raivio@niksula.hut.fi (Perttu Raivio)
Subject: Re: Is there a way to get RMAIL to behave like this:
Organization: BREWTeX - Wine, women and song
Date: 27 Jul 92 11:22:02

In article <1992Jul24.142245.9472@bronze.ucs.indiana.edu> ericg@bronze.ucs.indiana.edu (E. Chris Garrison) writes:
>
> Easy enough.  Not so in RMAIL, replying does not include
> text, and I can't get regexp-replace to do the above replace.

	The inclusion, as others havo pointed out, is done with C-c
C-y. To change the indentation you can use the following piece of
elisp code which will do the job automatically:

	--- cut --- cut --- cut --- cut --- cut --- cut ---

;; Mail yank indention with "> "

(setq mail-setup-hook
      (setq news-reply-mode-hook 
	    '(lambda ()
	       (defvar mail-yank-indent-string "> ")
	       
	       (defun mail-yank-original (arg)
		 (interactive "P")
		 (if mail-reply-buffer
		     (let ((start (point)))
		       (delete-windows-on mail-reply-buffer)
		       (insert-buffer mail-reply-buffer)
		       (mail-yank-clear-headers start (mark))
		       (mail-yank-indent start)
		       (exchange-point-and-mark)
		       (if (not (eolp)) (insert ?\n)))))
	       
	       (defun mail-yank-indent (start)
		 (save-excursion
		   (goto-char start)
		   (while (re-search-forward "^" (point-max) t)
		     (replace-match mail-yank-indent-string)) 
		   (goto-char start)
		   (while (re-search-forward 
			   (concat "^" mail-yank-indent-string "[ \t]*$") 
			   (point-max) t)
		     (replace-match "")))) )))

	--- cut --- cut --- cut --- cut --- cut --- cut ---

--

	K.P.Raivio - Helsinki U of T - raivio@niksula.hut.fi
	Ei fl|ittej{, ei niin dzoukin p{tk{{k{{n...
From: CALT@SLACVM.SLAC.STANFORD.EDU
Newsgroups: comp.emacs
Subject: Spelling check for GNU Emacs 18.57
Date: 23 Jul 92 05:59:50 GMT
Organization: Stanford Linear Accelerator Center

Could someone tell me where I can get the spelling check stuff for
GNU Emacs 18.57 running on RS6000s (AIX 3.2.0)?
Thanks in advance!

Ching Shih
shih@cithex.bitnet
shih@cithex.caltech.edu
From: jbw@bigbird.bu.edu (Joe Wells)
Newsgroups: comp.emacs
Subject: Re: problem w/ cmushell (process-environment undefined)
Date: 26 Jul 92 10:33:33 GMT
 <FRIEDMAN.92Jul15001521@nutrimat.gnu.ai.mit.edu>
Followup-To: comp.emacs
Organization: Boston University Computer Science Department
In-reply-to: friedman@gnu.ai.mit.edu's message of 15 Jul 92 04:15:21 GMT

In article <FRIEDMAN.92Jul15001521@nutrimat.gnu.ai.mit.edu> friedman@gnu.ai.mit.edu (Noah Friedman) writes:

      MAINTAIN_ENVIRONMENT isn't very flexible---you can't create buffer-local
   environments with it. 

Well, neither of them let you change the environment used by
substitute-in-file-name, which is what annoys me.

-- 
Joe Wells <jbw@cs.bu.edu>
Member of the League for Programming Freedom --- send e-mail for details
Newsgroups: comp.emacs