Subject: bug#77151: 31.0.50; >>= is not rendered

From: Eli Zaretskii <[email-masked]>
Date: Fri, 21 Mar 2025 15:31:25 +0200

> Date: Fri, 21 Mar 2025 13:41:57 +0100
> From: Mattias Roux <[email-masked]>
> 
> Hi,
> 
>  From emacs -Q you can evaluate the following code:
> 
> (require 'package)
> (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
> (package-initialize)
> 
> (set-face-font 'default "Fira Code")
> 
> (use-package ligature
> :ensure t
> :config
> ;; Enable the "www" ligature in every possible major mode
> (ligature-set-ligatures 't '("www"))
> ;; Enable traditional ligature support in eww-mode, if the
> ;; `variable-pitch' face supports it
> (ligature-set-ligatures 'eww-mode '("ff" "fi" "ffi"))
> ;; Enable all Fira Code ligatures in programming modes
> (ligature-set-ligatures 'prog-mode '((">" (rx (+ (or ">" "<" "|" "/" ":" 
> "=" "-"))))))
> ;; Enables ligature checks globally in all buffers. You can also do it
> ;; per mode with `ligature-mode'.
> (global-ligature-mode t)
> (message "`ligature' loaded"))
> 
> Now, if you open /tmp/test.el and write >>=, it won't be rendered, but
> if you add any character (like = or :) it will.
> 
> I also tested it with emacs 30.1

Thanks, but did you report this to the developers of the "ligature"
package first?  If so, what did they say to indicate that this problem
is in Emacs and not in the package?

If you haven't reported this to the package developers yet, please do,
since the package is not part of Emacs.