unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Christopher Dimech <dimech@gmx.com>
To: Help Gnu Emacs <help-gnu-emacs@gnu.org>
Subject: setq-local: Wrong number of arguments
Date: Mon, 3 May 2021 23:30:03 +0200	[thread overview]
Message-ID: <trinity-fd7cb099-a0c8-4c03-8991-e2e717f116be-1620077403646@3c-app-mailcom-bs06> (raw)


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)) ))







             reply	other threads:[~2021-05-03 21:30 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-03 21:30 Christopher Dimech [this message]
2021-05-04  6:47 ` setq-local: Wrong number of arguments Joost Kremers
2021-05-04  7:07   ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-04  7:59   ` Christopher Dimech
2021-05-04  8:05     ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-04  8:14       ` Emacs is stable software Jean Louis
2021-05-04  8:25         ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-04  9:03         ` tomas
2021-05-04  9:15           ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-05  6:26       ` setq-local: Wrong number of arguments Christopher Dimech
2021-05-05  6:32         ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-05  8:56           ` Christopher Dimech
2021-05-05  9:05             ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-05 10:01               ` Christopher Dimech
2021-05-05 10:12                 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-05 10:48                   ` Christopher Dimech
2021-05-05 11:00                   ` Christopher Dimech
2021-05-05 15:02                     ` Emanuel Berg via Users list for the GNU Emacs text editor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=trinity-fd7cb099-a0c8-4c03-8991-e2e717f116be-1620077403646@3c-app-mailcom-bs06 \
    --to=dimech@gmx.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).