[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: shell-command - missing shell-quote-argument for program?
From: |
Kim F. Storm |
Subject: |
Re: shell-command - missing shell-quote-argument for program? |
Date: |
Thu, 12 Oct 2006 16:56:18 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Lennart Borgman <address@hidden> writes:
> The author of filesets Thomas Link has replied to me that he currently
> does not use Emacs and cannot maintain filesets.el until that situation
> changes.
>
> I myself therefore suggest the following patch to filesets.el:
Isolated, it looks ok, but if you look at filesets-quote, maybe
it should use shell-quote-argment too, and we should
use filesets-quote on buffer-file-name below.
But it's too complex for me to follow the logic in filesets.
>
> Index: filesets.el
> ===================================================================
> RCS file: /cvsroot/emacs/emacs/lisp/filesets.el,v
> retrieving revision 1.29
> diff -c -r1.29 filesets.el
> *** filesets.el 13 Aug 2006 17:05:12 -0000 1.29
> --- filesets.el 6 Oct 2006 13:15:12 -0000
> ***************
> *** 1701,1707 ****
> ok)
> t)))
> (when ok
> ! (let ((cmd (format txt (buffer-file-name))))
> (message "Filesets: %s" cmd)
> (filesets-cmd-show-result cmd
> (shell-command-to-string cmd))))))
> --- 1701,1707 ----
> ok)
> t)))
> (when ok
> ! (let ((cmd (format txt (shell-quote-argument (buffer-file-name)))))
> (message "Filesets: %s" cmd)
> (filesets-cmd-show-result cmd
> (shell-command-to-string cmd))))))
--
Kim F. Storm <address@hidden> http://www.cua.dk
- Re: shell-command - missing shell-quote-argument for program?, (continued)
- Re: shell-command - missing shell-quote-argument for program?, Richard Stallman, 2006/10/06
- Re: shell-command - missing shell-quote-argument for program?, Andreas Schwab, 2006/10/07
- Re: shell-command - missing shell-quote-argument for program?, Richard Stallman, 2006/10/07
- Re: shell-command - missing shell-quote-argument for program?, Andreas Schwab, 2006/10/08
- Re: shell-command - missing shell-quote-argument for program?, Richard Stallman, 2006/10/08
- Re: shell-command - missing shell-quote-argument for program?, Andreas Schwab, 2006/10/08
- Re: shell-command - missing shell-quote-argument for program?, Richard Stallman, 2006/10/09
- Re: shell-command - missing shell-quote-argument for program?, Kim F. Storm, 2006/10/09
Re: shell-command - missing shell-quote-argument for program?, Kim F. Storm, 2006/10/06
Re: shell-command - missing shell-quote-argument for program?, Lennart Borgman, 2006/10/06
Re: shell-command - missing shell-quote-argument for program?, Thomas Link, 2006/10/13
Re: shell-command - missing shell-quote-argument for program?, Lennart Borgman, 2006/10/13
Re: [Bulk] Re: shell-command - missing shell-quote-argument for program?, Thomas Link, 2006/10/14
Re: shell-command - missing shell-quote-argument for program?, Richard Stallman, 2006/10/14
Re: shell-command - missing shell-quote-argument for program?, Eli Zaretskii, 2006/10/14
Message not available