From unknown Sat Jun 21 03:29:08 2025 X-Loop: don@donarmstrong.com Subject: bug#1212: 23.0.60; split-string-and-unquote problems Reply-To: Eli Zaretskii , 1212@debbugs.gnu.org Resent-From: Eli Zaretskii Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 20 Oct 2008 16:10:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1212 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122451868823254 (code B ref -1); Mon, 20 Oct 2008 16:10:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-7.5 required=4.0 tests=AWL,BAYES_00,FOURLA, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 20 Oct 2008 16:04:48 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9KG4ecO023248 for ; Mon, 20 Oct 2008 09:04:41 -0700 Received: from mail.gnu.org ([199.232.76.166]:53988 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KrxCj-0001zg-Cd for emacs-pretest-bug@gnu.org; Mon, 20 Oct 2008 12:02:01 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KrxFH-000251-Mm for emacs-pretest-bug@gnu.org; Mon, 20 Oct 2008 12:04:40 -0400 Received: from mtaout2.012.net.il ([84.95.2.4]:37516) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KrxFH-00024j-AO for emacs-pretest-bug@gnu.org; Mon, 20 Oct 2008 12:04:39 -0400 Received: from HOME-C4E4A596F7 ([77.126.98.197]) by i_mtaout2.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0K9100KFAOQ5UB61@i_mtaout2.012.net.il> for emacs-pretest-bug@gnu.org; Mon, 20 Oct 2008 18:06:05 +0200 (IST) Date: Mon, 20 Oct 2008 18:04:41 +0200 From: Eli Zaretskii X-012-Sender: halo1@inter.net.il To: emacs-pretest-bug@gnu.org Message-id: X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: The function split-string-and-unquote is a great help in taking apart shell command lines, but the values it returns seem incorrect in some situations, at least from shell command quoting perspective: (split-string-and-unquote "foo\ bar") => ("foobar") [where's my blank?] (split-string-and-unquote "foo\\\ bar") => ("foo\\bar") [where's my blank?] (split-string-and-unquote "foo\" \"bar") => ("foo" " " "bar") [where's my blank] (split-string-and-unquote "foo\"*\"bar") => ("foo" "*" "bar") [can't quote in the middle of a string?] (split-string-and-unquote "foo\\\"bar") => End of file during parsing [how do you quote a quote?] Also, it doesn't support '..' quoting, which is quite frequent in shell commands. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file d:/gnu/emacs/etc/DEBUG for instructions. In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-10-20 on HOME-C4E4A596F7 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4)' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENU value of $XMODIFIERS: nil locale-coding-system: cp1255 default-enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: show-paren-mode: t tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-SPC M-w C-x b C-y M-: * M-: C-SPC C-e M-w C-y SPC = > SPC C-x b C-a C-SPC M-w C-x b C-y M-: C-SPC C-a M-w C-y SPC = > SPC C-a M-: C-SPC C-e M-w C-y M-: \ M-: \ M-: C-SPC C-e M-w C-y SPC = > SPC C-x b C-SPC M-w C-x b C-y C-x M-x r e p o r t - e m a Recent messages: ("foo" "*" "bar") [2 times] Mark set [3 times] split-string-and-unquote: End of file during parsing Mark set split-string-and-unquote: End of file during parsing Mark set [2 times] ("foo\\" "bar") ("foo\\bar") [2 times] Mark set [3 times] Scanning for dabbrevs...100% From unknown Sat Jun 21 03:29:08 2025 X-Loop: don@donarmstrong.com Subject: bug#1212: 23.0.60; split-string-and-unquote problems Reply-To: Andreas Schwab , 1212@debbugs.gnu.org Resent-From: Andreas Schwab Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 20 Oct 2008 17:10:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1212 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12245221185870 (code B ref -1); Mon, 20 Oct 2008 17:10:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-10.8 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 20 Oct 2008 17:01:58 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9KH1mJ3005864 for ; Mon, 20 Oct 2008 10:01:49 -0700 Received: from mx10.gnu.org ([199.232.76.166]:57760) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Kry61-00021w-6j for emacs-pretest-bug@gnu.org; Mon, 20 Oct 2008 12:59:09 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Kry8Z-0003Lh-8h for emacs-pretest-bug@gnu.org; Mon, 20 Oct 2008 13:01:47 -0400 Received: from ns.suse.de ([195.135.220.2]:53754 helo=mx1.suse.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kry8R-0003Fk-Pd; Mon, 20 Oct 2008 13:01:40 -0400 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 815D342688; Mon, 20 Oct 2008 19:06:55 +0200 (CEST) From: Andreas Schwab To: Eli Zaretskii Cc: 1212@debbugs.gnu.org, emacs-pretest-bug@gnu.org References: X-Yow: Here we are in America... when do we collect unemployment? Date: Mon, 20 Oct 2008 19:01:12 +0200 In-Reply-To: (Eli Zaretskii's message of "Mon, 20 Oct 2008 18:04:41 +0200") Message-ID: User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 Eli Zaretskii writes: > (split-string-and-unquote "foo\ bar") > =3D> ("foobar") [where's my blank?] (elisp)Syntax for Strings. Andreas. --=20 Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstra=DFe 5, 90409 N=FCrnberg, Germany PGP key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED= 5 "And now for something completely different." From unknown Sat Jun 21 03:29:08 2025 X-Loop: don@donarmstrong.com Subject: bug#1212: 23.0.60; split-string-and-unquote problems Reply-To: Andreas Schwab , 1212@debbugs.gnu.org Resent-From: Andreas Schwab Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 20 Oct 2008 17:15:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1212 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12245225247834 (code B ref -1); Mon, 20 Oct 2008 17:15:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-10.8 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 20 Oct 2008 17:08:44 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9KH8fHD007828 for ; Mon, 20 Oct 2008 10:08:42 -0700 Received: from mx10.gnu.org ([199.232.76.166]:58328) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KryCf-0002L2-Qz for emacs-pretest-bug@gnu.org; Mon, 20 Oct 2008 13:06:01 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KryFE-0004dv-FU for emacs-pretest-bug@gnu.org; Mon, 20 Oct 2008 13:08:40 -0400 Received: from cantor.suse.de ([195.135.220.2]:54286 helo=mx1.suse.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KryFC-0004dG-Nt; Mon, 20 Oct 2008 13:08:39 -0400 Received: from Relay1.suse.de (relay-ext.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id D3E4642979; Mon, 20 Oct 2008 19:14:18 +0200 (CEST) From: Andreas Schwab To: Eli Zaretskii Cc: 1212@debbugs.gnu.org, emacs-pretest-bug@gnu.org References: X-Yow: Is this "BIKINI BEACH"? Date: Mon, 20 Oct 2008 19:08:35 +0200 In-Reply-To: (Eli Zaretskii's message of "Mon, 20 Oct 2008 18:04:41 +0200") Message-ID: User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 Eli Zaretskii writes: > The function split-string-and-unquote is a great help in taking apart > shell command lines, but the values it returns seem incorrect in some > situations, at least from shell command quoting perspective: The docstring of split-string-and-unquote doesn't mention the word "shell" anywhere. Why do you think that "Emacs Lisp quoting" has anything to do with "shell command quoting"? Andreas. --=20 Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstra=DFe 5, 90409 N=FCrnberg, Germany PGP key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED= 5 "And now for something completely different." From unknown Sat Jun 21 03:29:08 2025 X-Loop: don@donarmstrong.com Subject: bug#1212: 23.0.60; split-string-and-unquote problems Reply-To: Eli Zaretskii , 1212@debbugs.gnu.org Resent-From: Eli Zaretskii Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 20 Oct 2008 19:15:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1212 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 1212-submit@emacsbugs.donarmstrong.com id=B1212.12245295715326 (code B ref 1212); Mon, 20 Oct 2008 19:15:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.3 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_NIX1 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1212) by emacsbugs.donarmstrong.com; 20 Oct 2008 19:06:11 +0000 Received: from mtaout7.012.net.il (mtaout7.012.net.il [84.95.2.19]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9KJ66hJ005319 for <1212@emacsbugs.donarmstrong.com>; Mon, 20 Oct 2008 12:06:08 -0700 Received: from HOME-C4E4A596F7 ([77.126.98.197]) by i-mtaout7.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0K91002F6X4GVAA0@i-mtaout7.012.net.il> for 1212@emacsbugs.donarmstrong.com; Mon, 20 Oct 2008 21:07:29 +0200 (IST) Date: Mon, 20 Oct 2008 21:06:05 +0200 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il To: Andreas Schwab Cc: 1212@debbugs.gnu.org, emacs-pretest-bug@gnu.org Message-id: References: > From: Andreas Schwab > Cc: 1212@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org > Date: Mon, 20 Oct 2008 19:01:12 +0200 > > Eli Zaretskii writes: > > > (split-string-and-unquote "foo\ bar") > > => ("foobar") [where's my blank?] > > (elisp)Syntax for Strings. I tried that as well, in the part you omitted. From unknown Sat Jun 21 03:29:08 2025 X-Loop: don@donarmstrong.com Subject: bug#1212: 23.0.60; split-string-and-unquote problems Reply-To: Eli Zaretskii , 1212@debbugs.gnu.org Resent-From: Eli Zaretskii Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 20 Oct 2008 19:25:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1212 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12245301777795 (code B ref -1); Mon, 20 Oct 2008 19:25:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-9.0 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 20 Oct 2008 19:16:17 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9KJGEUk007784 for ; Mon, 20 Oct 2008 12:16:15 -0700 Received: from mail.gnu.org ([199.232.76.166]:38122 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Ks0C6-0005k1-W5 for emacs-pretest-bug@gnu.org; Mon, 20 Oct 2008 15:13:35 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Ks0Ee-0005ei-02 for emacs-pretest-bug@gnu.org; Mon, 20 Oct 2008 15:16:13 -0400 Received: from mtaout2.012.net.il ([84.95.2.4]:64931) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ks0Ed-0005eO-Gs for emacs-pretest-bug@gnu.org; Mon, 20 Oct 2008 15:16:11 -0400 Received: from HOME-C4E4A596F7 ([77.126.98.197]) by i_mtaout2.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0K9100KIGXL9UB52@i_mtaout2.012.net.il> for emacs-pretest-bug@gnu.org; Mon, 20 Oct 2008 21:17:34 +0200 (IST) Date: Mon, 20 Oct 2008 21:16:09 +0200 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il To: Andreas Schwab Cc: 1212@debbugs.gnu.org, emacs-pretest-bug@gnu.org Message-id: References: X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 X-CrossAssassin-Score: 2 > From: Andreas Schwab > Cc: 1212@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org > Date: Mon, 20 Oct 2008 19:08:35 +0200 > > Why do you think that "Emacs Lisp quoting" has anything to do with > "shell command quoting"? Because I grep'ped Emacs sources for its users. From unknown Sat Jun 21 03:29:08 2025 X-Loop: don@donarmstrong.com Subject: bug#1212: 23.0.60; split-string-and-unquote problems Reply-To: Andreas Schwab , 1212@debbugs.gnu.org Resent-From: Andreas Schwab Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 20 Oct 2008 21:35:02 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1212 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12245381098125 (code B ref -1); Mon, 20 Oct 2008 21:35:02 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-10.9 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 20 Oct 2008 21:28:29 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9KLSQBn008115 for ; Mon, 20 Oct 2008 14:28:27 -0700 Received: from mx10.gnu.org ([199.232.76.166]:49081) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Ks2G3-0001nU-18 for emacs-pretest-bug@gnu.org; Mon, 20 Oct 2008 17:25:47 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Ks2Ib-0001yP-0k for emacs-pretest-bug@gnu.org; Mon, 20 Oct 2008 17:28:25 -0400 Received: from cantor.suse.de ([195.135.220.2]:44253 helo=mx1.suse.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ks2IZ-0001xh-1v; Mon, 20 Oct 2008 17:28:23 -0400 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 390CF42990; Mon, 20 Oct 2008 23:34:11 +0200 (CEST) From: Andreas Schwab To: Eli Zaretskii Cc: 1212@debbugs.gnu.org, emacs-pretest-bug@gnu.org References: X-Yow: Well, I'm a classic ANAL RETENTIVE!! And I'm looking for a way to VICARIOUSLY experience some reason to LIVE!! Date: Mon, 20 Oct 2008 23:28:21 +0200 In-Reply-To: (Eli Zaretskii's message of "Mon, 20 Oct 2008 21:16:09 +0200") Message-ID: User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 Eli Zaretskii writes: >> From: Andreas Schwab >> Cc: 1212@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org >> Date: Mon, 20 Oct 2008 19:08:35 +0200 >>=20 >> Why do you think that "Emacs Lisp quoting" has anything to do with >> "shell command quoting"? > > Because I grep'ped Emacs sources for its users. That does not make it more suitable. Andreas. --=20 Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstra=DFe 5, 90409 N=FCrnberg, Germany PGP key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED= 5 "And now for something completely different." From unknown Sat Jun 21 03:29:08 2025 X-Loop: don@donarmstrong.com Subject: bug#1212: 23.0.60; split-string-and-unquote problems Reply-To: Andreas Schwab , 1212@debbugs.gnu.org Resent-From: Andreas Schwab Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 20 Oct 2008 21:40:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1212 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12245382429221 (code B ref -1); Mon, 20 Oct 2008 21:40:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-11.0 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 20 Oct 2008 21:30:42 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9KLUdQm009158 for ; Mon, 20 Oct 2008 14:30:40 -0700 Received: from mail.gnu.org ([199.232.76.166]:49186 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Ks2IC-0001q0-Fx for emacs-pretest-bug@gnu.org; Mon, 20 Oct 2008 17:28:00 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Ks2Kk-0002Dp-NX for emacs-pretest-bug@gnu.org; Mon, 20 Oct 2008 17:30:39 -0400 Received: from mail.suse.de ([195.135.220.2]:44365 helo=mx1.suse.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ks2Kj-0002DY-FS; Mon, 20 Oct 2008 17:30:37 -0400 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id C94B0429C5; Mon, 20 Oct 2008 23:36:25 +0200 (CEST) From: Andreas Schwab To: Eli Zaretskii Cc: 1212@debbugs.gnu.org, emacs-pretest-bug@gnu.org References: X-Yow: .. Once upon a time, four AMPHIBIOUS HOG CALLERS attacked a family of DEFENSELESS, SENSITIVE COIN COLLECTORS and brought DOWN their PROPERTY VALUES!! Date: Mon, 20 Oct 2008 23:30:35 +0200 In-Reply-To: (Eli Zaretskii's message of "Mon, 20 Oct 2008 21:06:05 +0200") Message-ID: User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 Eli Zaretskii writes: >> From: Andreas Schwab >> Cc: 1212@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org >> Date: Mon, 20 Oct 2008 19:01:12 +0200 >>=20 >> Eli Zaretskii writes: >>=20 >> > (split-string-and-unquote "foo\ bar") >> > =3D> ("foobar") [where's my blank?] >>=20 >> (elisp)Syntax for Strings. > > I tried that as well, in the part you omitted. What did you try? Andreas. --=20 Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstra=DFe 5, 90409 N=FCrnberg, Germany PGP key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED= 5 "And now for something completely different." From unknown Sat Jun 21 03:29:08 2025 X-Loop: don@donarmstrong.com Subject: bug#1212: 23.0.60; split-string-and-unquote problems Reply-To: Eli Zaretskii , 1212@debbugs.gnu.org Resent-From: Eli Zaretskii Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 20 Oct 2008 22:45:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1212 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122454220325611 (code B ref -1); Mon, 20 Oct 2008 22:45:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-9.1 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 20 Oct 2008 22:36:43 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9KMadSM025604 for ; Mon, 20 Oct 2008 15:36:40 -0700 Received: from mail.gnu.org ([199.232.76.166]:53365 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Ks3K4-0005TS-58 for emacs-pretest-bug@gnu.org; Mon, 20 Oct 2008 18:34:00 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Ks3Mc-0002KC-Cm for emacs-pretest-bug@gnu.org; Mon, 20 Oct 2008 18:36:38 -0400 Received: from mtaout4.012.net.il ([84.95.2.10]:62076) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ks3Mc-0002K2-1Y for emacs-pretest-bug@gnu.org; Mon, 20 Oct 2008 18:36:38 -0400 Received: from HOME-C4E4A596F7 ([77.126.98.197]) by i_mtaout4.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0K92004KY6VGY5Y2@i_mtaout4.012.net.il> for emacs-pretest-bug@gnu.org; Tue, 21 Oct 2008 00:38:04 +0200 (IST) Date: Tue, 21 Oct 2008 00:36:39 +0200 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il To: Andreas Schwab Cc: 1212@debbugs.gnu.org, emacs-pretest-bug@gnu.org Message-id: References: X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 > From: Andreas Schwab > Cc: 1212@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org > Date: Mon, 20 Oct 2008 23:30:35 +0200 > > Eli Zaretskii writes: > > >> From: Andreas Schwab > >> Cc: 1212@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org > >> Date: Mon, 20 Oct 2008 19:01:12 +0200 > >> > >> Eli Zaretskii writes: > >> > >> > (split-string-and-unquote "foo\ bar") > >> > => ("foobar") [where's my blank?] > >> > >> (elisp)Syntax for Strings. > > > > I tried that as well, in the part you omitted. > > What did you try? The other inputs, see my original mail. From unknown Sat Jun 21 03:29:08 2025 X-Loop: don@donarmstrong.com Subject: bug#1212: 23.0.60; split-string-and-unquote problems Reply-To: Eli Zaretskii , 1212@debbugs.gnu.org Resent-From: Eli Zaretskii Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 20 Oct 2008 23:00:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1212 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122454321529402 (code B ref -1); Mon, 20 Oct 2008 23:00:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-9.1 required=4.0 tests=AWL,BAYES_00,FOURLA, HAS_BUG_NUMBER,RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 20 Oct 2008 22:53:35 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9KMrU5o029394 for ; Mon, 20 Oct 2008 15:53:31 -0700 Received: from mx10.gnu.org ([199.232.76.166]:54256) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Ks3aN-0006DZ-24 for emacs-pretest-bug@gnu.org; Mon, 20 Oct 2008 18:50:51 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Ks3cv-0003vh-7r for emacs-pretest-bug@gnu.org; Mon, 20 Oct 2008 18:53:29 -0400 Received: from mtaout2.012.net.il ([84.95.2.4]:31597) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ks3cu-0003vZ-RD; Mon, 20 Oct 2008 18:53:29 -0400 Received: from HOME-C4E4A596F7 ([77.126.98.197]) by i_mtaout2.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0K9200MZ47NIHU20@i_mtaout2.012.net.il>; Tue, 21 Oct 2008 00:54:55 +0200 (IST) Date: Tue, 21 Oct 2008 00:53:30 +0200 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il To: Andreas Schwab Cc: 1212@debbugs.gnu.org, emacs-pretest-bug@gnu.org, emacs-devel@gnu.org Message-id: References: X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 > From: Andreas Schwab > Cc: 1212@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org > Date: Mon, 20 Oct 2008 23:28:21 +0200 > > Eli Zaretskii writes: > > >> From: Andreas Schwab > >> Cc: 1212@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org > >> Date: Mon, 20 Oct 2008 19:08:35 +0200 > >> > >> Why do you think that "Emacs Lisp quoting" has anything to do with > >> "shell command quoting"? > > > > Because I grep'ped Emacs sources for its users. > > That does not make it more suitable. You know, since you evidently know better, how about if you explained what that pair of functions is supposed to do, exactly, and what are their intended uses? The doc strings fall short by a large margin, and NEWS had this to say about these functions: *** `split-string-and-unquote' does (what?) *** `combine-and-quote-strings' does (what?) If I can understand the explanation, maybe I could produce from it a suitable section of the ELisp manual, which is the reason why I started to play with split-string-and-unquote. Failing that, I will stick to my interpretation. Here's what I wrote in the ELisp manual about these two functions; comments and corrections, if someone has them, are greatly appreciated: @cindex quoting and unquoting shell command line The following two functions help creating shell commands from individual argument strings and taking shell command lines apart into individual arguments. @defun split-string-and-unquote string &optional separators This function splits @var{string} into substrings at matches for the regular expression @var{separators}, like @code{split-string} does (@pxref{Creating Strings}), but it additionally removes quoting from the substrings. It then makes a list of the substrings and returns it. If @var{separators} is omitted or nil, it defaults to @code{"\\s-+"}, which is a regular expression that matches one or more characters with whitespace syntax (@pxref{Syntax Class Table}). The quoting this function supports is of 2 styles: by enclosing a whole string in double quotes @code{"@dots{}"}, or by quoting individual characters with a backslash escape @samp{\}. The latter is also used in Lisp strings, so this function can handle those as well. @end defun @defun combine-and-quote-strings list-of-strings &optional separator This function concatenates @var{list-of-strings} into a single string, quoting each string in the list that needs quoting as it goes. It also sticks the @var{separator} string in between each pair of strings in the result, and returns that result. If @var{separator} is omitted or @code{nil}, it defaults to a blank @code{" "}. The strings in @var{list-of-strings} that need quoting are those that include @var{separator} as their substring. Quoting a string encloses it in double quotes @code{"@dots{}"}. In the simplest case, if you are consing a shell command from the individual command-line arguments, every argument that includes embedded blanks will be quoted. @end defun From unknown Sat Jun 21 03:29:08 2025 X-Loop: don@donarmstrong.com Subject: bug#1212: 23.0.60; split-string-and-unquote problems Reply-To: Stefan Monnier , 1212@debbugs.gnu.org Resent-From: Stefan Monnier Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 21 Oct 2008 01:20:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1212 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.1224551478329 (code B ref -1); Tue, 21 Oct 2008 01:20:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-8.9 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 21 Oct 2008 01:11:18 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9L1BEZD000321 for ; Mon, 20 Oct 2008 18:11:16 -0700 Received: from mail.gnu.org ([199.232.76.166]:35967 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Ks5jf-0003PV-5w for emacs-pretest-bug@gnu.org; Mon, 20 Oct 2008 21:08:35 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Ks5mE-000128-1b for emacs-pretest-bug@gnu.org; Mon, 20 Oct 2008 21:11:14 -0400 Received: from ironport2-out.pppoe.ca ([206.248.154.182]:18522 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ks5mC-00011t-N3; Mon, 20 Oct 2008 21:11:12 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aq8EAD/J/EhFxLrB/2dsb2JhbACBcsFtg1CBCg X-IronPort-AV: E=Sophos;i="4.33,454,1220241600"; d="scan'208";a="28633077" Received: from 69-196-186-193.dsl.teksavvy.com (HELO pastel.home) ([69.196.186.193]) by ironport2-out.teksavvy.com with ESMTP; 20 Oct 2008 21:11:10 -0400 Received: by pastel.home (Postfix, from userid 20848) id 50D387F20; Mon, 20 Oct 2008 21:11:10 -0400 (EDT) From: Stefan Monnier To: Eli Zaretskii Cc: Andreas Schwab , emacs-pretest-bug@gnu.org, 1212@debbugs.gnu.org, emacs-devel@gnu.org Message-ID: References: Date: Mon, 20 Oct 2008 21:11:10 -0400 In-Reply-To: (Eli Zaretskii's message of "Tue, 21 Oct 2008 00:53:30 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. > *** `split-string-and-unquote' does (what?) > *** `combine-and-quote-strings' does (what?) AFAIK, these two functions are meant to: - provide a way to specify any list of strings within a single string (i.e. it needs to provide some separators and some way to quote the separators), using a format that's simple to type for the end user. - be inverse of each other; more precisely (equal STR (split-string-and-unquote (combine-and-quote-strings STR))) this is also stipulated in the docstring of split-string-and-unquote. As the docstring of split-string-and-unquote explains, the quoting used is the same as the one used for ELisp strings. I could have used sh-style quoting or csh-style, or any other style, but csh-style is nasty, sh-style is too powerful (what should we do with backquotes and $(...)), and ELisp is what Emacs uses already and it's reasonably simple and we know it handles all cases reasonably well, so it seemed like an OK choice. Stefan From unknown Sat Jun 21 03:29:08 2025 X-Loop: don@donarmstrong.com Subject: bug#1212: 23.0.60; split-string-and-unquote problems Reply-To: Andreas Schwab , 1212@debbugs.gnu.org Resent-From: Andreas Schwab Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 21 Oct 2008 09:35:02 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1212 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122458114226674 (code B ref -1); Tue, 21 Oct 2008 09:35:02 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-10.9 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 21 Oct 2008 09:25:42 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9L9PdHS026668 for ; Tue, 21 Oct 2008 02:25:40 -0700 Received: from mx10.gnu.org ([199.232.76.166]:36954) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KsDS7-0000du-Dn for emacs-pretest-bug@gnu.org; Tue, 21 Oct 2008 05:22:59 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KsDUg-0008RF-5n for emacs-pretest-bug@gnu.org; Tue, 21 Oct 2008 05:25:38 -0400 Received: from cantor2.suse.de ([195.135.220.15]:53441 helo=mx2.suse.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KsDUe-0008QT-8F; Tue, 21 Oct 2008 05:25:36 -0400 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 059E946535; Tue, 21 Oct 2008 11:31:42 +0200 (CEST) From: Andreas Schwab To: Eli Zaretskii Cc: 1212@debbugs.gnu.org, emacs-pretest-bug@gnu.org References: X-Yow: I'm having a RELIGIOUS EXPERIENCE.. and I don't take any DRUGS Date: Tue, 21 Oct 2008 11:25:33 +0200 In-Reply-To: (Eli Zaretskii's message of "Tue, 21 Oct 2008 00:36:39 +0200") Message-ID: User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 Eli Zaretskii writes: >> From: Andreas Schwab >> Cc: 1212@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org >> Date: Mon, 20 Oct 2008 23:30:35 +0200 >>=20 >> Eli Zaretskii writes: >>=20 >> >> From: Andreas Schwab >> >> Cc: 1212@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org >> >> Date: Mon, 20 Oct 2008 19:01:12 +0200 >> >>=20 >> >> Eli Zaretskii writes: >> >>=20 >> >> > (split-string-and-unquote "foo\ bar") >> >> > =3D> ("foobar") [where's my blank?] >> >>=20 >> >> (elisp)Syntax for Strings. >> > >> > I tried that as well, in the part you omitted. >>=20 >> What did you try? > > The other inputs, see my original mail. Please read the node again. There is no blank. Andreas. --=20 Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstra=DFe 5, 90409 N=FCrnberg, Germany PGP key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED= 5 "And now for something completely different." From unknown Sat Jun 21 03:29:08 2025 X-Loop: don@donarmstrong.com Subject: bug#1212: 23.0.60; split-string-and-unquote problems Reply-To: Eli Zaretskii , 1212@debbugs.gnu.org Resent-From: Eli Zaretskii Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 21 Oct 2008 10:25:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1212 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12245842906817 (code B ref -1); Tue, 21 Oct 2008 10:25:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-9.2 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 21 Oct 2008 10:18:10 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9LAI7YH006810 for ; Tue, 21 Oct 2008 03:18:08 -0700 Received: from mx10.gnu.org ([199.232.76.166]:40287) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KsEGs-0004hO-Tu for emacs-pretest-bug@gnu.org; Tue, 21 Oct 2008 06:15:27 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KsEJR-0007lx-MD for emacs-pretest-bug@gnu.org; Tue, 21 Oct 2008 06:18:06 -0400 Received: from mtaout1.012.net.il ([84.95.2.1]:40447) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KsEJR-0007lf-5d for emacs-pretest-bug@gnu.org; Tue, 21 Oct 2008 06:18:05 -0400 Received: from HOME-C4E4A596F7 ([77.126.98.197]) by i-mtaout1.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0K9300F023CKRM80@i-mtaout1.012.net.il> for emacs-pretest-bug@gnu.org; Tue, 21 Oct 2008 12:19:32 +0200 (IST) Date: Tue, 21 Oct 2008 12:18:08 +0200 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il To: Andreas Schwab Cc: 1212@debbugs.gnu.org, emacs-pretest-bug@gnu.org Message-id: References: X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 X-CrossAssassin-Score: 2 > From: Andreas Schwab > Cc: 1212@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org > Date: Tue, 21 Oct 2008 11:25:33 +0200 > > Eli Zaretskii writes: > > >> From: Andreas Schwab > >> Cc: 1212@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org > >> Date: Mon, 20 Oct 2008 23:30:35 +0200 > >> > >> Eli Zaretskii writes: > >> > >> >> From: Andreas Schwab > >> >> Cc: 1212@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org > >> >> Date: Mon, 20 Oct 2008 19:01:12 +0200 > >> >> > >> >> Eli Zaretskii writes: > >> >> > >> >> > (split-string-and-unquote "foo\ bar") > >> >> > => ("foobar") [where's my blank?] > >> >> > >> >> (elisp)Syntax for Strings. > >> > > >> > I tried that as well, in the part you omitted. > >> > >> What did you try? > > > > The other inputs, see my original mail. > > Please read the node again. There is no blank. Please read my questions again, in the original report. From unknown Sat Jun 21 03:29:08 2025 X-Loop: don@donarmstrong.com Subject: bug#1212: 23.0.60; split-string-and-unquote problems Reply-To: Andreas Schwab , 1212@debbugs.gnu.org Resent-From: Andreas Schwab Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 21 Oct 2008 11:10:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1212 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122458684517437 (code B ref -1); Tue, 21 Oct 2008 11:10:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-10.9 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 21 Oct 2008 11:00:45 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9LB0gsk017334 for ; Tue, 21 Oct 2008 04:00:43 -0700 Received: from mail.gnu.org ([199.232.76.166]:43345 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KsEw6-0005tQ-I8 for emacs-pretest-bug@gnu.org; Tue, 21 Oct 2008 06:58:02 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KsEyf-00021N-At for emacs-pretest-bug@gnu.org; Tue, 21 Oct 2008 07:00:41 -0400 Received: from mx2.suse.de ([195.135.220.15]:34144) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KsEyd-0001yu-E6; Tue, 21 Oct 2008 07:00:39 -0400 Received: from Relay2.suse.de (relay-ext.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 713F2464E5; Tue, 21 Oct 2008 13:00:35 +0200 (CEST) From: Andreas Schwab To: Eli Zaretskii Cc: 1212@debbugs.gnu.org, emacs-pretest-bug@gnu.org References: X-Yow: Ask me the DIFFERENCE between PHIL SILVERS and ALEXANDER HAIG!! Date: Tue, 21 Oct 2008 13:00:35 +0200 In-Reply-To: (Eli Zaretskii's message of "Tue, 21 Oct 2008 12:18:08 +0200") Message-ID: User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 Eli Zaretskii writes: >> From: Andreas Schwab >> Cc: 1212@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org >> Date: Tue, 21 Oct 2008 11:25:33 +0200 >>=20 >> Eli Zaretskii writes: >>=20 >> >> From: Andreas Schwab >> >> Cc: 1212@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org >> >> Date: Mon, 20 Oct 2008 23:30:35 +0200 >> >>=20 >> >> Eli Zaretskii writes: >> >>=20 >> >> >> From: Andreas Schwab >> >> >> Cc: 1212@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org >> >> >> Date: Mon, 20 Oct 2008 19:01:12 +0200 >> >> >>=20 >> >> >> Eli Zaretskii writes: >> >> >>=20 >> >> >> > (split-string-and-unquote "foo\ bar") >> >> >> > =3D> ("foobar") [where's my blank?] ^^^^^^^^^^^^^^^^^ >> >> >>=20 >> >> >> (elisp)Syntax for Strings. >> >> > >> >> > I tried that as well, in the part you omitted. >> >>=20 >> >> What did you try? >> > >> > The other inputs, see my original mail. >>=20 >> Please read the node again. There is no blank. > > Please read my questions again, in the original report. I did, see above. Andreas. --=20 Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstra=DFe 5, 90409 N=FCrnberg, Germany PGP key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED= 5 "And now for something completely different." From unknown Sat Jun 21 03:29:08 2025 X-Loop: don@donarmstrong.com Subject: bug#1212: 23.0.60; split-string-and-unquote problems Reply-To: Eli Zaretskii , 1212@debbugs.gnu.org Resent-From: Eli Zaretskii Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 21 Oct 2008 11:40:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1212 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122458885025250 (code B ref -1); Tue, 21 Oct 2008 11:40:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-8.5 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_MED,RCVD_IN_NIX1 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 21 Oct 2008 11:34:10 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9LBY7Ux025243 for ; Tue, 21 Oct 2008 04:34:08 -0700 Received: from mx10.gnu.org ([199.232.76.166]:46447) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KsFSR-0004jg-0I for emacs-pretest-bug@gnu.org; Tue, 21 Oct 2008 07:31:27 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KsFUz-0001HU-TI for emacs-pretest-bug@gnu.org; Tue, 21 Oct 2008 07:34:06 -0400 Received: from mtaout6.012.net.il ([84.95.2.16]:38331) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KsFUz-0001Gk-Aw for emacs-pretest-bug@gnu.org; Tue, 21 Oct 2008 07:34:05 -0400 Received: from HOME-C4E4A596F7 ([77.126.98.197]) by i-mtaout6.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0K9300EQJ6UXXD00@i-mtaout6.012.net.il> for emacs-pretest-bug@gnu.org; Tue, 21 Oct 2008 13:35:30 +0200 (IST) Date: Tue, 21 Oct 2008 13:33:56 +0200 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il To: Andreas Schwab Cc: 1212@debbugs.gnu.org, emacs-pretest-bug@gnu.org Message-id: References: X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (1203?) > From: Andreas Schwab > Cc: 1212@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org > Date: Tue, 21 Oct 2008 13:00:35 +0200 > > Eli Zaretskii writes: > > >> From: Andreas Schwab > >> Cc: 1212@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org > >> Date: Tue, 21 Oct 2008 11:25:33 +0200 > >> > >> Eli Zaretskii writes: > >> > >> >> From: Andreas Schwab > >> >> Cc: 1212@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org > >> >> Date: Mon, 20 Oct 2008 23:30:35 +0200 > >> >> > >> >> Eli Zaretskii writes: > >> >> > >> >> >> From: Andreas Schwab > >> >> >> Cc: 1212@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org > >> >> >> Date: Mon, 20 Oct 2008 19:01:12 +0200 > >> >> >> > >> >> >> Eli Zaretskii writes: > >> >> >> > >> >> >> > (split-string-and-unquote "foo\ bar") > >> >> >> > => ("foobar") [where's my blank?] > ^^^^^^^^^^^^^^^^^ > >> >> >> > >> >> >> (elisp)Syntax for Strings. > >> >> > > >> >> > I tried that as well, in the part you omitted. > >> >> > >> >> What did you try? > >> > > >> > The other inputs, see my original mail. > >> > >> Please read the node again. There is no blank. > > > > Please read my questions again, in the original report. > > I did, see above. Which part of "the other inputs" did you misunderstand? From unknown Sat Jun 21 03:29:08 2025 X-Loop: don@donarmstrong.com Subject: bug#1212: 23.0.60; split-string-and-unquote problems Reply-To: Andreas Schwab , 1212@debbugs.gnu.org Resent-From: Andreas Schwab Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 21 Oct 2008 11:55:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1212 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122458976928927 (code B ref -1); Tue, 21 Oct 2008 11:55:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-11.0 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 21 Oct 2008 11:49:29 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9LBnQn9028921 for ; Tue, 21 Oct 2008 04:49:27 -0700 Received: from mx10.gnu.org ([199.232.76.166]:48515) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KsFhE-0006Zk-9M for emacs-pretest-bug@gnu.org; Tue, 21 Oct 2008 07:46:45 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KsFjg-00054M-5i for emacs-pretest-bug@gnu.org; Tue, 21 Oct 2008 07:49:20 -0400 Received: from cantor2.suse.de ([195.135.220.15]:37416 helo=mx2.suse.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KsFjV-0004zX-8H; Tue, 21 Oct 2008 07:49:05 -0400 Received: from Relay1.suse.de (relay-ext.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 238FA4652C; Tue, 21 Oct 2008 13:49:03 +0200 (CEST) From: Andreas Schwab To: Eli Zaretskii Cc: 1212@debbugs.gnu.org, emacs-pretest-bug@gnu.org References: X-Yow: How's it going in those MODULAR LOVE UNITS?? Date: Tue, 21 Oct 2008 13:49:02 +0200 In-Reply-To: (Eli Zaretskii's message of "Tue, 21 Oct 2008 13:33:56 +0200") Message-ID: User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 Eli Zaretskii writes: >> From: Andreas Schwab >> Cc: 1212@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org >> Date: Tue, 21 Oct 2008 13:00:35 +0200 >>=20 >> Eli Zaretskii writes: >>=20 >> >> From: Andreas Schwab >> >> Cc: 1212@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org >> >> Date: Tue, 21 Oct 2008 11:25:33 +0200 >> >>=20 >> >> Eli Zaretskii writes: >> >>=20 >> >> >> From: Andreas Schwab >> >> >> Cc: 1212@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org >> >> >> Date: Mon, 20 Oct 2008 23:30:35 +0200 >> >> >>=20 >> >> >> Eli Zaretskii writes: >> >> >>=20 >> >> >> >> From: Andreas Schwab >> >> >> >> Cc: 1212@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.or= g >> >> >> >> Date: Mon, 20 Oct 2008 19:01:12 +0200 >> >> >> >>=20 >> >> >> >> Eli Zaretskii writes: >> >> >> >>=20 >> >> >> >> > (split-string-and-unquote "foo\ bar") >> >> >> >> > =3D> ("foobar") [where's my blank?] >> ^^^^^^^^^^^^^^^^^ >> >> >> >>=20 >> >> >> >> (elisp)Syntax for Strings. >> >> >> > >> >> >> > I tried that as well, in the part you omitted. >> >> >>=20 >> >> >> What did you try? >> >> > >> >> > The other inputs, see my original mail. >> >>=20 >> >> Please read the node again. There is no blank. >> > >> > Please read my questions again, in the original report. >>=20 >> I did, see above. > > Which part of "the other inputs" did you misunderstand? This is completely irrelevant. I have answered _only_ your question above. Andreas. --=20 Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstra=DFe 5, 90409 N=FCrnberg, Germany PGP key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED= 5 "And now for something completely different." From unknown Sat Jun 21 03:29:08 2025 X-Loop: don@donarmstrong.com Subject: bug#1212: 23.0.60; split-string-and-unquote problems Reply-To: Eli Zaretskii , 1212@debbugs.gnu.org Resent-From: Eli Zaretskii Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 21 Oct 2008 12:35:02 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1212 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12245920166816 (code B ref -1); Tue, 21 Oct 2008 12:35:02 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-8.5 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_MED,RCVD_IN_NIX1 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 21 Oct 2008 12:26:56 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9LCQqgh006804 for ; Tue, 21 Oct 2008 05:26:53 -0700 Received: from mx10.gnu.org ([199.232.76.166]:53395) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KsGHT-0002JW-Nb for emacs-pretest-bug@gnu.org; Tue, 21 Oct 2008 08:24:11 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KsGK2-0005tu-Bw for emacs-pretest-bug@gnu.org; Tue, 21 Oct 2008 08:26:51 -0400 Received: from mtaout4.012.net.il ([84.95.2.10]:13297) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KsGK1-0005t2-Ht for emacs-pretest-bug@gnu.org; Tue, 21 Oct 2008 08:26:49 -0400 Received: from HOME-C4E4A596F7 ([77.126.98.197]) by i_mtaout4.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0K930056O990J0Z0@i_mtaout4.012.net.il> for emacs-pretest-bug@gnu.org; Tue, 21 Oct 2008 14:27:25 +0200 (IST) Date: Tue, 21 Oct 2008 14:25:32 +0200 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il To: Andreas Schwab Cc: 1212@debbugs.gnu.org, emacs-pretest-bug@gnu.org Message-id: References: X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 > From: Andreas Schwab > Cc: 1212@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org > Date: Tue, 21 Oct 2008 13:49:02 +0200 > > Eli Zaretskii writes: > > >> From: Andreas Schwab > >> Cc: 1212@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org > >> Date: Tue, 21 Oct 2008 13:00:35 +0200 > >> > >> Eli Zaretskii writes: > >> > >> >> From: Andreas Schwab > >> >> Cc: 1212@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org > >> >> Date: Tue, 21 Oct 2008 11:25:33 +0200 > >> >> > >> >> Eli Zaretskii writes: > >> >> > >> >> >> From: Andreas Schwab > >> >> >> Cc: 1212@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org > >> >> >> Date: Mon, 20 Oct 2008 23:30:35 +0200 > >> >> >> > >> >> >> Eli Zaretskii writes: > >> >> >> > >> >> >> >> From: Andreas Schwab > >> >> >> >> Cc: 1212@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org > >> >> >> >> Date: Mon, 20 Oct 2008 19:01:12 +0200 > >> >> >> >> > >> >> >> >> Eli Zaretskii writes: > >> >> >> >> > >> >> >> >> > (split-string-and-unquote "foo\ bar") > >> >> >> >> > => ("foobar") [where's my blank?] > >> ^^^^^^^^^^^^^^^^^ > >> >> >> >> > >> >> >> >> (elisp)Syntax for Strings. > >> >> >> > > >> >> >> > I tried that as well, in the part you omitted. > >> >> >> > >> >> >> What did you try? > >> >> > > >> >> > The other inputs, see my original mail. > >> >> > >> >> Please read the node again. There is no blank. > >> > > >> > Please read my questions again, in the original report. > >> > >> I did, see above. > > > > Which part of "the other inputs" did you misunderstand? > > This is completely irrelevant. I have answered _only_ your question > above. The answer to that specific question is completely irrelevant to the problem I reported in the original bug report. You need to consider all the examples and questions together. From unknown Sat Jun 21 03:29:08 2025 X-Loop: don@donarmstrong.com Subject: bug#1212: 23.0.60; split-string-and-unquote problems Reply-To: Andreas Schwab , 1212@debbugs.gnu.org Resent-From: Andreas Schwab Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 21 Oct 2008 13:00:02 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1212 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122459344312724 (code B ref -1); Tue, 21 Oct 2008 13:00:02 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-11.0 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 21 Oct 2008 12:50:43 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9LCoeqQ012718 for ; Tue, 21 Oct 2008 05:50:41 -0700 Received: from mail.gnu.org ([199.232.76.166]:55693 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KsGeW-0006Oq-DM for emacs-pretest-bug@gnu.org; Tue, 21 Oct 2008 08:48:00 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KsGh4-0002Cs-2Y for emacs-pretest-bug@gnu.org; Tue, 21 Oct 2008 08:50:40 -0400 Received: from ns.suse.de ([195.135.220.2]:53082 helo=mx1.suse.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KsGh0-0002Ap-Bo; Tue, 21 Oct 2008 08:50:34 -0400 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 10CBC4295D; Tue, 21 Oct 2008 14:50:31 +0200 (CEST) From: Andreas Schwab To: Eli Zaretskii Cc: 1212@debbugs.gnu.org, emacs-pretest-bug@gnu.org References: X-Yow: "DARK SHADOWS" is on!! Hey, I think the VAMPIRE forgot his UMBRELLA!! Date: Tue, 21 Oct 2008 14:50:30 +0200 In-Reply-To: (Eli Zaretskii's message of "Tue, 21 Oct 2008 14:25:32 +0200") Message-ID: User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 Eli Zaretskii writes: > The answer to that specific question is completely irrelevant to the > problem I reported in the original bug report. You need to consider > all the examples and questions together. It makes half of your examples useless. Andreas. --=20 Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstra=DFe 5, 90409 N=FCrnberg, Germany PGP key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED= 5 "And now for something completely different." From unknown Sat Jun 21 03:29:08 2025 X-Loop: don@donarmstrong.com Subject: bug#1212: 23.0.60; split-string-and-unquote problems Reply-To: Eli Zaretskii , 1212@debbugs.gnu.org Resent-From: Eli Zaretskii Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 21 Oct 2008 13:05:05 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1212 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122459389613934 (code B ref -1); Tue, 21 Oct 2008 13:05:05 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-8.5 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_MED,RCVD_IN_NIX1 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 21 Oct 2008 12:58:16 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9LCwAKg013926 for ; Tue, 21 Oct 2008 05:58:11 -0700 Received: from mail.gnu.org ([199.232.76.166]:56360 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KsGlm-0007AZ-DI for emacs-pretest-bug@gnu.org; Tue, 21 Oct 2008 08:55:30 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KsGoL-0003LK-QG for emacs-pretest-bug@gnu.org; Tue, 21 Oct 2008 08:58:10 -0400 Received: from mtaout3.012.net.il ([84.95.2.7]:12455) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KsGoL-0003L8-GA for emacs-pretest-bug@gnu.org; Tue, 21 Oct 2008 08:58:09 -0400 Received: from HOME-C4E4A596F7 ([77.126.98.197]) by i_mtaout3.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0K93004XMAR2ZOI0@i_mtaout3.012.net.il> for emacs-pretest-bug@gnu.org; Tue, 21 Oct 2008 14:59:37 +0200 (IST) Date: Tue, 21 Oct 2008 14:58:01 +0200 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il To: Andreas Schwab Cc: 1212@debbugs.gnu.org, emacs-pretest-bug@gnu.org Message-id: References: X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 > X-Spam-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00, > DNS_FROM_SECURITYSAGE autolearn=no version=3.1.0 > From: Andreas Schwab > Cc: 1212@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org > Date: Tue, 21 Oct 2008 14:50:30 +0200 > > Eli Zaretskii writes: > > > The answer to that specific question is completely irrelevant to the > > problem I reported in the original bug report. You need to consider > > all the examples and questions together. > > It makes half of your examples useless. I made a lot of trials out of sheer despair. The examples were supposed to demonstrate that nothing worked. From unknown Sat Jun 21 03:29:08 2025 X-Loop: don@donarmstrong.com Subject: bug#1212: 23.0.60; split-string-and-unquote problems Reply-To: Andreas Schwab , 1212@debbugs.gnu.org Resent-From: Andreas Schwab Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 21 Oct 2008 13:30:02 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1212 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122459546020650 (code B ref -1); Tue, 21 Oct 2008 13:30:02 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-11.0 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 21 Oct 2008 13:24:20 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9LDOHUq020640 for ; Tue, 21 Oct 2008 06:24:18 -0700 Received: from mail.gnu.org ([199.232.76.166]:58579 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KsHB3-0005Gr-0m for emacs-pretest-bug@gnu.org; Tue, 21 Oct 2008 09:21:37 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KsHDb-0007LF-Tk for emacs-pretest-bug@gnu.org; Tue, 21 Oct 2008 09:24:16 -0400 Received: from mx2.suse.de ([195.135.220.15]:44236) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KsHDZ-0007Kc-Uy; Tue, 21 Oct 2008 09:24:14 -0400 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 7F7F04644C; Tue, 21 Oct 2008 15:24:11 +0200 (CEST) From: Andreas Schwab To: Eli Zaretskii Cc: 1212@debbugs.gnu.org, emacs-pretest-bug@gnu.org References: X-Yow: I want to so HAPPY, the VEINS in my neck STAND OUT!! Date: Tue, 21 Oct 2008 15:24:11 +0200 In-Reply-To: (Eli Zaretskii's message of "Tue, 21 Oct 2008 14:58:01 +0200") Message-ID: User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 Eli Zaretskii writes: >> X-Spam-Status: No, score=3D-1.7 required=3D5.0 tests=3DAWL,BAYES_00, >> DNS_FROM_SECURITYSAGE autolearn=3Dno version=3D3.1.0 >> From: Andreas Schwab >> Cc: 1212@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org >> Date: Tue, 21 Oct 2008 14:50:30 +0200 >>=20 >> Eli Zaretskii writes: >>=20 >> > The answer to that specific question is completely irrelevant to the >> > problem I reported in the original bug report. You need to consider >> > all the examples and questions together. >>=20 >> It makes half of your examples useless. > > I made a lot of trials out of sheer despair. The examples were > supposed to demonstrate that nothing worked. Of course, if there is nothing to split. What's your point? Andreas. --=20 Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstra=DFe 5, 90409 N=FCrnberg, Germany PGP key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED= 5 "And now for something completely different." From unknown Sat Jun 21 03:29:08 2025 X-Loop: don@donarmstrong.com Subject: bug#1212: 23.0.60; split-string-and-unquote problems Reply-To: Eli Zaretskii , 1212@debbugs.gnu.org Resent-From: Eli Zaretskii Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 21 Oct 2008 13:45:02 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1212 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122459621924315 (code B ref -1); Tue, 21 Oct 2008 13:45:02 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-8.5 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_MED,RCVD_IN_NIX1 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 21 Oct 2008 13:36:59 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9LDaoZk024301 for ; Tue, 21 Oct 2008 06:36:52 -0700 Received: from mail.gnu.org ([199.232.76.166]:59517 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KsHNC-0003qQ-Nb for emacs-pretest-bug@gnu.org; Tue, 21 Oct 2008 09:34:10 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KsHPl-0000rV-Jy for emacs-pretest-bug@gnu.org; Tue, 21 Oct 2008 09:36:50 -0400 Received: from mtaout1.012.net.il ([84.95.2.1]:61236) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KsHPl-0000rB-7g for emacs-pretest-bug@gnu.org; Tue, 21 Oct 2008 09:36:49 -0400 Received: from HOME-C4E4A596F7 ([77.126.98.197]) by i-mtaout1.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0K9300BLOCJSSO20@i-mtaout1.012.net.il> for emacs-pretest-bug@gnu.org; Tue, 21 Oct 2008 15:38:16 +0200 (IST) Date: Tue, 21 Oct 2008 15:36:52 +0200 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il To: Andreas Schwab Cc: 1212@debbugs.gnu.org, emacs-pretest-bug@gnu.org Message-id: References: X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 X-CrossAssassin-Score: 2 > From: Andreas Schwab > Cc: 1212@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org > Date: Tue, 21 Oct 2008 15:24:11 +0200 > > Eli Zaretskii writes: > > >> X-Spam-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00, > >> DNS_FROM_SECURITYSAGE autolearn=no version=3.1.0 > >> From: Andreas Schwab > >> Cc: 1212@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org > >> Date: Tue, 21 Oct 2008 14:50:30 +0200 > >> > >> Eli Zaretskii writes: > >> > >> > The answer to that specific question is completely irrelevant to the > >> > problem I reported in the original bug report. You need to consider > >> > all the examples and questions together. > >> > >> It makes half of your examples useless. > > > > I made a lot of trials out of sheer despair. The examples were > > supposed to demonstrate that nothing worked. > > Of course, if there is nothing to split. What's your point? The point is that the function says it also _unquotes_. It's the unquoting that didn't work for me in the cases I described in the bug report. Adding more text just so it could split doesn't change the problematic behavior, but would clutter the bug report with irrelevant details. From unknown Sat Jun 21 03:29:08 2025 X-Loop: don@donarmstrong.com Subject: bug#1212: 23.0.60; split-string-and-unquote problems Reply-To: Andreas Schwab , 1212@debbugs.gnu.org Resent-From: Andreas Schwab Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 21 Oct 2008 13:50:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1212 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122459669325712 (code B ref -1); Tue, 21 Oct 2008 13:50:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-11.0 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 21 Oct 2008 13:44:53 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9LDioOt025706 for ; Tue, 21 Oct 2008 06:44:51 -0700 Received: from mx10.gnu.org ([199.232.76.166]:60164) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KsHUw-0005EV-5q for emacs-pretest-bug@gnu.org; Tue, 21 Oct 2008 09:42:10 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KsHXV-00020U-7l for emacs-pretest-bug@gnu.org; Tue, 21 Oct 2008 09:44:49 -0400 Received: from cantor.suse.de ([195.135.220.2]:57319 helo=mx1.suse.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KsHXS-0001zf-NY; Tue, 21 Oct 2008 09:44:47 -0400 Received: from Relay1.suse.de (relay-ext.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id A4A0B42A1A; Tue, 21 Oct 2008 15:44:44 +0200 (CEST) From: Andreas Schwab To: Eli Zaretskii Cc: 1212@debbugs.gnu.org, emacs-pretest-bug@gnu.org References: X-Yow: I've got to get these SNACK CAKES to NEWARK by DAWN!! Date: Tue, 21 Oct 2008 15:44:44 +0200 In-Reply-To: (Eli Zaretskii's message of "Tue, 21 Oct 2008 15:36:52 +0200") Message-ID: User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 Eli Zaretskii writes: > The point is that the function says it also _unquotes_. Why did you emphasize on the missing blank then? Andreas. --=20 Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstra=DFe 5, 90409 N=FCrnberg, Germany PGP key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED= 5 "And now for something completely different." From unknown Sat Jun 21 03:29:08 2025 X-Loop: don@donarmstrong.com Subject: bug#1212: 23.0.60; split-string-and-unquote problems Reply-To: Eli Zaretskii , 1212@debbugs.gnu.org Resent-From: Eli Zaretskii Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 21 Oct 2008 15:20:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1212 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122460205916098 (code B ref -1); Tue, 21 Oct 2008 15:20:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-8.5 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_MED,RCVD_IN_NIX1 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 21 Oct 2008 15:14:19 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9LFEFBd016086 for ; Tue, 21 Oct 2008 08:14:16 -0700 Received: from mail.gnu.org ([199.232.76.166]:42662 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KsItT-0005yX-6n for emacs-pretest-bug@gnu.org; Tue, 21 Oct 2008 11:11:35 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KsIw1-00048N-Qg for emacs-pretest-bug@gnu.org; Tue, 21 Oct 2008 11:14:14 -0400 Received: from mtaout7.012.net.il ([84.95.2.19]:22812) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KsIw1-00047N-66 for emacs-pretest-bug@gnu.org; Tue, 21 Oct 2008 11:14:13 -0400 Received: from HOME-C4E4A596F7 ([77.126.98.197]) by i-mtaout7.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0K9300F6ZH08O150@i-mtaout7.012.net.il> for emacs-pretest-bug@gnu.org; Tue, 21 Oct 2008 17:14:33 +0200 (IST) Date: Tue, 21 Oct 2008 17:13:09 +0200 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il To: Andreas Schwab Cc: 1212@debbugs.gnu.org, emacs-pretest-bug@gnu.org Message-id: References: X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (1203?) > From: Andreas Schwab > Cc: 1212@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org > Date: Tue, 21 Oct 2008 15:44:44 +0200 > > Eli Zaretskii writes: > > > The point is that the function says it also _unquotes_. > > Why did you emphasize on the missing blank then? Because I couldn't find any way of quoting embedded blanks with backslashes, something frequently done in shell commands. From unknown Sat Jun 21 03:29:08 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Eli Zaretskii Subject: bug#1212: closed (Re: bug#7563: 23.2; `split-string-and-unquote' mis-documented / purpose unclear) Message-ID: References: <83fwu4vdsk.fsf@gnu.org> X-Gnu-PR-Message: they-closed 1212 X-Gnu-PR-Package: emacs Reply-To: 1212@debbugs.gnu.org Date: Sat, 11 Dec 2010 09:45:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1292060702-7484-1" This is a multi-part message in MIME format... ------------=_1292060702-7484-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #1212: 23.0.60; split-string-and-unquote problems which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 1212@debbugs.gnu.org. --=20 1212: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D1212 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1292060702-7484-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 1212-done) by debbugs.gnu.org; 11 Dec 2010 09:44:23 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PRM07-0001ve-B3 for submit@debbugs.gnu.org; Sat, 11 Dec 2010 04:44:23 -0500 Received: from mtaout21.012.net.il ([80.179.55.169]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PRM04-0001vN-8E; Sat, 11 Dec 2010 04:44:21 -0500 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0LD900J00CBP3V00@a-mtaout21.012.net.il>; Sat, 11 Dec 2010 11:50:23 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.229.142.197]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LD900IM1CNWXB80@a-mtaout21.012.net.il>; Sat, 11 Dec 2010 11:50:22 +0200 (IST) Date: Sat, 11 Dec 2010 11:50:35 +0200 From: Eli Zaretskii Subject: Re: bug#7563: 23.2; `split-string-and-unquote' mis-documented / purpose unclear In-reply-to: X-012-Sender: halo1@inter.net.il To: Dave Abrahams Message-id: <83fwu4vdsk.fsf@gnu.org> References: X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 1212-done Cc: 7563-done@debbugs.gnu.org, 1212-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > Date: Sun, 05 Dec 2010 16:28:16 -0500 > From: Dave Abrahams > Cc: > > This function performs two types of quoting: enclosing a whole > string in double quotes `"..."', and quoting individual characters > with a backslash escape `\'. The latter is also used in Lisp > strings, so this function can handle those as well. > > > First problem: the last paragraph above is simply wrong. > split-string-and-unquote doesn't perform any type of quoting; it > un-quotes. I changed "performs" to "supports". Thanks for catching this. > Second problem: the doc implies that a string that could be executed > by the shell could be split into its constituent arguments by > split-string-and-unquote, but in general, it cannot, e.g.: > > (split-string-and-unquote "'foo bar'") => ("'foo" "bar'") > (split-string-and-unquote "foo\\ bar") => ("foo" "bar") > > I'm not sure what this function is really supposed to be for, but any > implication that it properly handles conversion into shell arguments > is highly misleading. Some motivation should be given for proper use > of split-string-and-unquote, or it should be deprecated. This has come up before; see Bug #1212 and this thread: http://lists.gnu.org/archive/html/emacs-devel/2008-10/msg00431.html The best explanation I can give you is that this function is for taking minibuffer input and converting it to a list of string arguments as required by call-process and start-process. (I added this information to the manual.) Note that the documentation does not mention "shell" anywhere. You could also gain some insight by looking at the users of this function. With those changes, I'm closing this bug report (and 1212 as well), because the issue has been already beaten to death in the above discussion. The changes I made are on the emacs-23 branch, btw, in case you want to eyeball them. ------------=_1292060702-7484-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From eliz@gnu.org Mon Oct 20 09:04:47 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-7.5 required=4.0 tests=AWL,BAYES_00,FOURLA, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 20 Oct 2008 16:04:48 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9KG4ecO023248 for ; Mon, 20 Oct 2008 09:04:41 -0700 Received: from mail.gnu.org ([199.232.76.166]:53988 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KrxCj-0001zg-Cd for emacs-pretest-bug@gnu.org; Mon, 20 Oct 2008 12:02:01 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KrxFH-000251-Mm for emacs-pretest-bug@gnu.org; Mon, 20 Oct 2008 12:04:40 -0400 Received: from mtaout2.012.net.il ([84.95.2.4]:37516) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KrxFH-00024j-AO for emacs-pretest-bug@gnu.org; Mon, 20 Oct 2008 12:04:39 -0400 Received: from HOME-C4E4A596F7 ([77.126.98.197]) by i_mtaout2.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0K9100KFAOQ5UB61@i_mtaout2.012.net.il> for emacs-pretest-bug@gnu.org; Mon, 20 Oct 2008 18:06:05 +0200 (IST) Date: Mon, 20 Oct 2008 18:04:41 +0200 From: Eli Zaretskii Subject: 23.0.60; split-string-and-unquote problems X-012-Sender: halo1@inter.net.il To: emacs-pretest-bug@gnu.org Message-id: X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: The function split-string-and-unquote is a great help in taking apart shell command lines, but the values it returns seem incorrect in some situations, at least from shell command quoting perspective: (split-string-and-unquote "foo\ bar") => ("foobar") [where's my blank?] (split-string-and-unquote "foo\\\ bar") => ("foo\\bar") [where's my blank?] (split-string-and-unquote "foo\" \"bar") => ("foo" " " "bar") [where's my blank] (split-string-and-unquote "foo\"*\"bar") => ("foo" "*" "bar") [can't quote in the middle of a string?] (split-string-and-unquote "foo\\\"bar") => End of file during parsing [how do you quote a quote?] Also, it doesn't support '..' quoting, which is quite frequent in shell commands. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file d:/gnu/emacs/etc/DEBUG for instructions. In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-10-20 on HOME-C4E4A596F7 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4)' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENU value of $XMODIFIERS: nil locale-coding-system: cp1255 default-enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: show-paren-mode: t tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-SPC M-w C-x b C-y M-: * M-: C-SPC C-e M-w C-y SPC = > SPC C-x b C-a C-SPC M-w C-x b C-y M-: C-SPC C-a M-w C-y SPC = > SPC C-a M-: C-SPC C-e M-w C-y M-: \ M-: \ M-: C-SPC C-e M-w C-y SPC = > SPC C-x b C-SPC M-w C-x b C-y C-x M-x r e p o r t - e m a Recent messages: ("foo" "*" "bar") [2 times] Mark set [3 times] split-string-and-unquote: End of file during parsing Mark set split-string-and-unquote: End of file during parsing Mark set [2 times] ("foo\\" "bar") ("foo\\bar") [2 times] Mark set [3 times] Scanning for dabbrevs...100% ------------=_1292060702-7484-1--