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#40896: 27.0.91; Moving point fails sometimes in shell-command Date: Fri, 28 Jan 2022 16:34:16 +0100 Message-ID: <871r0rg9hj.fsf@gnus.org> References: <877dy1miy4.fsf@gmx.de> <83v9ll3s68.fsf@gnu.org> <87lfmgyfzy.fsf@gmx.de> <837dxz3kww.fsf@gnu.org> <87tv13wuzo.fsf@gmx.de> <874kt113zx.fsf@gmx.de> <83mu6qu13b.fsf@gnu.org> <87zhaqwkem.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14856"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 40896@debbugs.gnu.org, tino.calancha@gmail.com To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 28 17:27:30 2022 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 1nDU5y-0003gA-7k for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 28 Jan 2022 17:27:30 +0100 Original-Received: from localhost ([::1]:49522 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nDU5w-0004EX-O8 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 28 Jan 2022 11:27:28 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58952) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDTHN-0006FG-4E for bug-gnu-emacs@gnu.org; Fri, 28 Jan 2022 10:35:13 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39125) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nDTHC-0006tI-0G for bug-gnu-emacs@gnu.org; Fri, 28 Jan 2022 10:35:12 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nDTHB-0007j5-Rw for bug-gnu-emacs@gnu.org; Fri, 28 Jan 2022 10:35:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 28 Jan 2022 15:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40896 X-GNU-PR-Package: emacs Original-Received: via spool by 40896-submit@debbugs.gnu.org id=B40896.164338406829638 (code B ref 40896); Fri, 28 Jan 2022 15:35:01 +0000 Original-Received: (at 40896) by debbugs.gnu.org; 28 Jan 2022 15:34:28 +0000 Original-Received: from localhost ([127.0.0.1]:60261 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nDTGe-0007hy-4Q for submit@debbugs.gnu.org; Fri, 28 Jan 2022 10:34:28 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:43184) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nDTGb-0007hg-UG for 40896@debbugs.gnu.org; Fri, 28 Jan 2022 10:34:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: 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=ne69dVcuQd1f/Y0UuNvKpQXcO1wE+1iyMbn3UYzsiyU=; b=Jq3BuXrRmiqPNixYbn7nmVWd6g 4AvorMw+p5FX+Mp/W2iw9kAAqTlRNYMbNWTwMzOOdx7N01vOSnk9dLzbamCdSr8a0DfL+bjy3DWR1 8CcIE9i6h3vk9z9Ssm/YkPg9DQjVw24CclUOcjGfT3vJT9IzoDJLNKOqVxsfbV1HYgbg=; Original-Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nDTGS-0003nN-WF; Fri, 28 Jan 2022 16:34:19 +0100 X-Now-Playing: Phew's _Phew_: "Doze" In-Reply-To: <87zhaqwkem.fsf@gmx.de> (Michael Albinus's message of "Sat, 02 May 2020 15:12:17 +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:225473 Archived-At: Michael Albinus writes: > Almost. But it is not documented. Maybe we shall apply the appended > patch. And if shell-command-dont-erase-buffer is end-last-out with > output buffer not being the current one, the behavior is simply > wrong, see my previous analysis. At least *this* case must be fixed. I've now applied the proposed patch, with some slight alterations. And the parameters to these shell functions are very, very confusing. At this point, perhaps it'd be better to write some new functions in this area that have less weird parameters. But fixing end-last-out would also be nice. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no