HDTenEightyP/NetNews huggingface dataset:
From: sm86+@andrew.cmu.edu (Stefan Monnier)
Subject: Eiffel and Emacs
Organization: Junior, Math/Computer Science, Carnegie Mellon, Pittsburgh, PA
Date: Mon, 7 Sep 1992 11:55:43 GMT

I have access to the ISE Eiffel compiler, but I can't find
any emacs interface for it (maybe they haven't installed it)

So: is there an eiffel-mode, a run-eiffel, or anything else
to edit and compile Eiffel programs under Emacs ?

Where could I find it ?

	Stefan Monnier

-----------------------------------------------------
-- On the average, people seem to be acting normal --
-----------------------------------------------------

Newsgroups: gnu.emacs.help
From: weiss@Informatik.TU-Muenchen.DE (Peter Weiss)
Subject: problems with etags version 18.58.6
Originator: weiss@hphalle6d.informatik.tu-muenchen.de
Organization: Technische Universitaet Muenchen, Germany
Date: Mon, 7 Sep 1992 11:08:30 GMT


Greetings,

I am a novice user of gnu software and I'm trying to generate a C-Language
tags table with etags. The description in the info section differs from
the etags usage message : "usage: etags [-BFaetuwvx] [-f outfile] file ..."
I'm using emacs version 18.58.6 on hpux.
Does anybody got some help ?

               Thanks -- Peter

--------------------------------------------------------------------------------
Peter Weiss                             email : weiss@informatik.tu-meunchen.de
Connollystr.3/ G412
D-8000 Muenchen 40

Tel. 089/3542240
--------------------------------------------------------------------------------
---     The foolish ones taught more to me than the wise ones ever could     ---
--------------------------------------------------------------------------------
Newsgroups: gnu.emacs.help
From: Hamish.Macdonald@x400gate.bnr.ca (Hamish Macdonald)
Subject: Re: Equivalents to vi's H, M, L Commands?
Organization: Bell Northern Research
Date: Wed, 09 Sep 92 19:28:05 GMT

>>>>> On Wed, 09 Sep 1992 18:35:31 GMT,
>>>>> In message <1992Sep09.183531.5615@bnr.ca>,
>>>>> mac@crchh570.BNR.CA (Michael Campbell) wrote:

Michael> Does anyone know of emacs functions that perform a similar
Michael> function to the vi commands H, M, and L (Home, Middle, and
Michael> Last)? These functions move the cursor to the top of the
Michael> screen (Home), the middle line of the screen (Middle), and
Michael> the last line of the screen (Last). They do not effect vi's
Michael> position in the file - they simply allow you to move the
Michael> cursor around the currently displayed screen. Please post any
Michael> replies to this newsgroup. Thanks!

(defun top-of-window ()
    "Go to top line of window"
    (interactive)
    (goto-char (window-start)))

(defun middle-of-window()
    "Go to middle line of window"
    (interactive)
    (goto-char (/ (- (window-end) (window-start)) 2))
    (beginning-of-line))

(defun bottom-of-window()
    "Go to last line of window"
    (interactive)
    (goto-char (window-end))
    (beginning-of-line))
From: hermit@cats.UCSC.EDU (William R. Ward)
Newsgroups: gnu.emacs.help
Subject: Re: Can I have more than one initialization file?
Date: 11 Sep 92 18:49:38
Organization: Computing and Telecommunications Services, UCSC
NNTP-Posting-Host: am.ucsc.edu
In-reply-to: mjk@greisen.physics.utah.edu's message of 12 Sep 92 00:04:03 GMT

In article <1992Sep12.000403.3747@fcom.cc.utah.edu> mjk@greisen.physics.utah.edu (Matthew J. Kidd) writes:

|I use emacs on two different terminals. In each case I have customized
|the key bindings to correspond with some of the special keys in obvious
|ways. 

|I would like to create a couple of aliases that invoke emacs with different
|initialization files. However, I don't see any way of getting emacs to use a
|different initialization file (other than .emacs) save for that of another
|user via the -u command line option. I could probably get around this
|problems using soft links, but it would be more elegant if emacs could handle
|it directly.

|Even better, would be if the code in the initialization file could pick
|out the TERM enviroment variable and execute different code on that 
|basis. If this is possible, I would appreciate advice and code. My lisp
|experience goes little further than changing keybindings. 

No sweat.

The following excerpt from my .emacs file sets various keys on my
VT-100 emulator to various corresponding Emacs functions.  The
disadvantage with this is that it takes away the M-[ command, which is
a useful thing.  I rebind M-[ and M-] to M-{ and M-} (which is closer
to the vi commands { and }, which do the same thing in vi, which was
my first editor before I was converted....)

--8<-- cut here --8<--

(setq termtype (getenv "TERM"))
(if (or (equal termtype "vt100")
	(equal termtype "vt102")
	(equal termtype "vt220")
	(equal termtype "ansi"))
    (progn
      (setq term-file-prefix nil)
      (setq vt100-cursor-map (make-keymap))
      (define-key global-map "\e[" vt100-cursor-map)
      (define-key vt100-cursor-map "A" 'previous-line)	; up arrow
      (define-key vt100-cursor-map "B" 'next-line)		; down arrow
      (define-key vt100-cursor-map "C" 'forward-char)		; right arrow
      (define-key vt100-cursor-map "D" 'backward-char)	; left arrow
      (define-key vt100-cursor-map "p" 'overwrite-mode)	; insert
      (define-key vt100-cursor-map "\C-?" 'delete-char)	; delete
      (define-key vt100-cursor-map "H" 'beginning-of-line)	; home
      (define-key vt100-cursor-map "K" 'end-of-line)		; end
      (define-key vt100-cursor-map "y" 'scroll-down)		; page-up
      (define-key vt100-cursor-map "s" 'scroll-up)		; page-down
      (setq vt100-other-map (make-keymap))
      (define-key global-map "\eO" vt100-other-map)
      (define-key vt100-other-map "P" 'help-for-help))) 	; help

--8<-- cut here --8<--

Have fun!  You can do similar things with other term types, of
course...
--
William R Ward                       Bay View Software
VoiceMail: +1 (408) 479-4072         Internet:  hermit@cats.ucsc.edu
SnailMail: 1803 Mission St. #339     BITNet:    hermit@cats.bitnet
           Santa Cruz CA 95060 USA
Newsgroups: gnu.emacs.help
From: keithh@bnr.ca (Keith Hanlan)
Subject: Re: problems with etags version 18.58.6
Organization: Bell-Northern Research Ltd., Ottawa
Date: Wed, 9 Sep 1992 23:56:05 GMT

In article <1992Sep7.110830.16927@Informatik.TU-Muenchen.DE> weiss@Informatik.TU-Muenchen.DE (Peter Weiss) writes:
>I am a novice user of gnu software and I'm trying to generate a C-Language
>tags table with etags. The description in the info section differs from
>the etags usage message : "usage: etags [-BFaetuwvx] [-f outfile] file ..."
>I'm using emacs version 18.58.6 on hpux.
>Does anybody got some help ?

(Bare naked novice speaking:)

I couldn't find a man page for etags anywhere so I had to look at
the source.  I found the following:
	int	aflag = 0;		/* -a: append to tags */
	int	tflag = 0;		/* -t: create tags for typedefs */
	int	uflag = 0;		/* -u: update tags */
	int	wflag = 0;		/* -w: suppress warnings */
	int	vflag = 0;		/* -v: create vgrind style index output */
	int	xflag = 0;		/* -x: create cxref style output */
	int	eflag = 0;		/* -e: emacs style output */
which all seems reasonably clear except that I have no idea what
vgrind is.  Looking a little further, I realized that the -B and
-F options pertain to the "ctags" program.  This only made sense
once I noticed that ctags and etags executables were the same
files.

I'm a little disappointed so far.  I would like to be able to
generate a cross-reference of all the symbols in a list of files
(*.[ch]) without including the symbols defined in include files.

I would appreciate pointers to cross-reference tools.

Thank you,
Newsgroups: gnu.emacs.help
From: ethanb@ptolemy.astro.washington.edu (Ethan Bradford)
Subject: Re: Help on mark command
To: TA2321S@acad.drake.edu (THE PENGUIN)
Organization: U. of Washington
Date: Tue, 8 Sep 1992 01:00:41 GMT

The current region in emacs is delimited by the mark (which you set
with C-@) and the point (where the cursor currently is).  So to remove
lines using the region commands, you would set a mark, move to the
other side of the region, and type C-W (to wipe the region and put the
contents in the kill buffer for later yanking).
--
-- Ethan (ethanb@u.washington.edu)
From: frain@cis.ksu.edu (Jerry Frain)
Newsgroups: gnu.emacs.help
Subject: Re: How do I set the variable 'vm-auto-folder-alist'
Date: 14 Sep 92 16:05:03 GMT
Organization: Kansas State University
NNTP-Posting-Host: depot.cis.ksu.edu

rens@lorax.shearson.com (Rens Troost) writes:



> In article <MEYER.92Sep14100153@ibsen.geomatic.no> meyer@geomatic.no (Harald Martens Meyer) writes:


>    (Maybe an example or two...)

>  Well, Here's mine:

>   (setq vm-auto-folder-alist 
>        '(
>   	("From"
> 		    
> 	 ("^\\([^\@ ]+\\)" . (buffer-substring (match-beginning 1) (match-end 1) ))
> 	 )))

> What this does is give me the user name (if it is a well-formatted
> INET address) as the default folder.

Here's mine:

(setq vm-auto-folder-alist
      '(("From"
	 ("<\\(.*\\)\\(@.*\\)>" . (buffer-substring (match-beginning 1) (match-end 1)))
	 ("\\(.*\\)\\(@.*\\)" . (buffer-substring (match-beginning 1) (match-end 1))))
	))

This covers a case that yours doesn't, namely if the address is of the
form:
	Jerry Frain <frain@cis.ksu.edu>

------------------------------------------------------------------------------
Jerry Frain, Systems Programmer         |  "Back off man, I'm a scientist."
Kansas State University                 |  frain@cis.ksu.edu
Department of Computer & Info Sciences  |  ...!rutgers!depot!frain
Newsgroups: gnu.emacs.help
From: smith@icat.larc.nasa.gov (Steven L. Smith)
Subject: A fellow questions
Organization: NASA Langley Research Center, Hampton, VA  USA
Date: Tue, 15 Sep 1992 12:13:31 GMT

Hi

A few questions relating to GNU Emacs 18.57:

1) How do I bind a function to my PgUp, PgDn, Home and End keys? I tried
using the M-x global/local-set-key comand but when prompted to enter key to
bind, none of the previously mentioned keys are recognized (no response - nothing).
I'm not sure how to set it in my .emacs file either (don't know the octal values).

2) I would like to set up my emacs environment to prevent word wrapping but yet
scoll the right margin as I type or move the cursor.

3) How do I set my environment to run the tcsh (my normal shell) upon the shell command?
I "(setq shell-file-name "/usr/local/bin/tcsh")" in the .emacs file but whenever I M-x shell,
the csh environment is executed instead.

4) Is there a FAQ posting available for this news group? Where?

-- 
*******************************************************************************
Steve Smith                          | Internet: smith@icat.larc.nasa.gov
NASA Langley Research Center         |           s.l.smith@larc.nasa.gov
M/S 152                              | Voice: (804) 864-2004
Hampton, VA 23681                    | FAX  : (804) 864-7793
*******************************************************************************
Newsgroups: gnu.emacs.help
From: abo@cory.Berkeley.EDU (Andy Abo)
Subject: Setting up VM
Summary: How do I setup vm?
Keywords: VM vm
Organization: University of California, at Berkeley
Date: Mon, 7 Sep 1992 00:02:52 GMT

I would like to use the `vm' mail reader.  I read the info page,
which said I should type: M-x vm
which resulted in: [No match]
After some snooping, I found in vm.elc and the other .elc files
in /usr/sww/lib/emacs/lisp on my machine.  I did a

% setenv EMACSLOADPATH /usr/sww/lib/emacs/lisp

but that did not help.  I suspect I need some special stuff in my
init file (.emacs) to get vm to run.  Can someone tell me the 
stuff I need?  Thanks.

Andy
Newsgroups: gnu.emacs.help
From: marca@ncsa.uiuc.edu (Marc Andreessen)
Subject: Re: Dired & Ange-Ftp
Organization: Nat'l Center for Supercomputing Applications
Distribution: gnu.emacs.help
Date: Sun, 13 Sep 1992 08:48:22 GMT

In article <SCULLYL.92Sep13003720@prism.cs.orst.edu> scullyl@prism.cs.orst.edu (Lyle Scully) writes:

   I have been using the dired & and Ange-ftp combination for a while now
   and I had a question. Is there a way to make a file that you ftp from
   say /pub/msdos/file.idx automatically go into a default directory in
   your account instead of having to backspace over all of the host/path
   stuff in the line?

You don't have to backspace over the existing path.  Just append:

        '/~/myfilename'

to the existing path and Emacs will pick up the '~', discard
everything previous, and you'll be happy.

Marc

--
Marc Andreessen
Software Development Group
National Center for Supercomputing Applications
marca@ncsa.uiuc.edu
From: strong+@CMU.EDU (Thomas W. Strong, Jr.)
Newsgroups: gnu.emacs.help
Subject: ?csh-mode.el?
Date: 7 Sep 92 02:34:50 GMT
Article-I.D.: andrew.ceen1_m00Vog0E9XdT
Organization: Pittsburgh Supercomputing Center, Carnegie Mellon, Pittsburgh, PA

Where could I find such a creature?  I was able to find one at
kappa.rice.edu, but it has some problems with indentation and
occasionally losing parts of lines.  If you know where one can be found,
or if you have a version, please email it to me and I'll post a summary
of the responses.

 ---------------------------------------------------------------
  Tom Strong                               ts49+@andrew.cmu.edu
Newsgroups: gnu.emacs.help,gnu.emacs.src
From: nickel@cs.tu-berlin.de (Juergen Nickelsen)
Subject: Re: M-x which
Reply-To: nickel@cs.tu-berlin.de
Organization: STONE Project, Technical University of Berlin, Germany
Date: Sun, 6 Sep 1992 17:35:35 GMT

In article <GUTTMAN.92Sep5132127@circe.mitre.org>
guttman@circe.mitre.org (Joshua D. Guttman) writes:

> Does someone have a "M-x which" command?  
> 
> What I mean is a command that will prompt for a string; it then gives as a
> message the pathname of the file that would have been loaded, had "M-x load"
> been given the same string.  You know, it would just emulate the search down
> load-path.

Yes. This function returns a list of the locations in load-path where
the file has been found. The file to be loaded is the first of the
list (car found-list).

(defun which-load-file (file &optional nosuffix)
  "Determines from where FILE is loaded.
Returned is a list of pathnames or nil if FILE can't be found in
load-path.  If optional second arg NOSUFFIX is non-nil, don't try
adding suffixes .elc or .el to the specified name FILE."
  (interactive "sFile: \nP")
  (let ((found-list nil)
	(files (list (concat file ".elc") (concat file ".el") file))
	(search-list load-path))
    (while search-list
      (let ((file-list files))
	(while file-list
	  (let ((actual-path (concat (car search-list)
				     (if (string-match "/$" (car search-list))
					 ""
				       "/")
				     (car file-list))))
	    (if (and (file-exists-p actual-path)
		     (not (file-directory-p actual-path)))
		(setq found-list (cons actual-path found-list))))
	  (setq file-list (cdr file-list))))
      (setq search-list (cdr search-list)))
    (setq found-list (reverse found-list))
    (if (interactive-p)
	(if found-list
	    (message "%s" found-list)
	  (message "%s not found" file))
      found-list)))
--
Juergen Nickelsen
Newsgroups: gnu.emacs.help
From: jv@mh.nl (Johan Vromans)
Subject: Emacs on Unisys i386 
X-Md4-Signature: be5b1656d789dbd1e2f797143d5bd367
Organization: Multihouse Automation, the Netherlands
Date: Thu, 10 Sep 1992 10:05:21 GMT

Hi,

I'm trying to get Emacs running on a Unisys intel-386 based system,
but I have not been very successful so far.
'uname -a' shows "durga durga 4.0 2 i386 386/AT".

Any help is appreciated.

Thanks!

	Johan
-- 
Johan Vromans				       jv@mh.nl via internet backbones
Multihouse Automatisering bv		       uucp:..!{uunet,sun4nl}!mh.nl!jv
Doesburgweg 7, 2803 PL Gouda, The Netherlands  phone/fax: +31 1820 62911/62500
------------------------ "Arms are made for hugging" -------------------------
Newsgroups: gnu.emacs.help,gnu.emacs.sources
From: maxim@head-cfa.harvard.edu (Maxim Markevitch)
Newsgroups: gnu.emacs.help
Subject: incremental search mode name?
Date: 15 Sep 92 05:49:34 GMT
Organization: Smithsonian Astrophysical Observatory, Cambridge, MA,  USA


Hi,

how should I refer the incremental search mode to in my .emacs file, if I'd
like to bind some keys in it? 

Thanks, Maxim

-- 

Maxim Markevitch            
maxim@head-cfa.harvard.edu
Newsgroups: gnu.emacs.help
From: ethanb@ptolemy.astro.washington.edu (Ethan Bradford)
Subject: Re: "unswapping" keys, retaining emacs intro banner, and other stuff
To: twpierce@unix.amherst.edu (Tim Pierce)
Organization: U. of Washington
Date: Tue, 8 Sep 1992 01:17:08 GMT

You could create a link (or alias) from gnuemacs to emacs (so they
execute the same code) and add code to lisp/default.el (or site.el)
which checks the name used to start emacs (it is the car of
command-line-args) and swaps the keys appropriately.
--
-- Ethan (ethanb@u.washington.edu)
Newsgroups: gnu.emacs.help
From: ratinox@splinter.coe.northeastern.edu (Richard Pieri/Stainless Steel Rat)
Subject: dired rmail
Followup-To: gnu.emacs
Reply-To: ratinox@meceng.coe.northeastern.edu
Organization: 3WA, Boston Office. Or Nu Meta Chi. Take your pick.
Date: Mon, 7 Sep 1992 19:23:05 GMT

A while back, someone asked about being able to run Rmail on a file in a
dired mode buffer. So I was hacking around and figured it couldn't be that
difficult to do, so...

(defun dired-rmail ()
  "Run Rmail on this file."
  (interactive)
  (rmail-input (dired-get-filename)))

It can be bound to "R" inside dired-mode hook with

(setq dired-mode-hook
      (local-set-key "R" 'dired-rmail))

--Rat

||||| | | | |  |  |  |   |   |    |    |    |   |   |  |  |  |  | | | | | |||||
                                                   __        ___ 
Richard Pieri, Northeastern's Stainless Steel Rat/   | /| / /   | The Worlds
Internet: ratinox@meceng.coe.northeastern.edu   /__  |/ |/ / /| | Welfare Works
    UUCP: ...!northeastern.edu!meceng!ratinox  /   | /| / / / | | Association:
  BITNET: UA_RLP@NUHUB{.BITNET}               /__  |/ |/ / /  | | I will solve
  USNail: 14 Westdale RD  Holbrook, MA 02343 /   | /| / / /___| | any problem
 ICBMnet: 42 deg 1 min N, 71 deg 0 min W    /    |/ |/ /_//_____| for you.
From: da@xor.cis.Brown.EDU (David Ascher)
Newsgroups: gnu.emacs.help
Subject: elisp for bibliographic mgmt?
Date: 12 Sep 92 19:24:56
Organization: Brown University
Reply-To: David_Ascher@Brown.EDU
NNTP-Posting-Host: xor.cis.brown.edu

Is there such a thing as an elisp full-screen bibliography management
tool?  Or non-elisp but full-screen tty?  I find addbib a bit too
harsh.

Please mail me a cc: of responses.  Thanks.

--david
Newsgroups: gnu.emacs.help
From: Hamish.Macdonald@x400gate.bnr.ca (Hamish Macdonald)
Subject: Re: Equivalents to vi's H, M, L Commands?
Organization: Bell Northern Research
Date: Thu, 10 Sep 92 13:55:45 GMT

>>>>> On Wed, 09 Sep 92 19:28:05 GMT,
>>>>> In message <1992Sep09.192805.12394@bmerh85.bnr.ca>,
>>>>> I wrote:

[some top-of-window, middle-of-window, and bottom-of-window functions
 which won't work in emacs 18.58 for one thing, and are buggy to boot]

It seems that the "window-end" I used is from Lucid Emacs 19, and not
available in emacs 18.

Here is a replacement which seems to work:

(defun window-end (&optional window)
  "Return position at which display currently ends in WINDOW."
  (save-excursion
    (goto-char (window-start window))
    (forward-line (- (window-height window) 2))
    (end-of-line)
    (point)))

Also, the middle-of-window function only works if the top of the
window is the beginning of the buffer :-)

Here is one which seems to work:

(defun middle-of-window()
    "Go to middle line of window"
    (interactive)
    (goto-char (+ (window-start) (/ (- (window-end) (window-start)) 2)))
    (beginning-of-line))

No warranty.
Newsgroups: gnu.emacs.help
From: wmperry@silver.ucs.indiana.edu (William M. Perry)
Subject: Re: Need help with TABith TABS & Is there a PASCAL Mode?
Organization: Computer Science Student, Indiana University
Distribution: usa
Date: Wed, 9 Sep 1992 18:25:37 GMT

[...]
>Sorry, can't help on the Pascal mode, but other posters have 
>suggested that the Modula-2 mode may help.

There are 2 pascal modes available (sorry, don't know the authors
right off the top of my head), but I do know they are available for
anonymous ftp from archive.cis.ohio-state.edu in
/pub/gnu/emacs/elisp-archive/as-is.  The two files are called
pascal.el.Z and pascal-mode.el.Z.  Both are very nice.  You can choose
which one to use depending on your needs.  If you don't have anonymous
ftp access, email as wmperry@ucs.indiana.edu, and I can mail them back
to you.

Hope this helps,
	Bill Perrry
--
William M. Perry          / 'When you know a thing, to hold that you know it;
wmperry@ucs.indiana.edu  / and when you do not know a thing, to allow that you
Phone: (812) 331 - 9062 / do not know it; this is knowlege.' - Confucius
From: jlewis@ogicse.cse.ogi.edu (Jeff Lewis)
Newsgroups: gnu.emacs.help
Subject: Evi (Emulate VI) mailing list (read this even if you're on the list)
Date: 11 Sep 92 16:12:09 GMT
Distribution: gnu
Organization: Oregon Graduate Institute

Well, actually, no-one's on the list anymore - I committed a no-excuse-for
stupidity and accidently irretrievably deleted the list.  So... all those who
were on the list, please send me e-mail so that I can reconstruct it.  Those
who aren't, and would like to be, are of course invited to mail me as well.

To those who don't know what I'm talking about (but got this far anyway!):
Evi is a vi emulator, IMHO better than vip4.3 (and certainly better than
the vip that comes with 18.58).  You can get a copy of it from an elisp
archive in the subdirectory `modes' in the file `evi.el.Z'.  Alternately,
you can send for the latest version by mailing to mail-server@brandx.rain.com
a message containing:
	send evi.el
	end

--Jeff
Newsgroups: gnu.emacs.help
From: schoen@ghost.dsi.unimi.it
Subject: REPOST: Mouse support for DEMACS??
Organization: Computer Science Dep. - Milan University
Date: Mon, 7 Sep 1992 11:01:51 GMT

Does anybody know if (and how) it is possible to use a mouse with Demacs
on a 386 PC? 
I was very happy in using a mouse with Freemacs on my old 8086; now,
with a 386 I enjoy Demacs, but I miss the mouse.
Any help???

-- 
+---------------------------------------------------------------------------+
| Fabio Schoen                                  e-mail:                     |
| Dipartimento di Scienze della Informazione    schoen@ghost.dsi.unimi.it   |
| via Comelico 39/41 - room    S235             schoen@imiucca.csi.unimi.it |
From: ssarkar@cis.rand.org
Newsgroups: gnu.emacs.help
Subject: elisp program for SAS programs
Keywords: SAS
Date: 11 Sep 92 00:03:18 GMT
Reply-To: ssarkar@cis.rand.org
Organization: RAND, Santa Monica CA

I am looking for an elisp program for SAS programs. Any pointers?
Newsgroups: gnu.emacs.help