Matt writes: > Whether this is a solution, in part, depends on the perennial problem of shell blocks: knowing what's wrong means knowing what's right. > > The proposed solution assumes we intend to parse the characters following :cmdline as space delimited and grouped by quotes. However, AFAICT, the parsing issue makes this solution ambiguous. > > Thoughts? Manually parsing the shell arguments is calling for trouble. Especially when the arguments involve shell-specific escapes like :cmdline 1\ 2\ 3 Since escape characters may vary from shell to shell, it is not a good idea to parse the arguments on Elisp side. We should better leave this job to the shell. I propose the attached patch.