Stefan Kangas <stefan@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 53457) by debbugs.gnu.org; 25 Jan 2022 11:52:56 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 25 06:52:56 2022 Received: from localhost ([127.0.0.1]:47142 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nCKNb-0005qA-Qx for submit <at> debbugs.gnu.org; Tue, 25 Jan 2022 06:52:56 -0500 Received: from sonic309-20.consmr.mail.ne1.yahoo.com ([66.163.184.146]:33217) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <luangruo@HIDDEN>) id 1nCKNY-0005ps-Ta for 53457 <at> debbugs.gnu.org; Tue, 25 Jan 2022 06:52:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1643111566; bh=0sr3vpW+T/tG8OfsvaP/uoGCicvZy/whoQD23AyBX4U=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=OsQ4tvKUu9PNqFkUjLTVAj7goWwW+XbNuOqNCTjv557JUW3dDe8/Uk1+ZNEf3jMS8RaI+RY1poLG2LLIDh5lj+zwDTKUAOppTR6oPZ+uks3K/MGr7/iK0eeHF8XqBIUdzSkoL+YKQ6xTD7fFiN/Q8c1LVh2bwwX05fiYQNrSH2+Iw/f7AZQrWkn/02xLEOLiexen2yLHnB/Br+OyHXxOCKrQBp3Y6fjGJUsU1rdDtEBx6FNu47j9Y+ZDtxJzI9jbBKzK/QIe01K90xlO/rqhL6ORA2Fq1LN4DAXe/1EDQ978/gnFrwWV6/elZZcl/cP3pqV+U1/x9sANBWq6bJzxBA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1643111566; bh=DOngeVA8imnZMa57oGBGMcS8s6oO3fsGguGQ5727vDE=; h=X-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Yn6GQKB3ev.cQTLiw8747YQIE5fq7rjUkmgs8NJLPxTSHwM MlXrKfD4jOQBnr52Z_w85x.BhdEVFdmxNXpisGG.c_oBAhU3uhTfcyT6XDcH.BPxav8qwSduJOYw 0zc0EIJmqji9wzpyu9uq6RCLPgjLr4gkVkprdbQ0DV8I5fSzCSNxXukIO5ILdgSJkcvpoSkTKMR2 ._N32nvueLgrWPXrVIC2qdWy2b.dO9aZYCQM2mibmzLo5jxcmZAuA_i1D9_gX0.zJoO1hifW93Pz oTyXpiawFLFrw.53XM.1HD05dHjU9T4qA2LhsxYETBC_q85_gyEn2EDN6Dy1cc2paHkwxvkd3yT1 7iL2MJu5FXaLR7JJa.qfSySPuObuPyxGmuRem7hfVIlRvaYMuSURyQmd1Qgp5BTtYDzNd7nw55lQ QAcf4FChJqbHRK0u1LI_u9wvYtmrUSwehbqp8OhV0NMzDytvO7reM3ec2oGmUjKtqhrPpELrO4Rq vxlmi1mVmZjQUXr45ZzbXdYoJM492c0m_VZmVy5OxlBYlC7Ll2FiGuHCO X-Sonic-MF: <luangruo@HIDDEN> Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.ne1.yahoo.com with HTTP; Tue, 25 Jan 2022 11:52:46 +0000 Received: by kubenode519.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 41971276843660129cf748bae9850eac; Tue, 25 Jan 2022 11:52:43 +0000 (UTC) From: Po Lu <luangruo@HIDDEN> To: Maximiliano Sandoval <msandova@HIDDEN> Subject: Re: bug#53457: 29.0.50; pgtk: [Request] Expose GtkSettings to emacs References: <s_AAaWFCNcERrAQtMv8FjaEeGlb8Jtg6mF6E11VVOi8Bz_xHeT3Mnudz_Wx-DLRzZMg5uAZZPFm3iYTex_dngOlbPCWWlFy7QKwZiY36n0s=@protonmail.com> <875yqbtelb.fsf@HIDDEN> <WJ317t_w4cL3_6FsmovOhAPGAzR7mgF8dBVPXM_Be5K914ayJnQz3fM53MqsZoK2HuMbcOo81HupwK9n8eCLgvynWdIVelCUlX_e04Rm8Pw=@protonmail.com> <87sftfrwyr.fsf@HIDDEN> <7ryBJGbLNundVwb81pO54APmKbZt-N_2vSFDHa5AgSKH7D2OvGmU-hvgtlKsNT1XxE4yCVzTI74QNro3or4CgYhOE3jaBIthrEZkA16YF-8=@protonmail.com> <877daonuvh.fsf@HIDDEN> <6om0eP0E-JpYbTwYkdOEPRiA3CJhGst7ImtBzgPqJHeCsaWZbRWBh9H3R0sU7IgXYmhJoB9ic8E6lF12_VqAd76aPV6REbzUd8I6Mp7bka8=@protonmail.com> Date: Tue, 25 Jan 2022 19:52:39 +0800 In-Reply-To: <6om0eP0E-JpYbTwYkdOEPRiA3CJhGst7ImtBzgPqJHeCsaWZbRWBh9H3R0sU7IgXYmhJoB9ic8E6lF12_VqAd76aPV6REbzUd8I6Mp7bka8=@protonmail.com> (Maximiliano Sandoval's message of "Tue, 25 Jan 2022 11:04:36 +0000") Message-ID: <8735lcnibc.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.19615 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 2504 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 53457 Cc: 53457 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Maximiliano Sandoval <msandova@HIDDEN> writes: > That works for me, but I have to stress out that this is not GNOME > specific. Such a patch would only require > > ``` > hdy_init (); > hdy_style_manager_set_color_scheme (hdy_style_manager_get_default (), > HDY_COLOR_SCHEME_PREFER_LIGHT); > ``` > > after `gtk_init ()` is called to opt-in into following the user > preference. Note that this requires libhandy >= 1.5, meaning that > there are no stable releases that support this yet, we will have one > before GNOME 42 in march. No worries, we can wait until it is released this March to add such an option. > If you are using Adwaita-dark, whatever color scheme you declare in > the xdg-desktop-portal will be override by it (and thus ignored). The > reason Adwaita-dark is broken is because apps cannot tell that they > are in a dark mode, which leads to broken visuals, e.g. in gedit the > highlight for the current line is white, making text invisible in > Adwaita-dark. That can be remedied by selecting a different color theme in gedit's preferences, I think. > How does this affect Emacs? For example you might want to sync emacs' > theme with the headerbar stylesheet, and without hacks it is not > possible to tell if emacs is using a stylesheet that correspond to a > dark mode. The only way this is possible is by reading the xdg backed > preference and for doing so, it is desirable to have emacs being able > to declare its own GTK theme. There is no "headerbar stylesheet" we control, not even on PGTK. GTK only draws decorations in our usage when none are available from the display server and/or window manager, so it isn't right for us to advertise a feature for "changing the window decoration color" that doesn't work as such. > Those options are there only to avoid breakage with existing setups > and they are not going away as you point out, that does not mean they > are *supported*. The only supported way to tell a GTK 3 app that it > should use a dark mode stylesheet is via the > `gtk-application-prefer-dark-theme` setting. No, the gsettings setting is explictly supported inside GTK code, and is not a by-product of trying to not break existing setups. Programs which want to follow the new XDG preference for preferring dark stylesheets should use libadwatia or libhandy. A configuration option for Emacs to use that is the right way forward, so I suggest any interested party to begin hacking on that now. Thanks.
bug-gnu-emacs@HIDDEN
:bug#53457
; Package emacs
.
Full text available.Received: (at 53457) by debbugs.gnu.org; 25 Jan 2022 11:04:50 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 25 06:04:50 2022 Received: from localhost ([127.0.0.1]:47026 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nCJd3-0004PW-KN for submit <at> debbugs.gnu.org; Tue, 25 Jan 2022 06:04:50 -0500 Received: from mail-40131.protonmail.ch ([185.70.40.131]:27874) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <msandova@HIDDEN>) id 1nCJd0-0004PH-5O for 53457 <at> debbugs.gnu.org; Tue, 25 Jan 2022 06:04:48 -0500 Date: Tue, 25 Jan 2022 11:04:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail2; t=1643108679; bh=NjyUsFpArdNXlRXh5wO0d2KB9bRuqPi8Ozg0g55YjwE=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:From:To:Cc; b=bcsC4yoqElvrplQpWjecQYKPPT6hEq6dkpiz8ZbNyYvSeeRoPacGcGI1y5jp8bvMi 7USKYEqAwIypnUpIm/TvCRNfHAPnN2+iMGUSVrrnnSAInlyKwKrDdLQtNRU4nqJgFm cpG0Y9Z+LSE+f2/Ep0TLBtUimtgkn5vAxzw7fxFwlWZ/RJtoKXZvjoVOFwl9yVpciW BIuIAvLvLCuyYZH9QUTJbvFkMPOPsNmpvkXL+yoMkc4fZn0teq6+IyK1vP4PQFM5TQ A20cFesAe6p93IhuGTMOBgarYlRBQOzDdKFUmvRehozsCzaH6jdWVvHi4R2V9r6zWY I8QuSKVKsiqtg== To: Po Lu <luangruo@HIDDEN> From: Maximiliano Sandoval <msandova@HIDDEN> Subject: Re: bug#53457: 29.0.50; pgtk: [Request] Expose GtkSettings to emacs Message-ID: <6om0eP0E-JpYbTwYkdOEPRiA3CJhGst7ImtBzgPqJHeCsaWZbRWBh9H3R0sU7IgXYmhJoB9ic8E6lF12_VqAd76aPV6REbzUd8I6Mp7bka8=@protonmail.com> In-Reply-To: <877daonuvh.fsf@HIDDEN> References: <s_AAaWFCNcERrAQtMv8FjaEeGlb8Jtg6mF6E11VVOi8Bz_xHeT3Mnudz_Wx-DLRzZMg5uAZZPFm3iYTex_dngOlbPCWWlFy7QKwZiY36n0s=@protonmail.com> <875yqbtelb.fsf@HIDDEN> <WJ317t_w4cL3_6FsmovOhAPGAzR7mgF8dBVPXM_Be5K914ayJnQz3fM53MqsZoK2HuMbcOo81HupwK9n8eCLgvynWdIVelCUlX_e04Rm8Pw=@protonmail.com> <87sftfrwyr.fsf@HIDDEN> <7ryBJGbLNundVwb81pO54APmKbZt-N_2vSFDHa5AgSKH7D2OvGmU-hvgtlKsNT1XxE4yCVzTI74QNro3or4CgYhOE3jaBIthrEZkA16YF-8=@protonmail.com> <877daonuvh.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 53457 Cc: 53457 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Reply-To: Maximiliano Sandoval <msandova@HIDDEN> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) > [I didn't notice you forgot to CC the bug tracker earlier... Thanks!, I am sorry for the trouble. > That suggests the way forward is to provide a build option which will > > let Emacs utilize libhandy, or libadwatia, for the people who use GNOME > > and are willing to listen to whatever GNOME tells them. That works for me, but I have to stress out that this is not GNOME specific= . Such a patch would only require ``` hdy_init (); hdy_style_manager_set_color_scheme (hdy_style_manager_get_default (), HDY_COLOR_SCHEME_PREFER_LIGHT); ``` after `gtk_init ()` is called to opt-in into following the user preference. Note that this requires libhandy >=3D 1.5, meaning that there are no stable releases that support this yet, we will have one before GNOME 42 in march. > Why would it be incompatible with such a feature? If you are using Adwaita-dark, whatever color scheme you declare in the xdg-desktop-portal will be override by it (and thus ignored). The reason Adwaita-dark is broken is because apps cannot tell that they are in a dark = mode, which leads to broken visuals, e.g. in gedit the highlight for the current = line is white, making text invisible in Adwaita-dark. How does this affect Emacs? For example you might want to sync emacs' theme= with the headerbar stylesheet, and without hacks it is not possible to tell if e= macs is using a stylesheet that correspond to a dark mode. The only way this is possible is by reading the xdg backed preference and for doing so, it is desirable to have emacs being able to declare its own GTK theme. > The latter option is explictly supported by the GTK developers. The > former is not... Those options are there only to avoid breakage with existing setups and the= y are not going away as you point out, that does not mean they are *supported*. T= he only supported way to tell a GTK 3 app that it should use a dark mode style= sheet is via the `gtk-application-prefer-dark-theme` setting. Note that there are two variants of this setting: the global one, which was retired in gnome-tweaks since it was completely broken, and a per-app setti= ng, which is the recommended option for apps not using libhandy/libadwaita. Maximiliano Sandoval R. =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original Me= ssage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 On Tuesday, January 25th, 2022 at 8:21 AM, Po Lu <luangruo@HIDDEN> wrote= : > [I didn't notice you forgot to CC the bug tracker earlier. Please use > > "Reply All" to reply, so that the bug tracker stays copied in.] > > Maximiliano Sandoval msandova@HIDDEN writes: > > > > Not what I recall, where the GTK developers say libadwatia (not > > > > > > individual applications) is supposed to set a dark stylesheet if the > > > > > > user wants to use one. > > > > The right way to enable a dark stylesheet is to open GNOME Tweaks, an= d > > > > > > set the stylesheet to "Adwatia Dark". > > > These two affirmations are not correct. > > [..] > > > Applications which want to follow the GNOME human interface guidelines > > > > can make use of libhandy in GTK 3 (where they have to explicitly > > > > opt-in to follow the user preference) or libadwaita in GTK 4. These > > > > libraries will listed to the dbus for changes of the > > > > xdg-desktop-portal backed setting and refresh the stylesheet > > > > accordingly. Libhandy in fact uses "gtk-application-prefer-dark-theme" > > > > internally to set dark mode [1]. > > > > Only when using lib{handy,adwaita}, the > > > > "gtk-application-prefer-dark-theme" setting should not be used at all, > > > > since it conflicts with the user preference. > > > > Emacs is not an application targeting the GNOME environment therefore > > > > it should probably not use either of these libraries. The way forward > > > > is to either take care of these steps or provide the tools for the > > > > users to do it. > > That suggests the way forward is to provide a build option which will > > let Emacs utilize libhandy, or libadwatia, for the people who use GNOME > > and are willing to listen to whatever GNOME tells them. > > > Right now it is not possible to declare that Emacs should use a dark > > > > stylesheet. > > No, it is possible. The proper solution is to tell GTK to use a dark > > theme, through either GNOME Tweaks or by using gsettings manually, both > > of which are not "hacks". > > The latter option is explictly supported by the GTK developers. The > > former is not, but it is in use by so many people (many more than the > > people using desktop environments which have added support for this new > > XDG protocol, none of which have been released yet), that it's hard to > > imagine it going away any time soon. > > > In short the "Adwaita-dark" setting in gnome-tweaks is a hack that > > > > will only cause conflicts with the user's preference and is > > > > incompatible with time based scheduling for dark mode. > > Why would it be incompatible with such a feature? > > Thanks.
bug-gnu-emacs@HIDDEN
:bug#53457
; Package emacs
.
Full text available.Received: (at 53457) by debbugs.gnu.org; 25 Jan 2022 07:21:43 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 25 02:21:43 2022 Received: from localhost ([127.0.0.1]:46757 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nCG99-0004tL-Gv for submit <at> debbugs.gnu.org; Tue, 25 Jan 2022 02:21:43 -0500 Received: from sonic308-56.consmr.mail.ne1.yahoo.com ([66.163.187.31]:44655) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <luangruo@HIDDEN>) id 1nCG92-0004sz-9p for 53457 <at> debbugs.gnu.org; Tue, 25 Jan 2022 02:21:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1643095289; bh=dlzM8ehNTQeZXy9awiEe72fkN9Yvr1HMC+LMuMb+yr0=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=h3NSEHF6OcmyeTvdeGhuACHCfTd/K8K1QHqYLERlWWU5krZAOT+qi3gXs2e4FjF79Bxn2x3qJBka57rUT23zzb3LBtV4CEmTwEjVVaw+KNFUXDY4KJDZMVJ4sK9oAENy8tUFi50FaM9BAyx8WNVn6MvTggN/lIPAb8VXGq0ra/JbTfQv8MaEXTtvH+cnz4UPytDltf7vz+e3EfZfznToMNfIq7zhqBGWHrYIBuj85vGjjZsyaJuXT5dms1BfOLwDD+ETsdYdytLgF+5qlb7VYgsFEQdJewDpR4WXY2Zn7YF4vFF3edi4AcO9QtZbHHsmUQWrZE472XPVxeo+oZ0Y+Q== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1643095289; bh=lEY79Alt8wa2+gWeGzynh5V1aiWjIzzyYAprbIz9E/R=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=IR58oe7ebCPEXXBNM8o7k07SAucrrH9JQzM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kyp8ORhJ53jNkOm_2CnakWBCSnNsa180ZK_jIxiLroOLqhAGP 0Ooaed83DpV3dhEaVR0qO2yhXU5Ewd60YpkNSOqdCqmolD6P5qbFsYbPcGGT6Va.j.nkJZMLwQ.t 9Pq6YY3MIvGolcNmdFeFhU4caDHPMgDiFGdADSf6KPCYXSnaizBa0SKAx6BES43_WECZM.ep9J5l xbkyOWg5IQSx917lKffH9lNyUjcyLQvdwIKiap6jA6ST8DM.QicLNW2bAa0Fj3p.wNSQGciL82Tw 30zC5OV4HmH0aF_XVMyYYJdwwPfQuAKGSSJWGRLKFbaKhJn5K3XxKSYtsgAoBw_tjXYSMS77tUsl U7VsgmOZDwY2Nza3mqGokrZe03mR0pp4U7wjfp1WPIsk2Tlg66utkYDG9tdeU1EXnN3AbdkoW7up ncBt2THpe5INgDcmWZ5JNwgBWSePWiWKWYje8hu8R6HIw7oJEpXa3EXoa X-Sonic-MF: <luangruo@HIDDEN> Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.ne1.yahoo.com with HTTP; Tue, 25 Jan 2022 07:21:29 +0000 Received: by kubenode519.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 5135c126747cd65c0c0526ef71c0fa74; Tue, 25 Jan 2022 07:21:26 +0000 (UTC) From: Po Lu <luangruo@HIDDEN> To: Maximiliano Sandoval <msandova@HIDDEN> Subject: Re: bug#53457: 29.0.50; pgtk: [Request] Expose GtkSettings to emacs References: <s_AAaWFCNcERrAQtMv8FjaEeGlb8Jtg6mF6E11VVOi8Bz_xHeT3Mnudz_Wx-DLRzZMg5uAZZPFm3iYTex_dngOlbPCWWlFy7QKwZiY36n0s=@protonmail.com> <875yqbtelb.fsf@HIDDEN> <WJ317t_w4cL3_6FsmovOhAPGAzR7mgF8dBVPXM_Be5K914ayJnQz3fM53MqsZoK2HuMbcOo81HupwK9n8eCLgvynWdIVelCUlX_e04Rm8Pw=@protonmail.com> <87sftfrwyr.fsf@HIDDEN> <7ryBJGbLNundVwb81pO54APmKbZt-N_2vSFDHa5AgSKH7D2OvGmU-hvgtlKsNT1XxE4yCVzTI74QNro3or4CgYhOE3jaBIthrEZkA16YF-8=@protonmail.com> Date: Tue, 25 Jan 2022 15:21:22 +0800 In-Reply-To: <7ryBJGbLNundVwb81pO54APmKbZt-N_2vSFDHa5AgSKH7D2OvGmU-hvgtlKsNT1XxE4yCVzTI74QNro3or4CgYhOE3jaBIthrEZkA16YF-8=@protonmail.com> (Maximiliano Sandoval's message of "Sun, 23 Jan 2022 09:55:14 +0000") Message-ID: <877daonuvh.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.19615 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 2379 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 53457 Cc: 53457 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) [I didn't notice you forgot to CC the bug tracker earlier. Please use "Reply All" to reply, so that the bug tracker stays copied in.] Maximiliano Sandoval <msandova@HIDDEN> writes: >> Not what I recall, where the GTK developers say libadwatia (not >> individual applications) is supposed to set a dark stylesheet if the >> user wants to use one. >> The right way to enable a dark stylesheet is to open GNOME Tweaks, and >> set the stylesheet to "Adwatia Dark". > These two affirmations are not correct. [..] > Applications which want to follow the GNOME human interface guidelines > can make use of libhandy in GTK 3 (where they have to explicitly > opt-in to follow the user preference) or libadwaita in GTK 4. These > libraries will listed to the dbus for changes of the > xdg-desktop-portal backed setting and refresh the stylesheet > accordingly. Libhandy in fact uses "gtk-application-prefer-dark-theme" > internally to set dark mode [1]. > > Only when using lib{handy,adwaita}, the > "gtk-application-prefer-dark-theme" setting should not be used at all, > since it conflicts with the user preference. > > Emacs is not an application targeting the GNOME environment therefore > it should probably not use either of these libraries. The way forward > is to either take care of these steps or provide the tools for the > users to do it. That suggests the way forward is to provide a build option which will let Emacs utilize libhandy, or libadwatia, for the people who use GNOME and are willing to listen to whatever GNOME tells them. > Right now it is not possible to declare that Emacs should use a dark > stylesheet. No, it is possible. The proper solution is to tell GTK to use a dark theme, through either GNOME Tweaks or by using gsettings manually, both of which are not "hacks". The latter option is explictly supported by the GTK developers. The former is not, but it is in use by so many people (many more than the people using desktop environments which have added support for this new XDG protocol, none of which have been released yet), that it's hard to imagine it going away any time soon. > In short the "Adwaita-dark" setting in gnome-tweaks is a hack that > will only cause conflicts with the user's preference and is > incompatible with time based scheduling for dark mode. Why would it be incompatible with such a feature? Thanks.
bug-gnu-emacs@HIDDEN
:bug#53457
; Package emacs
.
Full text available.Received: (at 53457) by debbugs.gnu.org; 23 Jan 2022 01:40:03 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 22 20:40:03 2022 Received: from localhost ([127.0.0.1]:38257 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nBRrP-00058v-Dc for submit <at> debbugs.gnu.org; Sat, 22 Jan 2022 20:40:03 -0500 Received: from sonic315-21.consmr.mail.ne1.yahoo.com ([66.163.190.147]:39792) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <luangruo@HIDDEN>) id 1nBRrM-00058L-UH for 53457 <at> debbugs.gnu.org; Sat, 22 Jan 2022 20:40:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1642901994; bh=cEW9yQdqud4MxRXnJZsm56U0v99ME+4VRMt7LJ4s0pg=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=uV5YYwJtxn3xIiU7SZkHxFKTZbEpu9tEqSHesV/uFbXdYodaO0NZkwCDcP4nR/GPQz7UHFeB3C15a0c0HYEm2gUcKr1jx4jkZSe2TSUL2I/RRV49HwkkAwaMwjV0BbotHQzmEKC0LQlk3dtv6j6CD5VtC4yteP0qY2vBA9Mg1Dtl6gFIaWfL+OvLb1WRTCUd+t73DfgNNGdw/2xjLO5fS+7iLdEM69wN8VnBaPyGbgcoZ15y5WDD4+mB/Zz+Ipappou+Q3IMw898bE55TxWMV87fyk1geYEHv9ZHS6HFInkR9Tiu+ZvbOmMOqJtLepJ1hStkkNGOVO1F6nmP1nexww== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1642901994; bh=k88mo9g33xJ4baiWeyzRU9MVxvTjrIeWtaL3f6i3xqQ=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=gzIk8eg5uN5KfzhTVTLO8TcmFikLNiCd3UN3A5KS5cR7fPyL2GgCmgCuXz6x7kQXrzVTeL34KDnR9Cq2drnSVH3SnmgsKG4mTkwd1z8DeBjuXHgzN51K6abOY7MUAc8TTy530JCcmq44xNw5NFeOz/gqi9lFUMWj3iPH6OUiTNf61TWhDXH9NpFYFJptyCkXOHNEFnkj+m06TYC2dHU7/nxldbiMooGfBFAYFTTCt1wB27z9/T9WOkC0e42q75+VNIYpFeCst++hGkPTj1pBhCmay8vpadnf6Pt8dVHg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C6tVYn4CLj6xR8C.0ntGS1.EhOY4hcIrM1km5 IaR6NbWW9XPMMhuILMsPfEqNZcFUcB4XA6hMB4eJjuaoqxH.f94oSYIekTu1j4MqFn5K40pM.YAn KUXmmW5gV16LgFROQnKDgpp.l.ExWOJciXJTVMlhdnOUfmcKgukKyKana9srF.uItAcKPWhUtfz3 QgEf4RWOy3NSivF6WGPQy.wtpzQImxqYYdnvLo3iaukGmyfnCK38vT1s- X-Sonic-MF: <luangruo@HIDDEN> Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.ne1.yahoo.com with HTTP; Sun, 23 Jan 2022 01:39:54 +0000 Received: by kubenode514.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 537988a9a7846efea7083ba8b7cb5506; Sun, 23 Jan 2022 01:39:49 +0000 (UTC) From: Po Lu <luangruo@HIDDEN> To: Maximiliano Sandoval <msandova@HIDDEN> Subject: Re: bug#53457: 29.0.50; pgtk: [Request] Expose GtkSettings to emacs References: <s_AAaWFCNcERrAQtMv8FjaEeGlb8Jtg6mF6E11VVOi8Bz_xHeT3Mnudz_Wx-DLRzZMg5uAZZPFm3iYTex_dngOlbPCWWlFy7QKwZiY36n0s=@protonmail.com> Date: Sun, 23 Jan 2022 09:39:44 +0800 In-Reply-To: <s_AAaWFCNcERrAQtMv8FjaEeGlb8Jtg6mF6E11VVOi8Bz_xHeT3Mnudz_Wx-DLRzZMg5uAZZPFm3iYTex_dngOlbPCWWlFy7QKwZiY36n0s=@protonmail.com> (Maximiliano Sandoval's message of "Sat, 22 Jan 2022 21:32:37 +0000") Message-ID: <875yqbtelb.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.19646 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 911 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 53457 Cc: 53457 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Maximiliano Sandoval <msandova@HIDDEN> writes: > Now that Emacs has a proper GTK header bar it would be interesting to > have some GtkSettings exposed, such as > gtk-application-prefer-dark-theme for example, which would allow to > programmatically set dark mode for the headerbar. We don't have a "proper GTK header bar", only the fallback title bar GTK uses for window decoration, which is only available on window systems where server side decorations don't exist (such as Wayland and Broadway.) In addition to that, the setting is deprecated, so I think relying on it to set the stylesheet used for window decorations will not be very effective. People will probably start screaming like goats if we enable the fallback title bar on X as well, since client-side decorations are a very controversial subject, so the best option would be to utilize the system-wide settings for that job. Thanks.
bug-gnu-emacs@HIDDEN
:bug#53457
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 22 Jan 2022 21:32:52 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 22 16:32:52 2022 Received: from localhost ([127.0.0.1]:38091 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nBO0B-0007R2-QA for submit <at> debbugs.gnu.org; Sat, 22 Jan 2022 16:32:51 -0500 Received: from lists.gnu.org ([209.51.188.17]:34168) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <msandova@HIDDEN>) id 1nBO0A-0007Qv-SF for submit <at> debbugs.gnu.org; Sat, 22 Jan 2022 16:32:51 -0500 Received: from eggs.gnu.org ([209.51.188.92]:32892) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <msandova@HIDDEN>) id 1nBO0A-0003iM-NH for bug-gnu-emacs@HIDDEN; Sat, 22 Jan 2022 16:32:50 -0500 Received: from mail-4316.protonmail.ch ([185.70.43.16]:47719) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <msandova@HIDDEN>) id 1nBO08-0002RJ-GX for bug-gnu-emacs@HIDDEN; Sat, 22 Jan 2022 16:32:50 -0500 Date: Sat, 22 Jan 2022 21:32:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail2; t=1642887159; bh=GmXohNrtV7XH2Yta9spCr0fKendsQSxR2RioRvDiVO0=; h=Date:To:From:Reply-To:Subject:Message-ID:From:To:Cc; b=FKeyZNcfZddSIwbNg+HX45LMjq9tkZCi3BQFi49fLBHp6lcuBbjzPQkuj2ZumGJJY +V1gjkfJUQURxMzCXthhdhicMD/z0CpySNT4Y9RSD35D8gIou/739Cnv68J0G+m7gQ M8GkFIP1189e8PvP8iJs9N/3soG5r5pIYECHKsjnEVhf/PTy0MXMI0XWMfBZo/asm4 ZAuJLZZHcURQI4Gu4uqPSzUCTuB78KnnGRpzvE/IewvVg4XkTclpVUhSmSEhANLWjn zZ1onxFgjCkRZdRqejwTW2sXKLfQUs6kUDpd20LGJtMqVeJRq/4Btk5iLTJLVE9Ize GgtzJCvOUW2Kw== To: "bug-gnu-emacs@HIDDEN" <bug-gnu-emacs@HIDDEN> From: Maximiliano Sandoval <msandova@HIDDEN> Subject: 29.0.50; pgtk: [Request] Expose GtkSettings to emacs Message-ID: <s_AAaWFCNcERrAQtMv8FjaEeGlb8Jtg6mF6E11VVOi8Bz_xHeT3Mnudz_Wx-DLRzZMg5uAZZPFm3iYTex_dngOlbPCWWlFy7QKwZiY36n0s=@protonmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="b1_cdRzGrjDuthNJWcVmZdwaf8edXdWHbXS1NZbXs3fjs" X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch Received-SPF: pass client-ip=185.70.43.16; envelope-from=msandova@HIDDEN; helo=mail-4316.protonmail.ch 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, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.1 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Reply-To: Maximiliano Sandoval <msandova@HIDDEN> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) This is a multi-part message in MIME format. --b1_cdRzGrjDuthNJWcVmZdwaf8edXdWHbXS1NZbXs3fjs Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 Tm93IHRoYXQgRW1hY3MgaGFzIGEgcHJvcGVyIEdUSyBoZWFkZXIgYmFyIGl0IHdvdWxkIGJlIGlu dGVyZXN0aW5nIHRvCmhhdmUgc29tZSBHdGtTZXR0aW5ncyBleHBvc2VkLCBzdWNoIGFzIGd0ay1h cHBsaWNhdGlvbi1wcmVmZXItZGFyay10aGVtZQpmb3IgZXhhbXBsZSwgd2hpY2ggd291bGQgYWxs b3cgdG8gcHJvZ3JhbW1hdGljYWxseSBzZXQgZGFyayBtb2RlIGZvciB0aGUgaGVhZGVyYmFyLgoK Tm90ZSB0aGF0IHRoZXJlIGFyZSBhbHJlYWR5IHNvbWUgaGFja3MgdG8gc2V0IHRoZSBoZWFkZXIg YmFyIHRvIGRhcmsgbW9kZSwgYnV0IHRoZXkgZGVwZW5kIG9uIFgxMWlzbXMsIHNlZSBodHRwczov L2dpdGh1Yi5jb20vYmVwdnRlL2d0ay12YXJpYW50LmVsLgoKLS0KTWF4aW1pbGlhbm8= --b1_cdRzGrjDuthNJWcVmZdwaf8edXdWHbXS1NZbXs3fjs Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: base64 PGRpdiBzdHlsZT0iZm9udC1mYW1pbHk6IGFyaWFsOyBmb250LXNpemU6IDE0cHg7Ij48ZGl2IHN0 eWxlPSJmb250LWZhbWlseTogYXJpYWw7IGZvbnQtc2l6ZTogMTRweDsiPk5vdyB0aGF0IEVtYWNz IG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pbF9zaWduYXR1cmVfYmxvY2stdXNlciI+PGRpdj48ZGl2Pk1heGltaWxpYW5vPGJyPjwvZGl2 PjxkaXY+PGJyPjwvZGl2PjwvZGl2PjwvZGl2PjxkaXYgY2xhc3M9InByb3Rvbm1haWxfc2lnbmF0 dXJlX2Jsb2NrLXByb3RvbiBwcm90b25tYWlsX3NpZ25hdHVyZV9ibG9jay1lbXB0eSI+PC9kaXY+ PC9kaXY+PC9kaXY+PGRpdiBzdHlsZT0iZm9udC1mYW1pbHk6IGFyaWFsOyBmb250LXNpemU6IDE0 cHg7Ij48YnI+PC9kaXY+ --b1_cdRzGrjDuthNJWcVmZdwaf8edXdWHbXS1NZbXs3fjs--
Maximiliano Sandoval <msandova@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#53457
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.