From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Feature Request: Function to quote filenames Date: Wed, 24 Jun 2015 14:53:14 -0400 Message-ID: References: <87fv5hf7d3.fsf@members.fsf.org> <21898.57325.878520.672648@retriever.mtv.corp.google.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1435172031 19726 80.91.229.3 (24 Jun 2015 18:53:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Jun 2015 18:53:51 +0000 (UTC) Cc: youngfrog@members.fsf.org, emacs-devel@gnu.org To: raman@google.com (T.V Raman) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 24 20:53:41 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Z7pnj-0001hM-3A for ged-emacs-devel@m.gmane.org; Wed, 24 Jun 2015 20:53:35 +0200 Original-Received: from localhost ([::1]:52481 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7pni-00034s-Bj for ged-emacs-devel@m.gmane.org; Wed, 24 Jun 2015 14:53:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49399) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7pnV-00034S-GV for emacs-devel@gnu.org; Wed, 24 Jun 2015 14:53:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7pnR-0004kC-GV for emacs-devel@gnu.org; Wed, 24 Jun 2015 14:53:21 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:61425) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7pnR-0004ju-Cq for emacs-devel@gnu.org; Wed, 24 Jun 2015 14:53:17 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0AxFgA731xV/3+MCkxcgxCEAoVVu0CHSwQCAoE8OxIBAQEBAQEBgQpBBYNdAQEDAVYjBQsLNBIUGA2IWwjPIwEBAQEGAgEfizqFBQeELQWrD4gwgUUjgWYkHIFuIoJ4AQEB X-IPAS-Result: A0AxFgA731xV/3+MCkxcgxCEAoVVu0CHSwQCAoE8OxIBAQEBAQEBgQpBBYNdAQEDAVYjBQsLNBIUGA2IWwjPIwEBAQEGAgEfizqFBQeELQWrD4gwgUUjgWYkHIFuIoJ4AQEB X-IronPort-AV: E=Sophos;i="5.13,465,1427774400"; d="scan'208";a="128194669" Original-Received: from 76-10-140-127.dsl.teksavvy.com (HELO ceviche.home) ([76.10.140.127]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 24 Jun 2015 14:53:15 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id C80E1660FA; Wed, 24 Jun 2015 14:53:14 -0400 (EDT) In-Reply-To: <21898.57325.878520.672648@retriever.mtv.corp.google.com> (T. V. Raman's message of "Wed, 24 Jun 2015 09:50:53 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:187491 Archived-At: > interesting, it worked for me just now -- not sure why I hit an error > when I last tried. I likely did somethign else that messed it up -- -- > but in general, I've had trouble with quoting arguments from elisp to > the shell. Quoting is tricky business, and it's easy to mess it up. But details matter, and in most cases the problem is not that shell-quote-argument doesn't work right, but that it's not called on the right data, or it's not called at all, or the result is then later massaged incorrectly, etc... Once you have a concrete problem case, file a bug report. Stefan