HDTenEightyP/NetNews huggingface dataset:
From: kgallagh@digi.lonestar.org (Kevin Gallagher)
Newsgroups: comp.emacs
Subject: Re: demacs: ESC-Del binding?
Date: 12 Nov 92 06:12:07 GMT
Organization: DSC Communications Corp, Plano, TX

In article <RFINCH.92Oct31154530@venice.water.ca.gov> rfinch@water.ca.gov (Ralph Finch) writes:
>Has anybody bound the keys ESC-Delete?  I'd like to bind it
>to backward-kill-word, same as Unix.

It works straight out of the box, same as Unix.  I suspect your confusion
arises from two PC keys: Del, on the keypad and Delete, amoung the extended
keys.  Neither of these keys generates a DEL character.  So they are the wrong
keys to press to invoke backward-kill-word.

Many people don't realize this, but the PC keyboard bios will generate a DEL
character if you press the CTRL-BACKSPACE key combination.

In Demacs, it would be nicer if the BACKSPACE key generated a DEL character
instead of C-h, since the DEL character is bound to delete-backward-char or
some similar function in each major mode.  The bobcat.el file supplied with
Demacs tells emacs to swap the characters generated by the two keys:
BACKSPACE and CTRL-BACKSPACE.  If are using it, like most people, then you
will find that ESC-BACKSPACE generates the ESC-DEL character sequence, thereby
invoking backward-kill-word.
-- 
----------------------------------------------------------------------------
Kevin Gallagher        kgallagh@digi.lonestar.org OR ...!uunet!digi!kgallagh
DSC Communications Corporation   Addr: MS 152, 1000 Coit Rd, Plano, TX 75075
----------------------------------------------------------------------------
From: dneedham@oucsace.cs.ohiou.edu (Douglas Wade Needham)
Newsgroups: comp.emacs
Subject: Re: uemacs dump-variables function
Date: 6 Nov 92 18:46:19 GMT
Organization: Ohio University CS Dept,. Athens

In <1992Oct30.193319.18068@klaava.Helsinki.FI> vanhala@klaava.Helsinki.FI 
(Tomas Valter Vanhala) writes:

>Is there a bug in the uemacs dump-variables function. When I try to run
>it uemacs replies with [No such function]... I'm using 3.11c

Try using the command describe-variables.  It should pull up a window
containing the variables...

>/tomas

- douglas wade needham

-- 
Email:	dneedham@oucsace.cs.ohiou.edu  
USnail:	2330 South Clinton Street,  Fort Wayne,IN 46803
Phone:  (219)455-4004 (office) (219)456-1420 (home)
From: dsc3son@nmdsc10.med.navy.mil (Sean O'Neill)
Newsgroups: comp.emacs
Subject: Question:  perl-mode.el
Date: 6 Nov 92 15:22:37 GMT
Organization: Rapid Systems Solutions, Inc.

Does anyone know if there is a lisp program for Perl mode
(perl-mode.el)?  If so, where can I get it?

Thanks in advance !
--
----====----====----====----====----====----====----====----====----====----===
Sean O'Neill                               Where Imagination Is Building
Rapid Systems Solutions, Inc.               the Future ...
Columbia, MD
====----====----====----====----====----====----====----====----====----====---
Newsgroups: comp.emacs
From: johndew@watson.ibm.com (John Dewysocki)
Subject: Cut Buffer patch for emacs 18.57??
Date: Thu, 12 Nov 1992 16:56:08 GMT
Disclaimer: This posting represents the poster's views, not necessarily those of IBM
Organization: IBM T.J. Watson Research Center



Does anyone have the patch mentioned in the FAQ sheets:

  Andy Norman has been accused of producing a patch for Emacs 18.57 that     +
  allows it to use selections directly.                                      +


If you have it, could you send it to me please, or tell me where
I could get it??  Thanks,

I tried to use the following in my X resources, but it did not
work:

    XTerm*VT100.Translations: #override \                                    +
        ~Meta <Btn2Up>: insert-selection(CUT_BUFFER0,PRIMARY)                +

Or I'm not doing it correctly, or something.
-- 

-- 

     ~    John    ~ 
|///////////\\\\\\\\\\\|
Newsgroups: comp.emacs
From: warsaw@nlm.nih.gov (Barry A. Warsaw)
Subject: Re: c++ mode variant
Reply-To: warsaw@nlm.nih.gov (Barry A. Warsaw)
Organization: Century Computing, Inc.
Date: 09 Nov 92 17:46:00 GMT


[[That's what I get for posting late at night ;-) Just to clarify a
  few things.  -- baw]]

    me> I'm personally working on some patches in my (limited ;-)
    me> spare time.

I should have said that I've got patches for Lucid's 19.2 and am still
working on patches for FSF's 18.59.

    me> Advantage: you can use the save variables to format C and C++
I meant to say "same" -------------^^^^

-Barry
From: barryn@world.std.com (Barry N. Nelson)
Subject: Re: enhanced etags - does the beast exist ?
Organization: The World
Date: Fri, 13 Nov 1992 18:27:39 GMT

>>>>> On Thu, 12 Nov 1992 18:47:59 GMT, gjones@csi.compuserve.com (George M. Jones) said:

In article <GJONES.92Nov12134757@joey.csi.compuserve.com> gjones@csi.compuserve.com (George M. Jones) writes:

   George> In article <627@ariadna.FibHaifa.com> gon@FibHaifa.com (Gon Nivron) writes:

   George>     I am interested in something stronger than etags for producing a
   George>     better TAGS file for emacs editor:

I think you want the GNU Emacs etags program that is part of Tags++
Version 1.1

Extract from the man page follows:
     Etags makes a tags file for GNU Emacs Version 18, and  ctags
     makes a tags file for ex(1)/vi(1), from the specified source
     files.  A tags file gives the locations of  the  definitions
     of  named objects (functions, variables, macros, types) in a
     group of source files. 

 Etags: by default, files are searched for function, member function,
macro function, macro constant, and type definitions.

-- 
Barry N. Nelson             --------- __o       __o       __o       __o
barryn@world.std.com        ------- _`\<,_    _`\<,_    _`\<,_    _`\<,_
Drytek (508) 657-3933 X4317 ------ (*)/ (*)  (*)/ (*)  (*)/ (*)  (*)/ (*)
A Unit of General Signal    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: dct@odin.mda.uth.tmc.edu (David C. Tuttle)
Newsgroups: comp.emacs
Subject: Version 18.59 key bindings
Date: 12 Nov 1992 15:34:10 GMT

We have recently upgraded our emacs from 18.55 to 18.59 and also
defined HAVE_X_WINDOWS.  Now, 'emacs -nw' works fine inside the xterm
window, but 'emacs' with a separate X window pops up without any
working local key bindings.  The keypads on our NCD X terminals are
now simply numerical, and on the PCs running Hummingbird eXceed
emulation software the previously defined PageUp, PageDown, etc., have
stopped working.  This exceeds my feeble understanding of emacs and X.

If someone has a clue, I'd appreciate hearing from you by E-mail.
I'll also redistribute such wisdom to those who request it.  Thanks.
--
David C. Tuttle, Biomathematics | People in the computer industry use
UT M.D. Anderson Cancer Center  | the word "user", which to them means
Texas Medical Center, Houston   | "idiot".               -- Dave Barry
dct@odin.mda.uth.tmc.edu                 (For more info, use "finger")
From: mattias@abalon.se (Mattias Gyulai)
Newsgroups: comp.emacs
Subject: Re: saving the screen under "emacs -nw"
Date: 5 Nov 92 10:57:38 GMT
Followup-To: comp.emacs
Organization: Abalon AB, Stockholm, Sweden

> When I run GNU Emacs with the -nw flag (for "no window," I think --
> this flag causes Emacs to use my current window rather than creating
> an X window for itself), the current screen contents are always wiped
> out.  I've noticed that some implementations of vi manage to save the
> screen & replace it upon exit.  Is it possible to do this in Emacs?

What vi does on my sparc station with SUN/OS 4.1 when it
starts is sending the terminfo entry smcup to save the screen contents.  
rmcup restores the screen.  Easy to find out by running vi 
with TERM=xterm to an emacs buffer or file (tee can be used).

If you have the same capabilities of your xterm or whatever TERM
you are using just make a script as the one below to get the same 
effect as you have when running vi.  It works fine with TERM=xterm
for me.
	
#!/bin/sh
tput smcup
emacs -nw
tput rmcup

----------------------------------------------------------------------
     /\/\     /\/\                              Mattias Gyulai
    /\/\/\   /\/\/\                             mattias@abalon.se
   /\/\/\/\ /\/\/\/\                            Abalon AB
  /\/\  /\/\/\   /\/\                           08 - 80 23 20
 /\/\    /\/\     /\/\attias                   

  * the reader of this note exist only while reading this note *
----------------------------------------------------------------------
-- 
----------------------------------------------------------------------
     /\/\     /\/\                              Mattias Gyulai
    /\/\/\   /\/\/\                             mattias@abalon.se
   /\/\/\/\ /\/\/\/\                            Abalon AB
From: Charlie Rosenberg <crosenberg@igc.apc.org>
Newsgroups: comp.emacs
Date: 07 Nov 92 19:50 PST
Subject: Re: How to order Emacs manuals?
Nf-ID: #R:1992Oct29.163327.2664@mdcbbs.com:1156540454:cdp:1346900002:000:504
Nf-From: cdp.UUCP!crosenberg    Nov  7 19:50:00 1992


/* Written  5:33 pm  Nov  4, 1992 by jf41+@andrew.cmu.edu in igc:gnu.emacs.help */
/* ---------- "Looking for EMACS manual" ---------- */
kilman2y@loony (Yevgeny Kilman) writes:
> I would be most thankful to anyone who can tell me where from can I ftp
> the EMACS manual. I'm interested in all posible formats.

Compressed Postscript versions of all GNU manuals are archived on
cs.ubc.ca in the anonymous FTP directory /pub/archive/gnu/manuals_ps.

-- Jon Ferro               Einsprachigkeit ist heilbar

Newsgroups: comp.emacs
From: bob@MorningStar.Com (Bob Sutterfield)
Subject: Re: "rnews" with threading?
Reply-To: bob@MorningStar.Com (Bob Sutterfield)
Organization: Morning Star Technologies
Date: Mon, 9 Nov 1992 01:52:16 GMT

Don't bother with rnews.  Get
archive.cis.ohio-state.edu:pub/gnu/emacs/elisp-archive/packages/gnus-3.14.1.tar.Z
instead.  It has fairly useful threading capabilities.
From: rob@icarus.ssd.loral.com (Rob Riepel)
Newsgroups: comp.emacs
Subject: Need help reading key sequence in Lucid emacs
Date: 12 Nov 92 22:56:39 GMT
Organization: Space Systems/Loral


    I have an elisp program that I want to modify to work on with both gnu
    emacs on a normal VT-series terminal and Lucid emacs.  In one part of
    the program I check read a key sequence and check for a specific VT100
    sequence.  Here's the abbreviated code.

    (if (equal (read-key-sequence "Go for it?") "\eOM") (go-for-it))

    Of course, the key sequence in never equal to "\eOM" in lucid emacs.

    What I'm looking for is code that will accomplish the same thing on both
    versions of emacs without oodles of (if Lucid)'s.  Something like:

    ;;  The following line may be invoked in a customization file.
    (setq string (if Lucid kp_enter "\eOM")

    ;;  This main code is ignorant of the Lucid/emacs conflicts!
    (if (equal (read-key-sequence "Go for it?") string) (go-for-it)) 

    Any suggestions are welcome.  E-mail please to rob@icarus.ssd.loral.com.

    ..rob
From: kgallagh@digi.lonestar.org (Kevin Gallagher)
Newsgroups: comp.emacs
Subject: Re: DEMACS setup
Date: 12 Nov 92 23:17:42 GMT
Distribution: comp
Organization: DSC Communications Corp, Plano, TX

In article <OSHINS.92Nov11233316@wolf.cs.washington.edu> oshins@wolf.cs.washington.edu (Jake Oshins) writes:
>
>  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?

I am sure you are convinced that you set the TERM environment variable to
'ibmpc', but I am more inclined to believe that Demacs is correct.  Since you
did not supply a copy of the batch file in which you set the variable, it is
not possible to judge if you used the correct syntax.  The line should look
like this:

        SET TERM=ibmpc

Notice that there are NO spaces on either side of the equal sign and there are
NO quote marks around 'ibmpc'.

Are you sure the SET command succeeded?  Perhaps you ran out of
environment space and the set command failed.

-- 
----------------------------------------------------------------------------
Kevin Gallagher        kgallagh@digi.lonestar.org OR ...!uunet!digi!kgallagh
DSC Communications Corporation   Addr: MS 152, 1000 Coit Rd, Plano, TX 75075
----------------------------------------------------------------------------
Newsgroups: comp.emacs
From: gjones@csi.compuserve.com (George M. Jones)
Subject: Re: enhanced etags - does the beast exist ?
Reply-To: gjones@csi.CompuServe.com
Organization: CompuServe, Inc.
Date: Thu, 12 Nov 1992 18:47:59 GMT

In article <627@ariadna.FibHaifa.com> gon@FibHaifa.com (Gon Nivron) writes:

    I am interested in something stronger than etags for producing a
    better TAGS file for emacs editor:
    .
    .
    .
    If you know of any such program please let me know (send it directly to me
    since I am not a regular reader of this news conference.

Or mail and post because I'm interested in the answers too, and I do
read this group (well, semi-regularly at least).

---George
--
CompuServe, Inc., 5000 Arlington Centre Blvd, Columbus, Ohio, 43220, USA
Email: gjones@csi.compuserve.com
spreadsheet (v.): process by which charlatans turn untenable assumptions into
preposterous conclusions.
Newsgroups: comp.emacs
From: elias@fitz.TC.Cornell.EDU (Doug Elias)
Subject: Error reads "nesting exceeds max-lisp-eval-depth"
Organization: Software and Consulting Support Group, Cornell Theory Center,
	C.U.
Distribution: comp
Date: Thu, 5 Nov 1992 13:43:30 GMT

Heya...

i've lately been plagued with the following situation: i'm trucking
right along in an emacs-buffer (editing, shell, gnus, etc.), and
suddenly, when i try to do C-p or C-n, i get a beep and the minibuffer
reads something like "nesting exceeds max-lisp-eval-depth"...nothing i
do can clear this up, i can't re-assign a larger value to the variable, 
all i can do at this point to get things working again is to kill the
current emacs, and start a fresh one...

Whatinhell's going on?  i've tried turning on "debug-on-error", and
can't get anything intelligible from the result (also can't stick the
output into a register and then dump it into a file to be saved...none
of those C- keys work either, same error).

i have to admit, none of this ever happened before i added explicit
loads of "x-sb-mouse", the expanded "dired", and "ange-ftp" into my
.emacs...

Puzzled (and slightly frustrated),
doug
--
#  ____    |Internet:   elias@tc.cornell.edu
#dr _|_)oug|USmail:     Sci.Comp.Support/Cornell Theory Center
#  (_|     |            737 TheoryCtrBldg/C.U./Ithaca/N.Y./14853-3801
#  (_|__   |MaBelle:    607-254-8686   Fax: 607-254-8888
From: rfinch@water.ca.gov (Ralph Finch)
Newsgroups: comp.emacs
Subject: demacs: tags table fix
Date: 6 Nov 92 05:10:57 GMT
Organization: Calif. Dept. of Water Resources

Anybody else have problems with tag files with demacs?  The supplied
detags works fine, but there was a problem in tags.el...replacement
below for tag-table-files seems to fix it.

(defun tag-table-files ()
  "Return a list of files in the current tag table.
File names returned are absolute."
  (save-excursion
   (visit-tags-table-buffer)
   (or tag-table-files
       (let (files)
	(goto-char (point-min))
	(while (re-search-forward "\n\\([^,]+\\),[0-9]+$" nil t)
	  (setq files (cons (expand-file-name
			     (buffer-substring (match-beginning 1) (match-end 1))
			     (file-name-directory tags-file-name))
			    files))
	  (goto-char (match-end 0))
	  )
	(setq tag-table-files (nreverse files))))))
 
--
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
Newsgroups: comp.emacs
From: jabram@pdx025 (Jeff Abramson)
Subject: Re: anyone got a way to cycle through buffers with a keystroke?
Organization: Intel Corp., Hillsboro, Oregon
Distribution: usa
Date: Fri, 6 Nov 1992 16:20:55 GMT

I've seen some good options on how to do this, but I wrote my own
functions to work with a specific list of buffers, not the entire buffer list.

Below is a list definition, and four subroutines:  The first loads all the
named files into buffers.  The second saves them with a single keystroke.
The third and fourth cycle through the list.  

This is really the first set of emacs functions I have written, and they seem
to be working out well for me.  So there is probably a better way to do it,
but isn't that always the case...


(defvar foo-buffer-list
  (list
    "foo.hdl"
    "fooa.hdl"
    "foob.hdl"
    "fooc.hdl"
    "food.hdl"
    "fooe.hdl"
    "foof.hdl"))

;; saves all files in foo-buffer-list
;;
(global-set-key "\C-x\C-m" 'save-all-foo-hdl-file)
(defun save-all-foo-hdl-file ()
  (interactive)
  (dotimes (i (length foo-buffer-list))
    (set-buffer (nth i foo-buffer-list))
    (save-buffer)))

;; loads all files in foo-buffer-list
;;
(defun load-all-foo-hdl-files ()
  (interactive)
    (dotimes (i (length foo-buffer-list))
      (find-file (nth i foo-buffer-list))))


;; These two defuns allow me to move around in the foo-buffer-list easily.
;;
;; Bound to M-p and M-n.
;;
(global-set-key "" 'foo-prev-buffer)
(global-set-key "" 'foo-next-buffer)

(defun foo-next-buffer ()
  "Switch to next buffer in foo list.  Basically, split
   the list at that buffer, and move the sublist from that
   buffer to the end of the list, to the beginning

   (foo-next-buffer) does:
      (a b c d e)  --> (b c d e a)"

  (interactive)
  (setq foo-buffer-list
         (append (cdr foo-buffer-list)
                 (list (car foo-buffer-list))))
  (switch-to-buffer (car foo-buffer-list)))

(defun foo-prev-buffer ()
  "Switch to next buffer in foo list.  Basically, split
   the list at that buffer, and move the sublist from that
   buffer to the end of the list, to the beginning

   (foo-next-buffer) does:
      (a b c d e)  --> (e a b c d)"

  (interactive)
  (let ((last (nth (- (length foo-buffer-list) 1) foo-buffer-list))
        (rest (delq (nth (- (length foo-buffer-list) 1) foo-buffer-list) foo-buffer-list)))

       (setq foo-buffer-list
              (append (list last) rest)))
  (switch-to-buffer (car foo-buffer-list)))


--Jeff Abramson
  Microprocessor Division 6
  Intel Corporation, Hillsboro OR                       (503) 696-4784
-- 
  Jeff Abramson
  Microprocessor Division 6
  Intel Corporation, Hillsboro OR                       (503) 696-4784
Newsgroups: comp.emacs
From: gerdh@ims.com (Gerd Hoeren)
Subject: ELISP help needed
Keywords: find-file-hooks write-file-hooks
Organization: Integrated Measurement Systems, Inc.
Date: Tue, 10 Nov 1992 21:36:38 GMT

I'd like to connect an elisp function to the find-file-hooks and
write-file-hooks.  I seem to be missing something in my elisp syntax
though.

Suppose my function is just:

      (defun xyzzy ()
        (message "hello"))

And I do an:

      (setq find-file-hooks 'xyzzy)

Then, the next find-file will complain about:

      Wrong type argument: sequencep, xyzzy

If I do the same with the write-file-hooks, I get:

      Wrong type argument: listp, xyzzy

I've tried a number of variations on this syntax, but I'm not winning.
Thanks in advance for the help!

--------------------------------------
Gerd Hoeren
  Integrated Measurement Systems, Inc.
  Voice: (503) 626-7117
  Fax:   (503) 644-6969
  Email: gerdh@ims.com
--------------------------------------
Newsgroups: comp.emacs
From: scott@comp1.cc.wm.edu
Subject: uEMACS Source Code
Organization: College of William & Mary, founded 1693
Date: Fri, 13 Nov 1992 21:39:38 GMT

I saw on this list that MicroEMACS is available from midas.mgmt.purdue.edu.
When I tried to FTP there using anonymous, I got access denied.
What gives?


Scott

scott@comp1.cc.wm.edu
From: Charlie Rosenberg <crosenberg@igc.apc.org>
Newsgroups: comp.emacs
Date: 12 Nov 92 12:17 PST
Subject: Where to find MicroEMACS
Nf-ID: #N:cdp:1346900006:000:2090
Nf-From: cdp.UUCP!crosenberg    Nov 12 12:17:00 1992


From: Charlie Rosenberg <crosenberg>
Subject: Where to find MicroEMACS

From mdbs!dan@dynamo.ecn.purdue.edu Thu Nov 12 07:46:29 1992
Received: from dynamo.ecn.purdue.edu by igc.apc.org (4.1/Revision: 1.39 )
	id AA03010; Thu, 12 Nov 92 07:46:26 PST
Received: from mdbs.UUCP by dynamo.ecn.purdue.edu (5.65/1.32jrs)
	id AA00304; Thu, 12 Nov 92 10:45:31 -0500
Received: by mdbs2 (4.1/SMI-4.1)
	id AA11646; Thu, 12 Nov 92 10:29:16 EST
Date: Thu, 12 Nov 92 10:29:16 EST
From: mdbs!dan@dynamo.ecn.purdue.edu (Daniel Lawrence)
Message-Id: <9211121529.AA11646@mdbs2>
To: mdbs!dan@ee.ecn.purdue.edu, pur-ee!igc.apc.org!crosenberg
Subject: Re:  uemacs availability
Status: R

The package for uEMACS on my BBS is in .zip format as well.
					dan
Thank you for your inquiry,

MicroEMACS is available from a number of different sources. Via FTP on
ARPAnet, it can be obtained from midas.mgmt.purdue.edu (128.210.13.1)
via anonymous FTP. That version is always the latest full release (in
this case version 3.11) in compressed TAR format.

Also you can call my BBS system, The Programmer's Room, at (317)
742-5533 to receive the very latest interim release (version 3.11c at
this time). This version is not always guarenteed to be completely bug
free, but it will always be the latest. The latest full release is also
available from this BBS.

Lastly, the below listed releases are available by sending a check for
$25 for each product you which to recieve and specify the disk format
you can read. You will recieve the proper disks with sources,
executables and printable documentation. Also we will keep you informed
of new major releases and products. The address is:

	Daniel Lawrence
	617 New York St
	Lafayette, IN 47901

Current Products:

	MicroEMACS 3.11
	MicroSPELL 2.0

Projections on upcoming products include:

	MicroEMACS 3.12			Sep 92
	MicroSPELL 2.1			Sep 92

If you have any more questions, feel free to send other queries to:

			Daniel Lawrence		(317) 742-5153
			UUCP:	{ihnp4!pur-ee!}mdbs!dan
			ARPA:	mdbs!dan@ee.ecn.purdue.edu
			FIDO:	1:201/10 The Programmer's Room (317) 742-5533


Newsgroups: comp.emacs
From: WOODWAMM@ctrvx1.Vanderbilt.Edu (WOODWAMM)
Subject: Don't beat up the new kid
Organization: Vanderbilt University
Date: Thu, 12 Nov 1992 13:04:03 GMT

I'm neither a programmer, nor a unix maven, but have an interest in Emacs
just the same. (perhaps I should just kill myself now?) Anyway, I have
downloaded Freemacs, and wonder if anyone could suggest a good way to learn
to use them.

I have been following some emac discussions, and the fans beyond loyal, and
I'd love to find out why. If you've any suggestions (good books, or a set of
exersizes/location of FAQ etc) please don't hesitate....thanks
Mark Woodward
-WOODWAMM@CTRVAX.VANDERBILT.EDU

Newsgroups: comp.emacs
From: rbv@cypress.com
Subject: ELISP help needed
Organization: Cypress Semiconductor, San Jose, CA, USA
Date: Wed, 11 Nov 1992 17:13:18 GMT

gerdh@ims.com (Gerd Hoeren) writes:

	I'd like to connect an elisp function to the find-file-hooks and
	write-file-hooks.  I seem to be missing something in my elisp syntax
	though.

	Suppose my function is just:

	      (defun xyzzy ()
		(message "hello"))

	And I do an:

	      (setq find-file-hooks 'xyzzy)

Assuming you have function and variable documentation installed, try this:

<BACKSPACE>v find-file-hook <RETURN>

You will see:

      find-file-hooks's value is nil

      Documentation:
      List of functions to be called after a buffer is loaded from a file.
      ^^^^
      The buffer's local variables (if any) will have been processed before the
      functions are called.

so, you try

	(setq find-file-hooks '(xyzzy))

-- Roger
From: david@hccw.com (David Robison)
Newsgroups: comp.emacs
Subject: Emacs for SCO Unix ODT 1.1.1
Date: 11 Nov 92 07:25:15 PST
Organization: Health Care Computer Works, Las Vegas, Nevada

Does anyone know where I can get a hold of emacs for SCO Unix Open
Desktop 1.1.1?
-- 
David R. Robison            
Senior Systems Programmer                      Voice: (702) 364-8633
Health Care Computer Works                       FAX: (702) 364-0776
Las Vegas, NV                               Internet: david@hccw.com
Xref: sparky comp.emacs:3467 gnu.emacs.help:4699