unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#45636: [feature/native-comp] new (X11) windows don't use configured face/font
@ 2021-01-03 15:35 Christian Thaeter
  2021-01-03 20:14 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2021-01-04  9:50 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 6+ messages in thread
From: Christian Thaeter @ 2021-01-03 15:35 UTC (permalink / raw)
  To: 45636; +Cc: akrl

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





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#45636: [feature/native-comp] new (X11) windows don't use configured face/font
  2021-01-03 15:35 bug#45636: [feature/native-comp] new (X11) windows don't use configured face/font Christian Thaeter
@ 2021-01-03 20:14 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2021-01-03 20:29   ` Christian Thäter
                     ` (2 more replies)
  2021-01-04  9:50 ` Lars Ingebrigtsen
  1 sibling, 3 replies; 6+ messages in thread
From: Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2021-01-03 20:14 UTC (permalink / raw)
  To: Christian Thaeter; +Cc: 45636

Christian Thaeter <ct@pipapo.org> 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?

Thanks!

  Andrea





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#45636: [feature/native-comp] new (X11) windows don't use configured face/font
  2021-01-03 20:14 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2021-01-03 20:29   ` Christian Thäter
  2021-01-03 21:24   ` Christian Thäter
  2021-01-04  7:49   ` Christian Thäter
  2 siblings, 0 replies; 6+ messages in thread
From: Christian Thäter @ 2021-01-03 20:29 UTC (permalink / raw)
  To: Andrea Corallo; +Cc: 45636

On 2021-01-03 20:14, Andrea Corallo wrote:

>Christian Thaeter <ct@pipapo.org> 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?

I am just bisecting it and will give you reply in a moment.

For now (untested by me) you may reproduce it by

- Set the 'default' face to 'Comic Sans' or anything you never ever
  use. Either from menu-bar, editing .emacs manually or through
  customize.

- Save that.

- Confirm it got saved correctly.

- Restart Emacs.

- Still no 'Comic Sans' :(

	o/

>
>Thanks!
>
>  Andrea






^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#45636: [feature/native-comp] new (X11) windows don't use configured face/font
  2021-01-03 20:14 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2021-01-03 20:29   ` Christian Thäter
@ 2021-01-03 21:24   ` Christian Thäter
  2021-01-04  7:49   ` Christian Thäter
  2 siblings, 0 replies; 6+ messages in thread
From: Christian Thäter @ 2021-01-03 21:24 UTC (permalink / raw)
  To: Andrea Corallo; +Cc: 45636

On 2021-01-03 20:14, Andrea Corallo wrote:

>Christian Thaeter <ct@pipapo.org> 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






^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#45636: [feature/native-comp] new (X11) windows don't use configured face/font
  2021-01-03 20:14 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2021-01-03 20:29   ` Christian Thäter
  2021-01-03 21:24   ` Christian Thäter
@ 2021-01-04  7:49   ` Christian Thäter
  2 siblings, 0 replies; 6+ messages in thread
From: Christian Thäter @ 2021-01-04  7:49 UTC (permalink / raw)
  To: Andrea Corallo; +Cc: 45636

Bisect result:

c4efb49a27f05284d28eac7f60b28495c68f63fb is the first bad commit
commit c4efb49a27f05284d28eac7f60b28495c68f63fb
Author: Andrea Corallo <akrl@sdf.org>
Date:   Tue Dec 29 13:29:02 2020 +0100

    Constrain mvars under compare and branch with built-in predicates
    
            * lisp/emacs-lisp/comp.el (comp-emit-assume): Update.
            (comp-known-predicate-p): New function.
            (comp-add-cond-cstrs): Extend to pattern match predicate
    calls.
            * lisp/emacs-lisp/comp-cstr.el (comp-cstr-null-p)
            (comp-pred-to-cstr): New function.
            * test/src/comp-tests.el (comp-tests-type-spec-tests): Add a
            number of tests and fix comments.

 lisp/emacs-lisp/comp-cstr.el | 11 +++++++
 lisp/emacs-lisp/comp.el      | 69
 ++++++++++++++++++++++++++++++++++++++------ test/src/comp-tests.el
    | 69 +++++++++++++++++++++++++++++++++----------- 3 files changed,
 123 insertions(+), 26 deletions(-)


On 2021-01-03 20:14, Andrea Corallo wrote:

>Christian Thaeter <ct@pipapo.org> 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?
>
>Thanks!
>
>  Andrea






^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#45636: [feature/native-comp] new (X11) windows don't use configured face/font
  2021-01-03 15:35 bug#45636: [feature/native-comp] new (X11) windows don't use configured face/font Christian Thaeter
  2021-01-03 20:14 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2021-01-04  9:50 ` Lars Ingebrigtsen
  1 sibling, 0 replies; 6+ messages in thread
From: Lars Ingebrigtsen @ 2021-01-04  9:50 UTC (permalink / raw)
  To: Christian Thaeter; +Cc: 45636, akrl

Christian Thaeter <ct@pipapo.org> writes:

> Opening a new emacs window under X11 falls back to
> "Bitstream Vera Sans" not honoring the default face I have configured.

This looks like a duplicate of 45635, which has a better recipe for
reproducing, so I'm merging the two bugs.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-01-04  9:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-03 15:35 bug#45636: [feature/native-comp] new (X11) windows don't use configured face/font Christian Thaeter
2021-01-03 20:14 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-01-03 20:29   ` Christian Thäter
2021-01-03 21:24   ` Christian Thäter
2021-01-04  7:49   ` Christian Thäter
2021-01-04  9:50 ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).