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#35689: Customizable char-fold Date: Thu, 06 Jun 2019 23:49:45 +0300 Organization: LINKOV.NET Message-ID: <87r286e8wm.fsf@mail.linkov.net> References: <87imug8z4i.fsf@mail.linkov.net> <8736lj3dgm.fsf@mail.linkov.net> <87mujrh0uv.fsf@gmail.com> <87o9466z1t.fsf@mail.linkov.net> <87d0kmgfrp.fsf@gmail.com> <406F1DF2-CB22-441F-B3E2-19770425322A@gnu.org> <87d0kkyesr.fsf@mail.linkov.net> <85v9ya1mng.fsf@gmail.com> <87zhnmgntu.fsf@mail.linkov.net> <87y32zwmtf.fsf@mail.linkov.net> <85woijcwh8.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="109581"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: 35689@debbugs.gnu.org To: npostavs@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 06 22:55:05 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.47]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hYzPd-000SIO-0q for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Jun 2019 22:55:05 +0200 Original-Received: from localhost ([::1]:38264 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hYzPb-0002tz-Q9 for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Jun 2019 16:55:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46539) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hYzOf-0002MW-O1 for bug-gnu-emacs@gnu.org; Thu, 06 Jun 2019 16:54:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hYzOe-0001pJ-0j for bug-gnu-emacs@gnu.org; Thu, 06 Jun 2019 16:54:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37124) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hYzOb-0001lK-Ut for bug-gnu-emacs@gnu.org; Thu, 06 Jun 2019 16:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hYzOb-0000bb-Pg for bug-gnu-emacs@gnu.org; Thu, 06 Jun 2019 16:54:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Jun 2019 20:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35689 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 35689-submit@debbugs.gnu.org id=B35689.15598544342314 (code B ref 35689); Thu, 06 Jun 2019 20:54:01 +0000 Original-Received: (at 35689) by debbugs.gnu.org; 6 Jun 2019 20:53:54 +0000 Original-Received: from localhost ([127.0.0.1]:50668 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hYzOU-0000bG-0o for submit@debbugs.gnu.org; Thu, 06 Jun 2019 16:53:54 -0400 Original-Received: from anteater.elm.relay.mailchannels.net ([23.83.212.3]:30051) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hYzOQ-0000at-1H for 35689@debbugs.gnu.org; Thu, 06 Jun 2019 16:53:50 -0400 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id DAEC93413F6; Thu, 6 Jun 2019 20:53:48 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a51.g.dreamhost.com (100-96-14-97.trex.outbound.svc.cluster.local [100.96.14.97]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 036E634013F; Thu, 6 Jun 2019 20:53:48 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a51.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); Thu, 06 Jun 2019 20:53:48 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Madly-Shade: 28ea16946c4dc19a_1559854428714_614976920 X-MC-Loop-Signature: 1559854428714:2285077579 X-MC-Ingress-Time: 1559854428713 Original-Received: from pdx1-sub0-mail-a51.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a51.g.dreamhost.com (Postfix) with ESMTP id 5C5DF83614; Thu, 6 Jun 2019 13:53:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=+IEQMloKeatM7pWWmWGbMY7JlHE=; b= hd6CZVsWAFY4apxKXExdwV2qDgjTDHjbRL3+qCi3ZgbT0fpUCcVPspT826pWcHN3 RogxNuH1uXyqUn/0VGNJcON/lzvZ9Tqm8aHmBZ9HMekINEhvAP21Usi6BLkNQe7w sSEjFk6bQjt/DcD6lJv3KN2V7OXWuK7blE1sIzefb0g= Original-Received: from mail.jurta.org (m91-129-96-73.cust.tele2.ee [91.129.96.73]) (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-a51.g.dreamhost.com (Postfix) with ESMTPSA id CB2318361A; Thu, 6 Jun 2019 13:53:45 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a51 In-Reply-To: <85woijcwh8.fsf@gmail.com> (npostavs@gmail.com's message of "Tue, 21 May 2019 17:45:55 -0400") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 0 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduuddrudeggedgudehiecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufhofhffjgfkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrdeliedrjeefnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehmrghilhdrjhhurhhtrgdrohhrghdpihhnvghtpeeluddruddvledrleeirdejfedprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopehnphhoshhtrghvshesghhmrghilhdrtghomhenucevlhhushhtvghrufhiiigvpedt 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:160194 Archived-At: >>>> :set (lambda (sym val) >>>> (set-default sym val) >>>> ;; FIXME: Maybe delay this until after-init-time, >>>> ;; to avoid redundant calls to char-fold-make-table. >>> >>> I tried different possible values of :initialize, >>> but not custom-initialize-changed. I'll try this now. >> >> I see no problems other than redundant calls to char-fold-make-table >> when more than one variable is customized. char-fold.el is autoloaded >> when isearch calls char-fold-to-regexp for the first time, so I'm not >> sure how after-init-hook could help in this case. > > Ah, sorry, I had somehow got it into my head that char-fold.el is > preloaded. I still haven't found a way to avoid calling char-fold-make-table 3 times when 3 variables are customized. Maybe this is not possible because currently customizable variables have no dependency on each other.