HDTenEightyP/NetNews huggingface dataset:
From: ethanb@ptolemy.astro.washington.edu (Ethan Bradford)
Newsgroups: comp.emacs
Subject: Re: Getting buffers saved automatically
Date: 6 Nov 92 00:18:15 GMT
Organization: U. of Washington
To: russells@ccu1.aukuni.ac.nz (Russell Street)

Contrary to your complaint, I find that with your function as defined,
save-some-buffers will save all the buffers, but compile will crash
because it does not have an argument.  If redefined as follows, your
command works for me.

    (defun mycompile()
	    "Save any unsaved buffers automatically and then invoke compile"
	    (interactive)
	    (save-some-buffers t)
	    (compile compile-command)
    )
    (define-key esc-map "`" 'mycompile)

If you want to be queried for the compile command string, replace 
  (compile compile-command)
with
  (call-interactively 'compile)


In article <1992Nov3.031152.1436@ccu1.aukuni.ac.nz> russells@ccu1.aukuni.ac.nz (Russell Street) writes:

   I would like to bind ESC-` to 'compile' (which I have done)
   but would also like it to save all dirty buffers before invoking
   compile. i.e., I would like to run "save-some-buffers" with a
   numeric argument before running compile.

   I have worked out that if I put this sort of thing in my ~/.emacs file
   will ask me to save the buffers first -- before compile calls
   save-some-buffers :( -- but I can't get it to automagically save the 
   buffers.

   (defun mycompile()
	   "Save any unsaved buffers automatically and then invoke compile"
	   (interactive)
	   (save-some-buffers t)
	   (compile)
   )
   (define-key esc-map "`" 'mycompile)
Newsgroups: comp.emacs
From: pcolsen@super.org (Peter C Olsen)
Subject: Help with crashing DEMACS
Organization: Supercomputing Research Center
Date: Wed, 11 Nov 1992 14:10:40 GMT


I am having trouble getting DEMACS to work reliably on a GRID 1550sx
under DOS 5.  It seems to crash at random in response to some very
simple errors --- like using a left-arrow command when at the top of
the buffer or hitting BKSP, BKSP, DEL instead of DEL, DEL, DEL.  This
doesn't always happen, but when it does, locks the keyboard so that I
must power-down and reboot, usually losing most of my work.  This is
maddening, because DEMACS on a good portable just about makes DOS
worthwhile.

Peter
-- 
 Peter Olsen, PE, n2ell, P.O. Box 410, Simpsonville, MD 21150, 410-997-8584 
pcolsen@super.super.org  ...!uunet!super!pcolsen  CG:pcolsen@super.org/G-ASMTP
     "Engineering is the art of applying a professional knowledge of
   mathematics and the physical sciences to improve the quality of life"
From: rfinch@water.ca.gov (Ralph Finch)
Newsgroups: comp.emacs
Subject: Demacs, fun with
Date: 7 Nov 92 00:40:02 GMT
Organization: Calif. Dept. of Water Resources

Here's some amusement: get calc.el running on your pee-cee under
demacs.  It surprising went fairly well.  You have to change all the
filenames to 8.3, don't forget all their references in the elisp code.
I found changing calc- to c- sufficed.  Byte compiling everything
takes some time.

Time test: On a Sun Sparc 2, 32 MB memory, calculating pi to 150
places took 20 seconds.  On a 33 MHz '486, 4 MB memory, DOS 5.0, it
took 30 seconds.  Not bad, eh?

BTW, demacs works fine running with the Thompson Toolkit (nee
Polyshell), a Unix-like shell for the PC.  With the TT, you can do
filename completion (with the TAB key!) from the command line,
backquotes, cd'ing with forward slashes, etc.  At times, you can
almost pretend you're running a real machine.
--
Ralph Finch			916-653-8268
rfinch@water.ca.gov		...ucbvax!ucdavis!caldwr!rfinch
Any opinions expressed are my own; they do not represent the DWR
From: ead@cs.ucsb.edu (Eric De Mund)
Newsgroups: comp.emacs
Subject: problem building uemacs 3.11 under sunos 4.1.1
Date: 4 Nov 92 23:16:42 GMT
Reply-To: Eric De Mund <ead@cs.ucsb.edu>
Organization: UC Santa Barbara
X-Reply-To: Eric De Mund <ead@cs.ucsb.edu>

comp.emacs people,

i'm having trouble building uemacs 3.11 under SunOS 4.1.1. i've tried
all combinations of compilers (cc,gcc) and environments (UNIX,USG,BSD)
in the file estruct.h, and none of them work. compilation fails on the
file unix.c.

i've built uemacs 3.10 in the past, using cc and specifying USG in
estruct.h, but that's not working now. if you've built uemacs 3.11
under SunOS 4.1.1, please send me the incantation you used.

thank you,
eric de mund <ead@cs.ucsb.edu>

"If you do not understand the reality directly through your master's
words, he may use his staff on you." -- Shunryu Suzuki
From: davidm@consilium.com (David S. Masterson)
Newsgroups: comp.emacs
Subject: Re: micro-emacs 3.7.
Date: 12 Nov 92 18:37:21 GMT
Distribution: comp
Organization: Consilium Inc., Mountain View, California
In-reply-to: ndl@unix.brighton.ac.uk's message of 11 Nov 92 14:39:06 GMT
X-Posting-Software: GNUS 3.13  [ NNTP-based News Reader for GNU Emacs ]

>>>>> On 11 Nov 92 14:39:06 GMT, ndl@unix.brighton.ac.uk ( The Unix Guru) said:

> how do I bind the cursor keys for a vt100 in micro-emacs 3.7 under unix ?
> or can it not be done ??

If at all possible, UPGRADE!  Current version of micro-emacs is 3.11.

Verify that your cursor keys send ESC-OA, ESC-OB, ESC-OC, ESC-OD (enter ESC-X
quote-character followed by one of the cursor keys).  If your version of
micro-emacs was compiled properly and the cursor keys send those key
sequences, then putting the following in your .emacsrc file should work:

bind-to-key previous-line               FNA     ; <UP>
bind-to-key previous-paragraph          M-FNA   ; <ESC><UP>
bind-to-key next-line                   FNB     ; <DOWN>
bind-to-key next-paragraph              M-FNB   ; <ESC><DOWN>
bind-to-key forward-character           FNC     ; <RIGHT>
bind-to-key backward-character          FND     ; <LEFT>

--
====================================================================
David Masterson					Consilium, Inc.
(415) 691-6311					640 Clyde Ct.
davidm@consilium.com				Mtn. View, CA  94043
====================================================================
"The less you know about home computers
 the more you'll want the new IBM PS/1."
 - Advertisment in the Edmonton Journal, Thursday, December 13, 1990:
Newsgroups: comp.emacs
From: dan@mdbs.uucp (Daniel Lawrence)
Subject: Vast Apology
Keywords: uEMACS
Reply-To: dan@mdbs.UUCP (Daniel Lawrence)
Organization: Micro Data Base Systems, Lafayette, Indiana
Date: Fri, 13 Nov 92 15:35:37 GMT

	It has come to my attention that someone posted my availability
document to comp.emacs on Nov 12th. It included, among other things, a
list of prices for registration for MicroEMACS and MicroSPELL. My
understanding of the rules for USENET indicates that this was an
inproper use of the group. I did not authorize the post and apologize to
others who may have been annoyed at this misuse of USENET.

					Daniel Lawrence
					mdbs!dan@dynamo.ecn.purdue.edu
From: ndl@unix.brighton.ac.uk ( The Unix Guru)
Newsgroups: comp.emacs
Subject: micro-emacs 3.7.
Date: 11 Nov 92 14:39:06 GMT
Organization: University of Brighton, UK

how do I bind the cursor keys for a vt100 in micro-emacs 3.7
under unix  ?

or can it not be done ??
Newsgroups: comp.emacs
From: bminkus@teal.csn.org (Robert Minkus)
Subject: Re: emacs for Macintosh?
Organization: Colorado SuperNet, Inc.
Date: Fri, 13 Nov 1992 15:54:49 GMT

Speaking of emacs for the Mac, I used to have something that would enable
emacs style control keys in Microsoft Word.  Somewhere along the line
I lost it, does anyone know anything about this and where I might get
it?
							Thanks,

								Bob
From: Charlie Rosenberg <crosenberg@igc.apc.org>
Newsgroups: comp.emacs
Date: 10 Nov 92 22:47 PST
Subject: Re: Micro-Emacs Source?
Nf-ID: #R:1992Nov10.172934.9863@crd.ge.com:1031326472:cdp:1346900005:000:124
Nf-From: cdp.UUCP!crosenberg    Nov 10 22:47:00 1992



midas.mgmt.purdue.edu  has microEMACS 3.11

as does:

ftp.th-darmstadt.de in the directory pub/editors


Charlie Rosenberg

Newsgroups: comp.emacs
From: epstein@cs.uiuc.edu (Milt Epstein)
Subject: Re: keyboard locking up
Reply-To: epstein@cs.uiuc.edu
Organization: University of Illinois at Urbana-Champaign
Date: Fri, 6 Nov 1992 15:21:24 GMT

In <1992Nov3.220326.28245@cc.uow.edu.au> dryan@cc.uow.edu.au (David Ryan) writes:

>Greetings everyone. First off, I hope this is the appropriate group to ask 
>this question. Now to business. I have demacs 1.2.0 up and running. I am
>using DOS 5.0 with the ansi.sys that came with DOS 5.0 and I have 
>set TERM=ibmpc and also uncommented the appropriate line in _emacs. 
>Furthermore, I have got some auc-tex stuff in \lib\emacs\lisp (or wherever 
>it is). I mainly use demacs to edit tex files so I do the following:
>
>	e filename.tex
>
>Here "e" is a batch file that does "demacs %1" (talk about lazy!). Anyhow,
>it loads emacs-19 then auc-tex as expected. The nifty auc-tex macros work
>well but sometimes (and it appears not all the time) the keyboard locks up
>on me after doing simple things like control-e to go to the end of the line.
>I can save the file and quit but also, the keyboard is locked up at the dos
>prompt! What a bummer! I then have to reset the dang computer. Are there any
>ideas on how to solve this annoying problem? Please let me know if I have
>forgotten some vital piece of information that will solve the universe.
>				Cheers and thanks in advance, Dave.

I have had a somewhat similar problem, except with regular GNU emacs
on an IBM RS6000.  Occasionally when I exit emacs, the
keyboard/terminal is locked up.  I must do "C-j reset C-j" to get it
back again.  This happens only intermittently, so it is quite
puzzling.  Also, recently we upgraded from AIX 3.1 to AIX 3.2, and I
was hoping that the problem would be gone after that, but it still
happens, although perhaps less frequently.  I've had it happen when
dialing up, when rlogged in from another machines, when sitting at the
6000 console.  Sometimes when I edit a file directly, or sometimes
when in nn or mail.  If anyone has any clues as to what the problem
might be, I'd love to hear them.  This is with emacs 18.58.

Thanks.

-- 
Milt Epstein
Department of Computer Science
University of Illinois
epstein@cs.uiuc.edu
Newsgroups: comp.emacs
From: xtifr@netcom.com (Chris Waters)
Subject: Re: using wordwrap with uemacs
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Date: Mon, 9 Nov 1992 07:54:27 GMT

In <1346900001@igc.apc.org> crosenberg@igc.apc.org (Charlie Rosenberg) writes:


>Following the uemacs manul, (I am using 3.9), I entered
>Esc M and at the global-mode-add prompt, I type wrap and press Enter.
>The cursor goes to the first line position, global-mode-add stays
>on the screen and I don't have any wordwrap.  What am I doing wrong?

global-add-mode is used to set the default values for modes for new
buffers.  Use add-mode (bound to ^XM) to set modes in existing buffers.

>Is there a way to start uemacs so that wordwrap will be the default?

Add the statement: set-global-mode "wrap" to your .emacsrc file.
-- 
Chris Waters    | the insane don't | "Don't you boys know NICE songs?"
xtifr@netcom.COM| need disclaimers |                 -- Joe's mama
Newsgroups: comp.emacs
From: kevin@jd.ingr.com (Kevin Pammett)
Subject: an emacs for Solaris 2.0 ???
Reply-To: kevin@jd.b17a.ingr.com
Organization: Intergraph Mapping Data Mgt, Huntsville, AL
Date: Wed, 11 Nov 1992 21:58:32 GMT

Can anyone tell me how to go about getting an emacs (Gnu or
otherwise) that will run on Solaris 2.0 ?   I'm primarily
interested in Solaris running on SPARCstation, if that's
of any relevance.

Failing that, are there people out there using an emacs
on Solaris?   Where did you get it ?

   Thanks, 
--         Kevin "can't live without it" Pammett
 |------------------------------------------------------------------|
 | The reasonable man tries to adapt himself to the world around,   |
 | while the unreasonable man tries to adapt the world to himself.  |
 | Therefore, all progress depends upon the unreasonable man.       |
 |---------------------------------------+                          |
 |  Intergraph (205) 730-1517 m/s IW17A2 |  --George Bernard Shaw --|
--  rsvp: kevin@jd.b17a.ingr.com         |                          |
 |------------------------------------------------------------------|
From: davidm@consilium.com (David S. Masterson)
Newsgroups: comp.emacs
Subject: Re: using wordwrap with uemacs
Date: 9 Nov 92 02:12:42 GMT
Distribution: comp
Organization: Consilium Inc., Mountain View, California
In-reply-to: crosenberg@igc.apc.org's message of 7 Nov 92 19:05:00 GMT
X-Posting-Software: GNUS 3.13  [ NNTP-based News Reader for GNU Emacs ]

>>>>> On 7 Nov 92 19:05:00 GMT, crosenberg@igc.apc.org (Charlie Rosenberg)
>>>>> said:

> Following the uemacs manul, (I am using 3.9), I entered Esc M and at the
> global-mode-add prompt, I type wrap and press Enter.  The cursor goes to the
> first line position, global-mode-add stays on the screen and I don't have
> any wordwrap.  What am I doing wrong?

Hmm, I don't remember Esc-M to turn on wordwrap (probably because I've never
gotten it to work).  I've always used ^XM to turn on one of the special modes
and ^X^M to turn off one of the special modes.  The special modes are (that I
remember off the top of my head):

WRAP - word wrap mode (^XF to set fill column)
CMODE - special indentation mode for C programming
EXACT - force searches to be case insensitive
MAGIC - search patterns can include some regular expressions
VIEW - disable commands that can change the buffer.

> Is there a way to turn off the status line at the bottom of the screen?

Not that I know of.

> Is there a way to start uemacs so that wordwrap will be the default?

Try putting something like this in your emacs.rc file:

20	store-macro
	set %rctmp &sin $cfname "."
	!if &equ %rctmp 0
		!return
	!endif
	set %rctmp &mid $cfname &add %rctmp 1 5
	!if &or &seq %rctmp "c" &seq %rctmp "h"
		add-mode "cmode"
	!endif
	!if &seq %rctmp "txt"
		add-mode "wrap"
	!endif
!endm
bind-to-key execute-macro-20	M-FNR

--
====================================================================
David Masterson					Consilium, Inc.
(415) 691-6311					640 Clyde Ct.
davidm@consilium.com				Mtn. View, CA  94043
====================================================================
"A mighty work deserves a mighty theme."
-- Herman Melville
Newsgroups: comp.emacs
From: mcook@fendahl.dev.cdx.mot.com (Michael Cook)
Subject: Re: anyone got a way to cycle through buffers with a keystroke?
Organization: Motorola Codex, Canton, Massachusetts
Date: Thu, 5 Nov 1992 18:59:09 GMT

ejh@khonshu.colorado.edu (Edward J. Hartnett) writes:

>Hi. I often have maybe 5 or 10 programs and other files open at once, and
>switch back and forth more or less randomly. It's very annoying that I have
>to tyep out the buffer name I want each time (even with tab completion). Does
>anyone out there have any elisp code that would allow me to cycle through the
>buffers with a keystroke? So I'd hit a key and the buffer would switch to the
>next one, then again and it would go to the next, etc. Then I could just pop
>pop pop on the key until the buffer I wanted came up.  -- Edward

Here what I use:

(defvar cycle-buffers nil
  "List of buffers we've cycled through so far.")

(defun cycle-buffer ()
  "Switch to another buffer."
  (interactive)
  (or (eq last-command this-command)
      (setq cycle-buffers nil))
  (let ((list (buffer-list)))
    (setq cycle-buffers (cons (car list) cycle-buffers))
    (while (or (and list
		    (let ((name (buffer-name (car list))))
		      (or (string-equal name "")
			  (= (aref name 0) ? ))))
	       (memq (car list) cycle-buffers))
      (setq list (cdr list)))
    (switch-to-buffer (or (car list)
			  (other-buffer)))))

Bind it to a key, then each time you press that key, it shows you another
buffer.  If you press any other keys in between, it'll start from the
beginning of the buffer list again.

Michael.
From: hm342st@unidui.uni-duisburg.de (Michael Staats)
Newsgroups: comp.emacs
Subject: Re: Adding new modes to FREE EMACS: is it possible?
Date: 5 Nov 92 09:32:20 GMT
Organization: Universitaet Duisburg GH
NNTP-Posting-Host: unidui.uni-duisburg.de
To: gmribeir@david.wheaton.edu

In <1992Nov4.180032.23004@wheaton.wheaton.edu> gmribeir@david.wheaton.edu (Glauber) writes:

>One thing that's missing IMHO is manuals. Well, it's free,
>so i'm not compalining, but i'm wondering how the text modes
>are implemented (since there is no source code for the modes
>libraries) and if it is possible for a mortal to implement a
>"Clipper mode" for editing Clipper source code.

I haven't been using freemacs for some time, so all the following
comes drom my memory and could be a little wrong.

I have got some documentation with my freemacs (try M-x info),
and I have the source code for the modes and some documentation
about MINT, the language the modes are implemented with. I also
have written a pascal mode, which is not perfect and a little slow
for some things, but generally does a good job, so it is possible
to write modes for mere mortal men or women.

>Thank you for any help. Please post, because the site i'm in
>hsn't received email from outside for quite a while...

If you are interested in the pascal mode you may send me a mail,
(try it), the docs and MINT sources should be available via ftp.


>						Glauber

Michael

-- 
Michael Staats, Student of Theoretical Physics, Uni-GH Duisburg 
BTW: I'm looking for a Makefile which takes physical model, applied methods,
expected results and literature references as input and generates a master
thesis in Theoretical Physics to save time for reading news. Help me, please!
From: okes@essex.ac.uk (Simon Oke)
Newsgroups: comp.emacs
Subject: Re: Demacs, fun with
Date: 10 Nov 92 16:32:41 GMT
Organization: Department of Computer Science, University of Essex, UK.
In-reply-to: rfinch@water.ca.gov's message of 7 Nov 92 00:40:02 GMT

In article <RFINCH.92Nov6164002@venice.water.ca.gov> rfinch@water.ca.gov (Ralph Finch) writes:
|
| Here's some amusement: get calc.el running on your pee-cee under
| demacs.  It surprising went fairly well.  You have to change all the
| filenames to 8.3, don't forget all their references in the elisp code.
| I found changing calc- to c- sufficed.  Byte compiling everything
| takes some time.
|
Question: where can I get calc.el?
Thanks,
Simon Oke (okes@essex.ac.uk)

--
This signature is copyright 12/6/1992 Simon Oke. All rights reserved. If you
like it and keep a copy for your own use, you owe me $20. Please pass it on
to your friends with all documentation.              Email okes@essex.ac.uk.
----------------------------------------------------------------------------
Reincarnation: life sucks, then you die. Then life sucks again.
Xref: sparky comp.emacs:3494 gnu.emacs.vm.info:413
From: lotto@math.berkeley.edu (Ben Lotto)
Newsgroups: comp.emacs,gnu.emacs.vm.info
Subject: Supercite question
Date: 9 Nov 92 05:47:04
Organization: U.C. Berkeley Math. Department.
Distribution: world
NNTP-Posting-Host: math.berkeley.edu

I use Supercite (SC version 2.2) with VM (version 5.32 beta).  My
emacs is version 18.55.10.

I was wondering if there was a way to be able to cite messages when I
use the regular "mail" command or the "m" command from within VMAIL?
--
-B. A. Lotto
Department of Mathematics/Lake Forest College/Lake Forest IL 60045
708-735-5159
lotto@math.berkeley.edu  (Yeah, you read that right!)
From: rich@da_vinci.it.uswc.uswest.com (Richard Scott)
Newsgroups: comp.emacs
Subject: Re: anyone got a way to cycle through buffers with a keystroke?
Date: 5 Nov 92 16:28:37 GMT
Organization: U S WEST Information Technologies

In article <EJH.92Nov4132905@khonshu.colorado.edu> ejh@khonshu.colorado.edu
(Edward J. Hartnett) writes:

|Does anyone out there have any elisp code that would allow me to cycle
|through the buffers with a keystroke? So I'd hit a key and the buffer would
|switch to the next one, then again and it would go to the next, etc. Then I
|could just pop pop pop on the key until the buffer I wanted came up.

	I highly recommend the 'buf-sel' package, by Bob Weiner & Tom
Horsley, available at most elisp archive sites. This package gives you an
interactive buffer-list capability, and when you invoke 'select-buffer'
(usually via the 'ctrl-x b' keystroke sequence), it defaults to the next
buffer in the list. The keys that are bound to next-line and previous-line
navigate through the buffer list, so you can *very* quickly go through the
buffer list, via ctrl-n and ctrl-p in the mini-buffer (no buffername typing
is necessry).

	Be sure to compile it, for speed, and you'll probably want to 
autoload it, via your .emacs file.

	=rich


--
Rich Scott	Adia Information Technologies, Denver, CO       rich@uswest.com
From: jackr@wpd.sgi.com (John "Jack" Repenning)
Newsgroups: comp.emacs
Subject: Re: emacs over a modem on a mac keyboard
Date: 11 Nov 92 18:00:12
Organization: Silicon Graphics, Inc.
NNTP-Posting-Host: dblues.wpd.sgi.com
In-reply-to: ejh@khonshu.colorado.edu's message of 10 Nov 92 10:19:17

In article <EJH.92Nov10101917@khonshu.colorado.edu> ejh@khonshu.colorado.edu (Edward J. Hartnett) writes:

   Also, is there anything else in emacs (any special features) that will
   help me with my dialin work? Any advice would be helpful from those
   who use emacs over a modem line (I'm at 2400 BTW).

Check out search-slow-window-lines, search-slow-speed and baud-rate:
the make incremental searches faster.

   And is there a way for emacs to let me know on the status line when
   new mail has come in?

display-time does this, though a cursory reading of its documentation
doesn't make that obvious.

Newsgroups: comp.emacs
From: rdb@ktibv.uucp (The Graphical Gnome)
Subject: Re: DEMACS setup
Organization: KTI BV
Distribution: comp
Date: Thu, 12 Nov 1992 13:49:05 GMT

oshins@wolf.cs.washington.edu (Jake Oshins) writes:


>Hello,
>  I have installed Demacs on my 386 machine and it is telling me that
>I need to set the value of the environment variable TERM (see tset)
>which is clearly already set to 'ibmpc'.  This is really frustrating.
>Does anyone know what the real problem is?

>Thank you,
>Jake Oshins
>oshins@cs.washington.edu

Look where set set command shows

TERM = ibmpc
    ^ ^ 

No spaces !!

It took me also 2 days to find this problem.

ROB 
Newsgroups: comp.emacs
From: prajarats@woods.ulowell.edu
Subject: .emacs for C++.
Organization: University of Lowell
Date: Fri, 13 Nov 1992 00:06:14 GMT

Hi Friends.

I am in desperate need of .emacs file (And some other files, if needed)
using which I can write program in C++. I have an .emacs file which
works fine for C programs but not C++.
I am not very familier with .emacs file and any/all other files affiliated
with emacs. Please help help help.....

Thanks a million.


Sincerely,
Sunil

Note : Please forward your reply to sprajapa@cs.ulowell.edu rather than
       posting it in this newsgroup to avoid network overhead. Thanks.