GNU bug report logs -
#77151
31.0.50; >>= is not rendered
Previous Next
Full log
View this message in rfc822 format
> Date: Fri, 21 Mar 2025 13:41:57 +0100
> From: Mattias Roux <mattias <at> kojin.tech>
>
> 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.
This bug report was last modified 76 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.