emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#64402: closed (Byte compile bug in calfw)


From: GNU bug Tracking System
Subject: bug#64402: closed (Byte compile bug in calfw)
Date: Sun, 02 Jul 2023 08:20:01 +0000

Your message dated Sun, 02 Jul 2023 11:20:08 +0300
with message-id <83v8f2ohc7.fsf@gnu.org>
and subject line Re: bug#64402: Byte compile bug in calfw
has caused the debbugs.gnu.org bug report #64402,
regarding Byte compile bug in calfw
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
64402: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64402
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: Byte compile bug in calfw Date: Sat, 01 Jul 2023 16:31:32 +0200 User-agent: mu4e 1.11.6; emacs 30.0.50
Hello,

I have tried to re-use the package calfw (https://melpa.org/#/calfw)
that I had not used in a while.

Sadly, it did not work and the backtrace looked rather strange. After a
while I have been comparing the bytecode of the faulty function that I
have with my present version of emacs :

GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo 
version 1.16.0) 

to the one that was compiled with emacs 28.2 which was working when I
was using it.


Emacs 30.0.50 bytecode

(defalias 'cfw:dest-ol-selection-clear #[(dest) "\304!\305     :\203  
@\306\n!\210    A\211\202*\307!\310\305\311#)\207" [dest #1=#:--cl-var-- i 
#2=#:v #[(cl-x) "\301!\204\302\303\304D\"\210\305H\207" [cl-x #[(cl-x) 
"\302!        >\205   \303\207" [cl-x cl-struct-cfw:dest-tags type-of t] 2] 
signal wrong-type-argument cfw:dest 10] 4] nil delete-overlay #[(cl-x) 
"\301!\204\302\303\304D\"\210\305H\207" [cl-x #[(cl-x) "\302! >\205   
\303\207" [cl-x cl-struct-cfw:dest-tags type-of t] 2] signal 
wrong-type-argument cfw:dest 10] 4] \(setf\ 
internal--with-suppressed-warnings\) ((lexical cl-x))] 5 (#$ . 69087)])

Emacs 28.2 bytecode

(defalias 'cfw:dest-ol-selection-clear #[(dest) "\305! 
>\204\306\307\310D\"\210\311H\312\n:\203(\n@\313!\210\nA\211\202*\305!    
>\2048\306\307\310D\"\210\211\311\312I)\207" [dest cl-struct-cfw:dest-tags 
#1=#:--cl-var-- i #2=#:v type-of signal wrong-type-argument cfw:dest 10 nil 
delete-overlay] 5 (#$ . 60812)])

The error raised in the backtrace in emacs 30 is produced by the
function call :

\(setf\ internal--with-suppressed-warnings\) ((lexical cl-x))

It seems that the problem is actually coming from the byte compiler.
Maybe calfw is using a particular combination of features that stumbles
on this problem.

Best,

S.




--- End Message ---
--- Begin Message --- Subject: Re: bug#64402: Byte compile bug in calfw Date: Sun, 02 Jul 2023 11:20:08 +0300
> Date: Sun, 02 Jul 2023 07:44:01 +0200
> From:  Sylvain Salvati via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> >
> > Is that built from the current HEAD of the master branch?  If not,
> > please update from Git, bootstrap, and try again.  There were several
> > problems with byte code fixed lately on the master branch.
> >
> 
> I recompiled emacs from the current HEAD. It now works.

Thanks, I'm therefore closing this bug.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]