From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: chen bin Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] add 'string-distance' to calculate Levenshtein distance Date: Sun, 6 May 2018 19:53:30 +1000 Message-ID: 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> <83fu3pxbu9.fsf@gnu.org> <83in8bu6iz.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1525600327 21998 195.159.176.226 (6 May 2018 09:52:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 6 May 2018 09:52:07 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 06 11:52:02 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 1fFGKo-0005c3-5w for ged-emacs-devel@m.gmane.org; Sun, 06 May 2018 11:52:02 +0200 Original-Received: from localhost ([::1]:41474 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fFGMv-0003Dc-8f for ged-emacs-devel@m.gmane.org; Sun, 06 May 2018 05:54:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48954) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fFGMK-0003DX-93 for emacs-devel@gnu.org; Sun, 06 May 2018 05:53:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fFGMJ-0006iC-Ai for emacs-devel@gnu.org; Sun, 06 May 2018 05:53:36 -0400 Original-Received: from mail-lf0-x242.google.com ([2a00:1450:4010:c07::242]:45177) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fFGMH-0006fe-Qg; Sun, 06 May 2018 05:53:34 -0400 Original-Received: by mail-lf0-x242.google.com with SMTP id y14-v6so36176913lfy.12; Sun, 06 May 2018 02:53:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=m85DlXlStfo+4HwvPYL0Vwt8iNTZMLlQZyRla22IVYE=; b=Mfrz2KZ032CA27LU/W0eBUgYNhQ18xBAtIRPS+RDmsUUqTAYgLHyU/T/jdXyP6apV1 wrcBE8Xp4vflk+9XJuBQf7dLT5nPUowdK3yM1QdrcIdNJYJSklzn9aUuwmmDgP5wIK/a snwnC9fPbi6K2zxLULsyJPgKEGhl7kkl6qxnQ55WdZhmPlsIxtnBNjexBJMikN2WdJuI Me6WzV1uabcNoQaEDvuAf+MsXxwy0kVZrZVR14wBa0X7eK4I1YEKkb7YppodW5zqObjb wHSBVXBZFNvbPMzfTmycNIhLsI8Yo4BYbmU0CwPw3o4OYnyfIyEQOD5IMebdoK4RqiPL V9TA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=m85DlXlStfo+4HwvPYL0Vwt8iNTZMLlQZyRla22IVYE=; b=Knwgk8ByVH8L/wV7BRwbhaa6OeYBdSvdcliP8Vr0RD5NhbNovZ1727Oye7MkFBtHOf Y5rdwAE7BS9cNFCtqEq7QzeJwxlsi9TuQt6szZmozx4g3jdAOJcZWCljWYHso0Eju8jN Rz0VDMbHpWs6xuh8xpwIzNFYP9tMk1md3joBxt0+sC9NRmm7/U6L8pkd4PWx3JltYF+i n834ZvlhXQQYaxcpGxITFgCZ98hB5zz+6ndOOJvN+8JAyftZGuxCrFpedieVk/DJI60W qL0UVnlgyf/bnPpzYf+wojEtETj3ZNP/s5gZ/4npoY7u+C6O0rzFCCPDnsH+ch9rMaSm knYQ== X-Gm-Message-State: ALKqPwcTGQJze20bqIjHFd1biPEbWDsdPhsddSfLNRr/VVTSsleXRB2f D92Aj0Sine7VpcVcZ7aGlFTM81POHaFNboU/nZE= X-Google-Smtp-Source: AB8JxZp5jVQ+7WYJqkoSD1bhMGglE5ud31MyDfee5HESFFq72tPAA5lrbu2okzdTC3cqPi2ZGE5/LmFRLhxL4jVFBKo= X-Received: by 2002:a19:e5c4:: with SMTP id i65-v6mr3355079lfk.112.1525600411276; Sun, 06 May 2018 02:53:31 -0700 (PDT) Original-Received: by 10.46.20.93 with HTTP; Sun, 6 May 2018 02:53:30 -0700 (PDT) In-Reply-To: <83in8bu6iz.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4010:c07::242 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:225087 Archived-At: Noted. Thanks On Sat, Apr 28, 2018 at 5:36 PM, Eli Zaretskii wrote: >> Date: Sat, 21 Apr 2018 10:22:54 +0300 >> From: Eli Zaretskii >> Cc: emacs-devel@gnu.org >> >> > From: chen bin >> > Date: Fri, 20 Apr 2018 20:47:23 +1000 >> > Cc: emacs-devel@gnu.org >> > >> > Attached is latest patch. It will use byte compare aglorithm if both >> > strings are not multi-byte strings. >> >> Thanks, let's give people a few days to comment. > > No further comments, so I pushed your changes. > > A few comments for your future contributions: > > . Please include with the changes a commit log message, formatted as > described in CONTRIBUTE. > > . We encourage to include changes for the relevant manuals with the > code changes; please try doing that in the future. If you do > include the relevant manual changes, mark the NEWS entry with > "+++" to indicate that. > > . The tests should be in the file named after the file where the > relevant feature(s) is/are defined. If the code is in src/FOO.c, > the tests should be in test/src /FOO-tests.el; if the code is in > lisp/foo/BAR.el, the tests should be in test/lisp/foo/BAR-tests.el. > > Thanks. -- help me, help you.