all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dmitry@gutov.dev>
To: Urban Engberg <urban@engbergs.dk>
Cc: 59232@debbugs.gnu.org
Subject: bug#59232:
Date: Thu, 21 Dec 2023 00:03:17 +0200	[thread overview]
Message-ID: <04647046-68f9-200c-021e-24a47654678f@gutov.dev> (raw)
In-Reply-To: <CALqErGQfsuYpsnbXdYwqhqJkP06g-QFL0qMmZZ2wKZsrhJPNug@mail.gmail.com>

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.






  reply	other threads:[~2023-12-20 22:03 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-13  0:14 bug#59232: 27.2; vc-annotate on SVN does not process all lines Pierre Rouleau
2022-11-13  2:29 ` Dmitry Gutov
2022-11-13 14:42   ` Pierre Rouleau
2022-11-13  2:30 ` Dmitry Gutov
2022-11-13 14:59   ` Pierre Rouleau
2022-11-13  6:36 ` Eli Zaretskii
2022-11-13 14:51   ` Pierre Rouleau
2022-11-13 15:11     ` Pierre Rouleau
2022-11-13 16:10       ` Andreas Schwab
2022-11-13 16:40     ` Eli Zaretskii
2022-11-13 18:05       ` Pierre Rouleau
2022-11-13 23:54         ` Stephen Berman
2022-11-14  3:48           ` Pierre Rouleau
2022-11-13  8:12 ` Andreas Schwab
2022-11-13 14:55   ` Pierre Rouleau
2023-12-20 12:41 ` bug#59232: Urban Engberg
2023-12-20 15:50   ` bug#59232: Dmitry Gutov
2023-12-20 17:38     ` bug#59232: Urban Engberg
2023-12-20 18:35       ` bug#59232: Dmitry Gutov
2023-12-20 21:36         ` bug#59232: Urban Engberg
2023-12-20 22:03           ` Dmitry Gutov [this message]
2023-12-20 22:50             ` bug#59232: Urban Engberg
2023-12-21  0:12               ` bug#59232: Dmitry Gutov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=04647046-68f9-200c-021e-24a47654678f@gutov.dev \
    --to=dmitry@gutov.dev \
    --cc=59232@debbugs.gnu.org \
    --cc=urban@engbergs.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.