all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: bug#1212: 23.0.60; split-string-and-unquote problems
Date: Wed, 22 Oct 2008 21:43:20 +0200	[thread overview]
Message-ID: <utzb4e7qf.fsf@gnu.org> (raw)
In-Reply-To: <jwvbpxcof5j.fsf-monnier+emacsbugreports@gnu.org>

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: emacs-devel@gnu.org
> Date: Wed, 22 Oct 2008 10:58:49 -0400
> 
> >> The list of strings will be passed to call-process or start-process
> >> which ultimately will pass them to execv or somesuch: no shell in sight.
> > But the original string could have been a properly quoted shell
> > command, and those do use sh-style quoting.
> 
> I do not understand: what makes you think it could be a properly quoted
> shell command?

Because you said that working with shell commands was why these
functions were invented in the first place.  And that is how they are
used in Emacs as of now.

> /We/ define what it can accept.

But hopefully, /we/ decide that to accomplish some specific practical
goal, not just to craft a function that accepts a small subset of that
goal.  Right?  So what class of _practical_ problems do these two
functions solve?  After all, using Lisp syntax in shell commands is
not an interesting use-case, is it?

> And as of now, we (well, admittedly,
> IIUC, it's mostly just myself) decided that it accepts a syntax derived
> from Elisp string quoting, so if you feed it sh-style quoted strings, it
> won't work in general (tho it will if you stick to the common subset, of
> course).

Are you saying that modes that work with shell commands, such as GUD,
should not use these functions, because they don't generally support
the full syntax of quoted shell commands?




  reply	other threads:[~2008-10-22 19:43 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-20 16:04 bug#1212: 23.0.60; split-string-and-unquote problems Eli Zaretskii
2008-10-20 17:01 ` Andreas Schwab
2008-10-20 19:06   ` Eli Zaretskii
2008-10-20 21:30     ` Andreas Schwab
2008-10-20 22:36       ` Eli Zaretskii
2008-10-21  9:25         ` Andreas Schwab
2008-10-21 10:18           ` Eli Zaretskii
2008-10-21 11:00             ` Andreas Schwab
2008-10-21 11:33               ` Eli Zaretskii
2008-10-21 11:49                 ` Andreas Schwab
2008-10-21 12:25                   ` Eli Zaretskii
2008-10-21 12:50                     ` Andreas Schwab
2008-10-21 12:58                       ` Eli Zaretskii
2008-10-21 13:24                         ` Andreas Schwab
2008-10-21 13:36                           ` Eli Zaretskii
2008-10-21 13:44                             ` Andreas Schwab
2008-10-21 15:13                               ` Eli Zaretskii
2008-10-20 17:08 ` Andreas Schwab
2008-10-20 19:16   ` Eli Zaretskii
2008-10-20 21:28     ` Andreas Schwab
2008-10-20 22:53       ` Eli Zaretskii
2008-10-20 22:53       ` Eli Zaretskii
2008-10-21  1:11         ` Stefan Monnier
2008-10-21  1:11         ` Stefan Monnier
2008-10-21  6:27           ` Eli Zaretskii
2008-10-21 15:43             ` Stefan Monnier
2008-10-21 16:05               ` Eli Zaretskii
2008-10-22  2:04                 ` Stefan Monnier
2008-10-22  4:31                   ` Eli Zaretskii
2008-10-22 14:58                     ` Stefan Monnier
2008-10-22 19:43                       ` Eli Zaretskii [this message]
2008-10-22 21:42                         ` Stefan Monnier
2008-10-22 22:11                           ` Eli Zaretskii
2008-10-23  1:18                             ` Stefan Monnier
2008-10-23  4:29                               ` Eli Zaretskii
2008-10-23  4:39                                 ` Miles Bader
2008-10-23 13:55                                 ` Stefan Monnier
2008-10-21  1:11         ` Stefan Monnier
2008-10-20 22:53       ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=utzb4e7qf.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.