From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "Peter" Newsgroups: gmane.emacs.bugs Subject: bug#31459: 25.3; Uninitialised unicode-property-table-internal Date: Tue, 15 May 2018 10:50:54 +0200 Message-ID: <87bmdhi9ox.fsf@nexoid.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1526374268 12914 195.159.176.226 (15 May 2018 08:51:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 15 May 2018 08:51:08 +0000 (UTC) To: 31459@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 15 10:51:04 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fIVfk-0003F0-BK for geb-bug-gnu-emacs@m.gmane.org; Tue, 15 May 2018 10:51:04 +0200 Original-Received: from localhost ([::1]:52607 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fIVhr-0002tK-KD for geb-bug-gnu-emacs@m.gmane.org; Tue, 15 May 2018 04:53:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41807) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fIVgj-0002CH-I7 for bug-gnu-emacs@gnu.org; Tue, 15 May 2018 04:52:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fIVgg-0004Vq-Af for bug-gnu-emacs@gnu.org; Tue, 15 May 2018 04:52:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55301) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fIVgg-0004Vk-6o for bug-gnu-emacs@gnu.org; Tue, 15 May 2018 04:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fIVgg-00085w-0V for bug-gnu-emacs@gnu.org; Tue, 15 May 2018 04:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Peter" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 15 May 2018 08:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 31459 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.152637427931065 (code B ref -1); Tue, 15 May 2018 08:52:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 15 May 2018 08:51:19 +0000 Original-Received: from localhost ([127.0.0.1]:34965 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fIVfy-00084z-Q1 for submit@debbugs.gnu.org; Tue, 15 May 2018 04:51:19 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50611) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fIVfw-00084m-Ia for submit@debbugs.gnu.org; Tue, 15 May 2018 04:51:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fIVfo-0004Ca-Az for submit@debbugs.gnu.org; Tue, 15 May 2018 04:51:11 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:47814) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fIVfo-0004CU-7g for submit@debbugs.gnu.org; Tue, 15 May 2018 04:51:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41528) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fIVfi-0001UQ-7X for bug-gnu-emacs@gnu.org; Tue, 15 May 2018 04:51:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fIVff-00048f-3t for bug-gnu-emacs@gnu.org; Tue, 15 May 2018 04:51:02 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:35197) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fIVfe-00047w-PI for bug-gnu-emacs@gnu.org; Tue, 15 May 2018 04:50:59 -0400 Original-Received: from nexoid.at ([178.79.130.240]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0M08eS-1eQX2J33aW-00uKLl for ; Tue, 15 May 2018 10:50:55 +0200 Original-Received: from nexion (dyn004159.edvz.uni-linz.ac.at [140.78.4.159]) by nexoid.at (Postfix) with ESMTPSA id 29D92BCC4 for ; Tue, 15 May 2018 10:50:55 +0200 (CEST) X-Provags-ID: V03:K1:LpmaBPoOLu8iSDTFJYzRca5ig/jJjMbN2C3n0leOlkCrbbFgIFc 5AXeApV4Atx1rwoenzP/MYhwSVvvj8Tc91XlBleZBIpsjBtWiZUz9VRSitRuCDoMIOyzaX9 mmkHyhZyGT1EszXZdfyMckdKyYh2z+gVjEqsXPngptS0b9LcM1KEfj/manUMKhd7LxMFtSx GopDAuECULBbxkTN7bVGA== X-UI-Out-Filterresults: notjunk:1;V01:K0:YhMiWlTI8Jc=:og+xKeGNFazIilYmNIPrgn Bwq/p3I612/4pPwlsBaomLwtN+hn45STN5ejYxHiIHeEBC6Kxi6HSbhBBOnyyxVDR0WNMsEuI oKN1z09WG4RZBCz8IHu4lnrJBPDfFE74E7DaS3LqdoyOKS8/W+Wzrpx+AkPrCl1zj6DfqtQbf qJ0PwbfCDTwAlC0Avmwl/b7FImSYsx2rHZhkSwmUgmgSDKCFS3xbv80Q0ZWusa12dp6TRN/CA F4YQywRMPfTFKQT6dJzIenPP8gVDRvxUedQ7YVcmiRN702wzo1AKCHEWRJGa7b57l/hNqgU6i h7Ea+A9xbfbt4H037PwM3jNEibDYGrTIDbWWoN1Q6G/D49YjSDlln7yftV81Vu2l8PlhEg7pa WCuvFZsuaOxUiKyvGf1aFEE/iXrqAGaxNg4KbDjuiCoOvKtGNFohCb3J1Vdtb3837YNSxh4nm 4j5NvFjeFY/nZfeBDFDXM8syedSJ/doG+xJi1jlMyYWYK5TlKqLQT/7IU/GOTDuu+qpAv6w8G nGT3XFiYU/5yLMr8UJEMNBtzHdTxibd2TULzqpL+FRxWzKRLFteSwlNomY010Bz6AsQM11qFD m14TZQfReQKAbdSJ496I2axEuHr1qCLvB74Ow5I+EsTDZlytmv6NrznrOImXBZCVnP8r9lhBe iCII7aRuSSTSDuZaLK4Pv0myqYOb8s3zgTAy5zl6rkFheX8dlRU5Stc7yfiEwDpDDCZhAqUvK 4POFwVu0OoGNomVrTg21eSLnUOBORqDAoeAOMp/Cb3mPes7G184akREUBbJRRRZYEgUGTNBz X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:146184 Archived-At: I've run into the following bug with Emacs GNU Emacs 25.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.26) of 2018-02-09: When starting up a new Emacs with `emacs -Q', running the following elisp results in garbage: (let ((names (unicode-property-table-internal 'name))) (message "%s" (get-unicode-property-internal names #x1f600)) ;; grinning face emoji, should return "GRINNING FACE" ) This does not in fact show "GRINNING FACE", but what seems like a random string, e.g. (after string-to-list): (0 1805 140 1 3 534 447 0 140 3 1804 64 1314 0 534 140 3 104 429 1 85 9 534 447 1 104 1279 1056 2 1803 6 266 447 1 58 3455 1 52 1802 0 1801 140 0 534 140 3 534 447 0 140 3454 3453 1302 0 1800 140 0 534 140 3 314 6 672 447 1 55 1811 0 3452 46 46 46 46) *After* I run M-x counsel-unicode-char, things work fine. It seems that the unicode property table is somehow uninitialised initially, and gets initialised by something that counsel-unicode-char does. Is there a way I can run this initialisation myself? I've looked at the elisp and C sources, but haven't been able to find what I'm doing incorrectly here :-/ Thanks for any help with this! Greetings, Peter In GNU Emacs 25.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.26) of 2018-02-09 built on bisson Windowing system distributor 'The X.Org Foundation', version 11.0.11906000 Configured using: 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --with-x-toolkit=gtk3 --with-xft --with-modules 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 MODULES Important settings: value of $LANG: en_GB.UTF-8 locale-coding-system: utf-8-unix