From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#48925: [PATCH] Set `minibuffer-completion-*` variables buffer-locally in a few more places Date: Thu, 11 Nov 2021 18:58:51 -0500 Message-ID: References: <87fsxstdiy.fsf@miha-pc> <87czn79smi.fsf@gnus.org> <87mtmbgehx.fsf@miha-pc> <83lf1v0w6y.fsf@gnu.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17870"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: larsi@gnus.org, 48925@debbugs.gnu.org, miha@kamnitnik.top To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 12 00:59:19 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 1mlJyQ-0004PW-J8 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 12 Nov 2021 00:59:18 +0100 Original-Received: from localhost ([::1]:43360 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mlJyM-0007Ro-Ot for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 11 Nov 2021 18:59:14 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:34600) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlJyA-0007Rf-Re for bug-gnu-emacs@gnu.org; Thu, 11 Nov 2021 18:59:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59239) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mlJyA-0006HG-JP for bug-gnu-emacs@gnu.org; Thu, 11 Nov 2021 18:59:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mlJyA-0000BS-Iw for bug-gnu-emacs@gnu.org; Thu, 11 Nov 2021 18:59:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Nov 2021 23:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48925 X-GNU-PR-Package: emacs Original-Received: via spool by 48925-submit@debbugs.gnu.org id=B48925.1636675138697 (code B ref 48925); Thu, 11 Nov 2021 23:59:02 +0000 Original-Received: (at 48925) by debbugs.gnu.org; 11 Nov 2021 23:58:58 +0000 Original-Received: from localhost ([127.0.0.1]:42552 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlJy6-0000BA-NU for submit@debbugs.gnu.org; Thu, 11 Nov 2021 18:58:58 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:37803) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlJy5-0000At-VH for 48925@debbugs.gnu.org; Thu, 11 Nov 2021 18:58:58 -0500 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id D6334440B69; Thu, 11 Nov 2021 18:58:51 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 10108440B45; Thu, 11 Nov 2021 18:58:50 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1636675130; bh=tT0+bjkhoVPzFksJ1HiibhaXJoxQytYoTcA51ve5NQo=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=LnPknv+ysPnXA8kDIlbvI+OeYi9KnsOF7F41xaq+2zArYfIf7vQa7r38OpMu5EM9i lvorvvyjo8WdWA+8ZjRZ7fALIM2dJ5F682a+Bfl3zouSPI4EGlDiS6E14geNjR3eW2 4l7s4BWdllMdgKoz+KU/qiQjO5a2k/NXlywujNjtNHr33N0KJ//+h4aUAURCZ6eiZo hpKmZEos4Vo5k67IjzksOksrFQJkbj5/b69tOndbQhYim7QzG1gaC0mQaeVldBB+wv /PlGPPtQMIo89vd5sctkNuDUUqiRS3b/6mI5DadpUqS00VGJhl1ealVXIkV9Nhpqwr hfhWbXB+k2LCQ== Original-Received: from milanesa (unknown [45.72.241.23]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id B8B641209AF; Thu, 11 Nov 2021 18:58:49 -0500 (EST) In-Reply-To: <83lf1v0w6y.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 11 Nov 2021 13:27:01 +0200") 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:219693 Archived-At: > Moving read-string to subr.el means the function will be unavailable > during loadup until subr.elc is loaded. I believe this should not be a problem: `read-string` is only used for interaction with the user so it's never used until much later than the load of `subr.el` (it's not used during bootstrap). > What is awkward to do in C? We don't have anby facility to create closures from C, so we'd basically have to call an ELisp function to create the closure. Stefan