From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#71429: Inconsistent y-or-n-p prompt behavior in Emacs Lisp Date: Sat, 08 Jun 2024 21:08:29 +0300 Message-ID: <86msnvb942.fsf@gnu.org> References: <0a72f9c4-3f1c-4fc8-a412-169dca892b57@medialab.sissa.it> <86bk4bet9p.fsf@gnu.org> <87cyoreqpd.fsf@gmx.net> <87h6e3lemo.fsf@gmx.net> <861q57cwhi.fsf@gnu.org> <86wmmzbddb.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38983"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gabriele@medialab.sissa.it, 71429@debbugs.gnu.org, stephen.berman@gmx.net, stefankangas@gmail.com To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 08 20:10:15 2024 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 1sG0W6-0009tF-SN for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 08 Jun 2024 20:10:15 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sG0Vh-0004xi-Oi; Sat, 08 Jun 2024 14:09:49 -0400 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 1sG0Vg-0004xX-11 for bug-gnu-emacs@gnu.org; Sat, 08 Jun 2024 14:09:48 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sG0Ve-0001xF-RY for bug-gnu-emacs@gnu.org; Sat, 08 Jun 2024 14:09:47 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sG0Vt-0005SQ-SC for bug-gnu-emacs@gnu.org; Sat, 08 Jun 2024 14:10:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 08 Jun 2024 18:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71429 X-GNU-PR-Package: emacs Original-Received: via spool by 71429-submit@debbugs.gnu.org id=B71429.171787016020918 (code B ref 71429); Sat, 08 Jun 2024 18:10:01 +0000 Original-Received: (at 71429) by debbugs.gnu.org; 8 Jun 2024 18:09:20 +0000 Original-Received: from localhost ([127.0.0.1]:39407 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sG0VE-0005RK-Gt for submit@debbugs.gnu.org; Sat, 08 Jun 2024 14:09:20 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53108) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sG0VA-0005R3-Eg for 71429@debbugs.gnu.org; Sat, 08 Jun 2024 14:09:19 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sG0Un-0001uG-FX; Sat, 08 Jun 2024 14:08:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=1XgzHjYtYkVx1joUrENeOLr8sDKiQY1IVW3DUQf0auk=; b=GC8NFK9lb87H ZWK8MCIVfw5ladf5wXRBR8rYFNgrx4efDjrdhOEFcAffpCcPPB9/r8W26sD1qbSNHe+98l/nDpxlP 9L6wmFKiHFPJNQBqjWrJ1paYQsdRcWuKYyU/LtATBUY/GM8yNYWqeJ9wDcLYra8AONztfxlQnAJlS nLyB7k1UW6FPB9Ym+gyxOdEQ3KEOgv7V6rR0P2IvL0NM9lDcN4Qwk4EB7sk56H9EoplWhuE79E32/ xA03NH0nZRVSp6m501/XhcUHK/rWSVo9AZThWAmx7ol5+MC3bECOr53KRBCPdSR4vnR+1eK2tTs2V bQYc/P3RE5T2K1sin3t0/Q==; In-Reply-To: (message from Stefan Monnier on Sat, 08 Jun 2024 13:41:14 -0400) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:286887 Archived-At: > From: Stefan Monnier > Cc: stephen.berman@gmx.net, gabriele@medialab.sissa.it, > stefankangas@gmail.com, 71429@debbugs.gnu.org > Date: Sat, 08 Jun 2024 13:41:14 -0400 > > > Or maybe you are saying that a Lisp program that binds > > search-spaces-regexp has a bug, because Lisp code is not supposed to > > bind that? > > That, yes. Binding it should be done carefully only at those places > where the contained Lisp code is performing a search whose regexp was > built from interactive user input. > > If you let bind that var and then call arbitrary code, I'd > expect breakage. OK, thanks. So I now added the above caveat to the ELisp manual, and I'm closing this bug.