[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: setq-local: Wrong number of arguments
From: |
Christopher Dimech |
Subject: |
Re: setq-local: Wrong number of arguments |
Date: |
Tue, 4 May 2021 09:59:07 +0200 |
If he was using the older Emacs 25, that error will show up when
trying to set two local variables.
---------------------
Christopher Dimech
General Administrator - Naiad Informatics - GNU Project (Geocomputation)
- Geophysical Simulation
- Geological Subsurface Mapping
- Disaster Preparedness and Mitigation
- Natural Resource Exploration and Production
- Free Software Advocacy
> Sent: Tuesday, May 04, 2021 at 6:47 PM
> From: "Joost Kremers" <joostkremers@fastmail.fm>
> To: "Christopher Dimech" <dimech@gmx.com>
> Cc: help-gnu-emacs@gnu.org
> Subject: Re: setq-local: Wrong number of arguments
>
>
> On Mon, May 03 2021, Christopher Dimech wrote:
> > I am gutting an error saying
> >
> > setq-local: Wrong number of arguments: (2 . 2), 4
> >
> > Have no idea what it means.
>
> The message means that you're calling a function that takes between two and
> two
> arguments but you're passing it four. Whether this function is indeed
> `setq-local` is doubtful, because `setq-local` can take more than two
> arguments,
> as long as it has an ever number of arguments and each odd argument is a
> symbol.
>
> I can't see anything obviously wrong with the code you posted (though I may
> well
> be overlooking something...) If it were me, this would probably be the point
> where I start edebug...
>
>
> --
> Joost Kremers
> Life has its moments
>
- setq-local: Wrong number of arguments, Christopher Dimech, 2021/05/03
- Re: setq-local: Wrong number of arguments, Joost Kremers, 2021/05/04
- Re: setq-local: Wrong number of arguments, Emanuel Berg, 2021/05/04
- Re: setq-local: Wrong number of arguments,
Christopher Dimech <=
- Re: setq-local: Wrong number of arguments, Emanuel Berg, 2021/05/04
- Emacs is stable software, Jean Louis, 2021/05/04
- Re: Emacs is stable software, Emanuel Berg, 2021/05/04
- Re: Emacs is stable software, tomas, 2021/05/04
- Re: Emacs is stable software, Emanuel Berg, 2021/05/04
- Re: setq-local: Wrong number of arguments, Christopher Dimech, 2021/05/05
- Re: setq-local: Wrong number of arguments, Emanuel Berg, 2021/05/05
- Re: setq-local: Wrong number of arguments, Christopher Dimech, 2021/05/05
- Re: setq-local: Wrong number of arguments, Emanuel Berg, 2021/05/05
- Re: setq-local: Wrong number of arguments, Christopher Dimech, 2021/05/05