HDTenEightyP/NetNews huggingface dataset:
From: eggert@twinsun.com (Paul Eggert)
Newsgroups: gnu.emacs.help
Subject: Re: Help: unlock an RCS file?
Date: 26 Aug 92 00:06:10 GMT
Organization: Twin Sun, Inc

jchapman@lister.reo.dec.com (Jim Chapman) writes:

>I've hit a problem caused by a system crash while I was checking in a file....
>ci error: RCS file RCS/my.file,v is in use

Remove RCS/,my.file, to fix this.
Newsgroups: gnu.emacs.help
From: hollen@megatek.UUCP (Dion Hollenbeck)
Subject: Re: Code for sun keyboard -- how can i find out?
Organization: Megatek Corporation, San Diego, California
Date: Tue, 1 Sep 1992 20:21:51 GMT

>>>>> On Tue, 1 Sep 1992 16:07:14 GMT, zfs60@cas.org () said:

zfs> i know the following because that was what i got a long time ago, but
zfs> i wonder if there is anyway to find out the code for an arbitrary key,
zfs> such as insert, and do-nothing key among arrow keys.  thanks.

zfs> (global-set-key         "\e[215z"       'previous-line)
zfs>                         --------
zfs>                         this is the code for upward arrow

I wish I could remember how to find this out, since I did it ages ago,
I have forgotten.  However, here are the results.


;; R keys
     (define-key sun-raw-map "208z" 'GOLD-prefix)	        ; R1 ("gold")
     (define-key sun-raw-map "209z" 'query-replace)		; R2
     (define-key sun-raw-map "210z" 'yank)       		; R3
     (define-key sun-raw-map "211z" 'set-mark-command)		; R4
     (define-key sun-raw-map "212z" 'kill-region)		; R5
     (define-key sun-raw-map "213z" 'copy-region-as-kill)	; R6
     ;;                                                  	; R7 home
     ;;                                                         ; R8 uparrow
     ;;      		                                        ; R9 pgup
     ;;                                                         ; R10 leftarrow
     ;;(define-key sun-raw-map "218z" 'something-here?)               ; R11
     ;;                                                         ; R12 rtarrow
     ;;                                         		; R13 end
     ;;                                                         ; R14 dnarrow
     ;;	                                                        ; R15 pgdown

;; L keys
     ;;NOTE:  L1 does not work
     ;;(define-key sun-raw-map "192z" 'nothing)	                ; L1
     ;;(define-key sun-raw-map "193z" 'nothing)  		; L2
     (define-key sun-raw-map "194z" 'next-start-of-line)	; L3
     (define-key sun-raw-map "195z" 'next-end-of-line)		; L4
     (define-key sun-raw-map "196z" 'delete-char)		; L5
     (define-key sun-raw-map "197z" 'delete-current-word)	; L6
     (define-key sun-raw-map "198z" 'kill-line) 		; L7
     (define-key sun-raw-map "199z" 'delete-current-line)       ; L8
     ;;(define-key sun-raw-map "200z" 'nothing)       ; L9
     ;;(define-key sun-raw-map "201z" 'nothing)       ; L10
-- 
Dion Hollenbeck       UUCP: {uunet, ucsd, sun}!megatek!hollen
                      INTERNET:            hollen@megatek.com
Megatek Corporation  9645 Scranton Rd.  San Diego, Ca.  92121
Newsgroups: gnu.emacs.help
From: eje@irenaeus.mlo.dec.com (Eric James Ewanco)
Subject: cut and paste (a FAQ?)
Keywords: cut paste
Reply-To: ewanco@mlo.dec.com
Organization: Digital Equipment Corporation
Date: Wed, 2 Sep 1992 20:51:44 GMT


This is probably a FAQ, but I haven't seen the answer thus far.

I want to get cut and paste to and from the window system working, but so far I
have been unable to get it working.  The functions that are supposed to do cut
and paste do not work.  Does emacs have to be compiled with special options to
get mouse cut and paste working?  Is compiling it with X not enough to do this?

Thanks
Eric
--
/=============================================================================\
| Eric Ewanco - Software Engineer     For the rash and outrageous opinions ex-|
| Digital Equipment Corp, Maynard MA  pressed herein I alone am responsible;  |
| ewanco@kalvin.enet.dec.com          they do not belong to DIGITAL(TM).      |
\==============================- 2 Th 2:15 -==================================/

Newsgroups: gnu.emacs.help
From: sar@mbunix.mitre.org (Renner)
Subject: Sebasitan Kremer's "rcs.el" file
Organization: The MITRE Corporation, Bedford, MA
Date: Wed, 26 Aug 1992 13:11:26 GMT

I am searching for a particular "rcs-mode" implementation.  I already
have a texinfo file titled "rcs Manual, for version 1".  The author is
Sebastian Kremer.  The date is 22 October 1991.

What I don't have is the "rcs.el" file described in this document.  Can
anyone send it to me, or tell me where to find it?  Please send mail.
If you don't have it, but want it if I get it, also send mail.
==========
Scott Renner
The MITRE Corporation
sar@mitre.org
From: barmar@think.com (Barry Margolin)
Newsgroups: gnu.emacs.help
Subject: Re: regexp question
Date: 31 Aug 1992 22:29:39 GMT
Organization: Thinking Machines Corporation, Cambridge MA, USA
NNTP-Posting-Host: telecaster.think.com

In article <TBRANNON.92Aug31111138@mars.csee.lehigh.edu> tbrannon@mars.csee.lehigh.edu (tbrannon) writes:
>... I wanted to replace the sequnce of underscores with a question
>mark so I did M-x replace-regexp _* with ? but it put question marks
>between each letter of all the words. 
>
>Why did this happen?

* means "zero or more occurrences of the preceding regular expression".
Since there are zero underscores between each letter, that's a match.

>How can I get replace-regexp to do what I want?

+ means "one or more occurrences", so try replacing _+ with ?.
-- 
Barry Margolin
System Manager, Thinking Machines Corp.

barmar@think.com          {uunet,harvard}!think!barmar
Newsgroups: gnu.emacs.help,comp.unix.questions,gnu.emacs.gnus
From: franklin@ug.cs.dal.ca (Steve Franklin)
Subject: Help with emacs,gnus,stty
Organization: None whatsoever. . .
Date: Thu, 3 Sep 1992 21:21:22 GMT

Okay, so I have a question or two with emacs. 
   First of all, Emacs often uses the ctrl-s key in it's various
commands. However, there is a problem with this, because it suspends
data flow over my modem to the computer host. (ctrl-q continues this of
course.) I found one solution using a program called "screen" which lets
you send "^a s" to send teh ctrl character "ctrl-s", but this is rather
clumsy. How can I (manipulating sttys perhaps?) accomadate this, so that
ctrl-s's wonderful suspend-flow feature is disabled? I can  disable
ctrl-z with
stty susp def (?) , but I can't figure it out for ctrl-s... Any thoughts
would be welcomed with great enthusiasm.
   Also, with gnus, I can't seem to figure out how to designate a specific
.newsrc, OR a specific NNTPSERVER. If you could help me with this I would
be most appreciative. Can I have two *elc files? One for NNTPSERVER #1,
and .newsrc #1, and one for NNTPSERVER #2, and .newsrc #2?
   Any thoughts are welcomed.
thanks in advance.
   steve
--
aasdSteveFranklin-Subliminal Psychology Major.ks;dlasBlueJaysRULEkasdfeahsdbfl
sd;lfaswoq[eBuyMeAQuadra!!!mbnZMXCNdfsba;KdSPAMiuroqiyetIBMSuxiweuryth'ewr;mxn
qpuepriuPartyOneqtuj;,n.,xnc,kjasFlameMeNot!;lkj;lkgkjd;askElvisLivesjhfquweru
zx.cfranklin@ug.cs.dal.ca,sk;t;lrut[Superboy@ac.dal.cav.zx,Physics!eq3rwkh;oHA
From: meb4593@galileo.rtn.ca.boeing.com (Michael Bain)
Newsgroups: gnu.emacs.help
Subject: mail aliasing problem
Date: 1 Sep 92 21:49:49 GMT
Organization: Boeing Commercial Airplane Group, Seattle

Aliases *sort of* work for me.  When used singley for a message they
work fine, however if I include more than one then none of them are
expanded.  Mush works fine with the alias file and (obviously) the
mail-aliases variable contains the aliases that I'm trying to use.

Possibly, the mail alias file isn't formatted *exactly* the way it
needs it?  I noticed it didn't care to have comments on the same line as
the alias.

-- 
Michael Bain                                            (206) 234-6942
Boeing Commercial Airplane Group           meb4593@icdfs.ca.boeing.com
Seattle, WA 98124
From: sterne@dublin.llnl.gov (Philip Sterne)
Newsgroups: gnu.emacs.help
Subject: Re: auc-tex TeX-buffer problem.
Date: 3 Sep 92 18:19:44 GMT
Reply-To: sterne@dublin.llnl.gov (Philip Sterne)
Organization: Lawrence Livermore National Laboratory

|> 
|>   Last time I post for auc-tex TeX-buffer problem--getting messages
|> like "Emergency stop ..." I got somebody reply this problem, but I
|> think I lost that mail. Could someone repost the answer?
|> 

Sure. 

The symptom:  in auc-tex, C-c C-a ends in emergency stop.  C-c C-d on the 
entire buffer executes just fine.

The problem is with TeX-command-with-args in TeX-buffer.  Turns out tex, latex and slitex commands for our version are all the same shell script with a case statement on $0 to decide what flavour of virtex to invoke.  When TeX-command-with-args was passed through to start the latex execution, the "\\nonstopmode{}\\input" part became one argument for the shell script and the TeX-original-file became another.  The script dropped off the file name, since it only used $0 and $1 for latex, and crashed for lack 



of input in nonstopmode. 

A colleague who is running TeX 3.something installed auctex and had no problems. It seems that tex/latex/slitex is no longer a shell script into virtex, but something much smarter which manages to sort out what are commands and what are files to be TeXed.  All the difficulties are related to older versions of TeX, and the inadequacy of the shell script used to start it.  

I thought it would be useful to have a version of auctex in which C-c C-a works for both the old TeX and the more recent version, so I hacked a patch which seems to do the job.  It concats the "\\nonstopmode{}\\input" and TeX-original-file together so they are passed as a single argument into the shell script.  It works on both my aged version of TeX and my colleague's more up-to-date installation. There is probably a much more elegant way of doing this, but the patch has the virtue of working.

The "right" answer, of course, is to upgrade TeX, if you have the time for such luxuries.

Here is the patch..... 

*** tex-buf.el.orig	Fri Jun 12 12:14:25 1992
- --- tex-buf.el	Thu Jun 25 18:01:18 1992
***************
*** 462,472 ****
  				  (if TeX-args
  				      (append
  				       TeX-args
  				       (list "\\nonstopmode{}\\input "
! 					     TeX-original-file))
! 				    (list
! 				     "\\nonstopmode{}\\input "
! 				     TeX-original-file)))))
        (setq TeX-process
  	    (apply 'start-process 
  		   "TeX-run" 
- --- 462,473 ----
  				  (if TeX-args
  				      (append
  				       TeX-args
+ 				       (list (apply 'concat
  				       (list "\\nonstopmode{}\\input "
! 					     TeX-original-file))))
! 				    (list (apply 'concat
! 				    (list "\\nonstopmode{}\\input "
! 				     TeX-original-file)))))))
        (setq TeX-process
  	    (apply 'start-process 
  		   "TeX-run" 





--
Philip Sterne 				|    sterne@dublin.llnl.gov
Lawrence Livermore National Laboratory	|    Phone   (510) 422-2510
Livermore,  CA 94550			|    Fax     (510) 422-7300
Newsgroups: gnu.emacs.help
From: dsk@cs.tu-berlin.de (Detlef Skutsch)
Subject: GNU emacs on SINIX machines ????
Organization: Technical University of Berlin, Germany
Date: Wed, 2 Sep 1992 17:11:56 GMT

Has anyone ever tried to install emacs on a SINIX 5.40 machine, and was successfull? We have a MX500 with an i486 (or i386?). I've tried to install emacs18.58, but without success. No problems on DECstations or Targon35, but on SINIX... I've tried with m-intel386.h and s-usg5-3.h in config.h. but the effect was that some libraries are not where make expects them and $BUILD/src/xmakefile was not built correctly (stuff like '$ ( VARIABLENAME )' and 'path / foo . bar').
Any ideas? 

-- 
------------------------------------------------------------------------------
Detlef Skutsch,                                    E-Mail: dsk@cs.tu-berlin.de
Technical University of Berlin
Private Address:
Huegelschanze 22
D-1000 Berlin 20                                 Telephone: (+49 30) 375 18 97
------------------------------------------------------------------------------
From: rclark@lpl.arizona.edu (Richard Clark x4971)
Newsgroups: gnu.emacs.help
Subject: CaSe In EmAcS???
Date: 26 Aug 92 10:10:19 GMT
Distribution: usa
Organization: Lunar & Planetary Laboratory, Tucson AZ.


What topic in the online help system discusses the case sensitivity or
insensitivity of searches and string substitutions? It is not obvious where
to look.

I searched the tutorial buffer but did not find 'case' in the context
of upper/lower/(in)sensitive.

Richard Clark
rclark@lpl.arizona.edu
From: ashok@cellnet.com (Ashok Bakthavathsalam)
Newsgroups: gnu.emacs.help
Subject: C/C++ mode question
Date: 27 Aug 92 17:50:23 GMT
Distribution: usa
Organization: Domestic Automation Company

I like the default C++ indentation style in the c++-mode. Unfortunately, 
my company's developer's handbook dictates otherwise, and so I have 
grudgingly retorted to modifying the appropriate c-indent variables. 

The default indentation style for functions seems to be: 

void
someFunction(
             int some_int,
             char* some_char )

The indentation style for functions that I need is:

void
someFunction(
int some_int,
char* some_char)

I haven't been able to figure out which variable that I need to set/modify
to get this style. I am not sure whether c-continued-statment-offset is
something I should set, but won't that unduely affect the identation inside
statements like `if' and  `while' ? 

thanks much in advance.

 % ashok
From: "rick sheridan" <rick.sheridan@channel1.com>
Newsgroups: gnu.emacs.help
Subject: bc++ w/demacs     #04
Date: 29 Aug 92 21:46:42 EST
Reply-To: "rick sheridan" <rick.sheridan@channel1.com>
Distribution: gnu
Organization: Channel 1 Communications

          ... Continued from previous message... Part 4 of 4

	  (narrow-to-region (match-beginning 0) (match-end 0))
          (setq filename (buffer-substring (match-beginning 3) (match-end 3)))
          (setq linenum (string-to-int (buffer-substring
		        (match-beginning 4) (match-end 4)))))

	;; Locate the erring file and line.
	(if (and (equal filename last-filename)
		 (= linenum last-linenum))
	    nil
	  (beginning-of-line 1)
	  (setq error-marker (point-marker))
	  ;; text-buffer gets the buffer containing this error's file.
	  (if (not (equal filename last-filename))
	      (setq text-buffer
		    (and (file-exists-p (setq last-filename filename))
			 (find-file-noselect filename))
		    last-linenum 0))
	  (if text-buffer
	      ;; Go to that buffer and find the erring line.
	      (save-excursion
		(set-buffer text-buffer)
		(if (zerop last-linenum)
		    (progn
		      (goto-char 1)
		      (setq last-linenum 1)))
		(forward-line (- linenum last-linenum))
		(setq last-linenum linenum)
		(setq text-marker (point-marker))
		(setq compilation-error-list
		      (cons (list error-marker text-marker)
			    compilation-error-list)))))
	(forward-line 1)))
    (setq compilation-parsing-end (point-max)))
  (message "Parsing error messages...done")
  (setq compilation-error-list (nreverse compilation-error-list)))

;; The function compilation-grab-filename has been deleted since its
;; work is now being done in compilation-parse-errors.

(define-key ctl-x-map "`" 'next-error)

-------------------------------- cut here -----------------------------

--Rick.
-----------------------------------------------------------------------
This would be a standard disclaimer if there were anything to disclaim.
Rick.Sheridan@channel1.com           Entered Aug 29,92 at 15:32:29(CST)
-----------------------------------------------------------------------
---
  PMDBM DEMO V1.5 #0  Evaluation Copy
--
Channel 1 (R)   Cambridge, MA

Newsgroups: gnu.emacs.help,comp.text.tex
From: piet@cs.ruu.nl (Piet van Oostrum)
Subject: Re: How to modify LaTeX-environment-alist of auc-tex
Date: Thu, 27 Aug 1992 14:04:04 GMT
Distribution: comp
Reply-To: piet@cs.ruu.nl (Piet van Oostrum)
Organization: Dept of Computer Science, Utrecht University, The Netherlands
Keywords: auc-tex

>>>>> kondo@mech.ibaraki.ac.jp (Ryou Kondo) (RK) writes:

RK> I installed auc-tex a few weeks ago. I tried to add my local
RK> environment to LaTeX-environment-alist as written in the documents.
RK> So I add the following lines to `.emacs'.
RK> (setq LaTeX-mode-hook '(lambda ()
RK>     (setq LaTeX-environment-alist
RK> 	(cons '("myenv" . LaTeX-array-hook) LaTeX-environment-alist))))

RK> But this did not work at all. 

RK> LaTeX-mode-hook is called when I open a tex source file.  However,
RK> LaTeX-environment does not exist yet. It is created when I first type C-c
RK> C-c to enter a environment and `ltx-env.el' is autoloaded.

RK> Are there any way to solve this problem without giving up auto-loading? 

If you put a (require 'ltx-env) in your LaTeX-mode-hook it should work. In
this way you give up autoloading partially, but in LaTeX-mode it is rather
probable that you are going to use ltx-env anyway.

I made a small modification to auc-tex to make it easier to do this kind of
customization. I tried to contact both the maintainer and the mailing list,
but my mail bounced. Does anybody know whether the addresses have changed?
-- 
Piet* van Oostrum, Dept of Computer Science, Utrecht University,
Padualaan 14, P.O. Box 80.089, 3508 TB Utrecht, The Netherlands.
Telephone: +31 30 531806   Uucp:   uunet!mcsun!ruuinf!piet
Telefax:   +31 30 513791   Internet:  piet@cs.ruu.nl   (*`Pete')
Newsgroups: gnu.emacs.help
From: sharma@euler.Warren.MENTORG.COM (Sharma Kunapalli)
Subject: C++ mode in emacs and unbinding C-cC-c
Organization: Mentor Graphics Corp. - IC Group
Date: Thu, 27 Aug 1992 15:42:59 GMT

Hi All,

When I am in the C++ mode in emacs, C-cC-c is
automatically bound to 'c++-comment-region'.
What I want is to bind C-cC-c to 'compile'.

I have tried doing global-set-key C-cC-c to compile.
Doesnt work.

I have tried global-unset-key C-cC-c first and then
bind it to 'compile'. Doesnt work.

Any help on how I can bind C-cC-c to 'compile' 
would be appreciated.

Thanks.

Sharma
-- 
The opinions expressed here are solely mine. My company has nothing
to do with these.

Email: sharma@euler.warren.mentorg.com
Newsgroups: gnu.emacs.help
From: pmm34393@uxa.cso.uiuc.edu (Dr. Vincent Vaugn )
Subject: Emulator help
Organization: University of Illinois at Urbana
Distribution: gnu
Date: Tue, 1 Sep 1992 13:02:12 GMT


When I use a remote dial-up to access the mainframe, I have problems
using emacs if I use a VT102 emulator. VT100 works fine, but I have better
software that uses only VT102. Control-B deletes characters instead of
just backspacing, and I also get parts of lines disappearing if I
use Control-B more than about 5 times in a row. Lines will then
decide to overlap themselves when I view the saved file later. Any help
regarding this would be greatly appreciated.

Newsgroups: gnu.emacs.help
From: liberte@cs.uiuc.edu
Subject: Emacs bugs
Organization: Gatewayed from the GNU Project mailing list help-gnu-emacs@prep.ai.mit.edu
Date: Thu, 3 Sep 1992 09:48:51 GMT

	From: rms@gnu.ai.mit.edu (Richard Stallman)

	Have you sent a bug report with a detailed recipe for reproducing the
	problem?  If not, please do--so we can get it *fixed*.

	Users often treat bugs as immutable facts of nature; they talk about
	what bugs exist as if they just had to learn to live with them or
	avoid them.

There are several reasons that bugs don't get reported.  I suggest some
remedies.

1. It may difficult to tell whether something is a bug or some
kind of weird feature.  But if emacs crashes or hangs, this is clearly
a bug.  Weird features can be considered bugs if there is no good
reason for them, but that is often difficult to tell without experience.
If the printed documentation differs from the on-line
documentation, or from Emacs' behavior, there is a bug in one of them.

2. It may be a bug in some non-standard package or modification of Emacs.  
Non-standard modifications of Emacs should be clearly indicated to users.
Go to the author of the modifications first if they are at all suspect.
Non-standard packages should be used with some caution, particularly those
that modify standard behavior.  Package writers should avoid such
modifications and generally warn users of potential problems or
known bugs.

3. It may be difficult to identify or reproduce a bug.  Experience helps
alot here.  Emacs provides some utilities that help, but there is room for
more.  

4. It takes time and effort to put together a bug report, even
after identifying the bug.  If the reason for the bug is not clear,
part of the problem is identifying enough of the environment so others
can reproduce the problem.  Utilities can help here.

5. It may have already been reported, so why should I bother? 
A known bug list would help.  With each distribution, include the
list in the etc directory with a reference to the ftpable file for
the current list.

Emacs maintainers shouldn't object too strongly to getting vague
rumors of bugs.  That may be the most that some users can offer
for various reasons.  Discouraging vague reports is just discouraging.
Instead, encourage users by making it easier.

Dan LaLiberte
liberte@cs.uiuc.edu
(Join the League for Programming Freedom: league@prep.ai.mit.edu)


Newsgroups: gnu.emacs.help
From: southern@sunny.NoSubdomain.NoDomain (Lawrence Buja)
Subject: Re: another .emacs problem
Reply-To: southern@ncar.ucar.edu
Organization: National Center for Atmospheric Research
Distribution: usa
Date: Tue, 1 Sep 1992 19:55:17 GMT

In article <1992Sep1.182617.15356@engage.pko.dec.com>, eje@irenaeus.mlo.dec.com (Eric James Ewanco) writes:
>
>I have a rather complicated .emacs file with lots of nifty stuff I wrote.
 
After awhile, one learns to have an uncomplicated .emacs file, it
just makes life easier.  Can you break the various functions that
you have in your .emacs file into a number of .el files.  Then you
can reduce your .emacs file to a simple series of load calls.  This
simplifies debugging as whichever .el file follows the last .el
file to successfuly load usually contains the problem.  Also see
the function safe-load.el I posted to gnu.emacs.sources.  It was
designed to shed some light on situations like this.

>Unfortunately I have this problem that whenever I bring up .emacs, I get an
>"Error in init file".      ...text deleted...
>They behave fine whenever I execute them on their own as you might
>guess.  They just don't work in the .emacs file.

I don't know what's biting you, but an invaluable emacs debugging
function that might pinpoint it is available by setting:

(setq stack-trace-on-error t)         ; Trace errors in other window
 
This is the very first first thing I set in my .emacs file.  If
emacs detects an error, it splits the window and gives you a
traceback on the error.  It can be a bit too verbose for normal
usage, but it's nice to have active when something does go wrong.


/\      Lawrence Buja           Climate and Global Dynamics Division
  \_][  southern@ncar.ucar.edu  National Center for Atmospheric Research
      \_________________________Boulder,_Colorado___80307-3000__________



Newsgroups: gnu.emacs.help,comp.lang.lisp
From: raman@cs.cornell.edu (T. V. Raman)
Subject: XREF and ilisp:
Keywords: XREF Ilisp crossreferencing lisp code
Organization: Cornell Univ. CS Dept, Ithaca NY 14853
Date: Sun, 30 Aug 1992 00:17:52 GMT

Hi!

I have the excellent xref.lisp the cross referencing utility available
from cmu and also have ilisp which knows about crossreferencing. At
present ilisp seems to do its own bookkeeping which means that some of
the cross referencing functions are quite slow.

Since both these packages have their home at CMU does someone there
have a way to combine the two? ie: Make ilisp and emacs use the cross
referencing information generated by xref?

--Raman
-- 
   T. V. Raman <raman@cs.cornell.edu>Tel: (607)255-9202  R 272-3649
                       Office: 4116 Upson Hall,
Department of Computer Science, Cornell University Ithaca NY 14853-6201
                Res: 226 Bryant Avenue Ithaca NY 14850