From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: [david.hansen@gmx.net: Re: comint's directory tracking doesn't understand \( or \)] Date: Tue, 06 Mar 2007 17:36:34 -0500 Message-ID: References: <871wk56tjh.fsf@localhorst.mine.nu> <87k5xw8b07.fsf@localhorst.mine.nu> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1173220833 1902 80.91.229.12 (6 Mar 2007 22:40:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 6 Mar 2007 22:40:33 +0000 (UTC) Cc: david.hansen@gmx.net, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 06 23:40:26 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HOiKY-00015A-2w for ged-emacs-devel@m.gmane.org; Tue, 06 Mar 2007 23:40:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HOiKY-0007ML-Do for ged-emacs-devel@m.gmane.org; Tue, 06 Mar 2007 17:40:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HOiIX-0006Aj-6P for emacs-devel@gnu.org; Tue, 06 Mar 2007 17:38:21 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HOiIW-00069x-Jw for emacs-devel@gnu.org; Tue, 06 Mar 2007 17:38:20 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HOiIW-00069j-Az for emacs-devel@gnu.org; Tue, 06 Mar 2007 17:38:20 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HOiIU-00061j-C7 for emacs-devel@gnu.org; Tue, 06 Mar 2007 17:38:18 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1HOiGo-0000sg-Dn; Tue, 06 Mar 2007 17:36:34 -0500 In-reply-to: (message from Stefan Monnier on Mon, 05 Mar 2007 21:23:32 -0500) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:67447 Archived-At: > This patch would be safer if you add a new function comint-dir-argument > which does the new thing, and is used only for dir tracking. > Then you could leave comint-arguments unchanged, and avoid the risk > of breaking something else with some other shell. > With that alteration, I think we could install it now. Wouldn't it be better to move it to shell.el? I.e. create a new function shell-argument? If that function would only be used in shell.el, putting it in shell.el sounds like a good idea. Since it is specifically for dir tracking, I would call it shell-dir-argument.