GNU bug report logs -
#67587
30.0.50; function defined by cl-defmethod returns nil instead of fixed str
Previous Next
Reported by: Vonfry <emacs <at> vonfry.name>
Date: Sat, 2 Dec 2023 18:28:02 UTC
Severity: normal
Found in version 30.0.50
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 67587 in the body.
You can then email your comments to 67587 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#67587
; Package
emacs
.
(Sat, 02 Dec 2023 18:28:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Vonfry <emacs <at> vonfry.name>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sat, 02 Dec 2023 18:28:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
(cl-defmethod foo ((_e (eql foo))) "docstr" "result str")
(foo 'foo)
In Emacs 29, it returns "result str", but nil in Emacs 30.
In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo
version 1.18.0, Xaw3d scroll bars)
Repository revision: eec1142acdde9d10781c781e7890c2d26f7e6b2d
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101009
System Description: NixOS 24.05 (Uakari)
Configured using:
'configure
--prefix=/nix/store/fhijpc8iazd3xn9881mfwfwjs63bfwdf-emacs-git-20231201.0
--disable-build-details --with-modules --with-x-toolkit=lucid
--with-xft --with-cairo --with-native-compilation --with-tree-sitter'
Configured features:
CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON
LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY
INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XAW3D XDBE XIM XPM LUCID ZLIB
Important settings:
value of $EMACSLOADPATH:
value of $EMACSNATIVELOADPATH:
value of $LANG: en_US.UTF-8
value of $XMODIFIERS: @im=fcitx
locale-coding-system: utf-8-unix
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#67587
; Package
emacs
.
(Sat, 09 Dec 2023 08:35:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 67587 <at> debbugs.gnu.org (full text, mbox):
> Date: Sat, 02 Dec 2023 19:37:15 +0800
> From: Vonfry via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
>
>
> (cl-defmethod foo ((_e (eql foo))) "docstr" "result str")
> (foo 'foo)
>
> In Emacs 29, it returns "result str", but nil in Emacs 30.
Adding Stefan, in case he has some comments or suggestions.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#67587
; Package
emacs
.
(Sat, 09 Dec 2023 19:06:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 67587 <at> debbugs.gnu.org (full text, mbox):
>> Date: Sat, 02 Dec 2023 19:37:15 +0800
>> From: Vonfry via "Bug reports for GNU Emacs,
>> the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
>>
>>
>> (cl-defmethod foo ((_e (eql foo))) "docstr" "result str")
>> (foo 'foo)
>>
>> In Emacs 29, it returns "result str", but nil in Emacs 30.
>
> Adding Stefan, in case he has some comments or suggestions.
I suspect this is bug#67568, we which already fixed.
Stefan
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#67587
; Package
emacs
.
(Sat, 09 Dec 2023 19:18:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 67587 <at> debbugs.gnu.org (full text, mbox):
> From: Stefan Monnier <monnier <at> iro.umontreal.ca>
> Cc: Vonfry <emacs <at> vonfry.name>, 67587 <at> debbugs.gnu.org
> Date: Sat, 09 Dec 2023 14:05:04 -0500
>
> >> Date: Sat, 02 Dec 2023 19:37:15 +0800
> >> From: Vonfry via "Bug reports for GNU Emacs,
> >> the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> >>
> >>
> >> (cl-defmethod foo ((_e (eql foo))) "docstr" "result str")
> >> (foo 'foo)
> >>
> >> In Emacs 29, it returns "result str", but nil in Emacs 30.
> >
> > Adding Stefan, in case he has some comments or suggestions.
>
> I suspect this is bug#67568, we which already fixed.
OK, then the OP should try the latest master branch and see if the
problem is resolved.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#67587
; Package
emacs
.
(Sun, 10 Dec 2023 07:25:02 GMT)
Full text and
rfc822 format available.
Message #17 received at submit <at> debbugs.gnu.org (full text, mbox):
The newest master has fixed the issue. Thanks!
Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org> writes:
>>> Date: Sat, 02 Dec 2023 19:37:15 +0800
>>> From: Vonfry via "Bug reports for GNU Emacs,
>>> the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
>>>
>>>
>>> (cl-defmethod foo ((_e (eql foo))) "docstr" "result str")
>>> (foo 'foo)
>>>
>>> In Emacs 29, it returns "result str", but nil in Emacs 30.
>>
>> Adding Stefan, in case he has some comments or suggestions.
>
> I suspect this is bug#67568, we which already fixed.
>
>
> Stefan
Reply sent
to
Eli Zaretskii <eliz <at> gnu.org>
:
You have taken responsibility.
(Sun, 10 Dec 2023 09:25:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Vonfry <emacs <at> vonfry.name>
:
bug acknowledged by developer.
(Sun, 10 Dec 2023 09:25:02 GMT)
Full text and
rfc822 format available.
Message #22 received at 67587-done <at> debbugs.gnu.org (full text, mbox):
> Date: Sun, 10 Dec 2023 10:50:24 +0800
> From: Vonfry via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
>
>
> The newest master has fixed the issue. Thanks!
OK, closing.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 07 Jan 2024 12:24:10 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 125 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.