all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: John Paul Wallington <jpw@shootybangbang.com>
Cc: johnw@gnu.org,  emacs-devel@gnu.org
Subject: Re: display-pixel-height not working as advertized
Date: Thu, 11 Apr 2002 00:27:45 +0100	[thread overview]
Message-ID: <878z7vp21a.fsf@bundalo.shootybangbang.com> (raw)
In-Reply-To: <200204091208.g39C8em20490@aztec.santafe.edu> (Richard Stallman's message of "Tue, 9 Apr 2002 06:08:40 -0600 (MDT)")

Richard Stallman <rms@gnu.org> wrote:

>     This seems to be because (framep-on-display "some.host.com:0") always
>     returns nil.
>
> Since the failure is happening on your machine, could you debug why it
> fails?

Should `frames-on-display-list' use equal instead of eq ?

(defun frames-on-display-list (&optional display)
  "Return a list of all frames on DISPLAY.
DISPLAY is a name of a display, a string of the form HOST:SERVER.SCREEN.
If DISPLAY is omitted or nil, it defaults to the selected frame's display."
  (let* ((display (or display (frame-parameter nil 'display)))
	 (func #'(lambda (frame)
-		   (eq (frame-parameter frame 'display) display))))
+		   (equal (frame-parameter frame 'display) display))))
    (filtered-frame-list func)))

-- 
John Paul Wallington

  reply	other threads:[~2002-04-10 23:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-08 11:10 display-pixel-height not working as advertized John Wiegley
2002-04-09  7:43 ` Eli Zaretskii
2002-04-09 12:08 ` Richard Stallman
2002-04-10 23:27   ` John Paul Wallington [this message]
2002-04-12  3:12     ` Richard Stallman

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878z7vp21a.fsf@bundalo.shootybangbang.com \
    --to=jpw@shootybangbang.com \
    --cc=emacs-devel@gnu.org \
    --cc=johnw@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.