From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Rodgers Subject: bug#10125: RFE: require and load-path-shadowing Date: Wed, 16 Jan 2013 07:59:23 -0700 Message-ID: References: <87sj68eogm.fsf@Rainer.invalid> <87wqvjd7qa.fsf@Rainer.invalid> <87bocvcx9f.fsf@Rainer.invalid> <83ip72u89o.fsf@gnu.org> <87ehhqn1md.fsf@Rainer.invalid> <8338y6txjh.fsf@gnu.org> <71vcb22qgz.fsf__38024.2966501557$1358016217$gmane$org@fencepost.gnu.org> <87hamlbk3w.fsf__41794.7558024482$1358063310$gmane$org@Rainer.invalid> <87hamis0js.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:58456) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvVCA-0000dD-Gk for emacs-orgmode@gnu.org; Wed, 16 Jan 2013 10:46:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TvVC7-0004Ez-BQ for emacs-orgmode@gnu.org; Wed, 16 Jan 2013 10:46:30 -0500 Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-Message-ID: In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: 10125@debbugs.gnu.org On 1/16/13 3:06 AM, Andreas Schwab wrote: > Kevin Rodgers writes: > >> (defun run-emacs (command) >> "Run the Emacs COMMAND in the background via `shell-command'." >> (interactive >> (let ((program (expand-file-name invocation-name invocation-directory))) >> (list (read-string "Emacs command: " >> (cons (concat program >> (if (cdr command-line-args) >> (mapconcat 'identity >> (cdr command-line-args) > > You need to use shell-quote-argument to properly shell-quote each > argument. Thanks, Andreas! -- Kevin Rodgers Denver, Colorado, USA