From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Elly Bachrach Newsgroups: gmane.emacs.help Subject: create an emacs tags file for files in a folder with spaces in its name Date: Fri, 19 Sep 2003 14:56:52 -0500 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <3F6B5F84.5C8A4284@engineeringintent.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1064000927 9689 80.91.224.253 (19 Sep 2003 19:48:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 19 Sep 2003 19:48:47 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 19 21:48:45 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A0RFF-0006nl-00 for ; Fri, 19 Sep 2003 21:48:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A0REO-0004Mt-Fe for geh-help-gnu-emacs@m.gmane.org; Fri, 19 Sep 2003 15:47:52 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 1A0RE8-0004ML-02 for help-gnu-emacs@gnu.org; Fri, 19 Sep 2003 15:47:36 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 1A0RE6-0004Ln-Ce for help-gnu-emacs@gnu.org; Fri, 19 Sep 2003 15:47:34 -0400 Original-Received: from [206.40.48.152] (helo=mail2.intermedia.net) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A0RE6-0004LS-2k for help-gnu-emacs@gnu.org; Fri, 19 Sep 2003 15:47:34 -0400 Original-Received: from engineeringintent.com (unverified [65.42.215.107]) by mail2.intermedia.net (Rockliffe SMTPRA 4.5.6) with ESMTP id for ; Fri, 19 Sep 2003 12:47:31 -0700 X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:12668 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12668 Hi. I use the following code, in a batch file to create a tags file for my code: chdir "e:\myroot dir\" d:\emacs\bin\etags --regex="/[ \t]*[dD][eE][Ff][Ii][Gg][Nn]:[ \t]*[a-zA-Z0-9_]*/" --regex="/[ \t]*[dD][Ee][Ff][Uu][Nn]:[ \t]*[a-zA-Z0-9_]*/" workingdirectory\*.iks etc\*.iks This produces a single tags file at the myroot dir directory. My problem is that I want to include all .iks files in directories whose names have spaces in them. I cannot figure out how to get etags to understand the directory name as such, and not like 2 separate words For example d:\emacs\bin\etags --regex="/[ \t]*[dD][eE][Ff][Ii][Gg][Nn]:[ \t]*[a-zA-Z0-9_]*/" --regex="/[ \t]*[dD][Ee][Ff][Uu][Nn]:[ \t]*[a-zA-Z0-9_]*/" workingdirectory\*.iks _weekly build\*.iks any help would be appreciated. elly