From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.help Subject: Re: "cl-case" with strings Date: Thu, 4 Feb 2016 04:39:34 +0300 Message-ID: <56B2ABD6.6030902@yandex.ru> References: <8737t92s6s.fsf@debian.uxu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1454550017 24105 80.91.229.3 (4 Feb 2016 01:40:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Feb 2016 01:40:17 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 04 02:40:17 2016 Return-path: Envelope-to: geh-help-gnu-emacs@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 1aR8u6-00069U-P1 for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Feb 2016 02:40:14 +0100 Original-Received: from localhost ([::1]:38924 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aR8u3-000143-3F for geh-help-gnu-emacs@m.gmane.org; Wed, 03 Feb 2016 20:40:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50811) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aR8ta-0000bE-0j for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 20:39:42 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aR8tV-0007O5-1E for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 20:39:41 -0500 Original-Received: from mail-lf0-x236.google.com ([2a00:1450:4010:c07::236]:34531) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aR8tU-0007O1-ON for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 20:39:36 -0500 Original-Received: by mail-lf0-x236.google.com with SMTP id j78so26476541lfb.1 for ; Wed, 03 Feb 2016 17:39:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=vFVErPYrsEi4CJIdyXkFTjCqKprJfKnhrar78uoimAk=; b=zQJs/KDj9gZotPab0216Jtkpuo+0I0qcRcapcM3Ibpg9EiOWTI+lbDQwJ7B7V9DE81 LSMmCDUYP8XPFkmfVoC7uwalgn4NnxjM6l1NBYpn0zdWT1sEQWnw9HJRJEwUkfJu03BZ WQdVVx8wrZKCNq3KYiPAYAItl6gbRVB9chWJyMKQz+kAjf94H8h7anmaIq8I7RVd8/HY h9m04sZEsC+9Jc0GdsDXj34qC1cjpALf2pzCaWoVdquuLRhxp4Adg9ygMJasFR2wLePS 6v/+O3ZCi4y2QnhIjy+H8tzw2EGTzznolf9sBgQUWNJPTrPwdaA00nhLAGIqX76pEZhR SMQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=vFVErPYrsEi4CJIdyXkFTjCqKprJfKnhrar78uoimAk=; b=SzD0GETIja/b0LGef7oCtdlY5WbDqeEeqmInVy5aHRX3fovOHH4hA22Y5EJ+zJCMg5 V2ujXgshDW810lEESezDe2ITovL2bjFETij8PZEz81z6/nXOOHq+EnywW5aS+k2Bxp7x AT0q/UkkHy6USk5wGl6iT1l51jZmTFpmtYgwqKz9uOJ2SOo7EQEtwC++R6JvHrWSlsgZ 85jVmklf0JtaSkvsLHg94GjC/nZQuW7QFmMypB3O623sX8/X/DNgNYpfzx/bXZ84qWOO acOthzRnfckx2U1EIMnNyCrKXcjO7NkNRB9c4rKJUSBpnhyO5x8pT8UUSlWMoxzNWHiv SYQA== X-Gm-Message-State: AG10YOQ2yswOKhQE+KTtwv3TqED0Xqz0rFdug5CbWKk/h0nyIntezYRqXfpFfw+5Tvq1yw== X-Received: by 10.25.211.70 with SMTP id k67mr2296481lfg.119.1454549975754; Wed, 03 Feb 2016 17:39:35 -0800 (PST) Original-Received: from [192.168.1.190] ([178.252.127.222]) by smtp.googlemail.com with ESMTPSA id t9sm1215203lfd.13.2016.02.03.17.39.34 for (version=TLSv1/SSLv3 cipher=OTHER); Wed, 03 Feb 2016 17:39:34 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Thunderbird/44.0 In-Reply-To: <8737t92s6s.fsf@debian.uxu> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::236 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:109000 Archived-At: On 02/04/2016 04:13 AM, Emanuel Berg wrote: > Today when I did a new interface to my interface [1] > to `google-translate' which is an interface to > Google Translate, I used `cl-case' with strings but > was frustrated with failure, because `cl-case' uses > equality function(s) that report nil for > identical strings. > > So I wrote this. Or you could use pcase.