From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#59232: Date: Thu, 21 Dec 2023 00:03:17 +0200 Message-ID: <04647046-68f9-200c-021e-24a47654678f@gutov.dev> References: <5bbef471-5914-c370-8ecb-1fe2af815351@gutov.dev> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27308"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Cc: 59232@debbugs.gnu.org To: Urban Engberg Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 20 23:04:23 2023 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 1rG4ft-0006qr-V7 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 20 Dec 2023 23:04:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rG4fZ-00027r-BX; Wed, 20 Dec 2023 17:04:01 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rG4fX-00027c-Om for bug-gnu-emacs@gnu.org; Wed, 20 Dec 2023 17:03:59 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rG4fX-0007Qc-Gv for bug-gnu-emacs@gnu.org; Wed, 20 Dec 2023 17:03:59 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rG4fa-0002aK-Hi for bug-gnu-emacs@gnu.org; Wed, 20 Dec 2023 17:04:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 20 Dec 2023 22:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59232 X-GNU-PR-Package: emacs Original-Received: via spool by 59232-submit@debbugs.gnu.org id=B59232.17031098169904 (code B ref 59232); Wed, 20 Dec 2023 22:04:02 +0000 Original-Received: (at 59232) by debbugs.gnu.org; 20 Dec 2023 22:03:36 +0000 Original-Received: from localhost ([127.0.0.1]:41969 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rG4fA-0002Zg-44 for submit@debbugs.gnu.org; Wed, 20 Dec 2023 17:03:36 -0500 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]:44025) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rG4f5-0002ZP-4t for 59232@debbugs.gnu.org; Wed, 20 Dec 2023 17:03:34 -0500 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 13B2E5C086E; Wed, 20 Dec 2023 17:03:21 -0500 (EST) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Wed, 20 Dec 2023 17:03:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1703109801; x=1703196201; bh=zTPFVlFZXpY7m3cYND7/F6ZM/VpP4aqYVr6vwEeVaVg=; b= eiQw0bGS/O7z3omjE+L4RjrGvKGMOcWbR0uXBcRN9JL8BQd6eDP3eA0+nRsBKmOu DSHp1rO5s554mZKCBC/JA56hAPnYhE3q2HpvVGSU2nRlvLipAQzZ549kM7IoI6da Wzf8+kRCXjDUSOO8XidACZ3VKX9M9upDc2jK7HUbKyUzmB/bSe+cgkwohkyW5kk/ 89eYSk8vktH0B/O0P6z3669Ru8sSPHldOxLlpXfq5+l1h+ZjwCjy3CGKuMpw5Vgu Jb9/RarYYGykwSfTfsW9Cr4d87b5cfxRajFlQblruyaSjgrmZviKnkbtKMIBqTwl gL2UGIbWREdd97v5Ao1SNg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1703109801; x= 1703196201; bh=zTPFVlFZXpY7m3cYND7/F6ZM/VpP4aqYVr6vwEeVaVg=; b=1 1h1rzEmefU8dhnRnR8lRAx+e3LRahmN88fK083LCeipQjMABTqJrokPaz52S7Ijl 5k6UNyAe78W24X8SJVXEK9txbNlVEcPiFSer/zA001Y3WTFFCcpkW0xjwtbwD+hY fW2MxUWe92b5HYml3Q4prONWDdodFHsOO6xtLgw/cCi7g1jaPZz3NYEryabQDmKT +5SGp7XsceF5ojV9xtALkzDp2XffEunJeVNFoGSOcwpxzCbaK7Q5KTl7GWvFLXj0 BZB72Xl5LyAXzqNOdQvCeMJqHdzRb52C+SCv2E9nzLK9IHLpN5pVd+nKGqYWGixD lwFBjOE+ODfxuWrkWnmUw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdduvddgudehiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefkffggfgfuvfevfhfhjggtgfesthekredttdefjeenucfhrhhomhepffhm ihhtrhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrdguvghvqeenucggtffrrg htthgvrhhnpedtjeefudduhfdviefhiedvgfekffdtueeufeevheehkeetieeiuefhtdek vedtudenucffohhmrghinhepshhtrggtkhhovhgvrhhflhhofidrtghomhenucevlhhush htvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegumhhithhrhiesghhu thhovhdruggvvh X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 20 Dec 2023 17:03:19 -0500 (EST) Content-Language: en-US In-Reply-To: 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:276596 Archived-At: On 20/12/2023 23:36, Urban Engberg wrote: > I thought about that too, namely as it does not fail when setting > process-conection-type to t. But no, > > echo "" | svn --non-interactive annotate Program.java | cat > > works just fine. Oh well. > I shortened the failing statement down to > > (let ((process-connection-type nil)) >   (start-process >    "xxx" >    "*Test*" >    "svn" >    "annotate" "FILE")) > > where FILE contains more than 100 lines – that also seems to be > significant, and using --non-interactive is not. But I am still not able > to figure out if it is the svn command itself that crashes, or it has > something to do with the process communication and Emacs. If it's the > first, it should be possible to find a way that this crashes as well > when run from the shell. When this ends in failure, is there something at the end of the buffer *Test* that looks like stderr output? The process might not just stop and return status 1, but it could print something usable as well. Also, just to be able to separate stderr output more easily, you could use 'make-process' instead of 'start-process' because it allows to specify a separate buffer for errors. There are also some options outlined for trying to get more verbose output of it here -- https://stackoverflow.com/questions/8416989/is-it-possible-to-get-svn-client-debug-output -- but it seems like this might only work with some client versions. And most answers are 5-10 years old.