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: Thu, 22 Sep 2022 09:28:22 +0300 Message-ID: <83edw3udmh.fsf@gnu.org> References: <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> <83y1uewa55.fsf@gnu.org> <87fsgl7zri.fsf@gnus.org> <83illhueuo.fsf@gnu.org> <87wn9x543a.fsf@gnus.org> <83bkr8vpwy.fsf@gnu.org> <87bkr8am4o.fsf@gnus.org> <834jx0vnam.fsf@gnu.org> <2d1b683c22a3585f038d@heytings.org> <83sfkku29t.fsf@gnu.org> <2d1b683c22d98c9cabd3@heytings.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1242"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, stefan@marxist.se, 51490@debbugs.gnu.org To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 22 08:34:19 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 1obFmr-000Aab-3O for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 22 Sep 2022 08:34:17 +0200 Original-Received: from localhost ([::1]:35654 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1obFmp-0003Qn-EE for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 22 Sep 2022 02:34:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34272) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obFhn-0001lC-KP for bug-gnu-emacs@gnu.org; Thu, 22 Sep 2022 02:29:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36879) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1obFhm-0006Sr-NT for bug-gnu-emacs@gnu.org; Thu, 22 Sep 2022 02:29:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1obFhm-0007Tt-IL for bug-gnu-emacs@gnu.org; Thu, 22 Sep 2022 02:29: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: Thu, 22 Sep 2022 06:29:02 +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.166382810028695 (code B ref 51490); Thu, 22 Sep 2022 06:29:02 +0000 Original-Received: (at 51490) by debbugs.gnu.org; 22 Sep 2022 06:28:20 +0000 Original-Received: from localhost ([127.0.0.1]:35956 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obFh5-0007Sl-RF for submit@debbugs.gnu.org; Thu, 22 Sep 2022 02:28:20 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34860) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obFh4-0007SZ-N9 for 51490@debbugs.gnu.org; Thu, 22 Sep 2022 02:28:19 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60988) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obFgz-0006MR-6b; Thu, 22 Sep 2022 02:28:13 -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=gDA/FmbEwEzEwjX1VAYsdzPSFXPHhRlMusaFhHi2nOQ=; b=QG56FyIHOOx2 sU85Je63iAqa/fASwE+gGtc/UVpX0EioFtBszMzuTv7ZmuX2qRBH1kftQs8gLDgfCu/1ESeTY302E 7svaUSd4fIHSBfNMB73HNMEMZLyRYPMqP9FZjHq6ARW4vYIlO/zm7vY4geTUybxBq4YQ1lh8Q3R+4 KjV5TtuSMmINT8j/VS/XYUsWFKk3deg8tesJeUAr2lzooSlGF3V7Ogft6RgkolZBz2w8qnvITYVgM +RFnkGhuZPctKvuwh8wbx5kRBTjuhGep//6aYZ3BJ+pZb2UUn767HlK9ni8rHASvnSDc2xlFFI8x5 mPyhNZrnVBYhre2kc5zs0Q==; Original-Received: from [87.69.77.57] (port=1487 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 1obFgy-0006lF-H2; Thu, 22 Sep 2022 02:28:12 -0400 In-Reply-To: <2d1b683c22d98c9cabd3@heytings.org> (message from Gregory Heytings on Wed, 21 Sep 2022 17:11:17 +0000) 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:243395 Archived-At: > Date: Wed, 21 Sep 2022 17:11:17 +0000 > From: Gregory Heytings > cc: larsi@gnus.org, stefan@marxist.se, 51490@debbugs.gnu.org > > >> On GUI frames, can't we do something similar to what we do for fringe > >> bitmaps? > > > > I'm not sure I follow. Fringe bitmaps are drawn by redisplay, and they > > do access faces, text properties, overlays,... So how would this solve > > the problem? > > Aren't they the simplest graphical element drawn by Emacs, a simple > black-and-white bitmap? No, they aren't. They are certainly not black-and-white: they use faces. > I don't think a "busy" indicator would have to access faces, text > properties and overlays, it could be a simple (list of) > black-and-white bitmaps drawn at a fixed position, e.g. on the left > of the mode line. Drawn how? Bitmaps are images, and drawing images in the text area means we need to invoke all the machinery of redrawing a certain screen line, be it on the mode line or elsewhere. That's how Emacs draws stuff; we don't have any way of directly poking the glass with an arbitrary bunch of pixels, at least not one that I know of.