From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: martin@rochooni.net Newsgroups: gmane.emacs.help Subject: Re: macro to invoke shell command Date: Wed, 15 Jan 2003 12:08:48 +0100 Organization: Bosch Rexroth AG Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1042629041 23114 80.91.224.249 (15 Jan 2003 11:10:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 15 Jan 2003 11:10:41 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18YlRP-00060T-00 for ; Wed, 15 Jan 2003 12:10:39 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18YlRD-0005MT-07 for gnu-help-gnu-emacs@m.gmane.org; Wed, 15 Jan 2003 06:10:27 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.nacamar.de!news.f.de.plusline.net!news-fra1.dfn.de!news0.de.colt.net!news1.boschrexroth.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Original-NNTP-Posting-Host: 10.110.246.13 Original-X-Trace: loghost1.eu.boschrexroth.com 1042628964 5739 10.110.246.13 (15 Jan 2003 11:09:24 GMT) Original-X-Complaints-To: usenet@eu.boschrexroth.com Original-NNTP-Posting-Date: Wed, 15 Jan 2003 11:09:24 +0000 (UTC) Cancel-Lock: sha1:hMZCkomoo+cOjZEZmqASnUUbunA= User-Agent: Emacs Gnus Original-Xref: shelby.stanford.edu gnu.emacs.help:108975 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:5503 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:5503 hi, "PL" == Peter Lee writes: PL> Date: Fri, 10 Jan 2003 17:55:11 GMT 8<-------------------------------------------------------------------- PL> (defun grep-cur-word (&optional arg) PL> "grep-find on the current word" PL> (interactive "p") PL> (grep-find (current-word))) 8<-------------------------------------------------------------------- use (grep-find (concat "" (current-word))) martin -- martin dot fischer at boschrexroth dot de