From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.devel Subject: Re: character folding future [was: Questions about isearch] Date: Tue, 1 Dec 2015 11:34:09 +0000 Message-ID: References: <83lh9lx6oi.fsf@gnu.org> <83a8q1x1cn.fsf@gnu.org> <87h9k74pkw.fsf@gmail.com> <83bnafse4f.fsf@gnu.org> <878u5jrvih.fsf@rub.de> <87mvtyqzyx.fsf@mbork.pl> <831tbaqwwv.fsf@gnu.org> <893eaaa4-6867-4e3f-a926-85f650367d6f@default> Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1448969675 5036 80.91.229.3 (1 Dec 2015 11:34:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 1 Dec 2015 11:34:35 +0000 (UTC) Cc: Eli Zaretskii , Stephen Berman , Richard Stallman , emacs-devel To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 01 12:34:34 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a3jCW-0002H9-JL for ged-emacs-devel@m.gmane.org; Tue, 01 Dec 2015 12:34:28 +0100 Original-Received: from localhost ([::1]:51982 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3jCV-0002kI-D3 for ged-emacs-devel@m.gmane.org; Tue, 01 Dec 2015 06:34:27 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49251) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3jCI-0002jG-CC for emacs-devel@gnu.org; Tue, 01 Dec 2015 06:34:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a3jCH-0001ua-G5 for emacs-devel@gnu.org; Tue, 01 Dec 2015 06:34:14 -0500 Original-Received: from mail-lf0-x22b.google.com ([2a00:1450:4010:c07::22b]:33297) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3jCE-0001tq-05; Tue, 01 Dec 2015 06:34:10 -0500 Original-Received: by lfaz4 with SMTP id z4so4212221lfa.0; Tue, 01 Dec 2015 03:34:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=iXSnBQxlX7Hlso9fxev7qfY7BLBAYavTwrS2mzrzCCw=; b=oLBddDq0Le22gaxACVPcWR71+TKmOEUKt+j9SFZblRFi01tlF/uR+b4r5DDUZNDhxf 7J/wRXb0mlqsZ3lv9G2LiQmB2/wGkxz80Hd2SR1/E6oCF4RFelB5Cb2fycItWUdUVWiM 6hi+h8xhTzKMGTPX+9hzWueBMI2mR6xJI873XAgfMeJoCbIY6SAeH60/MkOahcn5zh4V f+HVJgpevFQ9sD4pibTu8n1YvuhZJAgOKicJquA7SqqOAYQGvXjr2r3WlNq1mO4jg3Of RXGaASyuDA8khYppxhMyKyzSmjj05TyOEEkr0+Jsuq1DjBjp4EDxd24QLtD6avZWP2nR 6CPg== X-Received: by 10.25.147.84 with SMTP id v81mr23396147lfd.119.1448969649285; Tue, 01 Dec 2015 03:34:09 -0800 (PST) Original-Received: by 10.112.202.99 with HTTP; Tue, 1 Dec 2015 03:34:09 -0800 (PST) In-Reply-To: <893eaaa4-6867-4e3f-a926-85f650367d6f@default> X-Google-Sender-Auth: t4lNzAfKhA8G2I_RPV6oKWuuxA4 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::22b X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:195667 Archived-At: 2015-11-28 16:48 GMT+00:00 Drew Adams : > 1. An option, `char-fold-ad-hoc', for the ad hoc char foldings. > Default value: the same ad hoc foldings as vanilla Emacs > (quotation marks). Thanks for the code again. A list of ad-hoc foldings for the user to customize (your `char-fold-ad-hoc') is something I want too (ideally, as soon as 25.1). The reason I didn't include it initially is that the character-fold-table can take many seconds to generate, so it's pretty important that it be generated at compile time. I suppose one solution is to make it a defcustom with a :set property that updates the char-fold-table, and clearly state in the docstring that editing this variable can add several seconds to emacs startup time.