#978409 emacs-gtk: Cherry-pick upstream fix for "Attempt to shape unibyte text" crashes

Package:
emacs-gtk
Source:
emacs
Description:
GNU Emacs editor (with GTK+ GUI support)
Submitter:
Axel Beckert
Date:
2021-02-21 17:27:03 UTC
Severity:
wishlist
Tags:
#978409#5
Date:
2020-12-27 04:43:04 UTC
From:
To:
Dear Rob,

I'm currently packaging ligature.el from
https://github.com/mickeynp/ligature.el at
https://salsa.debian.org/emacsen-team/elpa-ligature

According to
https://github.com/mickeynp/ligature.el#crash-issues-in-emacs-271 a fix
for occasional Emacs crashes with error message "Attempt to shape
unibyte text" when using ligature.el is available in upstream git, but
hasn't made it into the 27.1 upstream release:

https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=fe903c5ab7354b97f80ecf1b01ca3ff1027be446

It would be nice if you could cherry-pick this commit until the next
upstream release.

If you don't want to cherry-pick that commit, please at least keep this
bug report open for now and close it only with the upload of the next
Emacs upstream release which contains the above mentioned patch,
presumably 27.2.

Thanks in advance!