From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Giorgos Keramidas Newsgroups: gmane.emacs.help Subject: Re: handling parenthesis and quotes Date: Tue, 23 Jan 2007 22:55:31 +0200 Organization: SunSITE.dk - Supporting Open source Message-ID: <878xftpinw.fsf@kobe.laptop> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1169588476 14631 80.91.229.12 (23 Jan 2007 21:41:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 23 Jan 2007 21:41:16 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 23 22:41:09 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1H9TO7-0004dH-Va for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Jan 2007 22:41:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H9TO5-00073C-3o for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Jan 2007 16:41:05 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (berkeley-unix) Cancel-Lock: sha1:xRD2d5hpAhS5yfNcIHFsW8XCPPI= Original-Lines: 15 Original-NNTP-Posting-Host: 62.103.39.229 Original-X-Trace: news.sunsite.dk DXC=mhcYa5WH=YWD]J=fIXJe6_YSB=nbEKnk[4Vnb:@f4o6[L^MjW2:ak; I7eU]WGb30c[>DY7[^M?Nld3K3P] Original-X-Complaints-To: staff@sunsite.dk Original-Xref: shelby.stanford.edu gnu.emacs.help:144960 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:40565 Archived-At: On Wed, 24 Jan 2007 09:09:13 +1300, Adam wrote: > Am using Emacs and Slime in Linux, and looked > thru the Emacs and Elisp manuals, but so far > haven't found how to do this trivial thing; > to dispatch a grep line to a Lisp subprocess:- > > (shell "grep -i "(define " ~/mydir/myfile?.lisp") > > Have tried ' and \ and \: but ask how I should > include " or ( in such a line. AFAIK, you can `escape' the quotes, with: (shell "grep -i \"(define \" ~/mydir/myfile?.lisp")