GNU bug report logs - #79390
31.0.50; oauth2.el; error in byte-compiling

Previous Next

Package: emacs;

Reported by: Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>

Date: Fri, 5 Sep 2025 15:32:02 UTC

Severity: normal

Found in version 31.0.50

Full log


Message #11 received at 79390 <at> debbugs.gnu.org (full text, mbox):

From: Xiyue Deng <manphiz <at> gmail.com>
To: Sean Whitton <spwhitton <at> spwhitton.name>, Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>
Cc: 79390 <at> debbugs.gnu.org
Subject: Re: bug#79390: 31.0.50; oauth2.el; error in byte-compiling
Date: Fri, 05 Sep 2025 17:01:28 -0700
[Message part 1 (text/plain, inline)]
Hi Ito-san, Sean,

Sean Whitton <spwhitton <at> spwhitton.name> writes:

> Hello,
>
> Thanks.  Adding Xiyue.
>
> On Sat 06 Sep 2025 at 12:30am +09, Kazuhiro Ito wrote:
>
>> When I byte-compile oauth2.el (0.18), below errors and warnings are
>> displayed and fail to byte-compiling.
>>
>>
>> In oauth2--build-url-param-str:
>> oauth2.el:164:12: Error: ‘add-to-list’ can’t use lexical var ‘data-list’;
>>     use ‘push’ or ‘cl-pushnew’
>>
>> In oauth2--generate-code-verifier:
>> oauth2.el:187:11: Warning: Unused lexical variable ‘func-name’
>>
>> In oauth2-request-authorization:
>> oauth2.el:223:16: Error: ‘add-to-list’ can’t use lexical var ‘param’; use
>>     ‘push’ or ‘cl-pushnew’
>>
>> In end of data:
>> oauth2.el:124:8: Warning: the function ‘org-plist-delete’ is not known to be
>>     defined.
>
> -- 
> Sean Whitton

Thanks for the report!  I have now pushed a few fixes which should
handle those warnings/errors plus a few other fixes.  I have also added
build checks in Gitlab CI.  Now tagged v0.18.1.  Please help check
whether those fixes work for you.

-- 
Regards,
Xiyue Deng
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified today.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.