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

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

bug#54079: closed (29.0.50; Method dispatching eratically fails)


From: GNU bug Tracking System
Subject: bug#54079: closed (29.0.50; Method dispatching eratically fails)
Date: Wed, 16 Mar 2022 19:30:02 +0000

Your message dated Wed, 16 Mar 2022 19:29:40 +0000
with message-id <YjI6pNR+qWoiE94f@ACM>
and subject line Re: bug#54079: 29.0.50; Method dispatching eratically fails
has caused the debbugs.gnu.org bug report #54079,
regarding 29.0.50; Method dispatching eratically fails
to be marked as done.

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


-- 
54079: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=54079
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: 29.0.50; Method dispatching eratically fails Date: Mon, 21 Feb 2022 01:12:56 +0100
Hello,

this happens on trunk.

I extended register.el with new register content types.  This involves a
lot of method definitions like

  (cl-defmethod register-val-jump-to ((val TYPE) arg))

where TYPE refers to some of my self defined container types for
register contents.

I byte compile my init file (where these definitions live).

My problem: the dispatching of these methods is often erratically
broken.  The methods then are not used although their type should match.
The according test for VAL being of the TYPE, e.g. by using the
according type predicate, succeeds.

This happens randomly.  Sometimes it's broken from the beginning of a
session, sometimes not, sometimes it breaks later while working.  When
it happens, sometimes not all types are affected.  Sometimes reloading
my init file fixes the problem, sometimes not.  I don't see a clear
pattern.

Maybe there is a relation to the symbol-with-position patch (just
guessing)?

That's all I can say.  So far I failed to reproduce something like this
in emacs -Q, I don't have a recipe, and maybe it's even my fault, I have
no clue.  Maybe the behavior depends on what was loaded (and how, and in
which order) before the file is compiled.

TIA,

Michael.






--- End Message ---
--- Begin Message --- Subject: Re: bug#54079: 29.0.50; Method dispatching eratically fails Date: Wed, 16 Mar 2022 19:29:40 +0000
Hello, Michael.

On Wed, Mar 16, 2022 at 02:44:07 +0100, Michael Heerdegen wrote:
> Alan Mackenzie <acm@muc.de> writes:

> > OK.  So the longer I hear nothing from you, the better.  ;-)  Thanks!

> Hope it was long enough :-)

Yes, thanks!  I've committed a patch (slightly different from the one
you tested ;-), and I'm closing the bug with this post.

[ .... ]

> Michael.

-- 
Alan Mackenzie (Nuremberg, Germany).


--- End Message ---

reply via email to

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