HDTenEightyP/NetNews huggingface dataset:
From: cswoyer@uokmax.ecn.uoknor.edu (Chris Swoyer)
Subject: Auc-TeX 6.1 Formatting problem
Date: Sat, 10 Oct 1992 15:14:23 GMT
Organization: Engineering Computer Network, University of Oklahoma, Norman, OK, USA

I've just installed version 6.1 AUC-TeX.  Everything seems to work
great, just as in past versions, except that when I ``fill'' the
environment (e.g., the whole document) using LaTeX-format-environment,
an ``\end{environments}'' with no text after it gets moved up to the
line of the last item in the environment.  In other words, instead of
getting something like:

\begin{itemize}
\item text text text text text text text text text text text text text
  text text text text text text text text
\item text text
\end{itemize}

I wind up getting

\begin{itemize}
\item text text text text text text text text text text text text text
  text text text text text text text text.
\item text text text \end{itemize}

Indeed, I can even get 

\begin{itemize}
\item text text text text text text text text text text text text text
  text text text text text text text text.
\item text text text
\end{itemize} \end{document}

  

There are also occasional anomalies of other sorts when it reformats,
but this note is long enough as is, and perhaps the above information
is sufficient to identify the problem.

Newsgroups: gnu.emacs.help
From: barrie@calvin.demon.co.uk (Barrie Spence)
Subject: Re: SCO Unix and X Windows
Organization: DataCAD Ltd, Hamilton, Scotland
Date: Tue, 13 Oct 1992 13:41:27 GMT

In article <9210122021.AA00384@mole.gnu.ai.mit.edu> rms@gnu.ai.mit.edu (Richard Stallman) writes:
>    The error messages come already in XOpenDisplay.
>
>    However, temacs, the version which has not been dumped, is able to run
>    X Windows.
>
>My suspicion is that the X library uses a static variable
>that somehow gets initialized before temacs is dumped,
>and has the wrong value once the dumped Emacs is run.
>
>One solution would be to figure out what function is setting
>the variable, and avoid calling it as part of the dumping process.

I've experienced this on SCO with both emacs-18.58 and epoch-4.1. I
think the same problem also exists on Interactive. Is this a problem
with the vendor supplied libraries or is it a limitation of SVR3.?
and the MIT distribution?

Can anyone running with the Metrolink, SCGS or X386, etc. servers
comment?

Barrie

-- 
Barrie Spence                      DataCAD Ltd, Caird Street
barrie@calvin.demon.co.uk          Hamilton, Lanarkshire ML3 0AL, Scotland
	Telephone +44 (0) 698 425599 / Fax +44 (0) 698 419173
From: kwh@cogsci.ed.ac.uk (Kevin Humphreys)
Newsgroups: gnu.emacs.help
Subject: abbrevs in minor modes
Date: 12 Oct 92 20:08:53 GMT
Distribution: gnu
Organization: Centre for Cognitive Science, University of Edinburgh

Is there anyway of setting up an abbrevs table just for TeX/LaTeX
modes and still have facilities like interactive definitions?  I
currently have a lot of LaTeX specific abbrevs in the text-mode table
and these appearing in non-LaTeX things, like mail, is a pain.

thanks

Kevin Humphreys    Phone: +44 31 650 4435       | University of Edinburgh
		   Fax:   +44 31 650 4587	| Centre for Cognitive Science
ARPA:   kwh%cogsci.ed.ac.uk@nsfnet-relay.ac.uk  | 2 Buccleuch Place
JANET:  kwh@uk.ac.ed.cogsci                     | Edinburgh EH8 9LW Scotland
Newsgroups: gnu.emacs.help,comp.emacs
From: peterd@pjd.dev.cdx.mot.com (Peter Desnoyers)
Subject: Re: C outline mode in Emacs
Organization: Motorola Codex, Canton, Massachusetts
Date: Thu, 15 Oct 1992 17:40:55 GMT

bm@shadow.columbia.edu (Blair MacIntyre) writes:

>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.  

From the documentation for the variable selective-display:
	
	t enables selective display:
	 after a ^M, all the rest of the line is invisible.
	 ^M's in the file are written into files as newlines.
	Integer n as value means display only lines
	that start with less than n columns of space.
	Automatically becomes local when set in any fashion.

In other words, ^U8M-X selective-display will hide all code two or more
indent levels deep w/ 4-space indents. Crude, but effective.

				Peter Desnoyers

-- 
Newsgroups: gnu.emacs.help
From: konkar@bimini.stanford.edu (Ranjit Konkar)
Subject: abbrev mode for shell mode
Reply-To: Ranjit Konkar <konkar@sunrise.stanford.edu>
Organization: DSG, Stanford University
Distribution: gnu
Date: 15 Oct 92 11:30:55

In my emacs there doesn't seem to be an abbrev (minor) mode for the
shell (major) mode, the result being that I can't define any
mode-specific abbrevs for shell mode. Does anyone know why it
was designed this way, and is there a solution available for it?

Ranjit
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:23 GMT


Attempts to reply by email to the following posting have all bounced.  Please
send me your .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: cloos@theory.TC.Cornell.EDU (James H. Cloos Jr.)
Subject: Re: Infer, Crypt and Rmail
Organization: Cornell Information Technologies, Ithaca, NY 14853
Distribution: gnu
Date: Thu, 15 Oct 1992 07:48:51 GMT

More info on my problem follows.  Please see the referenced article first.

I edited my copy of infer.el not to require add-hooks and not to add
itself to the find-file-hooks list.  I then loaded it in manually, and
manually put infer-file-mode at the 2nd point in find-file-hooks
(after the call to crypt--I forget the functions exact name).  It
worked this time.

I am forced to assume that something in add-hooks.el was causing the
problem.

[I just looked at add-hook.el and found that it defun's 'member, iff
it does not already exist.  I use tree-dired, however, and that
package loades emacs-19.el, which also defuns 'member.  Maybe add-hook
had problems with differing syntaxes of the two varieties of member?]

-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
Xref: sparky gnu.emacs.help:4388 comp.emacs:3279
From: yee@garnet.berkeley.edu (Raymond Yee)
Newsgroups: gnu.emacs.help,comp.emacs
Subject: outline mode in Emacs
Date: 7 Oct 1992 21:25:06 GMT
Organization: University of California, Berkeley
NNTP-Posting-Host: garnet.berkeley.edu
Keywords: outline mode

Hello,

        I'm considering learning emacs for several reasons.  One of them
is that emacs has an 'outline' mode.  Since I don't know a lot about
emacs, I'd like to find out what one can do with the outline mode
before I dive into using emacs.  I have used other outline generators
before such as PC-Outline on an IBM PC and would like to duplicate
the functionality of these programs with emacs.  Hence, my overall
question is whether it is possible to do so with emacs. 
        I have some specific questions though.  I understand that one
can move headers around in emacs and hide subheadings and text -- basic
outliner functions.  How can one take outlines done with emacs and
convert them to nice printable format (ie., with appropriate numbering
and indentations, etc.)?  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'd appreciate any help you can offer.  If there is sufficient
interest in the answer, I can summarize to the net.

Thanks,

Raymond Yee

Newsgroups: gnu.emacs.help
From: ejh@khonshu.colorado.edu (Edward J. Hartnett)
Subject: changing fortran mode comment behavior
Organization: CIRES, University of Colorado
Date: 14 Oct 92 14:44:42


Hello! This is a rather broad apeal for help, but what the hell, this
is gnu.emacs.help! 

I want to change the fortran in several ways. What I want to alter is
the way it handles comments. I would like my comments in the following
way:

	statement
c	-- comment
c	-- comment
	do i=1, 10
c	   -- comment
	   if (j .eq. 0) then
c	      -- comment

Ideally I would like to have emacs do this indenting and the two
hyphens automatically every time I hit a c in the first column. Does
this sound possible? I have the elisp manual, and long ago in school
learned lisp, and I've been working seriously with emacs for 7 months
now, and I figure I'm ready for some hard-core emacs programming!
Well, I guess hard-core would be to modify the elisp interpreter! So I
guess I'm ready for some fairly soft-core programmin.

However, on a more limited scale, I just tried to get fortran-mode to
indent the comment in the right number of space (instead of always 7),
so I put the following in my .emacs:

(setq fortran-comment-indent-style 'relative)



The code in fortran.el says:

(defvar fortran-comment-indent-style 'fixed
  "*nil forces comment lines not to be touched,
'fixed produces fixed comment indentation to comment-column,
and 'relative indents to current fortran indentation plus comment-column.")

Now does this defvar redifine the variable
fortran-comment-indent-style? Shoule I put this setq in the fortran
hook somehow? Any help would be appreciated.

Finally, are there any enhancements to fortran-mode already available
somewhere? Anything spectacular?

			Thanks,
				Ed
--
Edward Hartnett			ejh@khonshu.colorado.edu
From: jbw@bigbird.bu.edu (Joe Wells)
Newsgroups: gnu.emacs.help
Subject: Re: keybindings (Seek help from where the FAQ leaves off)
Date: 11 Oct 92 00:59:41 GMT
Distribution: NA
Organization: Boston University Computer Science Department
In-reply-to: vpcsc4@sfsuvax1.sfsu.edu's message of 7 Oct 92 05:37:33 GMT

In article <1992Oct7.053733.27912@csus.edu> vpcsc4@sfsuvax1.sfsu.edu (Emmett McLean) writes:

   I found that F2 returns:

     A RET C RET 1 RET

You're hosed.  You can't meaningfully use such a function key in Emacs
because the character "A" is already used for inserting the uppercase
letter "A".  If you wanted to use a function key that sends a sequence
beginning with "A", you would have to find an alternate way of inputting
uppercase A.

Try to find if there is a way to fix the terminal so its function keys
don't send sequences beginning with normal typing letters.

-- 
Joe Wells <jbw@cs.bu.edu>
Member of the League for Programming Freedom --- send e-mail for details
Newsgroups: gnu.emacs.help
From: ejh@khonshu.colorado.edu (Edward J. Hartnett)
Subject: Re: auto-fill in .emacs?
Organization: CIRES, University of Colorado
	<KONKAR.92Oct8141637@bimini.stanford.edu>
	<1992Oct8.215259.20514@cbfsb.cb.att.com>
Date: 11 Oct 92 17:41:52

In article <1992Oct8.215259.20514@cbfsb.cb.att.com> hillel@cbnewsf.cb.att.com (hillel.e.markowitz) writes:

   >
   >You should write (setq-default auto-fill-mode t) in your .emacs.
   >
   >One problem I have had with this, however, is that it doesn't seem to
   >turn auto fill on in the Fundamental, Lisp or Emacs-Lisp modes. Anyone
   >else have that problem?
   >
   >Ranjit

   I have the following in my .emacs


   ;;; Turn auto-fill automatically on in all modes
   (setq-default auto-fill-hook 'do-auto-fill)

   ;;; Default mode is text mode
   (setq default-major-mode 'text-mode)

   ;;; set the fill column length to 72
   (setq-default fill-column 72)

That's interesting, I do the same thing, but this way:

(setq text-mode-hook 'turn-on-auto-fill)

I wonder if it makes any difference?
--
Edward Hartnett			ejh@khonshu.colorado.edu

Newsgroups: gnu.emacs.help
From: wjs@wang.com (William Smith)
Subject: Help! emacs 18.58 and SCO ODT 2.0 (xwindows)
Organization: Wang Labs, Lowell MA, USA
Date: Mon, 12 Oct 92 20:32:49 GMT

   Recently I've seen postings for help with emacs and SCO ODT 2.0 and
Xwindows.  I apologize for missing any responses.
   After a great deal of work, I can almost get emacs to work in an Xwindow.
If I kick off emacs from an xterm, emacs actually works for a couple minutes
before exploding back to the xterm window.
   If anyone has successfully built an emacs that works with XWindows under
SCO ODT 2.0, would you post your "config.h" file and any special instructions
required.           Thank You in Advance,
-- 
/*-------------------------------------------------------------------------
   William J. Smith, Wang Labs M/S 019-72B, 1 Industrial Ave      
   Lowell, MA 01851-5161,  (508) 967-6901, email: wjs@wiis.wang.com
--------------------------------------------------------------------------*/
From: calum@ivy.clu.cf.ac.uk (Calum Gordon)
Newsgroups: gnu.emacs.help
Subject: How to be root in Emacs
Date: 13 Oct 92 11:08:21 GMT
Reply-To: Calum Gordon <calum@clu.cf.ac.uk>
Organization: Computational Linguistics Unit, Univ of Wales College of Cardiff
Posting-Software: GNUS: NNTP-based News Reader for GNU Emacs

Thanks to all who responded. The overwhelming consensus was to use
ange-ftp and call up files/dirs as root. This I have done and it works
fine (now also using Tree Dired.) Only problems are a) it's quite slow
going thru' ftp and seems to do a lot of garbage collecting on the
way, and b) you can't do stuff like "M" (dired-do-chmod)  on ftp (as
it rightly says in the dired info pages). So to chmod or chgrp you
still have to do "M-x shell" and then "su". The problems with this are that
Emacs does not hide your root passwd in the *shell* buffer, and
changes you make in *shell* are not updated in dired until you do a
"g". This is not really a big deal but the visibility of root passwd is
worrying. Anyone come up with an "invisibility" solution for this? 
--
** Calum Gordon <calum@clu.cf.ac.uk>      ** TEL: +44-222-874000-x5310 **
** Computational Linguistics Unit         ** FAX: +44-222-874293       **
** University of Wales College of Cardiff ** ----- "Hello World " ---- **
Newsgroups: gnu.emacs.help
From: burns@cc.gatech.edu (James E. Burns)
Subject: Re: TeX/LaTeX mode (does the world need a new one?)
Organization: Gatewayed from the GNU Project mailing list help-gnu-emacs@prep.ai.mit.edu
Date: Fri, 9 Oct 1992 17:09:36 GMT

    * automatic hardspacing ("\ ") following control sequences

I think you will find things will work better using "{}" following
control sequences instead of a hard space.  E.g., Black \&{} Decker
The difference is most apparent when punctuation follows a command.
For example, if "\foo" defines some word I want to be able to easily
change in a document, I can put in the "{} without worrying about
what comes after "\foo":  "One, \foo{}, three, \foo{} and five."

jim burns

James E. Burns    Associate Professor    (404) 894-3816  Fax: (404) 853-9378
College of Computing, Georgia Tech, Atlanta GA 30332-0280
Internet :  burns@CC.GaTech.edu  
uucp:	...!{akgua,allegra,hplabs,ihnp4,linus,seismo,ulysses}!gatech!cc!burns

Newsgroups: gnu.emacs.help,comp.emacs,uiuc.emacs
From: maxwell@sparc18.cs.uiuc.edu (Scott Maxwell)
Subject: Re: Emacs newbie needs help using Emacs with GDB on C++ files -- SOLVED!
Organization: University of Illinois at Urbana-Champaign
Date: Fri, 16 Oct 1992 00:33:53 GMT

	I barely had time to get home before an answer to my problem showed
up in e-mail. I love Usenet! Thanks, folks.

--
Scott Maxwell (maxwell@uxa.cso.uiuc.edu or Scott.Maxwell@bbs.oit.unc.edu)
From: ctaylor@sparc3.cs.uiuc.edu (Conrad W Taylor)
Newsgroups: gnu.emacs.help
Subject: Killing a region of text...?
Date: 11 Oct 92 22:52:03 GMT
Organization: University of Illinois at Urbana-Champaign


         How would I kill a region of text using emacs?  I have looked
at the online documentation, but it doesn't explain the process.

Thanks in advance,

-Conrad
From: ikoutsel@sdcc3.ucsd.edu (Ioannis Koutselas)
Newsgroups: gnu.emacs.help
Subject: HELP WITH Emacs on Hpux
Date: 15 Oct 92 18:04:40 GMT
Organization: University of California, San Diego


	Hello .  I would liekto ask for some help with
	emacs running on a hp machine.

In particular i have a HP 9000/340 machine which has
an odd addiction.  If one tries to work succesfully on
the console, one has to use TERM=hp300h.  On the other
hand emacs has trouble understanding this variable(
as fas as I can understand) and therefore it fails
to recognize the backspace and the cursor keys.

In any case. Does anyone know how to make emacs
work on such a machine's console ? If you do
please send me some advice.  


		Thank in advance.
		Ioannis Koutselas
From: jbw@bigbird.bu.edu (Joe Wells)
Newsgroups: gnu.emacs.help
Subject: Re: Minibuffer magic
Date: 11 Oct 92 06:12:31 GMT
Distribution: gnu
Organization: Boston University Computer Science Department
In-reply-to: zappo@titan.ucc.umass.edu's message of 11 Oct 92 05:24:40 GMT

In article <ZAPPO.92Oct11002440@titan.ucc.umass.edu> zappo@titan.ucc.umass.edu (Eric Ludlam v 2.0) writes:

   My question is, when I say:

   (message "Checking %s for more information..." host)

   and it finishes checking, the prompt doesn't reappear for 2 seconds or
   so, unless i hit a key.  In find-file, it says "Making completion
   list..."  and it disapears instantly when it's done.  How do you do
   that?

An example of how to handle this is in the file-complete.el package:

		 GNU Emacs Lisp Code Apropos -- "file-compl"

  file-complete	  89-03-18
       Ashwin Ram, Joe Wells, <Ram-Ashwin@yale.arpa>
       archive.cis.ohio-state.edu:
	 /pub/gnu/emacs/elisp-archive/as-is/file-comp-3.el.Z
       Filename completion with filenames sorted by modtime.

   My other question is, what's the official way of printing "[Matched]"
   in the minibuffer next to the prompt.  Insert it in there for 2
   seconds?

Look in the same place.

-- 
Enjoy,

Joe Wells <jbw@cs.bu.edu>
Member of the League for Programming Freedom --- send e-mail for details
From: dougm@cns.caltech.edu (Doug McNaught)
Newsgroups: gnu.emacs.help
Subject: Elisp question about 'let'
Date: 8 Oct 92 23:24:38
Organization: California Institute of Technology
NNTP-Posting-Host: bradbury.cns.caltech.edu


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. What is happening is that once I call
run-scheme, the value of scheme-program-arguments is permanently set
to its default, but if I call run-scheme-compiler, the "-compiler"
option is permanently on. My best guess about the situation is that
the 'defvar' inside xscheme.el is seeing the value bound by the 'let'
and making it permanent in the second case, and in the first, the
'let' is having no effect because there's already a permanent value
created by 'defvar'. Can anyone enlighten me about what's actually
happening, and perhaps show me an elegant (hell, even a semi-gross
hack would be OK) way to do what I want? I could avoid the issue by
binding run-scheme to a key and then calling it with a prefix
argument, but I have too many keys bound as it is...
Thanks in advance,
Doug
--
Doug McNaught              |"Sadder still to watch it die/ Then never to have
dougm@cns.caltech.edu      | known it/ For you, the blind who once could see/
doug@midget.towson.edu     | The bell tolls for thee..." --Neil Peart
  Nobody approves my opinions! Not even me, sometimes. Read at your own risk.
Newsgroups: gnu.emacs.help
From: jwells@clausius.UVic.CA (John Wells)
Subject: Re: Binding Sun Numeric Keypad
Organization: University of Victoria, Victoria, BC, Canada
Distribution: na
Date: Fri, 16 Oct 92 21:24:30 GMT

In article <VAITKUS.92Oct16102609@mars.lexmark.com> vaitkus@mars.lexmark.com (Keith Vaitkus) writes:
>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.
>

Me too, so please post any reply!

(By the way, I tried to mail this response to the original poster of
the article, but was returned a message about "host not found". What's
up?)

-- 
    John Wells
    jwells@me.uvic.ca
Newsgroups: gnu.emacs.help
From: borchert@walt.MsState.Edu (Chris Borchert)
Subject: M-x shell bombs; whats the matter?
Organization: /home/grad/borchert/.organization
Date: Thu, 8 Oct 1992 13:45:58 GMT

I have recently installed 18.57 diffed to 18.58.  While I never use it, 
another user noticed that a M-x shell command returns a line something like
Process aborted abnormally with error code -1 (or somethng like that).

Does anyone know what could be the matter?  By the way, this is on a Sun.

Thanks,
Chris Borchert
borchert@CS.MsState.Edu
--
Chris Borchert
borchert@CS.MsState.Edu
From: leopard@bigwpi.WPI.EDU (Leo Gestetner)
Newsgroups: gnu.emacs.help
Subject: Spell Checker
Date: 16 Oct 92 03:03:04 GMT
Organization: Worcester Polytechnic Institute, Worcester, MA 01609-2280
NNTP-Posting-Host: bigwpi.wpi.edu


I'm looking for a way to add words to the emacs spell-checker,
in a separate file, in my home directory.
If anyone knows of a way to do this, please email me,

Thanks,
Leo Gestetner
--
*****************************************************************
* From Most of the World  =>	* From the United Kingdom =>    *
* E-Mail => leopard@wpi.wpi.edu	* E-Mail => leopard@edu.wpi.wpi *
*****************************************************************
Newsgroups: gnu.emacs.help