From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.bugs Subject: bug#35873: Add atomic window support to Gnus Date: Fri, 20 Sep 2019 11:12:36 -0700 Message-ID: <878sqizvjf.fsf@ericabrahamsen.net> References: <87h89kuch2.fsf@ericabrahamsen.net> <87imsxy3lj.fsf@ericabrahamsen.net> <87a7b4q7ed.fsf@gnus.org> <87a7b3eucz.fsf@ericabrahamsen.net> <875zlrq2v9.fsf@gnus.org> <87o8zgnqvx.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="21135"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Lars Ingebrigtsen , 35873@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 20 20:13:19 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iBNPD-0005Ng-7W for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Sep 2019 20:13:19 +0200 Original-Received: from localhost ([::1]:34480 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iBNPC-00021i-0r for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Sep 2019 14:13:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46879) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iBNOz-0001uh-9T for bug-gnu-emacs@gnu.org; Fri, 20 Sep 2019 14:13:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iBNOy-0006Wx-Bm for bug-gnu-emacs@gnu.org; Fri, 20 Sep 2019 14:13:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49611) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iBNOw-0006Va-Vz for bug-gnu-emacs@gnu.org; Fri, 20 Sep 2019 14:13:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iBNOw-0001mC-AZ; Fri, 20 Sep 2019 14:13:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Fri, 20 Sep 2019 18:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35873 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: patch Original-Received: via spool by 35873-submit@debbugs.gnu.org id=B35873.15690031686805 (code B ref 35873); Fri, 20 Sep 2019 18:13:02 +0000 Original-Received: (at 35873) by debbugs.gnu.org; 20 Sep 2019 18:12:48 +0000 Original-Received: from localhost ([127.0.0.1]:58431 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iBNOi-0001lg-4O for submit@debbugs.gnu.org; Fri, 20 Sep 2019 14:12:48 -0400 Original-Received: from ericabrahamsen.net ([52.70.2.18]:38772 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iBNOg-0001lJ-3h for 35873@debbugs.gnu.org; Fri, 20 Sep 2019 14:12:46 -0400 Original-Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 2B8F0FA025; Fri, 20 Sep 2019 18:12:38 +0000 (UTC) In-Reply-To: (martin rudalics's message of "Fri, 20 Sep 2019 10:13:21 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:166777 Archived-At: martin rudalics writes: >> I updated the patch with Martin's suggestion, and am back to running >> this daily. One thing I noticed is that (in this case in my Gnorb >> package) running `delete-other-windows' from a Gnus window will now >> result in one of these: >> >> delete-other-windows: Root of atomic window is root window of its frame >> >> That error is expected with atomic windows. I can change Gnorb to not >> use `delete-other-windows' (it shouldn't be using that anyway), but I >> wonder if that's likely to cause an unacceptable amount of friction with >> other packages/user code. (While noting that this behavior is off by >> default.) > > You can also specify a function in the 'delete-other-windows' > parameter of any window involved. One that dissolves atomicity, for > example. Oh, excellent! I don't think I'll actually use that yet -- I'll fix my own package not to call `delete-other-windows', then ask folks to enable this feature and watch out for the error, and hopefully bug reports will show how `delete-other-windows' might be being used in the wild. Then we can look at how best to implement the d-o-w parameter for Gnus windows. Thanks, Eric