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: Substitute ? in dired without surrounding whitespace Date: Sun, 18 Nov 2007 17:46:48 -0500 Message-ID: References: <87zlycuhrd.fsf@jurta.org> <87hckbecc0.fsf@jurta.org> <87prygxtot.fsf@jurta.org> <87bq9vhubw.fsf_-_@jurta.org> <87sl345sp1.fsf@jurta.org> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1195426406 9916 80.91.229.12 (18 Nov 2007 22:53:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 18 Nov 2007 22:53:26 +0000 (UTC) Cc: emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 18 23:53:31 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 1Itt19-0005X5-0z for ged-emacs-devel@m.gmane.org; Sun, 18 Nov 2007 23:53:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Itt0v-00024K-Is for ged-emacs-devel@m.gmane.org; Sun, 18 Nov 2007 17:53:17 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Itsuf-0001Mw-Rz for emacs-devel@gnu.org; Sun, 18 Nov 2007 17:46:49 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Itsuf-0001LY-5i for emacs-devel@gnu.org; Sun, 18 Nov 2007 17:46:49 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Itsue-0001LB-TC for emacs-devel@gnu.org; Sun, 18 Nov 2007 17:46:48 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Itsue-0002jt-IO for emacs-devel@gnu.org; Sun, 18 Nov 2007 17:46:48 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1Itsue-0003IV-6C; Sun, 18 Nov 2007 17:46:48 -0500 In-reply-to: <87sl345sp1.fsf@jurta.org> (message from Juri Linkov on Sun, 18 Nov 2007 01:57:54 +0200) X-detected-kernel: by monty-python.gnu.org: 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:83583 Archived-At: Yes, this works. But this command line is to complicated and inconvenient to edit for users. And I'm not sure is it sufficiently portable to different systems. Editing it by hand is not all that inconvenient, and that's a side issue anyway. It ought to work on all systems except Windows, since they all have sh, and this probably won't work on Windows anyway. where "%s" is intended to be replaced by the file name in the programs that read mailcap entries. So perhaps we could change Dired to accept this format and to replace %s (regardless of surrounding whitespace) with the file name. That would create additional quoting difficulties. I don't want to do it. I do not want to make this feature yet more complicated just to simplify a few default commands.