From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dimech Newsgroups: gmane.emacs.help Subject: setq-local: Wrong number of arguments Date: Mon, 3 May 2021 23:30:03 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38228"; mail-complaints-to="usenet@ciao.gmane.io" To: Help Gnu Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 03 23:32:08 2021 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 1ldgAh-0009ri-Uc for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 03 May 2021 23:32:07 +0200 Original-Received: from localhost ([::1]:39170 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldgAh-0004oO-1K for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 03 May 2021 17:32:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44040) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldg8n-00047I-6o for help-gnu-emacs@gnu.org; Mon, 03 May 2021 17:30:10 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:53179) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldg8j-0001hK-Qm for help-gnu-emacs@gnu.org; Mon, 03 May 2021 17:30:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1620077403; bh=AigpJdX5Ailx+TO4p/jroKlxLUooGeRhVd9M8QnjP2k=; h=X-UI-Sender-Class:From:To:Subject:Date; b=QXZJGXbRh5Vwi4Si++B/NE63sJ+Y/vYe5DB/7XELaclx9US8L926fz8MBG65DWOTw 99KSbUAc1sFQyrQCc7ILpPXxWt1UFyFo8nAErDzF8MH0s+jeiU+PhFRWzP3i5UmUU2 mB876941ZfoTMF5UfwtyUXnD2IahFAQcYoAR1yzc= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs06.server.lan [172.19.170.174]) (via HTTP); Mon, 3 May 2021 23:30:03 +0200 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K1:0N5s233DTUmBHwx7I5xXvmWVNevXRB5Ay+ONb8EcHRcxQKFPgrQVbitjgf5Ldfu5iuVPc MQbkcfj18HnSRaMt6qmLBanE4v6B3RHGimaKROk8KLAbf3cJ0GLvAiSrC/U5OkxdPkjRqp7vQB9w /7t21QnfCoO4Cg7xWerjmokUeE5C1awaTHMO5uZP0bfzdGrjM/pGAK19XuIoMicvLPBHr8e53tsZ qCYHhHqx8WnguFNMn3lJVVhBJJesGwzEhAOQfU8nGJWpuMKFDQBJF0OKzNea7I2BM1BEWjDuseyM hU= X-UI-Out-Filterresults: notjunk:1;V03:K0:O1QPMvn2F/o=:17jq7xnvHYW2ABTG5P3xuC 8YbitoWh7pIym51G0dMx6vsPndqYQO+GcVmFhqu5X/eOUGRQiUPi9I1EAvwPTohIHZQtQ2WdG 0G7rw3GcNfUNiIgggx56ZQGvZeLyLKjf2+C/DpZU5g3V7e+QJ5CtD2G4FkK7gI/+hSWvUkRuZ ERaQiAb9EkK7y84jqv4LA3Ip+bPD26kAzjcjL5BXTi/Vj3IW7VRtS8jlGaYw9OzNvuNcfAyjM sLk2qZDQ8YjADRcBrmc/YgMyJ4sTQ9AAxMQ9etHFq73sgJVPmrBHZht73r22OosxEdnQM9iGR TDYidNZhZI82l6zH7stVVK7dV4De21luYAy3Z/7j+qbDZyazHjpwXAGBwwiG/f1ybKOvOYJ7+ agMmos4/wHsv+zV83ezQacpEvIXeD3gGl8nP8YI3lH/oahINlLZQihY1P60TmQtEJjeNZGzFc D7pobTlfQ/BpzrqHGL72tMiiBaRhT7AhD6Pr9zhjmOkY3PwYexO/xIPsCi8m35aBeWxpMip/o UP1O+KCQVJ156kQi0gXwVsYnj++TWiXe4eTX0PAKMgswBVNL3N2v3mEnRBsHcUWBAD+86Q5ye keSf0AGHdnJUTV4FAbhbWtOQ/MBcslubNcZ8W7FvVZqjIoUirapEeLhKRfjOkcyiKEEQJOs39 2rnpTt1q/tvyWZp8YarCcQeGoG/g4196MqOC+DV7NSXexkEGTsqyiMuFsT2/2JazE5uaJOP8I RPg4WA0q03vsvhiyIixxXyUb4Q/PMKzIE21BQtnHc+aJZ2b6UYUWvE2tRrKxWFZjKYfoolcy Received-SPF: pass client-ip=212.227.15.18; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=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:129384 Archived-At: I am gutting an error saying setq-local: Wrong number of arguments: (2 . 2), 4 Have no idea what it means. Been trying to enable a typeface using a cycle mechanism (defvar-local crucibulum-sweep-kondor 1 "Keeps track of the cycle state in `crucibulum-sweep'.") (defun crucibulum-sweep () "Cycles supinf and ideograms functionality." (interactive) (pcase crucibulum-sweep-kondor (1 (enable-ricci-notation) (message "Enabled: ricci notation") (setq-local crucibulum-sweep-kondor (1+ crucibulum-sweep-kondor))= ) (2 (enable-ideogram-vision) (message "Enabled: ricci notation & ideogram vision") (setq-local crucibulum-sweep-kondor (1+ crucibulum-sweep-kondor))= ) (_ (disable-ricci-notation) (disable-ideogram-vision) (message "Disabled: ricci notation & ideogram vision") (setq-local crucibulum-sweep-kondor 1)) ))