From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: PAVLOS MARAGAKIS via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#52067: 29.0.50; string-glyph-split halts on certain emoji strings Date: Tue, 23 Nov 2021 18:01:12 -0500 Message-ID: Reply-To: PAVLOS MARAGAKIS Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.20.0.1.32\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17963"; mail-complaints-to="usenet@ciao.gmane.io" To: 52067@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 24 00:02:46 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mpeoH-0004V0-Gs for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 24 Nov 2021 00:02:45 +0100 Original-Received: from localhost ([::1]:36714 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mpeoG-00073B-6p for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 23 Nov 2021 18:02:44 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36832) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpeo9-00072g-72 for bug-gnu-emacs@gnu.org; Tue, 23 Nov 2021 18:02:37 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40908) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mpena-00057n-7h for bug-gnu-emacs@gnu.org; Tue, 23 Nov 2021 18:02:36 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mpena-0000qc-6j for bug-gnu-emacs@gnu.org; Tue, 23 Nov 2021 18:02:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: PAVLOS MARAGAKIS Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 23 Nov 2021 23:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52067 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16377084873203 (code B ref -1); Tue, 23 Nov 2021 23:02:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Nov 2021 23:01:27 +0000 Original-Received: from localhost ([127.0.0.1]:52454 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpen0-0000pb-KX for submit@debbugs.gnu.org; Tue, 23 Nov 2021 18:01:26 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:38364) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpemx-0000pQ-Jo for submit@debbugs.gnu.org; Tue, 23 Nov 2021 18:01:24 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36582) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpemx-0006zv-CW for bug-gnu-emacs@gnu.org; Tue, 23 Nov 2021 18:01:23 -0500 Original-Received: from st43p00im-ztfb10073301.me.com ([17.58.63.186]:38440) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpemv-0004zC-NI for bug-gnu-emacs@gnu.org; Tue, 23 Nov 2021 18:01:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; t=1637708473; bh=PfUHlULWExjf3cxRLpYFx39ITnBq8Jj8zy+xFrNEjP0=; h=From:Content-Type:Mime-Version:Subject:Message-Id:Date:To; b=xrzVF5k/nR10eOJpNvLZ9B4fzKGI4YfgDBkD5+lv9NLbDrXImmHznB3q2c7Vkek7C N8tt4VF4AbdQ+aw6tLNShCR05Y/VN1aJgqwYGN1CDEI0MxWO0Lx/JwXZ+pT4q0VwTz wrVhPi0jVx8lBxvsmcvGnyV8rYyY0RbIu3KPrRAb/hYZ08ginqwprovJcE8yC8egfJ ZKDuNq3P0iDBff3n7pbL4NVJxA1jFuzeUuGixc5lVVcHlDUuE4g+C0tXJ13A9zasYu qceJJ+lxHuwLamnzaVU7fV569EKPkElFti6E+61szicDWdZsWGKsWpuB4S6+8tEmNt zpgGJjKekxidQ== Original-Received: from smtpclient.apple (unknown [160.39.47.209]) by st43p00im-ztfb10073301.me.com (Postfix) with ESMTPSA id 0979A2A0852 for ; Tue, 23 Nov 2021 23:01:12 +0000 (UTC) X-Mailer: Apple Mail (2.3693.20.0.1.32) X-Proofpoint-Virus-Version: vendor=fsecure engine=1.1.170-22c6f66c430a71ce266a39bfe25bc2903e8d5c8f:6.0.425, 18.0.790, 17.0.607.475.0000000 definitions=2021-11-23_08:2021-11-23_01, 2021-11-23_08, 2020-04-07_01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 mlxlogscore=999 phishscore=0 bulkscore=0 suspectscore=0 mlxscore=0 clxscore=1015 spamscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2111230112 Received-SPF: pass client-ip=17.58.63.186; envelope-from=paul.maragakis@icloud.com; helo=st43p00im-ztfb10073301.me.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:220692 Archived-At: In a clean instance of emacs paste the following lines into the scratch buffer and evaluate the lines starting with string-glyph-split. I show the outputs below: (string-glyph-split "=F0=9F=8C=8D=F0=9F=A6=B9") ("=F0=9F=8C=8D" "=F0=9F=A6=B9") (string-glyph-split "=E2=9C=88=EF=B8=8F=E2=9C=88=EF=B8=8F") ("=E2=9C=88=EF=B8=8F" "=E2=9C=88=EF=B8=8F") (string-glyph-split "=F0=9F=8C=8D=E2=9C=88=EF=B8=8F") ("=F0=9F=8C=8D" "=E2=9C=88=EF=B8=8F") (string-glyph-split "=E2=9C=88=EF=B8=8F=F0=9F=8C=8D") The last line will halt emacs; C-g can stop the evaluation. The expected behavior was to split the string in two glyphs. In GNU Emacs 29.0.50 (build 2, aarch64-apple-darwin21.1.0, NS = appkit-2113.00 Version 12.0.1 (Build 21A559)) of 2021-11-21 built on MacbookPro13.local Repository revision: b7db7eb2c7b8ac1bddf4afa9ccf9b30ebeb0224e Repository branch: master Windowing system distributor 'Apple', version 10.3.2113 System Description: macOS 12.0.1 Configured using: 'configure --disable-silent-rules --enable-locallisppath=3D/usr/local/share/emacs/28.0.50/site-lisp --prefix=3D/usr/local/opt/gccemacs --without-dbus --without-imagemagick --with-mailutils --with-ns --disable-ns-self-contained --with-cairo --with-modules --with-xml2 --with-gnutls --with-json --with-rsvg --with-native-compilation CC=3D/usr/bin/clang CFLAGS=3D-I/opt/homebrew/lib/gcc/11/include 'LDFLAGS=3D-L/opt/homebrew/lib/gcc/11/ -I/opt/homebrew/lib/gcc/11/include' CPPFLAGS=3D-I/opt/homebrew/opt/libffi/include 'PKG_CONFIG_PATH=3D/opt/homebrew/opt/libffi/lib/pkgconfig --no-create --no-recursion'' Configured features: ACL GLIB GNUTLS JSON LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY KQUEUE NS PDUMPER PNG RSVG THREADS TOOLKIT_SCROLL_BARS WEBP XIM ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util rmail rmail-loaddefs auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map text-property-search seq gv byte-opt bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date subr-x help-fns radix-tree cl-print debug backtrace find-func help-mode cl-loaddefs cl-lib iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads kqueue cocoa ns lcms2 multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 76126 7924) (symbols 48 7053 0) (strings 32 21398 1914) (string-bytes 1 725508) (vectors 16 15268) (vector-slots 8 317989 13284) (floats 8 26 61) (intervals 56 341 0) (buffers 992 13))