From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#29713: 26.0; Provide completion for `make-frame-on-display' Date: Thu, 18 Mar 2021 19:04:42 +0200 Message-ID: <8735wsque1.fsf@linkov.net> References: <87y310wkzb.fsf@mouse.gnus.org> <875zo4v1t1.fsf@mail.linkov.net> <87eegcwofb.fsf@tcd.ie> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="675"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: 29713@debbugs.gnu.org, Lars Ingebrigtsen To: "Basil L. Contovounesios" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 18 18:09:13 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lMw93-00006w-R2 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 18 Mar 2021 18:09:13 +0100 Original-Received: from localhost ([::1]:58420 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lMw92-0008Fy-LW for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 18 Mar 2021 13:09:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42006) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMw8s-0008Dj-UI for bug-gnu-emacs@gnu.org; Thu, 18 Mar 2021 13:09:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36375) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lMw8s-0007xQ-Lm for bug-gnu-emacs@gnu.org; Thu, 18 Mar 2021 13:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lMw8s-0003aJ-Gr for bug-gnu-emacs@gnu.org; Thu, 18 Mar 2021 13:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 18 Mar 2021 17:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29713 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 29713-submit@debbugs.gnu.org id=B29713.161608733513740 (code B ref 29713); Thu, 18 Mar 2021 17:09:02 +0000 Original-Received: (at 29713) by debbugs.gnu.org; 18 Mar 2021 17:08:55 +0000 Original-Received: from localhost ([127.0.0.1]:47916 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMw8k-0003ZX-MZ for submit@debbugs.gnu.org; Thu, 18 Mar 2021 13:08:54 -0400 Original-Received: from relay8-d.mail.gandi.net ([217.70.183.201]:37071) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMw8i-0003ZG-Jh for 29713@debbugs.gnu.org; Thu, 18 Mar 2021 13:08:53 -0400 X-Originating-IP: 91.129.107.223 Original-Received: from mail.gandi.net (m91-129-107-223.cust.tele2.ee [91.129.107.223]) (Authenticated sender: juri@linkov.net) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id DBC641BF211; Thu, 18 Mar 2021 17:08:43 +0000 (UTC) In-Reply-To: <87eegcwofb.fsf@tcd.ie> (Basil L. Contovounesios's message of "Thu, 18 Mar 2021 14:02:00 +0000") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:202626 Archived-At: >> Maybe it could use `x-display-list'. But I don't know how portable it is. >> Is `x-display-list' available on OSX and Windows? > > It's not available on --without-x builds: > > 0. ./src/emacs -Q > 1. M-x toggle-debug-on-error RET > 2. M-x make-frame-on-display RET > Debugger entered--Lisp error: (void-function x-display-list) > > What's TRT here? Maybe fall back to previous implementation replaced by x-display-list in 0746a9e275d, i.e. (if (fboundp 'x-display-list) (x-display-list) (delete-dups (mapcar (lambda (frame) (frame-parameter frame 'display)) (frame-list)))) Does this fail on --without-x builds?