From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] add 'string-distance' to calculate Levenshtein distance Date: Fri, 20 Apr 2018 08:01:52 +0200 Message-ID: <87po2uxvov.fsf@gnuvola.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> <83bmei36dw.fsf@gnu.org> <83wox3zkm7.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1524225465 20293 195.159.176.226 (20 Apr 2018 11:57:45 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 20 Apr 2018 11:57:45 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: chen bin Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 20 13:57:41 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 1f9Ufd-0005Bi-1x for ged-emacs-devel@m.gmane.org; Fri, 20 Apr 2018 13:57:41 +0200 Original-Received: from localhost ([::1]:51418 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f9Uhj-0006Z7-Ni for ged-emacs-devel@m.gmane.org; Fri, 20 Apr 2018 07:59:51 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42695) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f9Uh0-0006X8-VC for emacs-devel@gnu.org; Fri, 20 Apr 2018 07:59:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f9Ugx-0004MP-Tt for emacs-devel@gnu.org; Fri, 20 Apr 2018 07:59:07 -0400 Original-Received: from mail.agora-net.com ([67.59.132.6]:49936) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f9Ugx-0004M8-Nh for emacs-devel@gnu.org; Fri, 20 Apr 2018 07:59:03 -0400 Original-Received: from ttn by mail.agora-net.com with local (Exim 4.82) (envelope-from ) id 1f9Ugw-0007ix-21; Fri, 20 Apr 2018 07:59:02 -0400 Original-Received: from ttn by zigzag.favinet with local (Exim 4.80) (envelope-from ) id 1f9P7T-0000y9-5k; Fri, 20 Apr 2018 08:02:03 +0200 In-Reply-To: (chen bin's message of "Fri, 20 Apr 2018 00:55:15 +1000") X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: ttn@gnuvola.org X-SA-Exim-Scanned: No (on mail.agora-net.com); SAEximRunCond expanded to false X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 67.59.132.6 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:224739 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable () chen bin () Fri, 20 Apr 2018 00:55:15 +1000 A software project usually contains nomal directory and file names. What you say is perfectly true. However, i think that truth tends to lead programmers astray, so that they grow "inwards" (to cater for the "norm", which over time becomes ever more refined (restricted) in its definition), and not "upwards" (to stretch the mind (and thus code that is after all merely mindstuff writ stylishly) to consider what is similar and what is different, in many (ideally, all) cases). Of course, "perfect is the enemy of good" so they say, and one line of code in the repo is worth two in *scratch*, so as always it's a question of balance. Anyway, glad to see this functionality added to Emacs. friends see eye to eye. always? no. but heart to heart: character distance. =2D-=20 Thien-Thi Nguyen ----------------------------------------------- (defun responsep (query) (pcase (context query) (`(technical ,ml) (correctp ml)) ...)) 748E A0E8 1CB8 A748 9BFA =2D-------------------------------------- 6CE4 6703 2224 4C80 7502 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlrZglQACgkQZwMiJEyAdQL18ACeOFP7cCEYUDXsoUn5/ykxnT9X aYEAoJoS4bW/Th/89HZnYUfIU1Npm/85 =y+LK -----END PGP SIGNATURE----- --=-=-=--