* bug#67587: 30.0.50; function defined by cl-defmethod returns nil instead of fixed str
@ 2023-12-02 11:37 Vonfry via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-12-09 8:34 ` Eli Zaretskii
0 siblings, 1 reply; 6+ messages in thread
From: Vonfry via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-12-02 11:37 UTC (permalink / raw)
To: 67587
(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
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#67587: 30.0.50; function defined by cl-defmethod returns nil instead of fixed str
2023-12-02 11:37 bug#67587: 30.0.50; function defined by cl-defmethod returns nil instead of fixed str Vonfry via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2023-12-09 8:34 ` Eli Zaretskii
2023-12-09 19:05 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
0 siblings, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2023-12-09 8:34 UTC (permalink / raw)
To: Vonfry, Stefan Monnier; +Cc: 67587
> 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@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.
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#67587: 30.0.50; function defined by cl-defmethod returns nil instead of fixed str
2023-12-09 8:34 ` Eli Zaretskii
@ 2023-12-09 19:05 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-12-09 19:16 ` Eli Zaretskii
2023-12-10 2:50 ` Vonfry via Bug reports for GNU Emacs, the Swiss army knife of text editors
0 siblings, 2 replies; 6+ messages in thread
From: Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-12-09 19:05 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 67587, Vonfry
>> 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@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
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#67587: 30.0.50; function defined by cl-defmethod returns nil instead of fixed str
2023-12-09 19:05 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2023-12-09 19:16 ` Eli Zaretskii
2023-12-10 2:50 ` Vonfry via Bug reports for GNU Emacs, the Swiss army knife of text editors
1 sibling, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2023-12-09 19:16 UTC (permalink / raw)
To: Stefan Monnier; +Cc: 67587, emacs
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: Vonfry <emacs@vonfry.name>, 67587@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@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.
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#67587: 30.0.50; function defined by cl-defmethod returns nil instead of fixed str
2023-12-09 19:05 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-12-09 19:16 ` Eli Zaretskii
@ 2023-12-10 2:50 ` Vonfry via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-12-10 9:24 ` Eli Zaretskii
1 sibling, 1 reply; 6+ messages in thread
From: Vonfry via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-12-10 2:50 UTC (permalink / raw)
To: 67587
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@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@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
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2023-12-10 9:24 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-02 11:37 bug#67587: 30.0.50; function defined by cl-defmethod returns nil instead of fixed str Vonfry via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-12-09 8:34 ` Eli Zaretskii
2023-12-09 19:05 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-12-09 19:16 ` Eli Zaretskii
2023-12-10 2:50 ` Vonfry via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-12-10 9:24 ` Eli Zaretskii
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.