From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#50849: 28.0.50; Proposal for Emacs daemon to signal when being busy Date: Fri, 09 Sep 2022 11:35:19 +0200 Message-ID: <874jxg99go.fsf@gmail.com> References: <86czouksh2.fsf@protected.rcdrun.com> <83ilm1jkss.fsf@gnu.org> <87v8q1b2ij.fsf@gmail.com> <83czc8k7zw.fsf@gnu.org> <83czc7j4bs.fsf@gnu.org> <87leqvbhhg.fsf@gmail.com> <838rmvig8f.fsf@gnu.org> <83wnaefltf.fsf@gnu.org> <87pmg63w8l.fsf@gnus.org> <83zgfadlt8.fsf@gnu.org> <87pmg6yo60.fsf@gnus.org> <83sfl2dkqv.fsf@gnu.org> <8735d2ymzv.fsf@gnus.org> <83pmg6dkb6.fsf@gnu.org> <87czc67xtv.fsf@gmail.com> <83mtb9etw5.fsf@gnu.org> <87czc57x44.fsf@gmail.com> 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="10912"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 50849@debbugs.gnu.org, larsi@gnus.org, bugs@gnu.support, visuweshm@gmail.com To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 09 11:36:12 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 1oWaQl-0002ft-QP for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 09 Sep 2022 11:36:11 +0200 Original-Received: from localhost ([::1]:32838 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oWaQk-0005ut-9y for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 09 Sep 2022 05:36:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38578) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oWaQc-0005uk-8U for bug-gnu-emacs@gnu.org; Fri, 09 Sep 2022 05:36:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43960) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oWaQb-0008Fs-SZ for bug-gnu-emacs@gnu.org; Fri, 09 Sep 2022 05:36:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oWaQb-0000DS-IV for bug-gnu-emacs@gnu.org; Fri, 09 Sep 2022 05:36:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Sep 2022 09:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50849 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 50849-submit@debbugs.gnu.org id=B50849.1662716129791 (code B ref 50849); Fri, 09 Sep 2022 09:36:01 +0000 Original-Received: (at 50849) by debbugs.gnu.org; 9 Sep 2022 09:35:29 +0000 Original-Received: from localhost ([127.0.0.1]:60892 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oWaQ5-0000Ch-2W for submit@debbugs.gnu.org; Fri, 09 Sep 2022 05:35:29 -0400 Original-Received: from mail-wr1-f47.google.com ([209.85.221.47]:38795) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oWaQ3-0000CT-6o for 50849@debbugs.gnu.org; Fri, 09 Sep 2022 05:35:28 -0400 Original-Received: by mail-wr1-f47.google.com with SMTP id b5so1763635wrr.5 for <50849@debbugs.gnu.org>; Fri, 09 Sep 2022 02:35:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date; bh=pFCfsH7Dx79GZjI1wieQ60IA5prhpL9esRyHY3zpL9s=; b=AILqXZU39qBh99f6ALbnze9unsC/BOiZ6yiG5C/hWli0eYioDzuFfn3QO2DtQ9tCoP YL9vFuQl2GwjT0BD5jkOu5u84ma6VoJljo9J6BkoUS0Oc84QXsIkCGtoxbYYgGBbizg5 zS2QuuAJWsb+qFOekG1r850QTbWTPdXcktCqc+cemd42cbAs3y5B2VVRbryyw1ERmI1m mKqUvVOcB6cYH6VftQhEGayWTWfKPQNuYqE1NJa4mYpY5OCbgHcrjN02S0KqLGS35e8D YTWoEiqAXdFlQhAC85eQh28KFVNYkkS5IGlj6ViczRocw0y4op9pCc7A5a0Gxtyy4FnH zgrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=pFCfsH7Dx79GZjI1wieQ60IA5prhpL9esRyHY3zpL9s=; b=0bhN7jaskcxwbxq0/DNSVOdf00fGvi/XWFcxgh9TnaWctaWjVtvtv++5Fs+gm5UCii jp0OzmayCEOKa043X6UcDD650/G1Dz4T8syRc4mdcaWeJK7Gsuidy9Gu0XwXai4m/y7s 15IvAJmDPWtMjg1qev0fZ9gtkM4XKMpm4KKOKm3MSS0M9JKUWE+GaxjwCoe/toaGf6wM IE27IhV1tb0kdm2B2XpAjQm820yBzzjWW7P3f9jNi8FlnXHx05bGSwOtQeywzcGnnjA1 ukm0kV7Lf4Z1ZAj+esRe0PIoO99FzfXicvhQawSDisEwlIRvFz5uoH58AEhhecioZj6B 95+A== X-Gm-Message-State: ACgBeo3/uXhei8pLtcjLBlrxlYRohd6fjQCghp18BTkGjIZApFnl2xbS +Ykm420Rtxt4WEtEx/brO9syMpD2HAteFg== X-Google-Smtp-Source: AA6agR6P6t+67C8UXRxAed6Aq5dZr3SKTeFp2zEAzZNYWN0Fv1ARUKL5EwVzWaeGFlG8WzgQNxBd5A== X-Received: by 2002:a05:6000:cf:b0:228:e37b:361b with SMTP id q15-20020a05600000cf00b00228e37b361bmr7082712wrx.374.1662716121039; Fri, 09 Sep 2022 02:35:21 -0700 (PDT) Original-Received: from rltb ([2a01:e0a:3f3:fb50:a290:d8f3:806c:3938]) by smtp.gmail.com with ESMTPSA id g7-20020adfa487000000b0022917d58603sm79655wrb.32.2022.09.09.02.35.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Sep 2022 02:35:20 -0700 (PDT) In-Reply-To: (Stefan Kangas's message of "Fri, 9 Sep 2022 05:29:17 -0400") 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:241963 Archived-At: >>>>> On Fri, 9 Sep 2022 05:29:17 -0400, Stefan Kangas said: Stefan> Robert Pluim writes: >> So this simplifies the code considerably, and in fact removes the >> whole retry thing completely. Stefan> We could do that, yes. It looks good to me. Stefan> I had a different idea in mind though, which lets us keep the d= iagnostic Stefan> message, but only if given a --verbose flag. We could extend -= -verbose Stefan> to include more diagnostic output in the future. Please see the Stefan> attached patch. Adding a --verbose flag is fine. Changing the recv behaviour because the user asked for more debug is a no-no. Stefan> I'm happy with either your patch or mine, depending on what peo= ple Stefan> prefer. I won=CA=BCt insist on mine, but I really don=CA=BCt think yours should go = in as-is. Robert --=20