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: Wed, 17 Feb 2016 17:53:27 -0500 Message-ID: <87si0rgd94.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> 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 1455749655 12164 80.91.229.3 (17 Feb 2016 22:54:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Feb 2016 22:54:15 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 17 23:54:10 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 1aWAyy-0005Uy-9m for ged-emacs-devel@m.gmane.org; Wed, 17 Feb 2016 23:54:04 +0100 Original-Received: from localhost ([::1]:34247 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWAyx-0001nk-No for ged-emacs-devel@m.gmane.org; Wed, 17 Feb 2016 17:54:03 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59540) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWAyY-0001XJ-5F for emacs-devel@gnu.org; Wed, 17 Feb 2016 17:53:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWAyS-0004Ia-EE for emacs-devel@gnu.org; Wed, 17 Feb 2016 17:53:38 -0500 Original-Received: from mail-yw0-x22e.google.com ([2607:f8b0:4002:c05::22e]:36454) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWAyS-0004Hg-5j for emacs-devel@gnu.org; Wed, 17 Feb 2016 17:53:32 -0500 Original-Received: by mail-yw0-x22e.google.com with SMTP id e63so26022884ywc.3 for ; Wed, 17 Feb 2016 14:53:31 -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:content-transfer-encoding; bh=3tQJxdpcZatAejhxYdrXMQ4at6VpTZxW4+ODyypDP0A=; b=t4SHnpwTRUWPOw33XwDa30H/1xYqcl+UMawdSW0jwNfnytthNSGfvfoJus21PEfXHt SaVKwxUskh305G5Ms13zONVuCYAEihnCnrSv5EYydjhRsAwOt8P+umyb7Y1Qyi9R2mmC gW7idR/L6f6DL8/JEJd/rQ80kMzKQdH7RgzBo7QqEIrVmWWjkRTLSjJvWCmce5H76WID BNWALOZPuv49lbcNFgjUUXqVU8C7ZAIC0jiDunQJSH/ueES03aT5FTJ8kj5/9+mJD88W dPR7ZFHmTjEDaGlFDSxb4l+6MmSJWDTMBFIHTTT385KeTMn4jZ+c+t6xgYLOphVDxpL0 yFfw== 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 :content-transfer-encoding; bh=3tQJxdpcZatAejhxYdrXMQ4at6VpTZxW4+ODyypDP0A=; b=lTCYP08uXsha1OsKe8R+l2kmxvZXYDChs5L/svRV/p/JfEM3S4cwUxidDeXsoVM+D8 KsZcauOe3lCCgjU7dnSZcCy6Q6ERdBQrdX6SWhk2EP7mr6Zhdnjh2xVY2Mr061ysKTWj PcUB/aD3vtT8X0Lf9RsYeYpjWZ7g3s9BMPGkWCmGgLAp6ZUffvtkFIxrQ6oRMrH3IL7F D8EXRNa6vhOO2mLjH/alw+r4T/oSURE3lcNZphkxxojmRf3lgqQtLG74XtDopLWsiHLX 1lZqO2oE4WQXbZEP8BweMlxEsYmoQRN33cmaysFMFSw6iFBF26hqmdf/gtRHFGTMclDA nk7w== X-Gm-Message-State: AG10YOQHc3r75wVHr7/BjC9ld0qtY6oI7c9IflgSxXmWzpP3eExg5Mb00ATU1QFkRaxllTJZ X-Received: by 10.13.219.141 with SMTP id d135mr2616579ywe.93.1455749610887; Wed, 17 Feb 2016 14:53:30 -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 q141sm2454070ywg.2.2016.02.17.14.53.28 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Feb 2016 14:53:28 -0800 (PST) Original-Received: by holos.localdomain (Postfix, from userid 1000) id B8F73685D4; Wed, 17 Feb 2016 17:53:27 -0500 (EST) In-Reply-To: <834md7wdtg.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 17 Feb 2016 17:34:35 +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::22e 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:200098 Archived-At: Eli Zaretskii writes: >> From: Joost Kremers >> Date: Wed, 17 Feb 2016 09:00:02 +0100 >> Cc: =C3=93scar Fuentes , rms@gnu.org, >> "emacs-devel@gnu.org" >>=20 >> The general opinion is also that char-folding is nonetheless useful to >> many users, despite the fact that it will generate incorrect results in >> some languages. The only question that needs to be answered right now is >> whether the feature will be turned on or off by default. And on that >> point, the tendency seems to be to have it off by default, with the >> ability to toggle it within an i-search. > > Actually, my counts indicate that more people want it on by default > than off. 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. While it's a neat feature, it should default to off. I hope it becomes more customizable w.r.t. the arguments against char-folding's current behavior. It appears that char-folding's dependence on elisp regex is a crutch. 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 - *** `isearch' and ... should mention how to disable/enable character folding for isearch, whatever the default ends up being - *** New function ... should mention that it is to be added to `search-default-regexp-mode' To me, these appear to be completely disjoint despite having everything to do with char-folding. I think one would have to know how isearch actually works in order to put it together from reading the NEWS as it is currently. I'd be happy to make the changes, but that requires knowing what the default will be.