HDTenEightyP/NetNews huggingface dataset:
Cedric Beust writes:
 > 	I switched from rmail to vm recently and everything is
 > 	working fine but I have several problems I can't solve :
 > 
 > *	I don't control the headers at all! Current values are
 > 
 > vm-visible-headers's value is ("From:" "Subject:")

Colons are not part of the header name.  Remove the colons and
the header hiding code will find the specified headers.

 > *	How come vm doesn't auto-fill the quoted text it yanks?
 > 	If I use Supercite, lines are cleanly broken if the
 > 	inclusion of the prefix causes the line to exceed the
 > 	column number, but if I deactivate Supercite, it doesn't
 > 	any more and the result is rather ugly...

VM doesn't have fancy citing facilities precisely because
SUPERCITE (nee superyank) already existed when it was written.
SUPERCITE interfaces seemlessly with VM thanks to Barry Warsaw,
Martin Nietzel (sp?) and I (and someone else I can't remember)
getting together a couple of years ago and beating out a
sensible, standard interface.  So just use SUPERCITE.  Or if you
just want proper filling of included text, gin-mode.el or
filladapt.el should work OK for you.

 > *	There doesn't seem to be a hook to call a highlighting
 > 	package when browsing through messages. I have to call
 > 	the re-highlighting manually (\C-c\C-h) after each 'n'.
 > 	Is there a hook-ish way to solve this?

You'll have to ask Jamie Z. about this.  I don't use Lucid Emacs
yet, although I might try it soon, since I'm going to have to
bring up X on my PC at home, lacking any other UNIX based window
system. :-/
From: beust@modja.inria.fr (Cedric Beust)
Newsgroups: gnu.emacs.vm.info
Subject: Can't control my headers!
Date: 9 Oct 92 17:07:37 GMT
Organization: University of Nice Sophia-Antipolis, France


	I switched from rmail to vm recently and everything is
	working fine but I have several problems I can't solve :

*	I don't control the headers at all! Current values are

vm-visible-headers's value is ("From:" "Subject:")
vm-invisible-header-regexp's value is nil
vm-highlighted-header-regexp's value is nil

	and even though, lots of headers clobber my window. Any hint?


*	How come vm doesn't auto-fill the quoted text it yanks?
	If I use Supercite, lines are cleanly broken if the
	inclusion of the prefix causes the line to exceed the
	column number, but if I deactivate Supercite, it doesn't
	any more and the result is rather ugly...


*	There doesn't seem to be a hook to call a highlighting
	package when browsing through messages. I have to call
	the re-highlighting manually (\C-c\C-h) after each 'n'.
	Is there a hook-ish way to solve this?



	Thanks for any help!

For information : vm 5.32, Lucid emacs 19.2

Cedric
Newsgroups: gnu.emacs.vm.info
From: jain@telerobotics.jpl.nasa.gov (Abhinandan Jain)
Subject: Trouble getting started (retrieving new mail)
Organization: Jet Propulsion Laboratory
Date: Fri, 9 Oct 1992 21:24:04 GMT


I am using VM 5.32.L with Lucid emacs 19.3 and Sun Sparc, SunOS 4.1.2.

I am trying to get started using VM. However I am having trouble
retrieving new mail. I would appreciate it if somebody could help me
figure out what is going wrong.

When I use the "g" command, it comes back with messages saying that it
is getting new mail from /usr/spool/mail/jain and writing to
/home/jain/Folders/INBOX, but ends up with a "No new mail" message even
when there is new mail.

However when I explicitly specify the spool file as /usr/spool/mail/jain
by passing an argument to "g", the new mail is retrieved. However, the
new mail remains in /usr/spool/mail/jain and is not expunged from there,
so that the next time I retrieve new mail in this manner, I get back the
previous set of mail messages in addition to the new mail messages.

These are the vm settings in the .emacs file:

(setq mail-archive-file-name "~/Folders/outmail")
(defconst vm-inhibit-startup-message t)
(defconst vm-primary-inbox "/home/jain/Folders/INBOX")
(defconst vm-mutable-windows t)
(defconst vm-pop-up-windows t)
(defconst vm-startup-with-summary 'split)
(defconst vm-confirm-new-folders t)
(defconst vm-mail-window-percentage 70)
(defconst vm-included-text-prefix "|> ")
(defconst vm-preview-lines nil)
(setq vm-reply-subject-prefix "Re: ")
(setq vm-reply-ignored-addresses (list "jain"))
(setq vm-follow-summary-cursor t)
(setq vm-folder-directory "/home/jain/Folders/")
(setq vm-delete-after-saving t)

(setq mail-mode-hook '(lambda ()
                        (require 'mail-yank)
                        (local-set-key "\eq" 'fill-quoted-paragraph)))

Thanks for your help.

abhi jain
x-gateway: rodan.UU.NET from info-vm to gnu.emacs.vm.info; Fri, 9 Oct 1992 23:52:05 EDT
Date: Fri, 9 Oct 1992 15:46:31 PDT
X-Windows: graphics hacking :: roman numerals : sqrt(pi)
From: jwz@lucid.com (Jamie Zawinski)
Subject: Re: Can't control my headers!
Newsgroups: gnu.emacs.vm.info
In message <31312@sophia.inria.fr> Cedric Beust wrote:
>
> *	There doesn't seem to be a hook to call a highlighting
> 	package when browsing through messages. I have to call
> 	the re-highlighting manually (\C-c\C-h) after each 'n'.
> 	Is there a hook-ish way to solve this?
> 
> For information : vm 5.32, Lucid emacs 19.2

The version of VM 5.32 distributed with Lucid Emacs 19.3 contains the variables
vm-show-message-hook, vm-preview-message-hook, vm-show-new-message-hook, and
vm-show-unread-message-hook.  I think I've convinced Kyle to include some
version of these hooks in a future official release of VM (right Kyle?)

	-- Jamie
From: felix@laas.fr (Francois Felix INGRAND)
Newsgroups: gnu.emacs.vm.info
Subject: How to prevent autosaving and backup of my vm mail file?
Date: 8 Oct 92 08:09:34 GMT
Distribution: gnu
Organization: LAAS-CNRS France


How to prevent autosaving and backup of my vm mail file? is there a per buffer
variable for this purpose?

Please, reply by e-mail as our news server is always behind,
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Francois Felix INGRAND                   "Read my Lisp... No new syntax" (nil)
LAAS/CNRS: felix@laas.fr      "La guerre, qu'on voit danser le long des golfes
ACS Technologies                     clairs, a des reflets d'argent" (Anonyme)
From: beust@modja.inria.fr (Cedric Beust)
Newsgroups: gnu.emacs.vm.info
Subject: Re: How to save all incoming messages in VM?
Date: 16 Oct 92 08:35:13 GMT
Organization: University of Nice Sophia-Antipolis, France

In article <1992Oct14.051524.15600@csis.dit.csiro.au>,
stuarth@argo.csis.dit.csiro.au (Stuart Hungerford) writes:
>
>Is it possible to automatically save a copy of every message I receive into a
>nominated file, *as well as* have the messages treated "normally" by VM?

	Personally, I do that trough slocal and the .maildelivery file.
	They're part of the mh distribution but slocal is a standalone
	program, so you don't need to learn mh to use it. You put it in
	your .forward and then it consults your .maildelivery to know
	how to deliver the mail (basically, you specify the header to be
	searched, a regexp and the action to execute if the incoming mail
	matches these specifications).

	Drop me a mail if you're interested since it might not interest
	all the VM users on this list.


--
Cedric BEUST, beust@sa.inria.fr, Bull Research Koala proj, KoalaBus & xforum
Pho:(33) 93.65.78.07(.66 Fax), INRIA, B.P.93 - 06902 Sophia Antipolis, FRANCE.
Organization: Carnegie Mellon, Pittsburgh, PA
Newsgroups: gnu.emacs.help
Date: Wed,  7 Oct 92 20:42:31 -0400 
From: Erik.Altmann@cs.cmu.edu
Subject: Keystroke logging?



I need to instrument emacs to log keystrokes (for a psychology 
experiment).  Anyone have such code, or relevant comments?

Thanks,

Erik.

(altmann@cmu.edu)
Newsgroups: gnu.emacs.help
From: dbarker@spang.Camosun.BC.CA (Deryk Barker)
Subject: Using GNU Emacs from rn
Organization: Camosun College, Victoria B.C, Canada
Date: Wed, 14 Oct 1992 15:40:11 GMT

This may not be the right place to ask but:

I am using rn as a news reader on a 486/50 running Esix SysV.4 and GNU
Emacs 18.57.2. Now my porblem is the following, when I invoke Emacs
from rn in order to post something, if I should do a quite (^G) then I
get a .SIGSRV (think that's the one) caught, core gets dumped and I
have to login again... Using Emacs from the shell, or from the Elm
mail reader doesn't give me this problem, so I guess it's with rn.
Does anyone have any idea how I can get around this?

Deryk Barker, Computer Science Dept., Camosun College, Victoria B.C.

Newsgroups: gnu.emacs.help
From: eeide%asylum.cs.utah.edu@cs.utah.edu (Eric Eide)
Subject: Looking for "loadst" for IRIX 4.0.1
Organization: University of Utah Department of Computer Science
Distribution: gnu
Date: 15 Oct 92 16:55:14

The subject says it all: I'm looking for an updated version of the old
"etc/loadst" program that used to come with GNU Emacs.  My version (from
18.55?) doesn't compile on IRIX 4.0.1, and will obviously have problems on
other new operating systems as well (e.g., SunOS 5.0).

Any pointers much appreciated.  And here's another vote for putting "loadst"
back into the GNU Emacs distribution.

Eric.

--
-------------------------------------------------------------------------------
Eric Eide          |          University of Utah Department of Computer Science
eeide@cs.utah.edu  | Buddhist to hot dog vendor: "Make me one with everything."
From: barmar@think.com (Barry Margolin)
Newsgroups: gnu.emacs.help
Subject: Re: search-string
Date: 7 Oct 1992 20:09:29 GMT
Organization: Thinking Machines Corporation, Cambridge MA, USA
NNTP-Posting-Host: telecaster.think.com

In article <BvpxwF.9op.1@cs.cmu.edu> bwolen+@CS.CMU.EDU (Po-Jen Yang) writes:
>I have two questions:

I recommend posting unrelated questions in separate messages.  That way,
people who are interested in just one of the questions don't have to waste
time reading responses to the other one.

>	 2) If I would to do
>	          (re-search-forward "ab[c]*")
>	    How do I obtained the matched string itself?

From the last line of "C-h d re-search-forward": "See also the functions
match-beginning and match-end and replace-match."  So, the matched string
can be found with:

(and (re-search-forward ...)
     (buffer-substring (match-beginning 0) (match-end 0)))

Someone else posted a solution that used re-search-backward.  Besides being
unnecesary and more complicated, it's unreliable, because a backward
regular expression search will not always find the beginning of the entire
match.  For instance, if the buffer contains

aaaaaaaaaabbbbbbbbbbcccccccccc

(re-search-forward "b+") from the beginning will match the entire string of
b's, leaving point at the end of them.  However, (re-search-backward "b+")
from the end of the b's will only go back one character.  This is because
re-search-backward simply goes backward until it is positioned at a match
for the regular expression, it doesn't actually process the regular
expression in reverse.

-- 
Barry Margolin
System Manager, Thinking Machines Corp.

barmar@think.com          {uunet,harvard}!think!barmar
Xref: sparky gnu.emacs.help:4426 comp.emacs:3297
From: abraham@iesd.auc.dk (Per Abrahamsen)
Newsgroups: gnu.emacs.help,comp.emacs
Subject: Re: outline mode in Emacs
Date: 10 Oct 92 22:12:15 GMT
Organization: Mathematics and Computer Science, Aalborg University


>>>>> On 9 Oct 92 08:35:55 GMT, paj@uk.co.gec-mrc (Paul Johnson) said:

Paul> I recall seeing an outline minor mode.  I would imagine that you could
Paul> tie this into the \subsection{} syntax used by LaTex.

Get /pub/emacs-lisp/outline.shar from iesd.auc.dk, it contains
outline-minor-mode, or even better, get /pub/emacs-lisp/auctex.tar.Z
which contains both the above outline-minor-mode, and a LaTeX mode
custmized to use it.
From: hermit@cats.UCSC.EDU (William R. Ward)
Newsgroups: gnu.emacs.help
Subject: MAN mode?
Date: 16 Oct 92 13:36:27
Organization: Computing and Telecommunications Services, UCSC
Distribution: world
NNTP-Posting-Host: am.ucsc.edu

I'd like to know if there's an Emacs Lisp package floating around the
net that provides an Emacs interface to the Unix online manual pages.
Something where I could type M-x man RET and it prompts me for the
command to look up, then displays it in a new window, with Info-like
navigation (SPACE to scroll forward, DEL to go back).

It would also be nice if it somehow parsed the SEE ALSO entries at the
end of the manual pages so that you can automatically follow the
"link" provided there.
--
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: konkar@bimini.stanford.edu (Ranjit Konkar)
Subject: saving keymaps interactively
Reply-To: Ranjit Konkar <konkar@sunrise.stanford.edu>
Organization: DSG, Stanford University
Distribution: gnu
Date: 14 Oct 92 17:51:22

Is there any way to interactively save key bindings like one can save
abbrevs in the current session? Or is the only way to edit the elisp
code manually?

Ranjit
Newsgroups: gnu.emacs.help
From: saswfk@thurstne.unx.sas.com (Warren F. Kuhfeld)
Subject: Re: mail/search-string
Originator: saswfk@thurstne.unx.sas.com
Date: Wed, 7 Oct 1992 12:58:16 GMT
Organization: SAS Institute Inc. Cary NC


|> 	 1) for "mail-yank-original", is there a way to
|> 	    have "> " inserted before each line of
|> 	    the original mail?

(defun mymail-yank-original ()
  "Insert the message being replied to."
  (interactive)
  (if mail-reply-buffer 
      (progn
        (insert-buffer mail-reply-buffer)
        (replace-regexp "^" ">  " nil))))

|> 	 2) If I would to do
|> 	          (re-search-forward "ab[c]*")
|> 	    How do I obtained the matched string itself?
|> 	    "re-search-forward" only returns "t" or "nil".
|> 

(defun get-str (arg)
  "Search for reg exp ARG.  Return ARG."
  (interactive "sEnter reg exp: ")
  (re-search-forward arg)
  (let ((hold-point (point)) string)
    (re-search-backward arg)
    (setq string (buffer-substring (point) hold-point))
    (goto-char hold-point)
    string))

                 






                   
-- 
----------------------------------------------------------------------
Warren F. Kuhfeld          Statistical R & D      (919) 677-8000 x7922
saswfk@unx.sas.com         SAS Institute Inc.     (919) 677-8123 (Fax)
                           Cary, NC 27513-2414



Newsgroups: gnu.emacs.help,vmsnet.misc
From: rbp@netcom.com (Bob Pasker)
Subject: Re: start emacs w/input & output files
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Date: Mon, 12 Oct 1992 20:29:03 GMT

withthe help of some others, i have found a solution.  send 
e-mail if interested.


-- 
--- bob pasker
---- rbp@netcom.com
Newsgroups: gnu.emacs.help
From: cstorm@daimi.aau.dk (Christian N|rgaard Storm Pedersen)
Subject: Pascal-mode ?
Organization: DAIMI: Computer Science Department, Aarhus University, Denmark
Date: Thu, 8 Oct 92 10:47:19 GMT

Does there exist a 'Pascal-mode' for emacs ? if yes where can I find it.

/Christian Storm (email: cstorm@daimi.aau.dk)
From: bill@kepler.ucsd.edu (Bill Reynolds)
Newsgroups: gnu.emacs.help
Subject: Re: Graphics output on graphics terminals?
Date: 9 Oct 92 13:55:05
Organization: Institute for Nonlinear Science, UCSD
NNTP-Posting-Host: kepler.ucsd.edu
In-reply-to: kubipdal@uts.uni-c.dk's message of 9 Oct 92 19:20:55 GMT

>>>>> On 9 Oct 92 19:20:55 GMT, kubipdal@uts.uni-c.dk (Peter Dalg}rd) said:

Peter> Scenario: Running emacs on a graphics terminal (in text mode).
Peter> Got program to do hi-res plotting. Run as process under emacs
Peter> (for command-line editing,etc.) Graphics abilities gone.

Peter> Isn't there a way to tell emacs to keep its steenkin' hands off
Peter> of my command output for a while and the restore the screen
Peter> afterwards?

I get around this by redirecting the output of the graphics program
directly to the tty that emacs is running on. Note that this is not
the same one that your shell buffer is using. 

In my .login, I have the following

setenv TTY `tty`	# sets TTY to the name of the master tty of
			# this shell

And then when I want to run a graphics program, (in my case, tektronix
output), I use the following script

#!/bin/bash

# Go to Tek mode, send everything directly to the tty
(echo -e "\33[?38h"

# Display the data
/usr/local/bin/graph -r 0.23 -g 2 "$@" | /usr/local/bin/plot2tek 

# Wait for some input
read jnk
unset jnk

# Back to text mode for both xterm and kermit
echo -e "\33[?38l"
echo -e "\33\003")  > $TTY

# Tell emacs to clean up the screen.
/usr/local/emacs/etc/gnudoit -q '(redraw-display)' &


The stuff in brackets first puts my terminal (MSKermit/xterm) into
Tektronix mode, then sends all the graphics output directly to my tty,
avoiding emacs. It then waits for a keypress, and finally returns me
to text mode. 

All this stuff has now messed up the screen, since you've fiddled with
it without emacs' knowledge or permission. A C-l will fix the problem,
and this is what the gnudoit command does automatically. (gnudoit is
part of the gnuserv package by Andy Norman - it allows you to send
emacs lisp commands, from the shell, to a running emacs. Highly
recommended).


--
_______________________________________________________________________
Bill Reynolds        |  
bill@kepler.ucsd.edu |	
Xref: sparky gnu.emacs.help:4420 vmsnet.misc:908
From: rbp@netcom.com (Bob Pasker)
Newsgroups: gnu.emacs.help,vmsnet.misc
Subject: start emacs w/input & output files
Date: 9 Oct 92 21:24:42 GMT
Organization: Netcom - Online Communication Services  (408 241-9760 guest)

(note crossposting)

my (VMS) mailer has the capability to invoke user-supplied editors to
prepare messages. it prepares the message in a file and expects the
spawned editor to read that file as input and produce another file
with the text to be sent.  it then relies on the output file's
existence to determine if the user aborted the message, and, hence,
abort the sending of the message.

i have not been able to find the requisite incantation for starting
gnuemecs which will accomplish this.

suggestions/pointers?
-- 
--- bob pasker
---- rbp@netcom.com
From: grater@ra.me.wisc.edu (Juergen Graeter)
Newsgroups: gnu.emacs.help
Subject: auc-tex, problem with TeX-region
Date: 15 Oct 92 15:26:50 GMT
Organization: /usr/users/grater/.organization


i just installed auc-tex 6.1 on our decstation 5000/240 running
ultrix 4.2a. 

TeX-region gives the following output:
---------------------------------------------------------------------
This is TeX, C Version 3.0
(_a13083.tex
LaTeX Version 2.09 <7 Dec 1989>
............. stuff deleted ...........
(int.tex [1]) (textrailer.tex))
! Emergency stop.
<*> &lplain _a13083.tex
Output written on _a13083.dvi (1 page, 2604 bytes).
Transcript written on _a13083.log.
Compilation exited abnormally with code 1 at Wed Oct 14 21:17:06
----------------------------------------------------------------

formating the tmp files from a cshell works fine. also does
the TeX-buffer command.
Do i do something wrong?

thanks

juergen
Newsgroups: gnu.emacs.help
From: konkar@finch.stanford.edu (Ranjit Konkar)
Subject: Major mode for Mathematica
Reply-To: Ranjit Konkar <konkar@sunrise.stanford.edu>
Organization: DSG, Stanford University
Distribution: usa
Date: 8 Oct 92 11:25:15

Is anyone aware of a major mode for writing Mathemtaica code? If so,
do you know where I can procure code for implementing it? I use
Mathematica a lot, and would like to customise my emacs for its
features.

If not available, then does anyone know how
easy/difficult/possible-at-all it is to write ones own major mode in
emacs. That will be a great test of its customizability. I am
interested in learning how to write a major mode, if possible at all.

Ranjit
From: jbw@bigbird.bu.edu (Joe Wells)
Newsgroups: gnu.emacs.help
Subject: Re: Can stuff be unloaded from memory?
Date: 9 Oct 92 07:13:33 GMT
 <1aidf9INN9rf@early-bird.think.com> <JBW.92Oct8013858@bigbird.bu.edu>
 <1992Oct8.162050.4195@den.mmc.com>
Organization: Boston University Computer Science Department
In-reply-to: kevin@traffic.den.mmc.com's message of 8 Oct 92 16:20:50 GMT

In article <1992Oct8.162050.4195@den.mmc.com> kevin@traffic.den.mmc.com (Kevin Rodgers) writes:
   In article <JBW.92Oct8013858@bigbird.bu.edu> jbw@bigbird.bu.edu (Joe Wells) writes:
   >In article <1aidf9INN9rf@early-bird.think.com> barmar@think.com (Barry Margolin) writes:
   >
   >   to undefine all of them.  Then you could re-execute the autoload
   >   definitions so they'll be reloaded when necessary.  The next GC
   >   will remove all the function definitions from memory.
   >
   >Sigh.  Unfortunately, this won't have the desired effect of freeing memory
   >and speeding up subsequent garbage collections.

   Sigh.  Why not?

No compaction, except for strings.  GCs still reference approximately the
same number of pages of memory.  Unless you have tons of memory, the
expense of the garbage collection traversal is dominated by the expense of
paging in memory.  If you had enough memory that all of Emacs's pages were
always kept in physical memory, then this could speed up future GCs.

Also, memory is never freed back to the OS.

-- 
Joe Wells <jbw@cs.bu.edu>
Member of the League for Programming Freedom --- send e-mail for details
From: jlewis@ogicse.ogi.edu (Jeff Lewis)
Newsgroups: gnu.emacs.help
Subject: Re: VIP customization...
Date: 15 Oct 92 19:16:44 GMT
Article-I.D.: ogicse.44157
Organization: Oregon Graduate Institute

In article <bibhas.718951809@femto.engr.mun.ca> bibhas@femto.engr.mun.ca (Bibhas Bhattacharya) writes:
>I think VIP is great. I want to change some of the key bindings. I could
>not get the answer from "info". If they are mentioned in some FAQ please
>lead me to that.
>I want to:
>	1) Use the arrow keys in normal way while in VI/command mode.
>	 Right now they work that way in insert mode.

Alternately, you could get Evi, another (IMHO better) emulator.  It's available
from the elisp archive: ~/modes/evi.el.Z.  Read the in-file documentation
(a real info file is in the works) on how to use the arrow keys (they aren't
enabled by default for reasons outlined in the doc).

As to changing keybindings, this is done in vi by use of `:map'.  For example,
the following in a .exrc would make the space key page forward:

	map \  \C-f

(The use of emacs style \C-x notation is understood by Evi.  Actually, since
the above wouldn't be understood by a real vi, you'd probably want to place
it in .exrc.evi, or rewrite it into the less readable format that vi
requires - or maybe just never use the standard vi program again!).
Alternately, you can customize using elisp in a ~/.evirc file as follows:

	(evi-define-key '(vi) " " 'evi-scroll-page-forward)

--Jeff
Newsgroups: gnu.emacs.help
From: sahul@loading-zone.Stanford.EDU (Zakir H. Sahul)
Subject: Dired
Organization: Stanford University
Distribution: usa
Date: Sat, 17 Oct 92 01:44:43 GMT

Is it possible to use the filename at "point" in dired as an argument to a shell
command?  For example, my dired buffer looks like so:


  total 4594
  drwxr-s---  8 sahul        3584 Oct 16 15:11 .
  drwxr-s--- 24 sahul        1536 Oct 16 17:36 ..
  -rw-rw----  1 sahul         170 Oct 16 13:49 README
  drwxrws---  2 sahul        2560 Oct 16 14:20 SCCS
  drwxrws---  3 sahul        2560 Oct 16 13:39 TEST
  drwxrws---  2 sahul         512 Sep 24 20:44 WISH
  -r--r-----  1 sahul        3980 Oct 16 13:25 abutment.c
  -r--r-----  1 sahul        4423 Oct 16 13:27 adapt.c


and I want to execute a command on the file "abutment.c".  I can easily move to
the filename and delete it with dired's built in features.  But suppose, I wished
to find how many lines were in the file and wanted to execute the command:

wc -l abutment.c

Is it possible to do that without having to go through "execute shell command"
and typing in "M-! wc -l abutment.c"?  I'd like to only type in "wc -l" or 
even better define a keyboard macro for it.  

Thanks in advance for all suggestions.  

-Zak.
Newsgroups: gnu.emacs.help