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: `char-fold-table' Date: Wed, 2 Sep 2015 11:25:56 +0100 Message-ID: References: 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 1441189619 4631 80.91.229.3 (2 Sep 2015 10:26:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Sep 2015 10:26:59 +0000 (UTC) Cc: emacs-devel To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 02 12:26:57 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 1ZX5Fo-00040d-AI for ged-emacs-devel@m.gmane.org; Wed, 02 Sep 2015 12:26:56 +0200 Original-Received: from localhost ([::1]:36108 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZX5Fj-00056m-8Y for ged-emacs-devel@m.gmane.org; Wed, 02 Sep 2015 06:26:51 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53255) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZX5Fg-00055z-Fn for emacs-devel@gnu.org; Wed, 02 Sep 2015 06:26:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZX5Fa-0005Wc-BW for emacs-devel@gnu.org; Wed, 02 Sep 2015 06:26:47 -0400 Original-Received: from mail-la0-f42.google.com ([209.85.215.42]:36456) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZX5Fa-0005WU-46 for emacs-devel@gnu.org; Wed, 02 Sep 2015 06:26:42 -0400 Original-Received: by lanb10 with SMTP id b10so3768172lan.3 for ; Wed, 02 Sep 2015 03:25:56 -0700 (PDT) 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=dGxUu6P/kZf4t5orarxU5U/cqYZXq2PT51nzOVNnyfI=; b=oEseVsvfAm7spCu6RkpRXq7QekCxB/qBzF9ePgRDsbbG2jwAeVbnLPAy/FfLSny2se 3HVkGYTa9d4b+5vsi0n3iXdnsU7fbHdgFeR9ngpDK0yZQEZ44bwt76RQr8UHDkefukOJ f2XhgD6iB2mwxfHJyAzyc0/dANchgC6U2K4HPWqarOYiCqYdMU7zbRwzHLjSA6+qVQUg p16uH7SMvFFzC7WiWShIi4bDbV7rbNdMIEc5TV0Al/0+sQrNM7FGK0DYyRLMTysIe/8c c86fdd2YjMnp+nDKlBz508u29zU6Iq6i+sSYvumRbCgma9sUNT4h7LmRT6xAonBXVNRS 13dw== X-Received: by 10.112.146.135 with SMTP id tc7mr15758720lbb.35.1441189556342; Wed, 02 Sep 2015 03:25:56 -0700 (PDT) Original-Received: by 10.25.213.202 with HTTP; Wed, 2 Sep 2015 03:25:56 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: NxyoLhhM2ER2ukYmmUw4geJKx-0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.215.42 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:189455 Archived-At: > So here we are now, with char folding. Great. So can > we now consider facilitating users defining their own > classes of characters? Or making it easy for them to > modify the default equivalence classes? My thoughts are still focused on ironing out some issues. But this is a fine time to start suggesting ways to make it customizable. > Making `char-fold-table' a defconst seems wrong. What's > the right way to enable users and code to customize such > things? In the very least we can rename the current table to character-fold-table-default, and make let the user change character-fold-table if desired. We can also offer more alternatives besides the current default, but it would be better to give users a good way to define classes. > Yes, I know that the doc for this feature is still to be > written, and that this the feature is still a work in > progress. But let's please progress it - in the direction > of more and better info for users and helping users modify > and extend the behavior. This, along with ironing out the kinks, is my priority for this feature. However, I'm writting my thesis right now so I won't be able to do this for another couple of months. Of course, if anyone would like to contribute documentation that would be highly appreciated.