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#73401: [PATCH] Make window dividers and internal border respect alpha background Date: Sat, 30 Nov 2024 12:24:45 +0200 Message-ID: <86cyid81ea.fsf@gnu.org> References: <864j606pwa.fsf@gnu.org> <87frpkt61k.fsf@yahoo.com> <8634l1y37v.fsf@gnu.org> <8734l0supd.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7311"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 73401@debbugs.gnu.org To: luangruo@yahoo.com, Garklein Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 30 11:26:14 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 1tHKg1-0001lC-0i for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 30 Nov 2024 11:26:13 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tHKfr-0007hK-QE; Sat, 30 Nov 2024 05:26:03 -0500 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 1tHKfq-0007h6-Je for bug-gnu-emacs@gnu.org; Sat, 30 Nov 2024 05:26:02 -0500 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 1tHKfq-0001w1-2y for bug-gnu-emacs@gnu.org; Sat, 30 Nov 2024 05:26:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=bELo79GMrImzqjJXUN4hCfmO+RBTqIo9z3iX2heOgoo=; b=X/f4To6U0OkouK/DipUjTN8np6I9jqPFzZgIkrTB8OEm5zW9whgJFSgm47NkRHBw11JdAxSrVtHLNdG308pVRRJDPDzPcHSf0GVObWxLv0xwA1GFzOF9vkW/0jxdhANDSPErzrm1+1GthIAEXO9OsQjcAvbAzmd8K3vrtegAfiiD2eO2V+qCs/ptsk3r2iQMx1B77MIN048lYpHaMYv51g5XUribVvWJfqH/Q0TF/0/2UHnYUxXDTrclaCILlVFTkFco1yAn3B0DMwpx7NAhiwBwfO7y1t0fdREOMnPJ4gMj+dcc8kOybIRUxbh+a/Az1jelDuHUK4U57kT7FCAtZw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tHKfp-00004y-SM for bug-gnu-emacs@gnu.org; Sat, 30 Nov 2024 05:26:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 30 Nov 2024 10:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73401 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 73401-submit@debbugs.gnu.org id=B73401.173296230732400 (code B ref 73401); Sat, 30 Nov 2024 10:26:01 +0000 Original-Received: (at 73401) by debbugs.gnu.org; 30 Nov 2024 10:25:07 +0000 Original-Received: from localhost ([127.0.0.1]:45583 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHKex-0008QF-AI for submit@debbugs.gnu.org; Sat, 30 Nov 2024 05:25:07 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:55896) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHKeq-0008O6-4u for 73401@debbugs.gnu.org; Sat, 30 Nov 2024 05:25:01 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tHKek-0001b0-Hw; Sat, 30 Nov 2024 05:24:54 -0500 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=bELo79GMrImzqjJXUN4hCfmO+RBTqIo9z3iX2heOgoo=; b=fIbEMjOKEg0C cg1ksVDdgJg5mrcNB4yZfZKiSnBfDuSQKkR13TIsP9l1GCVbE/83LrZscV0J25Qv+qGJWa5iGWoFs LWLasYkYesflmqEVfSVufRk3WMrs4VHBRYdVkcRPKAzT1f3OI9VCHczyglPg9wydyp5PczlMYwiYj OcNaMpOC6P0P3cSkLP2KmNx4nld0PvENqfWSawR1kG3Jpc05BpEQUertdCE04j6kSkwmZnneI5hZc u6RO1fwGDd7SO7uzn81AIXII9tSGumkhsgHYGkK0o8vjAYwrR8g3NESfk4UkAifR9rT9SggxQ7jy6 EjCicznsbiThu7pShhVuJg==; In-Reply-To: (message from Garklein on Sat, 23 Nov 2024 16:56:26 -0500) 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:296145 Archived-At: > From: Garklein > Date: Sat, 23 Nov 2024 16:56:26 -0500 > Cc: Eli Zaretskii , 73401@debbugs.gnu.org > > Here is a patch that adds this option as a frame parameter. > > I hope I did everything correctly, but I have never worked with the > Emacs C source before, so I probably made some mistakes in style or > logic. > > Also, should this be factored out so that `border-alpha-background' is > its own parameter? In that case, a lot of functions would need to be > changed (the `respect-alpha-background' parameter in many xterm.c > functions would probably be changed to just a `double alpha` or > something like that). I am up for that, but I'm not sure if it would > be a helpful change. > > Please let me know how it looks! Po Lu, any comments?