Subject: bug#49877: closed (Re: bug#49877: [Emacs 28.0.50 Trunk] *ERROR*: No applicable method: frame-creation-function)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 10 Aug 2021 13:44:01 +0000

Your bug report

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

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
49877: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=49877
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#49877: [Emacs 28.0.50 Trunk] *ERROR*: No applicable method: frame-creation-function
From: Stefan Monnier <[email-masked]>
To: Christian Albrecht <[email-masked]>
Cc: Lars Ingebrigtsen <[email-masked]>, [email-masked], Jacob Faibussowitsch <[email-masked]>
Date: Tue, 10 Aug 2021 09:43:30 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

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

Subject: [Emacs 28.0.50 Trunk] *ERROR*: No applicable method: frame-creation-function
From: Jacob Faibussowitsch <[email-masked]>
To: [email-masked]
Date: Wed, 4 Aug 2021 12:03:07 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

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)