From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Elias_M=C3=A5rtenson?= Newsgroups: gmane.emacs.devel Subject: Re: On language-dependent defaults for character-folding Date: Tue, 23 Feb 2016 10:03:00 +0800 Message-ID: References: <834mdd6llx.fsf@gnu.org> <7fbb8bc7-9a97-4bad-a103-a6690a35241d@default> <834mdc5w6o.fsf@gnu.org> <838u2hu6aq.fsf@gnu.org> <871t899tde.fsf@gnus.org> <83y4ahru04.fsf@gnu.org> <83fuwproyf.fsf@gnu.org> <837fi0sz29.fsf@gnu.org> <83egc8qzjh.fsf@gnu.org> <87egc7evu3.fsf@gnus.org> <83io1jpt4u.fsf@gnu.org> <87povqhj25.fsf@gnus.org> <87povqe5tr.fsf@gnus.org> <87ziuta4l4.fsf@gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1143abf65c5559052c665928 X-Trace: ger.gmane.org 1456192996 9797 80.91.229.3 (23 Feb 2016 02:03:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Feb 2016 02:03:16 +0000 (UTC) Cc: Lars Ingebrigtsen , Eli Zaretskii , emacs-devel To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 23 03:03: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 1aY2Jf-0001g6-PL for ged-emacs-devel@m.gmane.org; Tue, 23 Feb 2016 03:03:08 +0100 Original-Received: from localhost ([::1]:53205 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aY2Jf-0007g4-Aq for ged-emacs-devel@m.gmane.org; Mon, 22 Feb 2016 21:03:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34717) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aY2Jb-0007fv-L0 for emacs-devel@gnu.org; Mon, 22 Feb 2016 21:03:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aY2Ja-0000yG-Mg for emacs-devel@gnu.org; Mon, 22 Feb 2016 21:03:03 -0500 Original-Received: from mail-vk0-x22a.google.com ([2607:f8b0:400c:c05::22a]:36422) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aY2Ja-0000y9-83; Mon, 22 Feb 2016 21:03:02 -0500 Original-Received: by mail-vk0-x22a.google.com with SMTP id c3so148201712vkb.3; Mon, 22 Feb 2016 18:03:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=i5pbx8psayzHxQSejIOBcO6y7Cc3v45D2uDfW0scIU0=; b=GN6YCv2i4fF+NFm7W/0ZHQDx3wkaZbnXi+QGTvv5KgEDaV+NY4W8TaMeftmrsOFTrs s9sKtgO70RQzg8WsvWvVwd0tUa6KQtFCM5KEz141JZ8YIgNdYCgKEStpS5vvrp+LenP3 4AMaKEWxP1y6gQJ1qP/LBT627YWlnLAClbuvvePTVhEGrviAy9nV0r2LSU1qrxY1H5sf J3yZVPMvRqLkHZMk9xuBHfwI7iX6pDWwzzWbDOe4H9oMXQvtcxVoeUQ0mSxi43iwIoVo UZFzJvj45XNIAxrkWlNksuKn9iwQTHSX2rOEv84xB0RoCL+o/IJgos7aoeDxjPuNVHr3 Yk4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=i5pbx8psayzHxQSejIOBcO6y7Cc3v45D2uDfW0scIU0=; b=K6s5qBEg9eCs5d+etpf0pafbENs9WnNuAhsLIyCT7blN4GchHer/5FMrSHUQunhvyS JI0qJbMYFoJc6WtyKxbqNi2M6ioaKkVQ0T0XB+P351t9mYW7BgomMv7rayr86WopHomL XcpMtMdX32tQ/wvM4oA7peVeqUvDdrGJgMpqWdejnTHYRxwpSkP9cReYemDo/1Dpox2q nYK5zm4Y78Ck1qA0zm6+z3M3FwZkHgLBNwGWTG40wIlDOwyj+MBM5pn2YNXg0Izxuftb iDURoS66A/yzyznALrMaOdPBnxVy0jqfIofpGW/7aSqnoSwfleaEZqgIgQZ5MA6JN5e3 IhSw== X-Gm-Message-State: AG10YOQf4Xh1u4Pdxz/hjFzXWUvWPSaTbBlMHYbbqbKP9F1ngVRs9Tkv0eS2ZDU2IVw0qn8IHMdYK6uzbJq8QQ== X-Received: by 10.31.179.146 with SMTP id c140mr22412543vkf.50.1456192981060; Mon, 22 Feb 2016 18:03:01 -0800 (PST) Original-Received: by 10.176.3.146 with HTTP; Mon, 22 Feb 2016 18:03:00 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400c:c05::22a 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:200521 Archived-At: --001a1143abf65c5559052c665928 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 23 February 2016 at 02:01, Richard Stallman wrote: > > > But you are Danish, are you not? As such, I would have thought that > when > > you search for =C3=B8, you would want to find a Swedish =C3=B6? (this= is the > inverse > > of the natural Swedish behaviour). > > Elias and Lars, what do you two think searching for o should match? > Should it match =C3=B6 and =C3=B8, or not? > I can only speak for Swedish, and there, a search for o definitely should not match =C3=B6 (nor =C3=B8). This is the crux of this entire discussion, = at least for me. However, a search for =C3=B6 should match =C3=B8. > IF you want o not to match =C3=B6 and =C3=B8, then you want =C3=B6 and = =C3=B8 to be a > class by themselves. > > One way to handle each class is the asymnetric way: searching for the bas= e > character matches all of them, but searching for one of the other charact= er > matches only itself. > > In Swedish, =C3=B6 could be the base character and =C3=B8 a variant. > In Danish, =C3=B8 could be the base character and =C3=B6 the variant. > > Would each of you be happy with that mode? This is exactly in line with what I have been proposing. Regards, Elias --001a1143abf65c5559052c665928 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On 23 February 2016 at 02:01, Richard Stallman <rms@gnu.org> w= rote:

=C2=A0 > But you are Danish, are you not? As suc= h, I would have thought that when
=C2=A0 > you search for =C3=B8, you would want to find a Swedish =C3=B6?= (this is the inverse
=C2=A0 > of the natural Swedish behaviour).

Elias and Lars, what do you two think searching for o should match?<= br> Should it match =C3=B6 and =C3=B8, or not?

<= div>I can only speak for Swedish, and there, a search for o definitely shou= ld not match =C3=B6 (nor =C3=B8). This is the crux of this entire discussio= n, at least for me.

However, a search for =C3=B6 s= hould match =C3=B8.
=C2=A0
IF= you want o not to match =C3=B6 and =C3=B8, then you want =C3=B6 and =C3=B8= to be a
class by themselves.

One way to handle each class is the asymnetric way: searching for the base<= br> character matches all of them, but searching for one of the other character=
matches only itself.

In Swedish, =C3=B6 could be the base character and =C3=B8 a variant.
In Danish, =C3=B8 could be the base character and =C3=B6 the variant.

Would each of you be happy with that mode?

= This is exactly in line with what I have been proposing.

Regards,
Elias=C2=A0
--001a1143abf65c5559052c665928--