From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: An Liu Newsgroups: gmane.emacs.help Subject: Re: Elisp - quoting or not? Date: Sat, 5 Dec 2020 07:12:02 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30762"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: David Masterson Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 05 07:13:52 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1klQpM-0007v8-99 for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 05 Dec 2020 07:13:52 +0100 Original-Received: from localhost ([::1]:44562 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klQpL-000459-46 for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 05 Dec 2020 01:13:51 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38482) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klQnq-00044z-Qq for help-gnu-emacs@gnu.org; Sat, 05 Dec 2020 01:12:18 -0500 Original-Received: from mail-il1-x135.google.com ([2607:f8b0:4864:20::135]:41795) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1klQno-0007iS-Cs for help-gnu-emacs@gnu.org; Sat, 05 Dec 2020 01:12:18 -0500 Original-Received: by mail-il1-x135.google.com with SMTP id p5so7263632iln.8 for ; Fri, 04 Dec 2020 22:12:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=d5W7hfZ3kATl0DRnwRpQ+9sSM3cOpYuPUiNtFqiVIsw=; b=IfYcYpIaFxs1vUsgCqxfPcVeTMqNzVP8drBbzrkuhtu1QC2Wgb/2pEf4urW88Muaii DINeu0aL101g5SGw5cv4xbXyzXkv8bl2Xr4saaEWQbI0h9MH67gG7rO1oF5uCs9yJMz6 bD6fte+wSKEoEPCqsDLkI/969YSYP7HvnXPDj8/5LxmLSzLrcqfVqP22teQgx0XSYE0v 81RjiUsgGWDST7xswIcmq/gct5PdkEYw3Iuu1F31Mb+f0q8CL8bCeVcE+pFVk00vVmqI GmBrRJYdx4xA2HOP9TWRtFtWSoYBOUAVxMe1DZ4xNWqqIhBASWNd42x3ML9S30VMHZ3q rm9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=d5W7hfZ3kATl0DRnwRpQ+9sSM3cOpYuPUiNtFqiVIsw=; b=jyVhOXmqk6cQyZEa59RbVZtm1MNwzNDzCYdnvWiJCN5BzsLEd5ipJVaoHFHzHtqqam wRmgN/+Gy8viHnOi207fAWZDcYXXkqZKn+S8tcEGADBmRWLQQLSs7IcuvUgx80HlcGro akB0HZAycWfkexdHpfvkb39ucMo/ngJL2/Xq1k7iq5RhViVz3jBdBI2aoSHKdFqLC8Xk M7VZ7EMXWb0Mluxjsv1bLN5PaDwCSMTQ2e350Tn9P7eJBHQyFFDoQQ8s5pRs5mdsciM7 iCvxlQnvRcVi9uFqW0nBK6A/Vfd3Zu+VhglwoxUxepxdwagKk7X0IsNDNTPqMzC+kef+ RzYg== X-Gm-Message-State: AOAM5306MyY3urqwzLZKECLd5+PslY342xBmSzNkahLkc1eWApuU/mI7 x2XD6DN0wKB6uKgIs/YcvisVebQqdgNNOQTe/CE= X-Google-Smtp-Source: ABdhPJwOVsiOe2pITnqCWSOsL1MisB2oln+miRhgOSTaAvGluNNHi+nHSHlczG/eJ3S4E0ta4IAIQKAJXw8p4Wt/ndI= X-Received: by 2002:a92:b12:: with SMTP id b18mr721493ilf.216.1607148733838; Fri, 04 Dec 2020 22:12:13 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::135; envelope-from=sourceonly@gmail.com; helo=mail-il1-x135.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:126005 Archived-At: Hi, is it what you want? (setq ab '("a". "b") cd '("c". "d") abcd `(ab cd)) On Sat, Dec 5, 2020 at 6:16 AM David Masterson wrote: > I give up -- what's the proper way of doing this? > > (setq ab '("a" . "b") > cd '("c" . "d") > abcd '(ab cd)) > > What I want is a result for abcd to be '(("a" . "b") ("c" . "d")). I > imagine I need to use cons/car/cdr, but I'm not sure how. > > -- > David Masterson > > -- Liu An