From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark Oteiza Newsgroups: gmane.emacs.devel Subject: Re: On language-dependent defaults for character-folding Date: Thu, 18 Feb 2016 13:18:12 -0500 Message-ID: <87lh6hzxuj.fsf@udel.edu> References: <87mvr9wxqz.fsf@wanadoo.es> <87io1xwq1e.fsf@wanadoo.es> <87vb5wvzfz.fsf@mail.linkov.net> <87io1wt4cc.fsf@wanadoo.es> <8737syoima.fsf@mail.linkov.net> <871t8iu277.fsf@wanadoo.es> <87y4apfpr6.fsf@mail.linkov.net> <87wpq9qwia.fsf@wanadoo.es> <87k2m7qse0.fsf@wanadoo.es> <878u2mqhnl.fsf@wanadoo.es> <878u2jpy0t.fsf@fastmail.fm> <834md7wdtg.fsf@gnu.org> <87si0rgd94.fsf@udel.edu> <83h9h5ud2f.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1455819525 6825 80.91.229.3 (18 Feb 2016 18:18:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Feb 2016 18:18:45 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 18 19:18:39 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 1aWT9x-0007OP-Ok for ged-emacs-devel@m.gmane.org; Thu, 18 Feb 2016 19:18:38 +0100 Original-Received: from localhost ([::1]:44107 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWT9x-0002Xh-4o for ged-emacs-devel@m.gmane.org; Thu, 18 Feb 2016 13:18:37 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56537) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWT9f-0002WO-CK for emacs-devel@gnu.org; Thu, 18 Feb 2016 13:18:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWT9c-00034p-4I for emacs-devel@gnu.org; Thu, 18 Feb 2016 13:18:19 -0500 Original-Received: from mail-yw0-x232.google.com ([2607:f8b0:4002:c05::232]:33667) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWT9b-00034j-Se for emacs-devel@gnu.org; Thu, 18 Feb 2016 13:18:16 -0500 Original-Received: by mail-yw0-x232.google.com with SMTP id u200so47608978ywf.0 for ; Thu, 18 Feb 2016 10:18:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=udel-edu.20150623.gappssmtp.com; s=20150623; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version:content-type; bh=PPVI034iY4EjR/Vz/344UiK+9bB5E0Fewj+rIE1Nab8=; b=VSwkt0ARGYxhlOnrln1YDfHBNHyx6P8XcwwOwB+rtfGKaDalx7G8YGazztKpsJCYJF FHjQcFWOap5nvaC8cTCAFR2aOd6MBJI0zyi9E+do9xxFdSG3TA6KkxC+kI403fR6bqZb FSZM2hnqm5F7D75nSDksTn++vXRSDk3RM9o6ZqV9E/MGL5ycXMe3es8yiSkhPJQei3xS IYrlizqXO7QjqufoITgY9dorTWK7iSiJUuaJrOCAbAv1FEHeOHIYI4+AB93qTp+DO+vB pcUz4JcU6Zinb60rhCacehz/nYHSIugyE5WfyPXSHZJq3Immzb2cPnY+eOAnBvkgBF0e J6tQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=PPVI034iY4EjR/Vz/344UiK+9bB5E0Fewj+rIE1Nab8=; b=UmL8kLqGOrTsEQ1cq7kKMIgJH9anP9JzHlyiDmA1L+6ew5sbbwD5NKJSYUFwkaaZ7V p8Kg7Jnlqw+DT0aAJiXuXSz4lfHbQ87fnUntLxMuj+0yEK6fDrnSdSEnP1pPdcjf+j// 5uF89hIq7co2G5mWtbAIKI639v0zZff7SIro3lGfEGoLdCBfjJ8SJE0Li8/CPOBnb/hb wB6P29+3Q2VfNP3oHCVlZlUUMI41nSU1nNC64JtulqVn7pLuLDw4Xi+Yzq2r9Z/3u3wH 0J9Cv0nG8XbxpUy5227KAa0yoA33Bx5GdIoA1LetaCMTUkEa/MHastrFGSYPmpDOf/GL 8siw== X-Gm-Message-State: AG10YORU0cBTOkHQwDZcmsy4AeNZVc/MaExRhqGJAisA2f/LfNxVz4ZS8lNNgObXom6zypy2 X-Received: by 10.129.146.210 with SMTP id j201mr5334423ywg.217.1455819495394; Thu, 18 Feb 2016 10:18:15 -0800 (PST) Original-Received: from holos.localdomain (pool-96-227-83-242.phlapa.fios.verizon.net. [96.227.83.242]) by smtp.gmail.com with ESMTPSA id l128sm5479955ywd.5.2016.02.18.10.18.13 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Feb 2016 10:18:13 -0800 (PST) Original-Received: by holos.localdomain (Postfix, from userid 1000) id D2C74685D4; Thu, 18 Feb 2016 13:18:12 -0500 (EST) In-Reply-To: <83h9h5ud2f.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 18 Feb 2016 19:46:00 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4002:c05::232 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:200142 Archived-At: Eli Zaretskii writes: >> From: Mark Oteiza >> Date: Wed, 17 Feb 2016 17:53:27 -0500 >> >> I didn't know what character folding was before this was implemented in >> Emacs, and AFAICT the only other thing I happen to have installed that >> does this is Chromium. > > We don't have to always be the Nth application on the block to > implement something useful. When Emacs was first introduced, it > pioneered many features that nowadays are taken for granted. There's > no reason why this trend should stop, IMO. If Emacs does become the first application to implement char-folding and provide a means to overcome the language issues associated with the current implementation, that will be impressive. >> It appears that char-folding's dependence on elisp regex is a >> crutch. > > You (or anyone else) are welcome to work on re-implementing this in > search.c similarly to case-folding we already have there. The current > implementation was accepted because the feature was deemed important, > and no one stepped forward to do it in C. Good to know that patches are welcome. >> Long PS: I think the news items in "** Search and Replace" need to be >> clearer. In particular: >> >> - *** New user option ... should perhaps mention character-fold-to-regexp if >> that ends up being the default > > Done. > >> - *** `isearch' and ... should mention how to disable/enable character >> folding for isearch, whatever the default ends up being > > I added that. > >> - *** New function ... should mention that it is to be added to >> `search-default-regexp-mode' > > The first item above already does (after the changes you proposed > above), so this sounds redundant. Indeed, thanks