From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christian =?UTF-8?Q?Th=C3=A4ter?= Newsgroups: gmane.emacs.bugs Subject: bug#45636: [feature/native-comp] new (X11) windows don't use configured face/font Date: Sun, 3 Jan 2021 22:24:48 +0100 Message-ID: <20210103222448.1481cca5@wolke.pipapo.org> References: <20210103163545.016630f2@wolke.pipapo.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16482"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 45636@debbugs.gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 03 22:25:11 2021 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 1kwAsA-0004Ct-R6 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 03 Jan 2021 22:25:10 +0100 Original-Received: from localhost ([::1]:47342 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kwAs9-0000kU-TH for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 03 Jan 2021 16:25:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42358) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kwAs2-0000jA-7g for bug-gnu-emacs@gnu.org; Sun, 03 Jan 2021 16:25:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55409) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kwAs1-0008VW-Vz for bug-gnu-emacs@gnu.org; Sun, 03 Jan 2021 16:25:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kwAs1-0006lI-Pu for bug-gnu-emacs@gnu.org; Sun, 03 Jan 2021 16:25:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Christian =?UTF-8?Q?Th=C3=A4ter?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 Jan 2021 21:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45636 X-GNU-PR-Package: emacs X-Debbugs-Original-Cc: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.160970909725978 (code B ref -1); Sun, 03 Jan 2021 21:25:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Jan 2021 21:24:57 +0000 Original-Received: from localhost ([127.0.0.1]:38722 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kwArw-0006kw-Lu for submit@debbugs.gnu.org; Sun, 03 Jan 2021 16:24:56 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:41164) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kwArv-0006ko-25 for submit@debbugs.gnu.org; Sun, 03 Jan 2021 16:24:55 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42356) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kwAru-0000bi-Bl for bug-gnu-emacs@gnu.org; Sun, 03 Jan 2021 16:24:54 -0500 Original-Received: from mail.pipapo.org ([78.47.240.153]:55066) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kwArs-0008SC-6Y for bug-gnu-emacs@gnu.org; Sun, 03 Jan 2021 16:24:54 -0500 Original-Received: from hermes.pipapo.org (imap.pipapo.org [10.10.40.10]) by mail.pipapo.org (Postfix) with ESMTPS id 3E3D45EB7C; Sun, 3 Jan 2021 21:24:50 +0000 (UTC) Original-Received: from wolke.pipapo.org (wolke.pipapo.org [10.100.20.10]) by hermes.pipapo.org (Postfix) with ESMTPSA id 8294B9E00ED2; Sun, 3 Jan 2021 21:24:49 +0000 (UTC) In-Reply-To: X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Received-SPF: none client-ip=78.47.240.153; envelope-from=ct@pipapo.org; helo=mail.pipapo.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:197276 Archived-At: On 2021-01-03 20:14, Andrea Corallo wrote: >Christian Thaeter writes: > >> Opening a new emacs window under X11 falls back to >> "Bitstream Vera Sans" not honoring the default face I have >> configured. >> >> I can change the face, but opening a new window still falls back. >> >> When I compile the exact same source tree without '--with-nativecomp' >> then the Problem vanishes. >> >> My tree here is native-comp >> (a3f2373bfb604af5570c86b4ffefb23296a5bfdd) merged with master >> (825b4ec338e82869dc656c7041ab2483b6c22479). >> >> Cheers Christian > >Hi Christian, > >could you provide a minimal reproducer I can use to investigate? FYI: My system is Debian bullseye: emacs configured as following: $ ./configure --with-nativecomp --with-cairo --enable-link-time-optimization gives: Configured for 'x86_64-pc-linux-gnu'. Where should the build process find the source code? . What compiler should emacs be built with? gcc -g3 -O2 -flto=24 -ffat-lto-objects Should Emacs use the GNU version of malloc? no (The GNU allocators don't work with this system configuration.) Should Emacs use a relocating allocator for buffers? no Should Emacs use mmap(2) for buffer allocation? no What window system should Emacs use? x11 What toolkit should Emacs use? GTK3 Where do we find X Windows header files? Standard dirs Where do we find X Windows libraries? Standard dirs Does Emacs use -lXaw3d? no Does Emacs use -lXpm? yes Does Emacs use -ljpeg? yes Does Emacs use -ltiff? yes Does Emacs use a gif library? yes -lgif Does Emacs use a png library? yes -lpng16 -lz Does Emacs use -lrsvg-2? yes Does Emacs use cairo? yes Does Emacs use -llcms2? no Does Emacs use imagemagick? no Does Emacs support sound? yes Does Emacs use -lgpm? no Does Emacs use -ldbus? yes Does Emacs use -lgconf? no Does Emacs use GSettings? yes Does Emacs use a file notification library? yes -lglibc (inotify) Does Emacs use access control lists? yes -lacl Does Emacs use -lselinux? yes Does Emacs use -lgnutls? yes Does Emacs use -lxml2? yes Does Emacs use -lfreetype? yes Does Emacs use HarfBuzz? yes Does Emacs use -lm17n-flt? no Does Emacs use -lotf? yes Does Emacs use -lxft? no Does Emacs use -lsystemd? no Does Emacs use -ljansson? yes Does Emacs use -lgmp? yes Does Emacs directly use zlib? yes Does Emacs have dynamic modules support? yes Does Emacs use toolkit scroll bars? yes Does Emacs support Xwidgets (requires gtk3)? no Does Emacs have threading support in lisp? yes Does Emacs support the portable dumper? yes Does Emacs support legacy unexec dumping? no Which dumping strategy does Emacs use? pdumper Does Emacs have native lisp compiler? yes When testing I clean the eln-cache with: rm -rf ~/.emacs.d/eln-cache/* to have a pristine new environment And I underestimated how long bisecting takes, will continue tomorrow. cu Christian > >Thanks! > > Andrea