From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] add 'string-distance' to calculate Levenshtein distance Date: Tue, 17 Apr 2018 18:44:21 +0300 Message-ID: <83a7u13kiy.fsf@gnu.org> References: <87vacuecrn.fsf@gmail.com> <83po3246ah.fsf@gnu.org> <87lgdq831h.fsf@gmail.com> <83muy553ae.fsf@gnu.org> <87o9ilhhcd.fsf@gmail.com> <83d0z14sws.fsf@gnu.org> <87o9il0wka.fsf@gmail.com> <83bmek4jdn.fsf@gnu.org> <83k1t72b2o.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1523979931 24856 195.159.176.226 (17 Apr 2018 15:45:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 17 Apr 2018 15:45:31 +0000 (UTC) Cc: emacs-devel@gnu.org To: chen bin Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 17 17:45:26 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8SnO-0006Nv-Ff for ged-emacs-devel@m.gmane.org; Tue, 17 Apr 2018 17:45:26 +0200 Original-Received: from localhost ([::1]:46368 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f8SpV-0007ig-4u for ged-emacs-devel@m.gmane.org; Tue, 17 Apr 2018 11:47:37 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55410) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f8SmH-00058t-Ip for emacs-devel@gnu.org; Tue, 17 Apr 2018 11:44:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f8SmE-00082b-IL for emacs-devel@gnu.org; Tue, 17 Apr 2018 11:44:17 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46503) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f8SmE-00082W-ES; Tue, 17 Apr 2018 11:44:14 -0400 Original-Received: from [176.228.60.248] (port=2258 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1f8SmD-0006cT-Ox; Tue, 17 Apr 2018 11:44:14 -0400 In-reply-to: (message from chen bin on Tue, 17 Apr 2018 12:43:33 +1000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:224705 Archived-At: > From: chen bin > Date: Tue, 17 Apr 2018 12:43:33 +1000 > Cc: emacs-devel@gnu.org > > Weighted distance is NOT doable for only one reason: > You can't increase character weight of certain race or religion in Emacs. > It's politically wrong. If the weight comes from the user/Lisp program which uses this primitive, then whatever politics is involved is up to the caller.