From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.help Subject: Re: Why does assq fail when getting quoted value from a property list? Date: Mon, 6 Aug 2018 07:53:51 -0400 Message-ID: References: <20180806072936.GA29487@tuxteam.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1533556336 30828 195.159.176.226 (6 Aug 2018 11:52:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 6 Aug 2018 11:52:16 +0000 (UTC) Cc: Help Gnu Emacs mailing list To: tomas@tuxteam.de Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 06 13:52:12 2018 Return-path: Envelope-to: geh-help-gnu-emacs@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 1fme3Y-0007vG-Fx for geh-help-gnu-emacs@m.gmane.org; Mon, 06 Aug 2018 13:52:12 +0200 Original-Received: from localhost ([::1]:33572 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fme5f-0007Eo-5w for geh-help-gnu-emacs@m.gmane.org; Mon, 06 Aug 2018 07:54:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58780) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fme5B-0007EV-Ie for help-gnu-emacs@gnu.org; Mon, 06 Aug 2018 07:53:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fme5A-0006hQ-U3 for help-gnu-emacs@gnu.org; Mon, 06 Aug 2018 07:53:53 -0400 Original-Received: from mail-oi0-x22e.google.com ([2607:f8b0:4003:c06::22e]:44670) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fme5A-0006h9-OH for help-gnu-emacs@gnu.org; Mon, 06 Aug 2018 07:53:52 -0400 Original-Received: by mail-oi0-x22e.google.com with SMTP id s198-v6so21584617oih.11 for ; Mon, 06 Aug 2018 04:53:52 -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=xGp601WMNd4WLHJ+xUaJ+YL4iFdK3RaiKqnSLV/nO+U=; b=rq0gXWalIatkIIzHNxs5KLqhez8+nmQM/qb11+clzfJ8ck/fAmgX+Bh46t/LtTD/VH 9leejOptJJmDpQMcFLnFRkfJekj0kIcYKAbXOUOZdu+Pkj8FqpwlF3F2U3gOxYIcuvjS JKj7RLx7rv1ODsH4wEmVvBIEP4xl5g0T0TEnbKx31QHFFzKcq7SqIP1xW9Xjz8d50sgQ pBRcyzYDOr8QOY7+JwSAt8Y8ZBzxKuLWcihFsy5CqKAqh1L0Kq7WrXKLNu6DLayFU6uN JCBFayMkOCmQzlJB5cBthmXuK4hQUOuzj+sRExSavks+UaRxlpvV471SJwoilD02LFCG bi4Q== 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=xGp601WMNd4WLHJ+xUaJ+YL4iFdK3RaiKqnSLV/nO+U=; b=WfxSlRX75AF3xhoOyu2LHEZrEplyK3bHnO0C2TSQLYaXWsUeZ5ldqLergPXDGSFse1 4k1l9rkfm6gNqZqUHYIpF9DkIAoWH4RtZ+uDN0yxXZ2epD6G+XGyW7WcSCxxr59wbNMz tHfwgTNekovjOsO1k33TMcNv6+7Nwk+95MMD6RJMtchZ4NG2PNfYCLYQYcMmQ90dpTWE vH0g9ry2xVZ48M++3/IFOc81Hmo9P9ESwamVnJGVLaGaNWNt9ldxGcQrjpg4L3T9n73e RNa7u/54ooXHaLgfG6rnzgxznaA6e9g8PDs9s3cNaAc38xuoDE1zM9kC68/Dr7R8E4np dUcQ== X-Gm-Message-State: AOUpUlHblFW8BxKuABRpIjCuaj45SoDA77BmyHO9Fyf6L9/4G7N921JA 21fVTC3wY2oOeC4PB+IlRfHssXuiIGxZgOvmNRlr1jQ6 X-Google-Smtp-Source: AAOMgpd0e2hNjKOM0TsHWxJ2zbSSyzkNnZiQImRYuoCfFbfCzGIGG36sj7FdmtDNkR6kdm3eO4kHk80exfsxuV42oSs= X-Received: by 2002:aca:100f:: with SMTP id 15-v6mr15020383oiq.110.1533556431951; Mon, 06 Aug 2018 04:53:51 -0700 (PDT) Original-Received: by 2002:a9d:3495:0:0:0:0:0 with HTTP; Mon, 6 Aug 2018 04:53:51 -0700 (PDT) In-Reply-To: <20180806072936.GA29487@tuxteam.de> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c06::22e X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:117640 Archived-At: On 6 August 2018 at 03:29, wrote: >> (let ((lookup (plist-get '(:severity (quote urgent)) :severity))) >> (assq lookup '((urgent . 2)))) > > Because the value of (plist-get '(:severity (quote urgent) :severity) > is the symbol 'urgent You mean the list of two symbols `quote' and `urgent'. (equal (list 'quote 'urgent) (plist-get '(:severity (quote urgent)) :severity)) ;=> t