From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#51490: Show an indicator when Emacs is busy somewhere in the Emacs window Date: Tue, 20 Sep 2022 14:36:06 +0300 Message-ID: <83y1uewa55.fsf@gnu.org> References: <875ytmbnk2.fsf@gnus.org> <83y26i34e1.fsf@gnu.org> <87wnm27b57.fsf@gnus.org> <87sfwq75q4.fsf@gnus.org> <87wnm22q7y.fsf@gnus.org> <83ee8a2pm7.fsf@gnu.org> <87fssq2orj.fsf@gnus.org> <87pmru18xg.fsf@gnus.org> <87lf2i18pv.fsf@gnus.org> <87h7d618j7.fsf@gnus.org> <87bl3e2m1y.fsf@gnus.org> <87pmrtz1y7.fsf@gnus.org> <83pmrt1bsa.fsf@gnu.org> <87y26hxm8a.fsf@gnus.org> <87k0hvviiu.fsf@gnus.org> <87a6iqr8il.fsf@gnus.org> <87r107nmq7.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12124"; mail-complaints-to="usenet@ciao.gmane.io" Cc: stefan@marxist.se, 51490@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 20 16:37:43 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 1oaeNb-0002yU-CD for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 20 Sep 2022 16:37:43 +0200 Original-Received: from localhost ([::1]:43328 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oaeNa-0004al-F1 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 20 Sep 2022 10:37:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33440) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oabYq-0000E3-Se for bug-gnu-emacs@gnu.org; Tue, 20 Sep 2022 07:37:10 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57279) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oabYk-0001W7-5p for bug-gnu-emacs@gnu.org; Tue, 20 Sep 2022 07:37:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oabYk-0000fZ-0g for bug-gnu-emacs@gnu.org; Tue, 20 Sep 2022 07:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Sep 2022 11:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51490 X-GNU-PR-Package: emacs Original-Received: via spool by 51490-submit@debbugs.gnu.org id=B51490.16636737892534 (code B ref 51490); Tue, 20 Sep 2022 11:37:01 +0000 Original-Received: (at 51490) by debbugs.gnu.org; 20 Sep 2022 11:36:29 +0000 Original-Received: from localhost ([127.0.0.1]:56357 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oabY5-0000eg-Tn for submit@debbugs.gnu.org; Tue, 20 Sep 2022 07:36:29 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:51614) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oabY3-0000eS-PY for 51490@debbugs.gnu.org; Tue, 20 Sep 2022 07:36:20 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:52548) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oabXy-0001M4-Hq; Tue, 20 Sep 2022 07:36:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Jr6mwE6zPE+26hgbbpupnLpzjuEtIKtF1kfDCYK3ow8=; b=YL7LqXNcXjkg 50auLGCXR1Mdl5YI7Uxvpk7ryE0rUV02B7JdnTejsFtvrpDUkpdn+OV4xIbE9Cnfy1wGZxpwtnyYr i4KdXZv6fu8/U/ai4FwyUT98p8O5pZl/Ah9APDfGdrl5r7Bg0q1pNze0mr0HCyVZey2vRkwdEjYaN ZZuErhWNsLFaJYQWD/qXf169wmhlRoAbx63+yX5YCwK5F/vJnnIoB2TRhKry8yPiFyIOcqRunLRTr PA8j+ILu/3skNG6uinuUiOjxdyGN2GXe5DvFuF8stq7cpGBbWdrctQmereyIfvyUqADwDgySsJYAH 0WkryDV9iKXDuPAuBd8g2A==; Original-Received: from [87.69.77.57] (port=2788 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oabXj-00056m-Q0; Tue, 20 Sep 2022 07:36:13 -0400 In-Reply-To: <87r107nmq7.fsf@gnus.org> (message from Lars Ingebrigtsen on Mon, 19 Sep 2022 22:16:48 +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:243161 Archived-At: > From: Lars Ingebrigtsen > Cc: 51490@debbugs.gnu.org, "'Eli Zaretskii'" > Date: Mon, 19 Sep 2022 22:16:48 +0200 > > Lars Ingebrigtsen writes: > > >>> I'm not at all sure whether there'd be any negative repercussions to > >>> spinning a glyph in the mode line area (for instance -- what about if > >>> you're running over a slow ssh connection?), but perhaps it's worth > >>> exploring and see how goes? > >> > >> Let's continue discussing this as a new bug. > > > > I wonder whether this could be implemented by modifying the glyphs in > > the mode line directly instead of going through the entire mode line > > machinery (for efficiency). I was thinking we'd designate (say) the > > first (or last) displayed position on the mode line as "the spinner" > > (and restore the previous glyph there after finishing spinning, of > > course). > > Eli, does this seem like feasible approach to you? I'm not sure I understand the problem and the proposed solution. Are we talking about having a spinning character, like | / - \, in the mode lines of a window on TTY frames? If so, what are you trying to save by "modifying the glyphs directly", and why do you think doing so will produce some savings, as opposed to just update the mode line normally?