GNU bug report logs - #49877
[Emacs 28.0.50 Trunk] *ERROR*: No applicable method: frame-creation-function

Previous Next

Package: emacs;

Reported by: Jacob Faibussowitsch <jacob.fai <at> gmail.com>

Date: Wed, 4 Aug 2021 16:04:01 UTC

Severity: normal

Tags: moreinfo

Merged with 49866

Found in version 28.0.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#49877: closed ([Emacs 28.0.50 Trunk] *ERROR*: No applicable
 method: frame-creation-function)
Date: Tue, 10 Aug 2021 13:44:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 10 Aug 2021 09:43:30 -0400
with message-id <jwvo8a58lm9.fsf-monnier+emacs <at> gnu.org>
and subject line Re: bug#49877: [Emacs 28.0.50 Trunk] *ERROR*: No applicable method: frame-creation-function
has caused the debbugs.gnu.org bug report #49877,
regarding [Emacs 28.0.50 Trunk] *ERROR*: No applicable method: frame-creation-function
to be marked as done.

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


-- 
49877: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=49877
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Jacob Faibussowitsch <jacob.fai <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: [Emacs 28.0.50 Trunk] *ERROR*: No applicable method:
 frame-creation-function
Date: Wed, 4 Aug 2021 12:03:07 -0400
[Message part 3 (text/plain, inline)]
Hello Emacs Devs,

Full error message:

*ERROR*: No applicable method: frame-creation-function, ((client . #<process server <15>>) (environment "_=/usr/local/bin/emacsclient" "TERM_PROGRAM=iTerm.app" "__CF_USER_TEXT_ENCODING=0x1F5:0x0:0x0" "OLDPWD=/Users/jacobfaibussowitsch/NoSync/petsc" "MFEM_DIR=/Users/jacobfaibussowitsch/NoSync/mfem" "REMOTE_USER=jacobfaibussowitsch" "PATH=/usr/local/opt/ccache/libexec:/usr/local/opt/gnu-sed/libexec/gnubin:/Users/jacobfaibussowitsch/NoSync/petscpackages/bin:/Users/jacobfaibussowitsch/bin:/usr/local/bin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/X11R6/bin:/usr/local/sbin:/Users/jacobfaibussowitsch/.cargo/bin" "PS1=[darwin-c-debug]\\[\\][\\[\\]LOC\\[\\]\\[\\]]\\[\\]\\[\\033[36m\\]$(parse_git_branch)\\[\\033[m\\]@\\[\\033[33;1m\\]\\w\\[\\033[m\\]$ " "XPC_SERVICE_NAME=0" "SHLVL=1" "DISPLAY=/private/tmp/com.apple.launchd.7c2LVKTrQr/org.xquartz:0" "LC_TERMINAL_VERSION=3.4.9beta1" "PETSC_ARCH=arch-darwin-c-debug" "olcftutorialdir=/ccs/hom

How to reproduce:

1. Build latest trunk
2. $ emacsclient -c ./path/to/file
*in another terminal window*
3. $ emacsclient -c

Possible culprit(?):

This recent merge https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=6535fd1fa9ac21238a168916249ac59677a6118e <https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=6535fd1fa9ac21238a168916249ac59677a6118e> introduced

diff --git a/lisp/frame.el b/lisp/frame.el
index 9b3d120598..8c05ad2fe5 100644
--- a/lisp/frame.el
+++ b/lisp/frame.el
@@ -36,7 +36,11 @@ as its argument.")
(cl-generic-define-context-rewriter window-system (value)
;; If `value' is a `consp', it's probably an old-style specializer,
;; so just use it, and anyway `eql' isn't very useful on cons cells.
- `(window-system ,(if (consp value) value `(eql ,value))))
+ `(window-system ,(if (consp value) value
+ ;; WARNING: unsure whether this eql expression
+ ;; is actually an eql specializer.
+ ;; Bug #47327
+ `(eql ',value))))

Specifically the last line `(eql ‘,value). Removing the quote from value (i.e. `(eql ,value) ) fixed things on my end. Seems the warning was salient ;)

Best regards,

Jacob Faibussowitsch
(Jacob Fai - booss - oh - vitch)

[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Christian Albrecht <christian.albrecht <at> mayflower.de>
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, 49877-close <at> debbugs.gnu.org,
 Jacob Faibussowitsch <jacob.fai <at> gmail.com>
Subject: Re: bug#49877: [Emacs 28.0.50 Trunk] *ERROR*: No applicable method:
 frame-creation-function
Date: Tue, 10 Aug 2021 09:43:30 -0400
Hi Christian,

Christian Albrecht [2021-08-10 08:14:25] wrote:
>>> It is for me. Commit [1] fixes the error described in bug#49877 while
>>> previous commit [2] still trigggers.
>> Dang. I ment bug#49866 of course.
> It's embarrassing, but for the sake of clarity, indeed i was referring
> bug#49877: [Emacs 28.0.50 Trunk] *ERROR*: No applicable method:
> frame-creation-function
> Now i stop hasty spamming.

Thanks for confirming.  I'm thus closing this bug report.
You still have a few weeks to add a couple more clarifications of your
clarifications, of course (after which, the bug will be "archived")  ;-)


        Stefan



This bug report was last modified 3 years and 346 days ago.

Previous Next


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