From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Gerd_M=C3=B6llmann?= Newsgroups: gmane.emacs.devel Subject: Re: assq_no_quit... huh? Date: Fri, 20 Dec 2024 06:18:00 +0100 Message-ID: References: <87zfkrp0da.fsf.ref@yahoo.com> <87zfkrp0da.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6378"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 20 06:19:02 2024 Return-path: Envelope-to: ged-emacs-devel@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 1tOVPi-0001XA-FH for ged-emacs-devel@m.gmane-mx.org; Fri, 20 Dec 2024 06:19:02 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tOVOw-0004iC-8F; Fri, 20 Dec 2024 00:18:14 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tOVOo-0004hm-Pn for emacs-devel@gnu.org; Fri, 20 Dec 2024 00:18:06 -0500 Original-Received: from mail-ej1-x631.google.com ([2a00:1450:4864:20::631]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tOVOn-0002Am-Aj for emacs-devel@gnu.org; Fri, 20 Dec 2024 00:18:06 -0500 Original-Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-aa684b6d9c7so273729566b.2 for ; Thu, 19 Dec 2024 21:18:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734671883; x=1735276683; darn=gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=lCFcPBy2HG7AVBukR9fNDIG2wUojdNBkOfNgvLcbXac=; b=FcyTZIy6Jbw+TZL+3PG58mk+dplwowgHj3XpyLQkHy3ul/NiaRw2yLPtLpCgFUB4q0 C/Zgek9dUFtf+dkhLrm7bLY8pDq3E0lcJVyTjiq6XkHAmtsmoXUxzdcIyP40NRJba2SS tUBZCQfR7pp/VMJ4xh6kgdzK/Ok8pf+6Q2tbiqfAA5pwGyHPm0/DiRqPXgizCi56eGw4 LH3Al3Ga4U9/NIcP5diRSv6V5iIp//Eq03cw0e2TwTwFulrTlOu1KkIbWc8j9luWF9+p 8/LFtKCKmm9kbQ0f072sk4b5mPYPHbmV7huCyftsbAJd29VqGKDRlDDh4tAiu4dUOx1l Q+kA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734671883; x=1735276683; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=lCFcPBy2HG7AVBukR9fNDIG2wUojdNBkOfNgvLcbXac=; b=iDNuQ7+0EeR5Cxc89TfpvVUSULw7jecVoRiK6Ze1bSXjiQXXmtSheb2S9X8I7jYn5E 55dtcMwRqVRddrya9u/XTdkB+IbL22Y6eP/+jGfDrD1db626OkblnmOT4H6+nE4tlt2M B6VIBPJGOV07ZnQyZyp1vzvT2is+SYNWklqLn9zweFBH03Dokvnabjm+swTpfgwPDuC3 js7NMIWzHEtF4RbiVUGPcU/at10tSQ4xbNWGng6xXk1zkKICQOthfUWApkD3tnayAo0m 3/5fQlocevFBRYoyZaz1ohqGPPf89AC9pE+FyFqNTmz4gM8pLnKiK9g0HaopqTkPBOvP tqhQ== X-Gm-Message-State: AOJu0Yx/qkAzqVlg45e9q6m7B03Ljac3lPS4e2oV0P8e9H5xgB9wF7Ot olwdzltZOizHKGMgg/g5zZrNGHPiFkHYM8ROfxgETN5KEgRdHVO5IdEKVw== X-Gm-Gg: ASbGncuFInB+spWTzsrKAIYHPtfL0DeHmj15tplNEv0DyPoZacsVUOe9W5SCNlzb949 mfhe1LtBYeOnTwPJUqJ2P/0NNx7QpHnAPd2blG8d/tqqQ4ozLD23T9lu4/XhitEG3aT8rfaD5LE 0swtAeq4MD5flYA/hjbLxHjE/8xUoEGNIqeGshhSR5TydQab2HRuRFO0NijAh1nR7RPfruzU5Fp zF68AHkhQUhY3xdc7TrnBYeQWqrTP4UwBKPlmvXwB9t1KZ09CbIm1AMYcKWsdDaGBYRUTScCvW9 9WlHjI34MFLtsdXhQKavpDyaq4o+6lk4DdB2QmbiC4dzHB0LCchEk0FZFQfPgDcxOQ== X-Google-Smtp-Source: AGHT+IFx4fY6meTobNWoNu0GKkHpjwuMn+fKyhZpH0/5/2rDflfO43TzVLOTNwS1eVgfTdaidoixuQ== X-Received: by 2002:a17:907:6096:b0:aa6:800a:128b with SMTP id a640c23a62f3a-aac271305cemr103912866b.9.1734671882901; Thu, 19 Dec 2024 21:18:02 -0800 (PST) Original-Received: from pro2 (p200300e0b70a560050feb175441df3ce.dip0.t-ipconnect.de. [2003:e0:b70a:5600:50fe:b175:441d:f3ce]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aac0efe4e5csm135913166b.115.2024.12.19.21.18.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Dec 2024 21:18:02 -0800 (PST) In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llmann=22'?= =?utf-8?Q?s?= message of "Fri, 20 Dec 2024 06:00:35 +0100") Received-SPF: pass client-ip=2a00:1450:4864:20::631; envelope-from=gerd.moellmann@gmail.com; helo=mail-ej1-x631.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:326773 Archived-At: Gerd M=C3=B6llmann writes: > Po Lu 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))) <=3D=3D=3D >> tty_root_frames =3D 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. Should be fixed now.