From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#35802: Broken data loaded from uni-decomposition Date: Sun, 19 May 2019 22:46:07 +0300 Organization: LINKOV.NET Message-ID: <878sv2idc0.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="25157"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) To: 35802@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 19 22:35:12 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hSSWV-0006JK-ED for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 May 2019 22:35:11 +0200 Original-Received: from localhost ([127.0.0.1]:53049 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hSSWT-0000jc-EW for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 May 2019 16:35:10 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46978) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hSSIp-0006Of-Dw for bug-gnu-emacs@gnu.org; Sun, 19 May 2019 16:21:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hSSIo-0000Jc-Gl for bug-gnu-emacs@gnu.org; Sun, 19 May 2019 16:21:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50304) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hSSIo-0000JU-D4 for bug-gnu-emacs@gnu.org; Sun, 19 May 2019 16:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hSSIo-0005jp-7w for bug-gnu-emacs@gnu.org; Sun, 19 May 2019 16:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 May 2019 20:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 35802 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.155829721921968 (code B ref -1); Sun, 19 May 2019 20:21:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 May 2019 20:20:19 +0000 Original-Received: from localhost ([127.0.0.1]:35613 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hSSI7-0005iG-CL for submit@debbugs.gnu.org; Sun, 19 May 2019 16:20:19 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60605) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hSSI5-0005hx-RR for submit@debbugs.gnu.org; Sun, 19 May 2019 16:20:18 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:37539) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hSSI0-0007e4-6K for submit@debbugs.gnu.org; Sun, 19 May 2019 16:20:12 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46670) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hSSHy-0005Zb-OR for bug-gnu-emacs@gnu.org; Sun, 19 May 2019 16:20:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hSS5p-0008VK-LG for bug-gnu-emacs@gnu.org; Sun, 19 May 2019 16:07:38 -0400 Original-Received: from bee.dogwood.relay.mailchannels.net ([23.83.211.14]:26348) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hSS5T-0007q1-Gm for bug-gnu-emacs@gnu.org; Sun, 19 May 2019 16:07:37 -0400 Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id C15775E1A15 for ; Sun, 19 May 2019 20:06:57 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a42.g.dreamhost.com (100-96-87-17.trex.outbound.svc.cluster.local [100.96.87.17]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 5E3745E06BA for ; Sun, 19 May 2019 20:06:42 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a42.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.2); Sun, 19 May 2019 20:06:57 +0000 Original-Received: from pdx1-sub0-mail-a42.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a42.g.dreamhost.com (Postfix) with ESMTP id 04EF78004A for ; Sun, 19 May 2019 13:06:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to :subject:date:message-id:mime-version:content-type; s= linkov.net; bh=G3MdEsxzwe2aOOkLYRVeZuO2Awc=; b=cVwPaGRkhu24Qr5mK 7bAKIZQc/1VgYJGJS5OxPt5Vmk2/o5UHwX204/ZqTcZDyiQoIYGAF+gEa3DRCFJ9 eeqkBunWzcaJpWmJ8ZkEp6XTfiBs6ODG/VRTKerIZ8/7r5ArbRzZJP5l5CZBkZ9R 2Kofq6SGKvFa5DilnVZypITw88= Original-Received: from mail.jurta.org (m91-129-96-230.cust.tele2.ee [91.129.96.230]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a42.g.dreamhost.com (Postfix) with ESMTPSA id 6EACB80045 for ; Sun, 19 May 2019 13:06:36 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a42 X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 0 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduuddruddtiedgudeglecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufhofffkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrdeliedrvdeftdenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrdeliedrvdeftddprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopegsuhhgqdhgnhhuqdgvmhgrtghssehgnhhurdhorhhgnecuvehluhhsthgvrhfuihiivgeptd X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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: 209.51.188.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:159568 Archived-At: While adding defcustoms for char-fold in bug#35689, I encountered a problem where calling `(setq char-fold-table (char-fold-make-table))' garbled data returned by `(unicode-property-table-internal 'decomposition)'. This happens only with my customizations, so I tried to narrow down what customization caused this, so here is the minimal test case: 0. emacs -Q 1. Eval: (equal (progn (load "international/uni-decomposition.el" t t t t) (aref (cdr (assq 'decomposition char-code-property-alist)) 1024)) (progn (let ((search-spaces-regexp "\\(\\s-\\|\n\\)+")) (load "international/uni-decomposition.el" t t t t)) (aref (cdr (assq 'decomposition char-code-property-alist)) 1024))) => nil But should return `t'. I customized `search-whitespace-regexp' (whose value isearch sets to `search-spaces-regexp') to a legitimate value, but `unicode-property-table-internal' used in char-fold.el fails to correctly load "uni-decomposition.el", thus breaking the char-fold search.