From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Re: Upcoming loss of usability of Emacs source files and Emacs. Date: Wed, 17 Jun 2015 13:20:18 +0200 Message-ID: <87wpz24m4t.fsf@gnu.org> References: <20150615142237.GA3517@acm.fritz.box> <83lhfkoqww.fsf@gnu.org> <55811ED0.80304@dancol.org> <878ubioimj.fsf@gnu.org> <20150617084001.GA3338@acm.fritz.box> 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 1434540156 8884 80.91.229.3 (17 Jun 2015 11:22:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Jun 2015 11:22:36 +0000 (UTC) Cc: Alan Mackenzie , Eli Zaretskii , Daniel Colascione , Emacs developers To: Yuri Khan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 17 13:22:29 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 1Z5BPF-0001wL-Pp for ged-emacs-devel@m.gmane.org; Wed, 17 Jun 2015 13:21:21 +0200 Original-Received: from localhost ([::1]:45826 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5BPE-0007y6-M7 for ged-emacs-devel@m.gmane.org; Wed, 17 Jun 2015 07:21:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47421) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5BOk-0007ve-Oz for emacs-devel@gnu.org; Wed, 17 Jun 2015 07:21:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5BOU-0001r2-87 for emacs-devel@gnu.org; Wed, 17 Jun 2015 07:20:49 -0400 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]:41324) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5BOH-0001hc-20; Wed, 17 Jun 2015 07:20:21 -0400 Original-Received: from thinkpad-t440p (dhcp126.uni-koblenz.de [141.26.71.126]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTPSA id 8F44E1A83B7; Wed, 17 Jun 2015 13:20:18 +0200 (CEST) Mail-Followup-To: Yuri Khan , Alan Mackenzie , Eli Zaretskii , Daniel Colascione , Emacs developers In-Reply-To: (Yuri Khan's message of "Wed, 17 Jun 2015 15:02:13 +0600") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 141.26.64.15 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:187239 Archived-At: Yuri Khan writes: >> Indeed. With such a change to isearch, Emacs takes one more step >> from being a sharp tool to being a blunt instrument. >> >> Don't forget that Emacs is used for things other than developing Elisp >> programs. Such an identification of disparate characters is not going >> to be universally welcome, and will cause confusion. > > Emacs already has a facility for ignoring distinctions between > disparate characters. It=E2=80=99s called case-insensitive search, and is > governed by a customizable global option and a toggleable local option > in isearch. So probably we should have some `quote-fold-search' with the same toggles. Then modes need to specify somehow which replacements are valid, e.g., elisp-mode would define something like ((?` ?` ?=E2=80=98) (?'= ?' ?=E2=80=99)) meaning that ` matches itself and also an opening quote, and ' matches itself and also a closing quote. Bye, Tassilo