Lars Ingebrigtsen <larsi@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 16012) by debbugs.gnu.org; 15 Jul 2021 05:22:59 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jul 15 01:22:59 2021 Received: from localhost ([127.0.0.1]:46296 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1m3tpq-0004ze-Qp for submit <at> debbugs.gnu.org; Thu, 15 Jul 2021 01:22:59 -0400 Received: from quimby.gnus.org ([95.216.78.240]:52270) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1m3tpo-0004zN-VT for 16012 <at> debbugs.gnu.org; Thu, 15 Jul 2021 01:22:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=qxNqu6g+d38p/nIDbv2McASiq9jQAEKHM0lsyrVnxKc=; b=iH+VQ2H/Z7mC+Dlk0qWrK6nDUp khYx5DFdvhTpTsuPd2BdZqrFmF5ELupEs2vgo39QO5cvI0D8oItc4AB6w6AbnPS6JDzoA/0RAMhoA WI0OYHTtJNUyGzz2OpLZJHdx/CW2FQ04FTvpw6aom8/7f+AAXGg9yDI7eaDH279f207w=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1m3tpg-0004BG-Lj; Thu, 15 Jul 2021 07:22:51 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> To: Sebastien Vauban <sva-news@HIDDEN> Subject: Re: bug#16012: 24.3.50; Multi-line shell commands appear as one-liners in the history References: <86eh5yb4ls.fsf@HIDDEN> <861ts4qufz.fsf@HIDDEN> X-Now-Playing: Pet Shop Boys's _Hotspot_: "You are the one" Date: Thu, 15 Jul 2021 07:22:48 +0200 In-Reply-To: <861ts4qufz.fsf@HIDDEN> (Sebastien Vauban's message of "Mon, 25 Aug 2014 20:45:52 +0200") Message-ID: <875yxcqhg7.fsf_-_@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Sebastien Vauban <sva-news@HIDDEN> writes: >>> ls \ >>> *.html >>> >>> Recalling the previous command will just show "*.html", not "ls >>>\\n*.html". I can confirm that this behaviour is still present in Emacs 28. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 16012 Cc: 16012 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Sebastien Vauban <sva-news@HIDDEN> writes: >>> ls \ >>> *.html >>> >>> Recalling the previous command will just show "*.html", not "ls >>>\\n*.html". I can confirm that this behaviour is still present in Emacs 28. > I've just read notes about "Comint Patch": > > =E2=95=AD=E2=94=80=E2=94=80=E2=94=80=E2=94=80 > =E2=94=82 If you enter a multi-line SQL statement in an SQLi buffer, yo= u can > =E2=94=82 retrieve it as a multi-line command from the MinibufferHistor= y. Not so > =E2=94=82 when you exit Emacs and restart it at a later date: As you ex= it SQLi > =E2=94=82 mode the command history is written to a file; when you enter= SQLi mode > =E2=94=82 again the history is loaded one command per line. If you ente= red > =E2=94=82 multi-line commands, each line of those commands will end up = as one > =E2=94=82 command in the input history of your new session. > =E2=94=82=20 > =E2=94=82 This patch will be in Emacs 21. > =E2=95=B0=E2=94=80=E2=94=80=E2=94=80=E2=94=80 > > See http://www.emacswiki.org/emacs-es/ComintPatched > > Aren't we talking of this bug? If yes, why isn't it yet in Emacs, then? Presumably nobody submitted it -- and that URL doesn't exist any more. Does anybody have the patch in question? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
bug-gnu-emacs@HIDDEN
:bug#16012
; Package emacs
.
Full text available.Received: (at 16012) by debbugs.gnu.org; 25 Aug 2014 18:46:52 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Aug 25 14:46:51 2014 Received: from localhost ([127.0.0.1]:51971 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1XLzI3-0007eL-9K for submit <at> debbugs.gnu.org; Mon, 25 Aug 2014 14:46:51 -0400 Received: from dd5e0353a.access.telenet.be ([213.224.53.58]:47009 helo=mail.missioncriticalit.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <sva-news@HIDDEN>) id 1XLzHy-0007dv-8l for 16012 <at> debbugs.gnu.org; Mon, 25 Aug 2014 14:46:47 -0400 Received: from MUNDANEUM.i-did-not-set--mail-host-address--so-tickle-me (ip-83-101-44-240.customer.schedom-europe.net [83.101.44.240]) by mail.missioncriticalit.com (Postfix) with ESMTPSA id 78E3A501300 for <16012 <at> debbugs.gnu.org>; Mon, 25 Aug 2014 20:46:39 +0200 (CEST) From: Sebastien Vauban <sva-news@HIDDEN> To: 16012 <at> debbugs.gnu.org Subject: Re: Multi-line shell commands appear as one-liners in the history Organization: Sebastien Vauban X-Url: Under construction... X-Archive: encrypt Date: Mon, 25 Aug 2014 20:45:52 +0200 Message-ID: <861ts4qufz.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.93 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.9 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hello, >> ls \ >> *.html >> >> Recalling the previous command will just show "*.html", not "ls >>\\n*.html". > > Right, currently shell-mode has no idea that these were two lines of > the same command. The semantics of a terminating backslash completely > eludes it. > >> Is there a solution to this? > > A patch for shell.el would probably do it, assuming it's the right > patch ;-) [...] Content analysis details: (1.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.3 RCVD_IN_RP_RNBL RBL: Relay in RNBL, https://senderscore.org/blacklistlookup/ [213.224.53.58 listed in bl.score.senderscore.com] 0.7 SPF_NEUTRAL SPF: sender does not match SPF record (neutral) 0.0 FAKE_REPLY_C FAKE_REPLY_C X-Debbugs-Envelope-To: 16012 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 1.9 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hello, >> ls \ >> *.html >> >> Recalling the previous command will just show "*.html", not "ls >>\\n*.html". > > Right, currently shell-mode has no idea that these were two lines of > the same command. The semantics of a terminating backslash completely > eludes it. > >> Is there a solution to this? > > A patch for shell.el would probably do it, assuming it's the right > patch ;-) [...] Content analysis details: (1.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.3 RCVD_IN_RP_RNBL RBL: Relay in RNBL, https://senderscore.org/blacklistlookup/ [213.224.53.58 listed in bl.score.senderscore.com] 0.7 SPF_NEUTRAL SPF: sender does not match SPF record (neutral) 0.0 FAKE_REPLY_C FAKE_REPLY_C Hello, >> ls \ >> *.html >> >> Recalling the previous command will just show "*.html", not "ls >>\\n*.html". > > Right, currently shell-mode has no idea that these were two lines of > the same command. The semantics of a terminating backslash completely > eludes it. > >> Is there a solution to this? > > A patch for shell.el would probably do it, assuming it's the right > patch ;-) I've just read notes about "Comint Patch": =E2=95=AD=E2=94=80=E2=94=80=E2=94=80=E2=94=80 =E2=94=82 If you enter a multi-line SQL statement in an SQLi buffer, you = can =E2=94=82 retrieve it as a multi-line command from the MinibufferHistory.= Not so =E2=94=82 when you exit Emacs and restart it at a later date: As you exit= SQLi =E2=94=82 mode the command history is written to a file; when you enter S= QLi mode =E2=94=82 again the history is loaded one command per line. If you entered =E2=94=82 multi-line commands, each line of those commands will end up as= one =E2=94=82 command in the input history of your new session. =E2=94=82=20 =E2=94=82 This patch will be in Emacs 21. =E2=95=B0=E2=94=80=E2=94=80=E2=94=80=E2=94=80 See http://www.emacswiki.org/emacs-es/ComintPatched Aren't we talking of this bug? If yes, why isn't it yet in Emacs, then? Best regards, Seb --=20 Sebastien Vauban
bug-gnu-emacs@HIDDEN
:bug#16012
; Package emacs
.
Full text available.Received: (at 16012) by debbugs.gnu.org; 1 Dec 2013 21:13:47 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 01 16:13:47 2013 Received: from localhost ([127.0.0.1]:53585 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1VnEKp-0005p9-AQ for submit <at> debbugs.gnu.org; Sun, 01 Dec 2013 16:13:47 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:33605) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <monnier@HIDDEN>) id 1VnEKn-0005ow-Kw for 16012 <at> debbugs.gnu.org; Sun, 01 Dec 2013 16:13:46 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av8EABK/CFFMCox4/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCwsOJhIUGA0kLodwBsEtkQoDiGGcGYFegxU X-IPAS-Result: Av8EABK/CFFMCox4/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCwsOJhIUGA0kLodwBsEtkQoDiGGcGYFegxU X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="40856949" Received: from 76-10-140-120.dsl.teksavvy.com (HELO pastel.home) ([76.10.140.120]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 01 Dec 2013 16:13:40 -0500 Received: by pastel.home (Postfix, from userid 20848) id ED52F60CCE; Sun, 1 Dec 2013 16:13:39 -0500 (EST) From: Stefan Monnier <monnier@HIDDEN> To: "Sebastien Vauban" <sva-news@HIDDEN> Subject: Re: bug#16012: 24.3.50; Multi-line shell commands appear as one-liners in the history Message-ID: <jwvtxes46qn.fsf-monnier+emacsbugs@HIDDEN> References: <86eh5yb4ls.fsf@HIDDEN> Date: Sun, 01 Dec 2013 16:13:39 -0500 In-Reply-To: <86eh5yb4ls.fsf@HIDDEN> (Sebastien Vauban's message of "Sat, 30 Nov 2013 10:50:39 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 16012 Cc: 16012 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.3 (/) >> ls \ >> *.html > Recalling the previous command will just show "*.html", not "ls \\n*.html". Right, currently shell-mode has no idea that these were two lines of the same command. The semantics of a terminating backslash completely eludes it. > Is there a solution to this? A patch for shell.el would probably do it, assuming it's the right patch ;-) Stefan
bug-gnu-emacs@HIDDEN
:bug#16012
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 30 Nov 2013 09:51:44 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 30 04:51:44 2013 Received: from localhost ([127.0.0.1]:51151 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1VmhDE-0005lE-1y for submit <at> debbugs.gnu.org; Sat, 30 Nov 2013 04:51:44 -0500 Received: from eggs.gnu.org ([208.118.235.92]:54789) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <sva-news@HIDDEN>) id 1VmhDC-0005l2-GX for submit <at> debbugs.gnu.org; Sat, 30 Nov 2013 04:51:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <sva-news@HIDDEN>) id 1VmhCy-0007sG-Kk for submit <at> debbugs.gnu.org; Sat, 30 Nov 2013 04:51:37 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:34175) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <sva-news@HIDDEN>) id 1VmhCy-0007sB-Ha for submit <at> debbugs.gnu.org; Sat, 30 Nov 2013 04:51:28 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56458) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <sva-news@HIDDEN>) id 1VmhCs-0002zm-Hr for bug-gnu-emacs@HIDDEN; Sat, 30 Nov 2013 04:51:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <sva-news@HIDDEN>) id 1VmhCm-0007pc-Im for bug-gnu-emacs@HIDDEN; Sat, 30 Nov 2013 04:51:22 -0500 Received: from dd5e0353a.access.telenet.be ([213.224.53.58]:46977 helo=mail.missioncriticalit.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <sva-news@HIDDEN>) id 1VmhCm-0007pV-CL for bug-gnu-emacs@HIDDEN; Sat, 30 Nov 2013 04:51:16 -0500 Received: from MUNDANEUM.i-did-not-set--mail-host-address--so-tickle-me (unknown [10.10.4.62]) by mail.missioncriticalit.com (Postfix) with ESMTPS id 6B45350099D for <bug-gnu-emacs@HIDDEN>; Sat, 30 Nov 2013 10:53:52 +0100 (CET) From: "Sebastien Vauban" <sva-news@HIDDEN> To: bug-gnu-emacs@HIDDEN Subject: 24.3.50; Multi-line shell commands appear as one-liners in the history Organization: Sebastien Vauban X-Url: Under construction... X-Archive: encrypt Date: Sat, 30 Nov 2013 10:50:39 +0100 Message-ID: <86eh5yb4ls.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -4.3 (----) Hello, When typing multi-line commands (on purpose, or because of a missing component), they end up as standalone lines in the shell command history: > ls \ > *.html Recalling the previous command will just show "*.html", not "ls \\n*.html". Is there a solution to this? Best regards, Sebastien Vauban
"Sebastien Vauban" <sva-news@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#16012
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.