From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#16012: 24.3.50; Multi-line shell commands appear as one-liners in the history Date: Thu, 15 Jul 2021 07:22:48 +0200 Message-ID: <875yxcqhg7.fsf_-_@gnus.org> References: <86eh5yb4ls.fsf@somewhere.org> <861ts4qufz.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7210"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 16012@debbugs.gnu.org To: Sebastien Vauban Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 15 07:23:09 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m3tq1-0001gF-5C for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 15 Jul 2021 07:23:09 +0200 Original-Received: from localhost ([::1]:49404 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m3tpz-0003cm-MB for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 15 Jul 2021 01:23:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44242) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m3tpt-0003ce-Ua for bug-gnu-emacs@gnu.org; Thu, 15 Jul 2021 01:23:01 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34750) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m3tpt-0006fI-Nc for bug-gnu-emacs@gnu.org; Thu, 15 Jul 2021 01:23:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m3tpt-0004zx-Kf for bug-gnu-emacs@gnu.org; Thu, 15 Jul 2021 01:23:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Jul 2021 05:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16012 X-GNU-PR-Package: emacs Original-Received: via spool by 16012-submit@debbugs.gnu.org id=B16012.162632657919202 (code B ref 16012); Thu, 15 Jul 2021 05:23:01 +0000 Original-Received: (at 16012) by debbugs.gnu.org; 15 Jul 2021 05:22:59 +0000 Original-Received: from localhost ([127.0.0.1]:46296 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m3tpq-0004ze-Qp for submit@debbugs.gnu.org; Thu, 15 Jul 2021 01:22:59 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:52270) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m3tpo-0004zN-VT for 16012@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=; Original-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 ) id 1m3tpg-0004BG-Lj; Thu, 15 Jul 2021 07:22:51 +0200 X-Now-Playing: Pet Shop Boys's _Hotspot_: "You are the one" In-Reply-To: <861ts4qufz.fsf@somewhere.org> (Sebastien Vauban's message of "Mon, 25 Aug 2014 20:45:52 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:209982 Archived-At: Sebastien Vauban 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