From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arthur Miller Newsgroups: gmane.emacs.help Subject: Re: Elisp - quoting or not? Date: Sat, 05 Dec 2020 07:42:18 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27680"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) 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:43:05 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 1klRHd-00076e-2z for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 05 Dec 2020 07:43:05 +0100 Original-Received: from localhost ([::1]:51260 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klRHc-00009E-4x for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 05 Dec 2020 01:43:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41906) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klRGy-000096-Pp for help-gnu-emacs@gnu.org; Sat, 05 Dec 2020 01:42:26 -0500 Original-Received: from mail-oln040092075026.outbound.protection.outlook.com ([40.92.75.26]:5269 helo=EUR04-VI1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klRGw-0003ft-Bb for help-gnu-emacs@gnu.org; Sat, 05 Dec 2020 01:42:24 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fsJJTi2jFjCgO6ykiqL+q8Mx5VYVknVam7sW8EKYyDTqPqlD0k9UVpoA1t+5bqlyCEi+5ia3nONmKvc97iB4cEUfv7ckYu8YWXR8g4TPsG4bAYmOXQ9wI7ezuEI3/HwMYSvHnG1MZtNLuGT/ZCyVZcQcTbxPHqij1AYd2yuJE2BH0/0+xs1pIACjvHhbP7KP0EQ5iG1xanJudvAoC0gdMgrrhjNVbK8cmllU+R4BpOn2ssZ7jKR+54vIqr5p8BP/yVbHaXz4jClumYYiihmNHvARe5meySnF5j02zcE/JCRNGwhB5L0k/oQKb4vZbHVQPX6bjpOeeiDP/tAHE2CzEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=swEuueOYJkalWz1WF5BI/sBWHhT4tqkws8HBEDx7cY4=; b=PP6MjKEG/SeF+rM9kNfuNcW8H/+cRzasx3ZqwSL0KEAhlpFwudZKCkgmJ5lwcnmV5gV7FRJlmlBZy5XORhLBquAuitHl5Rf9/kxfACeogI0UqS3KZ2XnU1UVAAQTBsRL3xU0ytCA66NWa5dUYAsWhVeo3Fxkx7Ni9KlbR+Kb+cTvyYZZeTsgTm4MlSzbfOs/y0MaYuBZ/Y/XFdenlJ536pitnOVpmmrmBXOmEzMJlzNcLK52Bu2Vzuf0rRPNpvdKhc3L1pw4Yju2Q2poWZx6RumkICGyq7KntnSiMcHYiThPcRWMaFJzL4CMkLCPSaJP2TkuChAmAMyMwQpf0BFCAA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=swEuueOYJkalWz1WF5BI/sBWHhT4tqkws8HBEDx7cY4=; b=EPs/nq6gryOZrL0NBa4sJp2hG203WGZezDde7Pfw4khwL86uy7hqJzt+YpwqDlRLE6L6qsJLTaKPYQTBukdNWkQaaldeJ659I1PtVyBqRtvFdM/lUEgIVNm4ErMm3IyyckY4daAszv7+SOC8BvfO+9VVvs8eBLA3pbUoTKx1TPvec/fc+aKoXOZzWMFoRYFYdj7vZ/1XGZge7R06NdeyHr8JNX1XAQ3W94Kf6dMCc5YuIjQ8Lyk6mcIxYVlGE8f9DiR/OGG+LCKho5qneWbqfersfjeJbf7WWAaI4jCCap/PE8+hKA5BTabikDzd/RTyFTTMXpgjKYpOrF35DK2VuQ== Original-Received: from HE1EUR04FT011.eop-eur04.prod.protection.outlook.com (2a01:111:e400:7e0d::4c) by HE1EUR04HT156.eop-eur04.prod.protection.outlook.com (2a01:111:e400:7e0d::186) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17; Sat, 5 Dec 2020 06:42:19 +0000 Original-Received: from AM0PR06MB6577.eurprd06.prod.outlook.com (2a01:111:e400:7e0d::46) by HE1EUR04FT011.mail.protection.outlook.com (2a01:111:e400:7e0d::177) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17 via Frontend Transport; Sat, 5 Dec 2020 06:42:19 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:C3FBB46D63FA830BBC4197817110660107EC29D586C99311F29B212230E95396; UpperCasedChecksum:4F3C8A4DBACC3FB1C347CC348DF792FB36F0806C81215F4155328E16651F0B74; SizeAsReceived:7482; Count:46 Original-Received: from AM0PR06MB6577.eurprd06.prod.outlook.com ([fe80::9487:8c7d:da00:4993]) by AM0PR06MB6577.eurprd06.prod.outlook.com ([fe80::9487:8c7d:da00:4993%7]) with mapi id 15.20.3632.018; Sat, 5 Dec 2020 06:42:19 +0000 In-Reply-To: (David Masterson's message of "Fri, 04 Dec 2020 21:15:00 -0800") X-TMN: [fMvquj9hjcLkPjjNmBztxOK8jRli50is] X-ClientProxiedBy: AM6P194CA0061.EURP194.PROD.OUTLOOK.COM (2603:10a6:209:84::38) To AM0PR06MB6577.eurprd06.prod.outlook.com (2603:10a6:208:19a::23) X-Microsoft-Original-Message-ID: <87y2ic7nzp.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from pascal.homepc (90.230.29.56) by AM6P194CA0061.EURP194.PROD.OUTLOOK.COM (2603:10a6:209:84::38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.18 via Frontend Transport; Sat, 5 Dec 2020 06:42:18 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 46 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 4225be7d-bf4c-40cd-3fa7-08d898e8e93c X-MS-Exchange-SLBlob-MailProps: fMOR/XCTRh0nKidsZa3+1uc09odo0mwCsaGtOudsvkVLmm3KuYfCInECdazMAe3E8KtGt6+gF4xtLyYTIch+MOVrm/CkyaFVGxtfHpXI9VS6yNIv+Q49AnvuV5XJK1w93w0hi8vibA7WMzOqgllnxtYbaYP8fJVqKr16e6SxQMaV0FxJhz/lHuEhJT14EOSkwx9IVA6NlJAjpWXJSWxDdWiNc+WFpT84UoZ2neXCmamJQsXXVjl14SYCzBmta6Q7ZX2ppASpl8Qo5domNVdAbtZ5YEFmICx2kLFwlo/Wav8RH0IIjiPqannGM1xitphbGz9OCubPkzRI513BgiioQNocvBUCHxsr6DZtI+x5jkGkrGeFPx9lF59ONN5x+/12KmfSwUVoXsi5YZAM6AZoXt8/3nbE6qUx8wRWy++AazG4fLe8Qo922TM58jbUqc19D/qqKBIQPxRjRInqVjARi187g2je6WZyWNIjJQeaX/L248zEUyJIUd76XjJigNFWZOgwff+/qthjaUnk7XFR/6Ojnn1wICupQBQFg/gLRyivoNtZCaCo3GdnIJRt7cRn/u+ycgOovoGMBWCPGL5wsw== X-MS-TrafficTypeDiagnostic: HE1EUR04HT156: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: wmWBt2BzkY3k3Rqr8mraxohDOtNr1cbEVUNeKsoMjwdA7GBpnufGP9i+aHZ5HEf0bpHSW5Tk4sWsrcLWj2/9l9QflXd7QrjqvaYkDNhfEOqb0y4Dd0sfOJF4w1hQhzl0+w3G0mTlIxiguieot9paLbnP8XWMrqqmvSeecTpL23HK3keBLMGWh0rz55n0z07t2thVH7oiOGuge1K39r+iWg== X-MS-Exchange-AntiSpam-MessageData: 6wNZ2HjDnvpuu3cFK7YOikfbJIUU0Ce6A9dl+rQ0EIByQqrOZSu6HAYqFJjLW0IO58j/pMuxNcgCk8WiWxSiH9v2ASW5TZiu9MlCC0xmaTuDWpbLS2We+Pk4L/FBAxYFyxur07sKnXt3TNNPxfcPZA== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4225be7d-bf4c-40cd-3fa7-08d898e8e93c X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Dec 2020 06:42:19.2271 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: HE1EUR04FT011.eop-eur04.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1EUR04HT156 Received-SPF: pass client-ip=40.92.75.26; envelope-from=arthur.miller@live.com; helo=EUR04-VI1-obe.outbound.protection.outlook.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, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:126010 Archived-At: David Masterson writes: > 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. I am not sure if you really wish that quite before the conses or not; If you really wish to have quote try this: (setq ab '("a" . "b") cd '("c" . "d") abcd `'(,ab ,cd)) If not, try this: (setq ab '("a" . "b") cd '("c" . "d") abcd `(,ab ,cd)) Helps?