From: Madhu <enometh@meer.net>
To: 47327@debbugs.gnu.org
Subject: bug#47327: 28.0.50; (cl-generic) eql specializer not evaluated
Date: Tue, 10 Aug 2021 18:09:46 +0530 [thread overview]
Message-ID: <m3pmulbhil.fsf@leonis4.robolove.meer.net> (raw)
In-Reply-To: <87k0pz5d6u.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 601 bytes --]
`emacs --daemon'
`emacsclient -t' fails to start with a no matching method error
*ERROR*: No applicable method: frame-creation-function,
((vertical-scroll-bars) (height . 32) (width . 80) (client . #<process
server <3>>) [...] (window-system) (tty . "/dev/pts/3") (tty-type
. "xterm-256color"))
The following patch might fix it, but it behaves strangely. After the
fix (without recompiling the emacs binary) if I stick in a (load-library
"frame") in my .emacs, the method does not appear to be patched. - I
have to use a graphical `emacsclient -n -c' and then compile/load
frame.el again.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: lisp-frame.el-frame-creation-function-fix-window-system.patch --]
[-- Type: text/x-diff, Size: 638 bytes --]
diff --git a/lisp/frame.el b/lisp/frame.el
--- a/lisp/frame.el
+++ b/lisp/frame.el
@@ -38,7 +38,7 @@ window-system
;; so just use it, and anyway `eql' isn't very useful on cons cells.
`(window-system ,(if (consp value) value `(eql ',value))))
-(cl-defmethod frame-creation-function (params &context (window-system nil))
+(cl-defmethod frame-creation-function (params &context (window-system (eql 'nil)))
;; It's tempting to get rid of tty-create-frame-with-faces and turn it into
;; this method (i.e. move this method to faces.el), but faces.el is loaded
;; much earlier from loadup.el (before cl-generic and even before
next prev parent reply other threads:[~2021-08-10 12:39 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-22 17:08 bug#47327: 28.0.50; (cl-generic) eql specializer not evaluated akater
2021-03-23 23:19 ` Michael Heerdegen
2021-03-23 23:32 ` akater
2021-03-24 0:22 ` Michael Heerdegen
2021-07-02 11:25 ` akater
2021-07-16 3:03 ` Michael Heerdegen
2021-07-16 21:00 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-07-19 21:22 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-07-20 2:28 ` akater
2021-08-03 16:00 ` akater
2021-08-03 23:02 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-08-10 12:39 ` Madhu [this message]
2021-08-10 12:56 ` Christian Albrecht via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-08-19 11:41 ` Madhu
2021-08-19 13:10 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3pmulbhil.fsf@leonis4.robolove.meer.net \
--to=enometh@meer.net \
--cc=47327@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).