From: Nick Roberts <nickrob@snap.net.nz>
To: Yuri Shtil <yshtil@cisco.com>
Cc: gnu-emacs-bug@moderators.isc.org
Subject: Re: gud.el parses args incorrectly
Date: Thu, 2 Aug 2007 18:27:38 +1200 [thread overview]
Message-ID: <18097.31066.394296.252453@kahikatea.snap.net.nz> (raw)
In-Reply-To: <1185991892.545003@sj-nntpcache-2.cisco.com>
> It is impossible to pass quoted arguments to the gud.
> For example if I say on the command line:
>
> perl -d foo.pl one "two and three",
> the ARGV in perl has two elements:
> index 0 - one
> index 1 - two and three
>
> However if I invoke perldb with the same command, I get:
>
> index 0 - one
> index 1 - "two
> index 2 - and
> index 3 three"
>
> The problem, I believe is that gud-common-init in gud.el uses
> split-string which uses white spaces as delimiters and does not splits
> the command line in shell-like way as I would expect.
In the CVS repository (trunk and the Emacs 22 release branch EMACS_22_BASE)
gud-common-init no longer uses split-string and this should work.
If you can't check check out a CVS version of Emacs, then you'll need to
wait for Emacs 22.2 which was due to be released about now, although it
will probably be much later.
Alternatively you can patch Emacs 22.1 with:
http://lists.gnu.org/archive/html/bug-gnu-emacs/2007-06/msg00261.html
--
Nick http://www.inet.net.nz/~nickrob
prev parent reply other threads:[~2007-08-02 6:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-01 18:11 gud.el parses args incorrectly Yuri Shtil
2007-08-02 6:27 ` Nick Roberts [this message]
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=18097.31066.394296.252453@kahikatea.snap.net.nz \
--to=nickrob@snap.net.nz \
--cc=gnu-emacs-bug@moderators.isc.org \
--cc=yshtil@cisco.com \
/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.