From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Constantin Kulikov Newsgroups: gmane.emacs.bugs Subject: bug#72345: 29.4; Emacs daemon on Windows OS Date: Mon, 29 Jul 2024 13:52:39 +0300 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000007a161e061e60a904" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="950"; mail-complaints-to="usenet@ciao.gmane.io" To: 72345@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jul 29 12:54:07 2024 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 1sYO10-00005A-HC for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 29 Jul 2024 12:54:06 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sYO0n-0004G1-N0; Mon, 29 Jul 2024 06:53:53 -0400 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 1sYO0l-0004EZ-9Y for bug-gnu-emacs@gnu.org; Mon, 29 Jul 2024 06:53:51 -0400 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 1sYO0k-0007hY-9l for bug-gnu-emacs@gnu.org; Mon, 29 Jul 2024 06:53:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:In-Reply-To:References:MIME-Version:To:Subject; bh=8UYRTIxQsT3X/XbbrAocGL2aOq4k1JJpBP7L3h5nJLw=; b=LqoA07Zh3lUczhcIF1KNxdSlw9CgGAiHUrfKwUR7tr/l+bgow88pgCStQCVsoaKk61//clt4LPfASFxVFFvpt71pLCddwep8SKD00OJLlSknLaGkBv5lL6fpAwl9KAWqEALjLDHkbP+RwfF8tMNzQAr/QndMPz6fcP2igpkKL4DEASGn084ejT3GCdXxzvOay1LR/CgvnyyCnhD/uDDjlGAXwbZvsXnwVV5J3WmOtvhEp6pUkEJShX0xi7R+KqMrMh54n8bVZ+5VnHmQYalsSoVzXaEVXWwLdeqdQwhcpx8JlLAK8U9Tj6RtpBGcuo3f8ViVan9ZUAibu6k/ARvkdw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sYO0w-0008Ra-Dy for bug-gnu-emacs@gnu.org; Mon, 29 Jul 2024 06:54:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Constantin Kulikov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 29 Jul 2024 10:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72345 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.172225038932393 (code B ref -1); Mon, 29 Jul 2024 10:54:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 29 Jul 2024 10:53:09 +0000 Original-Received: from localhost ([127.0.0.1]:44960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sYO05-0008QP-85 for submit@debbugs.gnu.org; Mon, 29 Jul 2024 06:53:09 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:54008) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sYO02-0008QG-9r for submit@debbugs.gnu.org; Mon, 29 Jul 2024 06:53:07 -0400 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 1sYNzp-0003VO-Cl for bug-gnu-emacs@gnu.org; Mon, 29 Jul 2024 06:52:53 -0400 Original-Received: from mail-ed1-x52b.google.com ([2a00:1450:4864:20::52b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sYNzn-0007Tp-OM for bug-gnu-emacs@gnu.org; Mon, 29 Jul 2024 06:52:53 -0400 Original-Received: by mail-ed1-x52b.google.com with SMTP id 4fb4d7f45d1cf-5a2a90243c9so4298480a12.0 for ; Mon, 29 Jul 2024 03:52:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722250369; x=1722855169; darn=gnu.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=8UYRTIxQsT3X/XbbrAocGL2aOq4k1JJpBP7L3h5nJLw=; b=dXhyo1m7LHcKu88h9TSwYEYsd1Tb/8ZuNRjxN32ft3MuSO3gWY8zoyQ/lP6+jp3fDl fSuKccWGt+ODt9G2FF1hUV8jG8ERjuG9nWAsj/fy0BQm8rpiGOo6OzNsv6G15ad1dEf3 q3A3ey5han+JY6rbSXMdOLWrjpM2LW2zI2bHladN/Do6MDPulsmX+rFan/ww+s+A18DM 6SBO5XRetN53XfVgoQ1/7XYdgw86T/OrYJrinvCOZhGIL9g8AKN2PebCTXz2ofx0uj4W Otx3/29kwOpJQ+DjiqFO8Mu+10YtWUroiJcy0m2xHqwrvpsLDQ2YItGIWXFXqtJZ/P1b HRQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722250369; x=1722855169; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=8UYRTIxQsT3X/XbbrAocGL2aOq4k1JJpBP7L3h5nJLw=; b=usFLW7aU2rXjnlyKnTVC2m7Z2D3f2jdacEcNct13RT9790X5+mbDCi/+p8BKPp3Y2d FcsVdcuY+4GCy18YLZAr7kx3tHUM1fQzKfqUvQTAkAsh59ngMFsir0qgdhsU7EGZsZLR nTXXOx5DvnzO7hMHpt4Clv2+4oAqZLOsBtvL9q+Oqr5cL/jPtqacpngoYW8HLpnDOz/U PwYJ4CY2nreKdaUm/TZFfW+LfVxA63MEoPBfkaVssIX++WcSer+TK57TtCfTRO17yDZJ C9hXRFzsGKR0YGLOUAkPFSVSJ5wf6sLwCT5tq1PbTU9AaK9OFSIw+dr2UNda0Bxm7c04 mVlA== X-Gm-Message-State: AOJu0YwPTkFRy3pmj7viSF9/r4DYN4T1QFeLwSaWUpikJmisYJoAIGsP uTrjFqzikjHfFAcwP5eqzBnBUoXrgIri+t1wiKtEL548y74DNP3BUhPp3FjRGFnrxqEaK7rPaCZ D3YrBE2apRS9BGoxF5MEZZoGGb7LXCeZs X-Google-Smtp-Source: AGHT+IF0xh/fR/Aux25mgdzGFV9drKjAGs2G/Ii5Hz4/GfutbmJcurTNDT2e6fZFcL/Pj54vMN8bhK25r0K2oSPRuSc= X-Received: by 2002:a05:6402:5113:b0:57c:c3aa:6c68 with SMTP id 4fb4d7f45d1cf-5b020ba5bb5mr6570958a12.20.1722250369306; Mon, 29 Jul 2024 03:52:49 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::52b; envelope-from=zxnotdead@gmail.com; helo=mail-ed1-x52b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:289511 Archived-At: --0000000000007a161e061e60a904 Content-Type: text/plain; charset="UTF-8" *> So the "solution" is not to specify any custom command line arguments.* The actual solution is to remove all custom arguments from the `command-line-args-left' while config is loading. Then "THE BUG" is that the emacs daemon silently stays in half-working more like a hanging state in case if `command-line-args-left' is not nil after config is loaded. On Mon, 29 Jul 2024 at 12:28, Constantin Kulikov wrote: > So the "solution" is not to specify any custom command line arguments. > I consider it as a bug. > > > On Mon, 29 Jul 2024 at 03:20, Constantin Kulikov > wrote: > >> *> input from terminal is not working properly* >> Well this is not true. It works with standard read-* methods, and fail if >> used with for example ivy-mode. >> >> On Mon, 29 Jul 2024 at 01:08, Constantin Kulikov >> wrote: >> >>> (And even the input from terminal is not working properly in that case. >>> You can enter >>> string to terminal and it reacts to Enter key press, but seems like >>> input received by emacs is always nil) >>> >> --0000000000007a161e061e60a904 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
> So the "solution"=C2=A0= is not to specify any custom command line arguments.

=
The actual solution is to remove all custom arguments from the `= command-line-args-left' while config is loading.

Then "THE BUG" is that the emacs daemon silently stays in half= -working more like a hanging state in=C2=A0case if `command-line-args-left&= #39; is not nil after config is loaded.

On Mon, 29 Jul 2024 at 12:28, Consta= ntin Kulikov <zxnotdead@gmail.com= > wrote:
=
So the "solution"=C2=A0is not t= o specify any custom command line arguments.
I consider it as= a bug.


On Mon, 29 Jul 2024 at 03:20, Constantin Kulikov <= zxnotdead@gmail.co= m> wrote:
> input from terminal is not worki= ng properly
Well this is not true. It works with standard rea= d-* methods, and fail if used with for example ivy-mode.

On Mon, 29 Jul 2024= at 01:08, Constantin Kulikov <zxnotdead@gmail.com> wrote:
(And even the inpu= t from terminal is not working properly in=C2=A0that case. You can enterstring to terminal and it reacts to Enter key press, but seems like
inp= ut received by emacs is always nil)
--0000000000007a161e061e60a904--