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: On language-dependent defaults for character-folding Date: Tue, 9 Feb 2016 19:54:57 +0000 Message-ID: References: <87mvr9wxqz.fsf@wanadoo.es> Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1455047751 7213 80.91.229.3 (9 Feb 2016 19:55:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Feb 2016 19:55:51 +0000 (UTC) Cc: emacs-devel To: =?UTF-8?Q?=C3=93scar_Fuentes?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 09 20:55:48 2016 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 1aTEO2-0001bK-S7 for ged-emacs-devel@m.gmane.org; Tue, 09 Feb 2016 20:55:47 +0100 Original-Received: from localhost ([::1]:60087 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTEO2-0006Lo-9p for ged-emacs-devel@m.gmane.org; Tue, 09 Feb 2016 14:55:46 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50843) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTENb-0006Ld-75 for emacs-devel@gnu.org; Tue, 09 Feb 2016 14:55:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTENa-0003V5-0J for emacs-devel@gnu.org; Tue, 09 Feb 2016 14:55:19 -0500 Original-Received: from mail-yk0-x236.google.com ([2607:f8b0:4002:c07::236]:34181) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTENZ-0003Uv-Rb for emacs-devel@gnu.org; Tue, 09 Feb 2016 14:55:17 -0500 Original-Received: by mail-yk0-x236.google.com with SMTP id u9so104615240ykd.1 for ; Tue, 09 Feb 2016 11:55:17 -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:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=9W3FfUDe5QKyJh0Us+vyPQHTtYCKge6NPtvZ/WgOyVE=; b=SSlxqvSA1dXM5WnUFdQ5awNbQz61/yMuSFaBhx9fEAgVobANL9D8c123LTEV0GbNcq FhGP0Fzalk7UAa//ZIa0HGyDFZLMmATGW8kzkYYpO1vbhuj+jTTkWGWzaDNEZaVjTVhK 88cWSbye5j8Vix+Lpw2qgUhdHapxasdrxIZALyES/bwak2z8DVvwfjHTHq7vQGqmsUfO a15u7tKsCBZ4GiNYmra+ZN6Zn7T/qtOmMOE3vqMZZwicQjLYZbZPRDpeTYrMDGLCptk7 sa1vFs8DjoUwXE16xLMzml/H5anPesWKgGylb7D6ty/7Gg2pXlT+FBEqxJ2BXd73VQ+e P6Nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:reply-to:sender:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=9W3FfUDe5QKyJh0Us+vyPQHTtYCKge6NPtvZ/WgOyVE=; b=AcDomnM63My3g80BzchM7RUoWUnlZUsy43JShUvVhixk7CsGPVF44vsqYq2KJk+mIn WluLpPTmLgSMxHqXoeyItdGYaD22W3v42+lTKgSWUXrv4jdgI4tSor4RduFCKmI1DIyb JiSA5YdK2Cvwo8gdG1xLGD/jFtt987AuQVP2DqR82LpnAXQK/Pih8YVuuQNtvhglRfp4 8mEVcRKubPPt5VUeZQNnNVoFnGgv7Owvf+Gf9AtMtpgr2/3+9/AiZjpjgZwRroTtbaZ4 z6V++THdqBecmyCYboScTeUrlQd9avqHdGQoJK9f/gwCZh/KeQWFom0OL0Z7VyzUWO34 5Eag== X-Gm-Message-State: AG10YOSF/RvaVAKDXoK/xCWRMediOX03R3tMdjQHHCTfC9GZ6o+k77Kk0Bi/9wH2geUCr60NUOkVqbpOTnfiHA== X-Received: by 10.37.79.5 with SMTP id d5mr19062990ybb.173.1455047717226; Tue, 09 Feb 2016 11:55:17 -0800 (PST) Original-Received: by 10.129.79.83 with HTTP; Tue, 9 Feb 2016 11:54:57 -0800 (PST) In-Reply-To: <87mvr9wxqz.fsf@wanadoo.es> X-Google-Sender-Auth: XkvjjF50VTwnbpKYUeKoLhO1g5k X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4002:c07::236 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:199630 Archived-At: On 9 February 2016 at 18:21, =C3=93scar Fuentes wrote: >> I don't know if it's possible to figure out the language of the user's >> keyboard layout. But the point is that we should care about the >> language that the user can type in, > > Figuring out this (and acting upon that knowledge) looks like a quite > complex task to me. In practice, letting the user tell Emacs about how > the char folding should happen is more reasonable. 1. Take the set of all characters in the language that the user types in; 2. Don't fold these characters. That's all the complexity. If we have a database of characters in a language, this could even be done automatically. If we don't have such a database, then all we need is some quick input from a user of that language (this doesn't need to happen all at once, there's no rush). > I hope you all realize that the users who can benefit from this feature > are those who are ill-equiped to search for certain characters, I could be wrong, but I think you just defined all users. In the Unicode standard used by Emacs, there are 5721 characters with a =E2=80=9Cdecomposition=E2=80=9D property. Is there a user who is well-equip= ed to type all of those characters? > OTOH > we have the people who actually write those characters, hence they don't > need help for searching for them, and who will be pissed to discover > that Isearch is broken. The whole point here is to find defaults that won't fold characters of the user's language.