I am using Aquamacs 3.3 GNU Emacs 25.1.1, and I got the error message 'Wrong number of arguments: setq, 3' every time when I trying to open a file the first time.
How could I solve this problem?
Thank you.
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.
Sign up to join this communityAs I said in https://emacs.stackexchange.com/questions/28155/unable-to-update-packages-on-emacs-25-1#comment43164_28155 one of the changes in emacs is that now setq
requires an even number of arguments. If you set the debug-on-error
variable to t
then when you get this error you should enter the debugger and see where the error is coming from. Adding nil
as a final argument should resolve your problem.
C-u C-h n 25.1 RET C-s setq
.
Oct 31, 2016 at 11:08
I finally find the problem is caused by using 'subfigure' package in my latex file. And this problem has been solved by changing 'subfigure.el'. And specific salutation is given in thread on google groups. Hope this helps.
subfigure.el
was fixed in January. I suggest you install the latest AUCTeX version from ELPA. I don't use Aquamacs, but if it supports package installation from ELPA, try M-x package-install RET auctex RET
.
Nov 2, 2016 at 14:23
subfigure.el
manually helped. :-/
subfigure
is deprecated; consider using subcaption
which is also supported by AUCTeX.
Jun 24, 2018 at 13:00
M-x toggle-debug-on-error
, then include the resulting backtrace into the question.