help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Weird font problem


From: Joost Kremers
Subject: Re: Weird font problem
Date: Thu, 06 Jun 2024 13:12:25 +0200

On Thu, Jun 06 2024, Eli Zaretskii wrote:
> Emacs uses the first font that seems to support a character, so maybe
> you have another font that gets in the way?  I think we should return
> to this question after you find which of your customizations triggers
> the problem.

The culprit seems to be the orderless package.

Starting Emacs with:

```
emacs -Q -L .emacs.d/elpa/compat-29.1.4.5 -L 
.emacs.d/elpa/vertico-20240511.2047/ -L .emacs.d/elpa/orderless-20240401.959/
```

Then in e.g., *ielm*, execute the following Lisp code reproduces the problem for
me:

```
ELISP> (require 'vertico)

ELISP> (vertico-mode)

ELISP> (setq completion-styles '(orderless basic))

ELISP> (setq completion-category-defaults nil)

ELISP> (require 'orderless)
```

At this point, when I do 'C-x 8 RET' and type 'docu', I see the effect: the
highlighted candidate has the hex box, the other candidates show the correct
glyph.

Orderless does define some faces, but I don't have time right now to dig
further. Loading orderless without vertico doesn't seem to exhibit the problem,
though. (That is, 'C-x 8 RET docu TAB' shows five candidates, but all are
displayed as hex boxes.)


-- 
Joost Kremers
Life has its moments



reply via email to

[Prev in Thread] Current Thread [Next in Thread]