HDTenEightyP/NetNews huggingface dataset:
From: S3679988@deimos.ucc.umass.edu (S3679988)
Subject: emacs can't find its environment ?!
Organization: University of Massachusetts at Amherst
Date: Tue, 21 Jul 1992 07:14:36 GMT
X-News-Reader: VMS NEWS 1.20

Hi,

  I have been trying to build emacs on mach 2.5 running the BSD 2.3
server for a few days now. What i have run into is that temacs,
the emacs that builds the lisp code can't find its environment:
(char *)getenv("TERM") is returning NULL. I wrote a small program
to test this out, to see if it was the OS, and not emacs. The
program worked flawlessly (i made sure to use the same calls, and
calling syntax as emacs does in displaynew.c (i believe that that
was the name of the code file). 

does anyone have any idea on how i might fix this? I tried hardcoding
the terminal, but temacs still cant get its arguments to build the lisp
files.

-- craig
Newsgroups: gnu.emacs.help
From: prabal@cis.ohio-state.edu (Prabal Acharyya)
Subject: Using mouse with Emacs on VMS 5.5
Originator: prabal@pons.cis.ohio-state.edu
Organization: The Ohio State University, Department of Computer and Information Science
Date: Thu, 30 Jul 1992 13:28:50 GMT

[ I posted this on gnu.emacs.vms by didn't get any answers, only
  several requests for forwarding the answers]

I use emacs 18_55 on VMS 5.5.  When I run the emacs.com file cme with
the source code, I spawn a process on my decterm.  I would like to be
able to spawn a separate Emacs window where I can use the mouse. 

Currently the script sets the terminal to vt100 even when I am using
decterm etc.  I am on a VaxStation 3100.  

Any help will be appreciated,

Prabal.

Email: acharyyap@rcwcl1.dnet.bp.com



Newsgroups: gnu.emacs.help
From: theobald@ucunix.san.uc.edu (Allen M. Theobald)
Subject: *shell* and *cmushell*
Organization: University of Cincinnati
Date: Wed, 22 Jul 92 22:38:22 GMT

Hello netters!

Help!

More does not work correctly in *shell* or *cmushell*.  Items
scroll off the screen before I have a chance to read them.  It
seems once the text hits the bottom of the screen instead of
just scrolling it appears to scroll and then repositions the 
prompt in the center of the screen.  The net effect is that I lose
some text at the top, and the '---MORE---' is in the middle of
the screen (is this making sense?).

I'm running emacs 18.58.1, in MOTIF/X-Windows, under ksh.

I assume the Emacs *shell* window is accomplished by opening pipes to
a background process running sh (or whatever).  Since the
shell process is communicating via pipes rather than terminal
devices, it assumes stdout, sterr, etc., are NON-INTERACTIVE
descriptors.  The more(1) command checks for the interactive
flag before actually asking for the prompt.  Therefore, more
doe not appear to work in Emacs (or rather, it works like cat).

Is there a fix someplace????


Thanks,

Allen M. Theobald
Newsgroups: gnu.emacs.help
From: crew@CS.Stanford.EDU (Roger Crew)
Subject: Re: 2 Elisp questions
Organization: Stanford University Computer Science Dept.
Date: Tue, 28 Jul 1992 23:06:41 GMT

In article <8eRCDdO00VpA4D6Rgt@andrew.cmu.edu> jf41+@andrew.cmu.edu (Jonathan R. Ferro) writes:
> 2. Is there REALLY no built-in function that you can apply to a list of
>    t's and nil's to get their collective AND or OR?  I eventually broke
>    down and wrote my own, but this is surprising.

(apply 'and lst) == (not (memq nil list))
(apply 'or  lst) == (memq t list)

--
Roger Crew      OBEY     MARRY AND REPRODUCE      CONSUME      STAY ASLEEP
Internet:  crew@CS.Stanford.EDU
From: laakkone@klaava.Helsinki.FI (Tero Laakkonen)
Newsgroups: gnu.emacs.help
Subject: tlQ: why doesn't my LCD-datafile work!
Date: 29 Jul 92 06:53:12 GMT
Organization: University of Helsinki

hi, this is my first posting to this newsgroup. all my postings here will
contain either "tlQ" or "tlA", depending on whether i wanna question or 
ask something.

i ftped lispdir.el and LCD-datafile.Z from archive.cis.ohio-state.edu. 
i installed these files in /usr/local/emacs/lisp and /usr/local/emacs/etc,
respectively. i did the changes (that lispdir.el mentioned) in my .emacs.

i also got crypt.el and ange-ftp.el. i did the change (that crypt.el
mentioned)  in my .emacs.

i byte-compiled all the .el files i ftp'ed.

with this setup, the command lisp-dir-apropos is *recognized* by my emacs.

i edited the variable lisp-code-directory (mentioned in lispdir.el) to be
/usr/local/emacs/etc/LCD-datafile.Z.

however, lisp-dir-apropos can't find the LCD-datafile! why not!?



thanking in advance for your helpful advice,

	tero laakkonen
Newsgroups: gnu.emacs.help
From: jla@lucid.com (Joseph Arceneaux)
Subject: elisp: interactive calling of C subroutines
Reply-To: jla@ai.mit.edu
Organization: Gatewayed from the GNU Project mailing list help-gnu-emacs@prep.ai.mit.edu
Date: Tue, 28 Jul 1992 17:46:44 GMT

   Date: 28 Jul 92 13:54:30 GMT
   Organization: Massachusetts Institute of Technology
   From: acevedo@mit.edu (Raul Acevedo)
   Sender: help-gnu-emacs-request@prep.ai.mit.edu


     Does elisp treat `subrp' functions differently than "regular", elisp
   defined functions in terms of how they are invoked interactively?

     What I mean is this: when you say (foo 1 2 3), elisp sees that it's a
   non-empty list; it thus examines the function cell of the first symbol
   for a function to execute.  If that is a function or lambda or some such
   object, it calls it; if it's another symbol, it examines that symbol's
   function cell; and so on.

     So, if I do (fset 'foo 'bar), and then do (foo 1 2 3), what will
   really happen is (bar 1 2 3).

     However, this doesn't quite work for C-written subroutines, when they
   are bound to a key and you invoke them interactively by typing that key.
   E.g.:

       (setq foo (symbol-function 'forward-char))  ; so you can recover it
       (fset 'forward-char 'backward-char)

   This will not work.  Sort of.  See what happens to C-f; it doesn't
   change.  However, see how it behaves at the end of the buffer.  Only
   then does it actually do `backward-char'.  But if you evaluate
   (forward-char) or type M-x forward-char, you *will* actually call
   `backward-char'. 

     Anyone know what's going on?  I know that this sort of redefining is
   confusing because if another C subroutine calls `forward-char', chances
   are it will use the original C subroutine, not what you've put in the
   function cell.  But if I just type C-f, according to the elisp manual
   the command loop *should* simply use `command-execute' to call
   `forward-char'; this does the right thing.  My guess is that the command
   loop does some sort of optimization, like perhaps when it looks up the
   symbol it automagically knows `forward-char' is a C subroutine, and thus
   doesn't bother looking in the function cell.  Or, the fact that all the
   key lookup and command execution is done in C code nevertheless affects
   things, even if it does use `command-execute'.  Any ideas?
   --
   Raul J. Acevedo
   acevedo@MIT.EDU

   Life is a mystery and it's an unsolvable one.  You simply live it through, and,
   as you draw your last breath you say "What was that all about?"
		   --- Marlon Brando

Newsgroups: gnu.emacs.help
From: ethanb@ptolemy.astro.washington.edu (Ethan Bradford)
Subject: Need two tries to start info on tagged subject.
Organization: U. of Washington
Date: Fri, 31 Jul 1992 00:01:09 GMT

When I ask for info on emacs or epoch or any other node with a tag
table, the first time it tells me "No such node: Top" and the second
time it always works.  Have I failed to properly build and incorporate
the tag tables?

I'm using Dave Gillespie's new Emacs 19 info, but I had the problem
before I switched to that.

-- Ethan
--
-- Ethan (ethanb@u.washington.edu)
From: janowsky@math.rutgers.edu (Steven Janowsky)
Newsgroups: gnu.emacs.help
Subject: Re: emacs fonts
Date: 29 Jul 92 15:27:25 GMT
Organization: Rutgers Univ., New Brunswick, N.J.

I happen to like lucidasanstypewriter-18

As to the same font being different with different window managers...
presumably if you fully specify a font then it's the same, but nicknames
could have different interpretations.  Hopefully, however,

-b&h-lucidatypewriter-bold-r-normal-sans-24-240-75-75-m-140-iso8859-1

is unique.
From: ryanr@beethoven.beethoven.CS.ColoState.EDU (richard ryan)
Newsgroups: gnu.emacs.help
Subject: autoloading ispell
Date: 29 Jul 92 03:44:58 GMT
Distribution: gnu
Organization: Computer Science Department, Colorado State University

Hi,
I tried autoloading ispell.elc wuth
(nconc load-path '("/var/tmp/ryanr/ispell"))
(autoload 'ispell "ispell" "Spell Checker" t)

When I tried executing it, I got some message about how it failed
to autoload.  When I loaded ispell.elc (from byte-compiled ispell.el)
manually, it worked fine.  I've tried autoloading c++-mode the same
and it hasn't given me any trouble at all.  Could somebody tell me what
I'm doing wrong?  The path and file is /var/tmp/ryanr/ispell/ispell.elc

Also, in an unrelated question, how do I abort mail when I'm already
in the mail editing buffer?

Thanks,
Richard.
Newsgroups: gnu.emacs.help
From: ethanb@ptolemy.astro.washington.edu (Ethan Bradford)
Subject: Re: TAB key in (C Fill) mode
To: gs4t@virginia.edu, abz@controls.ccd.harris.com
Organization: U. of Washington
	<1992Jul22.180640.5161@murdoch.acc.Virginia.EDU>
Date: Wed, 22 Jul 1992 22:00:06 GMT

In article <1992Jul22.180640.5161@murdoch.acc.Virginia.EDU> gs4t@virginia.edu (Gnanasekaran  Swaminathan) writes:
   abz@controls.ccd.harris.com (Andrew B. Ziffer) writes:
   > I am sick of typing ctrl-Q TAB to get a simple tab in my C code every time
   > I want to indent something.  How can I change this so the TAB key alone will
   > print a single TAB in (C Fill) mode.

   Add the following line to your .emacs file.

   (setq indent-tabs-mode     t)

That's not quite right.  Indent-tabs-mode just controls whether tabs
or spaces are used to move over to the goal column; it doesn't keep
it from using fancy logic to select a goal column.

To make a tab just insert itself, you will have to create a
c-mode-hook which overrides the default definition of the tab key.
The following code (in your .emacs file) should do what you want:

(setq c-mode-hook
 (function (lambda () (local-set-key "\t" 'self-insert-command))))
--
-- Ethan (ethanb@u.washington.edu)
Newsgroups: gnu.emacs.help
From: jwz@lucid.com (Jamie Zawinski)
Subject: Re: Lucid Emacs (was Re: Gmacs 19 When? (Summary))
Organization: Gatewayed from the GNU Project mailing list help-gnu-emacs@prep.ai.mit.edu
Date: Wed, 22 Jul 1992 21:33:14 GMT

In article <1992Jul21.123836.15254@walter.bellcore.com> snk@fork.bae.bellcore.com (Samuel N Kamens) wrote:
> 
> In that case, how do I get hold of Lucid Emacs?  Is it a purchaseable
> thing, or can I ftp it from somewhere?

You can get Lucid Emacs version 19.2 from labrea.Stanford.EDU (36.8.0.47)
in the directory /pub/gnu/lucid/.  See the README file there.

If you know of other FTP sites which are still distributing version 19.1 but
not version 19.2, please ask them to upgrade.  19.2 has been out for some
time now.

There are a pair of mailing lists about this version of GNU Emacs; send mail
to bug-lucid-emacs-request@lucid.com or help-lucid-emacs-request@lucid.com
to be added or removed from them.

The bug-lucid-emacs and help-lucid-emacs mailing lists are archived on labrea,
and are bidirectionally gatewayed into the newsgroups alt.lucid-emacs.bug and
alt.lucid-emacs.help.

	-- Jamie
Newsgroups: gnu.emacs.help
From: brunnock@athena.mit.edu (Sean Brunnock)
Subject: How does one read a compressed file into a buffer?
Organization: Massachusetts Institute of Technology
Date: Thu, 30 Jul 1992 20:44:24 GMT


Hello. I seem to recall that there was a command to open
compressed files and read them into a buffer in uncompressed
form.

I have emacs 18.58. I looked for the string "compress" in the
summary of Emacs commands within Info, but found nothing.

Could someone give me a clue? Please send the clue to
brunnock@cambridge.apple.com (I'm a contractor, not an employee).

Thank you for any reply.

Sean Brunnock
Newsgroups: gnu.emacs.help
From: troy@cqs.washington.edu (Troy Frever)
Subject: openwin selection service
Organization: University of Washington
Date: Thu, 30 Jul 1992 19:44:16 GMT

Well, no response the first time, so I'll try once more.  Has anyone
successfully used the selection service under OpenWin on a Sun
Sparcstation to transport text into an emacs buffer?  Or, any
suggestions as to a different group to post this message to?

Thanks,

Troy Frever
troy@u.washington.edu
From: rcox@cad625.intel.edu (Richard Cox)
Newsgroups: gnu.emacs.help
Subject: Re: TAB key in (C Fill) mode
Date: 27 Jul 92 22:25:21 GMT
Reply-To: rcox@scdt.intel.com
Organization: Intel Corporation

There is also a package c++-mode.el at archive.cis.ohio-state.edu in
/pub/gnu/emacs/elisp-archive which handles this well.  It does standard
c-mode formatting ++ some extras for c++.  One thing is does is changes

c++-tab-always-indent as follows:

*Controls the operation of the TAB key.
t means always just reindent the current line.  nil means indent the
current line only if point is at the left margin or in the line's
indentation; otherwise insert a tab.  If not-nil-or-t, then the line
is first reindented, then if the indentation hasn't changed, a tab is
inserted. This last mode is useful if you like to add tabs after the #
of preprocessor commands.


-Rich
-- 
+-----------------------------------------------------------------------------+
|Rich Cox      	       	       	       	   E-Mail: rcox@scdt.intel.com 	      |
|CAD Developer                             AOL: Rich Kid                      |
|Intel Corp.  				   Mailstop: SC3-39     	      |
|      	       	        		   Phone: (408) 765-5199              |
|-----------------------------------------------------------------------------+
| These opinions are shared by everyone, I asked them...                      |
+-----------------------------------------------------------------------------+
Newsgroups: gnu.emacs.help
From: terry@santafe.edu (Terry Jones)
Subject: Re: Two ideas for implementing repeat-last-command
Organization: Computer Science, Indiana University
Date: Thu, 23 Jul 92 21:11:35 MDT

luis> The following two ideas for implementing repeat-last-command dawned 
luis> on me while reading the GNU Emacs manual:
luis> 
luis> [1] ...
luis> [2] ...

how about
[3] Use VIP mode and type "."


I don't understand why more people don't use VIP mode. It seems so
much like the best of both worlds. Plus, Aamod Sane's
(sane@cs.uiuc.edu) new version of VIP mode is very faithful to the
original vi. In fact, it fixes problems in vi - like adding counts to
things you couldn't give a count to, saving the yank buffer between
file switches, allowing you to view the registers and marks, and more.

If you tried the old VIP mode and didn't like it, I don't blame you.
The new version is *far* superior.

I guess if you've always used emacs, you wont agree that VIP mode is
the best of both worlds. But if you came to emacs from the vi world (I
did and I'd never go back, even if VIP mode (now) suddenly
disappeared) and don't use VIP mode, then maybe you miss being able to
do things like d3f/ and dw and so on.

Comments anyone? For instance, how do you 'pure' emacs folks do things
like delete the text from point to the place 3 slashes further on on
the line? Use the mouse, a mark and a C-w ? Emacs before the days of
mice must have been really torturous for this sort of stuff (from the
vi viewpoint).

I'd be happy to leave VIP mode behind if I could just do things as
quickly in pure emacs.

Not meaning to start anything here, just wondering. Maybe this would
have been better in comp.editors.

Terry Jones (terry@santafe.edu)
From: m-lp9966@JED.CS.NYU.EDU (Lewis Perin)
Newsgroups: gnu.emacs.help
Subject: Does rexx-mode.el exist?
Date: 25 Jul 92 20:46:40 GMT
Distribution: gnu.emacs.help
Organization: New York University

I'd sure love to have a mode for REXX programming.  I've tried the
elisp files both here and at Ohio State to no avail.  Does anybody
know where this can be found?

Thanks, Lew
Newsgroups: gnu.emacs.help
From: Scott Brim <swb@nr-tech.cit.cornell.edu>
Subject: tag-stack??
Nntp-Posting-User: @cornell.edu
Organization: Cornell University, Ithaca, New York, USA
Date: Wed, 29 Jul 1992 19:40:19 GMT

I used to have tag-stack.el, containing arts-find-tag and other
interesting defuns.  I erased it accidentally, and can't find it
anywhere in the repositories.  Could anyone send me a copy?  It's useful
for a lot more than just managing tags.
					Thanks much ... Scott
---------------------------------------------------------------------
Scott W. Brim				swb@nr-tech.cit.cornell.edu
Information Technologies / Network Resources
Cornell University
Ithaca, NY, USA  14853-2602
From: bcho@ISI.EDU (Bonghan Cho)
Newsgroups: gnu.emacs.help
Subject: How to locate a function?
Date: 27 Jul 92 23:50:48 GMT
Distribution: gnu
Organization: USC-ISI

Hi all, 
How can I know the directory where a given function resides?
Since the load path has many paths, otherwise, it is very diffcult to
locate functions in order to modify the function definitions.

Bonghan Cho.

Xref: sparky gnu.emacs.help:3492 comp.lang.postscript:4073
From: stevew@helios.unl.edu (Steve Wu)
Newsgroups: gnu.emacs.help,comp.lang.postscript
Subject: PostScript mode
Date: 24 Jul 92 21:29:07 GMT
Followup-To: poster
Organization: University of Nebraska - Lincoln
Apparently-To: gnu-emacs-bug@uunet.uu.net


  I just get a postscript.el for ohio ftp site and I didn't build the
NeWS interface. I am olny use ps mode for ps programming. I found the
following problem.

  when I do:
  (string)

  I get a message like Mismatched parentheses.

  Does anyone know what is the problem?

  steve
--
stevew@helios.unl.edu  |=| \ Fender / |=| ... smoke on the water, fire in
                       |=|   \    /   |=| the sky...   Smoke on the water.
stevew@hoss.unl.edu    |=|     \/     |=|     (36 bars guitar solo)
		      Deep purple, the best
From: ethanb@ptolemy.astro.washington.edu (Ethan Bradford)
Newsgroups: gnu.emacs.help
Subject: Re: clearing text, not cutting
Date: 22 Jul 92 19:28:45 GMT
Article-I.D.: ptolemy.ETHANB.92Jul22112845
Organization: U. of Washington
To: rzthlb@tuhhco.rz.tu-harburg.de

There are commands to clear a rectangular region, paste and overwrite
a rectangular region, and more available (and bound to keys) in
picture mode.
--
-- Ethan (ethanb@u.washington.edu)
From: ryanr@lamar.ColoState.EDU (Richard Ryan)
Newsgroups: gnu.emacs.help
Subject: emacs, rmail, IBM RS/6000, and Aix 3.2
Keywords: rmail, IBM RS/6000, Aix 3.2
Date: 23 Jul 92 06:55:46 GMT
Distribution: gnu
Organization: Colorado State University, Fort Collins, CO  80523

Newsgroups: comp.unix.aix gnu.emacs.help
Subject: emacs, rmail, IBM RS/6000, and Aix 3.2
Summary: 
Followup-To: 
Distribution: world
Organization: Colorado State University, Fort Collins, CO  80523
Keywords: 

Hi,

We've got a problem getting emacs to read mail with rmail.  The version
of emacs we have on our system is 18.57.3  The system here is the
IBM RS/6000 running on Aix 3.2

I've been corresponding with the sys admin trying to get the the system
to allow the rmail command in emacs read incoming mail.  Whenever I try
to execute rmail in emacs I get the message, "Permission denied: renaming
/usr/spool/mail/ryanr, /usr/spool/mail/ryanr~"  It's been suggested to me
that this might have something to do with emacs running on Aix.  Does anyone
have any ideas of what the problem might be?  Has anyone seen any pertinent
FAQ's in the newsgroups I can look up?

Thanks,
Richard.
..
Newsgroups: gnu.emacs.help
From: vansoest@utis69.cs.utwente.nl (Dick van Soest)
Subject: Re: tlQ: why doesn't my LCD-datafile work!
Organization: University of Twente, Dept. of Computer Science
Date: Wed, 29 Jul 1992 15:58:09 GMT

Well, my lisp-code-directory's value is ...../LCD-datafile, and the
LCD-datafile is not compressed.
This works.
--
Dick van Soest
Department of Computer Science
University of Twente           |      Tel: +31 53 893736/893690
P.O. Box 217                   |      Fax: +31 53 339605
7500 AE Enschede               | Internet: vansoest@cs.utwente.nl
The Netherlands                |   Bitnet: vansoest@henut5
From: barmar@think.com (Barry Margolin)
Newsgroups: gnu.emacs.help
Subject: Re: Define fnt for `replace next word'
Date: 23 Jul 1992 05:26:14 GMT
Organization: Thinking Machines Corporation, Cambridge MA, USA
Distribution: gnu
NNTP-Posting-Host: gandalf.think.com

In article <HARI.92Jul22210259@robios5.me.wisc.edu> hari@robios.me.wisc.edu (Kambainathan Hari) writes:
>	I would like to define a function to replace the next string
>with the following, say until I hit the ESC key. A function somewhat
>similar to that in vi where you can replace the `next sting' with
>whatever you're going to type in.

Why do you need to do this?  Why not just delete the word and then type the
replacement?  I.e. the vi sequence

	dw <replacement> ESC

is equivalent to the Emacs sequence

	ESC d <replacement>

It's even one keystroke less to type, if that's how you measure editor
utility.
-- 
Barry Margolin
System Manager, Thinking Machines Corp.

barmar@think.com          {uunet,harvard}!think!barmar
Newsgroups: gnu.emacs.help
From: jaf@inference.COM (Jose A. Fernandez)
Subject: Alt/Meta doesn't work
Organization: Inference Corporation
Date: Thu, 23 Jul 1992 14:21:57 GMT

    I recently started to use an HP monitor, and since then my Alt key doesn't
    work with emacs.  Xev tells me that Alt is defined as Meta so it should
    work.  The Alt key works with other applications, like Framemaker, mwm or
    twm.  The emacs version I am using is 18.55.8.

    Is this an emacs problem or is it because my new monitor?  It worked fine
    when I was using an NCD X terminal.

Using xev, you should see that "M-x" generates a keypress event for the
character named "scaron," *not* the character "x" (with a Meta modifier).  A
little xmodmap-ery will fix your problem.  (BTW: If you use the right (as in
opposite of left) ALT key, "M-x" will work.  I know...  That's not very
satisfying.)
From: cah@cs.bham.ac.uk (Ceri Hopkins)
Newsgroups: gnu.emacs.help
Subject: ispell interface
Date: 27 Jul 92 15:44:36 GMT
Organization: School of Computer Science, University of Birmingham, UK

Has anyone updated ispell.el so that it can be used on mail composed
in Emacs, i.e. ignore headers etc.. Does this already work for some
mail readers? I am using mh-e -- however that shouldn't be much of a
problem.

Not only does my version (to work with ispell version 3) attempt to
correct the spelling of the header it tends to take the first few
characters of the first mail address and move it to after the first
paragraph! I've had trouble with it trying to correct errors in the
first line of files too (similar behaviour to the above, screwing up
the file).

Any answers?

Ceri
--
Ceri Hopkins                                    
School of Computer Science                        C.A.Hopkins@Cs.Bham.Ac.Uk
University of Birmingham			  Tel. +44-21-414-4766