all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Gerd Möllmann" <gerd.moellmann@gmail.com>
To: Po Lu <luangruo@yahoo.com>
Cc: emacs-devel@gnu.org
Subject: Re: assq_no_quit... huh?
Date: Fri, 20 Dec 2024 06:00:35 +0100	[thread overview]
Message-ID: <m2r0633q4s.fsf@gmail.com> (raw)
In-Reply-To: <87zfkrp0da.fsf@yahoo.com> (Po Lu's message of "Fri, 20 Dec 2024 10:13:53 +0800")

Po Lu <luangruo@yahoo.com> writes:

> What's the meaning of this code?
>
> 	  if (is_tty_frame (f))
> 	    {
> 	      /* Ignore all invisble tty frames, children or root.  */
> 	      if (!FRAME_VISIBLE_P (root_frame (f)))
> 		continue;
>
> 	      /* Remember tty root frames which we've seen.  */
> 	      if (!FRAME_PARENT_FRAME (f)
> 		  && NILP (assq_no_quit (frame, tty_root_frames))) <===
> 		tty_root_frames = Fcons (frame, tty_root_frames);
> 	    }
>
> No alist is being constructed and consequently assq_no_quit always
> returns nil.

Thanks, that's a bug. It would have better been memq_no_quit but that
doesn't seem to exist anymore. Will be fixed soon.



  reply	other threads:[~2024-12-20  5:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87zfkrp0da.fsf.ref@yahoo.com>
2024-12-20  2:13 ` assq_no_quit... huh? Po Lu
2024-12-20  5:00   ` Gerd Möllmann [this message]
2024-12-20  5:18     ` Gerd Möllmann
2024-12-20  7:41     ` Eli Zaretskii
2024-12-20  7:49       ` Gerd Möllmann

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=m2r0633q4s.fsf@gmail.com \
    --to=gerd.moellmann@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=luangruo@yahoo.com \
    /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.