From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: macOS (Cocoa) alpha-background Date: Thu, 25 Jan 2024 09:46:46 +0800 Message-ID: <871qa6qj5l.fsf@yahoo.com> References: <87ttn4spio.fsf@yahoo.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="13391"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: Jon Rubens Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jan 25 02:47:38 2024 Return-path: Envelope-to: ged-emacs-devel@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 1rSoq8-0003I3-D3 for ged-emacs-devel@m.gmane-mx.org; Thu, 25 Jan 2024 02:47:36 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rSopd-0002oO-CE; Wed, 24 Jan 2024 20:47:05 -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 1rSopa-0002oG-U8 for emacs-devel@gnu.org; Wed, 24 Jan 2024 20:47:03 -0500 Original-Received: from sonic303-22.consmr.mail.ne1.yahoo.com ([66.163.188.148]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rSopZ-00071T-Ej for emacs-devel@gnu.org; Wed, 24 Jan 2024 20:47:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1706147217; bh=OqCqtHttIRYG0VmKSvao2MaCXA5CDidw5N07FHWGmWg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=s8KjDXbQZIG/e5r5pMCLPUle5R0qqG0M/vKpbqUPQuP/qgytgItFZKWOnb+9uOSlgv60ZpweecUJy8dIN3ZF6XUtitPMxT3CU6KEbHyB13KixL9JyRj875jcjSRhOMz/fas+ZV961F82sQwxhKJH8MaAkzSWRDZRHTJNR6YYPf1JKB7Jju0izjOm/oyX79OIoQbreSLAYArdr9VZeOYnnrioKtbO7RA8+FLMet3Y+MEfE8req1nZ2jouLKm+P4hakaIT60l8D+e7Xfsx1q7Zny2PpcwqfnzZ/MMJA4W4e7hPKNAZ2sgqEhp48iNzNAhy08kyXsvy8YzYv5CL57lLDQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1706147217; bh=FctTtHvK+wnpFLimEXYI+Os6GekPsUIs0UUent0te9a=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=WOqbrHRkUW9d4SRmBFQEs/FCjR/WmKNgtnDSknV2OMhyH2Lq50KG2Zxnlck8vyAanoKcM7U+22VObu9ZiyXOrgzlYSh8Kb7GdgonGJPWAXXI8GQNbA2+JXy3wdm9ua6xsBW9hwFtBhjbIbK3AHzprcOLktxcRBFRJApgRq+JJONc/sMdET0enjrXvHQR+Ssph01Psh2uWs/B8oT3jkO6H6IrEKqOjpHBAltcWSurhAyGaeTEj5zdzncSe6jeJ9FJnFrCTLpEth2rE4QLKrToimngNlMLpKSoDHONxxTiQR222qMO6Vqc6meoYB/ls4tovP0PWFeAOou7Xz0An3iwhQ== X-YMail-OSG: Nkjr26MVM1mThMzG3zuLiscuvIN3fhbM3TYKFJvsijBRMtmx8tSyd31f8UGF2fc xGsMX2iEV_7z_gzAGAoRMJPmyaAYgldZ6m01uF6M64L7swn3gCnM8OBp06f8cGkHsZB5d0.j5USA 78LE9Vt3wBsQrQRw3RPJaL7JhcEPQHOduxoD58tNDliCvXfajTeD4_yMLb2JDinC_WTZEm7BfpaW nxdoc6NHj59Lrcbh0etIO4mg13owWZq9r5fF5MbkRINbJIJH0_DHlBvAz2vLqfJuM8yPedl6xqHO 1tVPUBYF4VxVghmyKIzrsQGV_2Gq9TFp8s4sAspsVyBReOg88smrwYZ7V3UW0YxQ690z3H20UCuA MN_rQeC2EBuwGMtFyAwxGTWokmgbbWjuoem.nVo.qCUBrMZhvv5O33f8irZiUiAuxiykQL0XzGaP LXfpToLTNYFg5P9gzA9kYabGh_XMCPkkkcBmKQAeAvHUtwBeabc7LiljaUzJUoJ5w8.7u47pqKI1 BPP.0XurlREP04Gomoo9efQZ3hiCHBfpm70uyMUKH5YfN_yITTo2.BinURmkhtcl1wBXbBhSp5t3 4JZ53zbkmMsmMUja35ygX_V5LtoTS.DF94GlMUACxMfvpPZRNW5nu8OhI4tGm4yhRMTsjf_PM_J5 QMPmaOBqELOUgqKJN_VIfV5FrvvNwIWJ5SwDiLlaXgwaArNm.IRfuhLqP9aqq7IvRnTDi9PpJOoR PK_zudYT3ESUvcrlVmeS0gVBYdrUeL8aNrnqXzicVp.TzIk8p2CA7qixSLpS45Jh_b16nw7jPLVv L6_ICssYWXC1FVs9dRQ4svqTYJRDXyNp6jh3FtjIXL X-Sonic-MF: X-Sonic-ID: e83b2f4f-f039-4537-b44f-73d854d5a48b Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.ne1.yahoo.com with HTTP; Thu, 25 Jan 2024 01:46:57 +0000 Original-Received: by hermes--production-sg3-677476f564-gzbjr (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 6a399c7525726fef1091d8d4eaed1fb0; Thu, 25 Jan 2024 01:46:50 +0000 (UTC) In-Reply-To: (Jon Rubens's message of "Wed, 24 Jan 2024 15:25:26 -0800") X-Mailer: WebService/1.1.22046 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.188.148; envelope-from=luangruo@yahoo.com; helo=sonic303-22.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:315333 Archived-At: Jon Rubens writes: > I took a deep dive on this and have got it working. I don=E2=80=99t see a= ny > obvious issues in this patched version but I=E2=80=99m certain there are = edge > cases I haven=E2=80=99t tested. > > I haven=E2=80=99t tried modifying cursor colors or fringes or even diverse > face backgrounds (I=E2=80=99ve only been working with default face), but = this works for MacOS users. > > Only open question I have to look into: > - The alpha on the ns transparent titlebar is off. I need to determine ex= actly where I set that. Thanks. Before we can accept this patch, you must sign copyright over to the FSF; please start a separate thread, and someone will send you the assignment form. Meanwhile, please reformat the code into compliance with our preferred style, which in your case is to place spaces between function identifiers and their argument lists, and for no line to exceed 80 columns.