From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Dmitry Gutov <dmitry@gutov.dev>
Newsgroups: gmane.emacs.bugs
Subject: bug#67310: [PATCH] Include the project--list as history when
 prompting for a project
Date: Tue, 21 Nov 2023 13:06:40 +0200
Message-ID: <dc5ad8f4-b857-ea87-d178-bae903cee517@gutov.dev>
References: <ier8r6s42on.fsf@janestreet.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="37078"; mail-complaints-to="usenet@ciao.gmane.io"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
 Thunderbird/102.13.0
Cc: eliz@gnu.org, juri@linkov.net
To: Spencer Baugh <sbaugh@janestreet.com>, 67310@debbugs.gnu.org
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 21 12:08:24 2023
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>
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 <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1r5OcA-0009OU-0v
	for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 21 Nov 2023 12:08:23 +0100
Original-Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <bug-gnu-emacs-bounces@gnu.org>)
	id 1r5Obq-0004JV-8o; Tue, 21 Nov 2023 06:08:02 -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 <Debian-debbugs@debbugs.gnu.org>)
 id 1r5Obo-0004HS-Aq
 for bug-gnu-emacs@gnu.org; Tue, 21 Nov 2023 06:08:00 -0500
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 <Debian-debbugs@debbugs.gnu.org>)
 id 1r5Obo-0000Oq-2C
 for bug-gnu-emacs@gnu.org; Tue, 21 Nov 2023 06:08:00 -0500
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1r5Obq-0004bi-Kq
 for bug-gnu-emacs@gnu.org; Tue, 21 Nov 2023 06:08:02 -0500
X-Loop: help-debbugs@gnu.org
Resent-From: Dmitry Gutov <dmitry@gutov.dev>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Tue, 21 Nov 2023 11:08:02 +0000
Resent-Message-ID: <handler.67310.B67310.170056482217624@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 67310
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
Original-Received: via spool by 67310-submit@debbugs.gnu.org id=B67310.170056482217624
 (code B ref 67310); Tue, 21 Nov 2023 11:08:02 +0000
Original-Received: (at 67310) by debbugs.gnu.org; 21 Nov 2023 11:07:02 +0000
Original-Received: from localhost ([127.0.0.1]:55238 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1r5Oaq-0004Zs-9B
 for submit@debbugs.gnu.org; Tue, 21 Nov 2023 06:07:02 -0500
Original-Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:58541)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dmitry@gutov.dev>) id 1r5Oak-0004ZZ-C1
 for 67310@debbugs.gnu.org; Tue, 21 Nov 2023 06:06:58 -0500
Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41])
 by mailout.west.internal (Postfix) with ESMTP id A30853201365;
 Tue, 21 Nov 2023 06:06:45 -0500 (EST)
Original-Received: from mailfrontend1 ([10.202.2.162])
 by compute1.internal (MEProxy); Tue, 21 Nov 2023 06:06:46 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc
 :cc:content-transfer-encoding:content-type:content-type:date
 :date:from:from:in-reply-to:in-reply-to:message-id:mime-version
 :references:reply-to:sender:subject:subject:to:to; s=fm2; t=
 1700564805; x=1700651205; bh=Xz98MqswZmn/Bp4YJQBFUrslqFmesy0Ilzo
 S5FVFNTA=; b=hXSMu3EFcgZUOz5PBPNUnlalcKaiAJ0mzI5yiEd/Vkmq28tuMr0
 /aAzAjixuzzuVMx+lnIptiaJeqv9eSHrBkUTmqx+VrOVpz4ryq1SYJIkoUVDv+i7
 0PYM8tVpaOuW1uGSBoVkHtfUcVR6e2LJW/ZDAMCtnFyDsi6VoE7nPmyYRwLlEPZb
 8zTcJZcrfNDKLhmjIvPhMJb/zKHi4sGUaubml5gcTUgKwIclD2t7RL4McZqdn64S
 6/Xk/+lRyyEUKwzGxd2sy7kjXzAQKpQXN59jd4wkqPtdl+yIo5nda+ax/UG/22J7
 fM07RMsbmUtnK99Uf6FbpoY+HFcmiYl+X7Q==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-transfer-encoding
 :content-type:content-type:date:date:feedback-id:feedback-id
 :from:from:in-reply-to:in-reply-to:message-id:mime-version
 :references:reply-to:sender:subject:subject:to:to:x-me-proxy
 :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=
 1700564805; x=1700651205; bh=Xz98MqswZmn/Bp4YJQBFUrslqFmesy0Ilzo
 S5FVFNTA=; b=tV4DZw8+QfVHnRQkvJQY4cOyQHmUxixI7B2vMYy21EdEg4HT62T
 Jr9ACDCNtmzZ3r6UvoOwJJ1sNmg7q4PtomSo9fDwSBL0r8TOyfq0wQzlEKWQsNyD
 +0FcUAjO+Az8UuzyduL65Yw1dkJikA59VtQy/+OY4/xisXN5p8XLW8pq9ev49z0/
 RlrjreACv6Ljuz+/h3hOiGSF32FvlLv9jX+GTDs8n5Bb1ta50CyVRenOYs91MfU1
 J5s5Z6QyFA20CbcnKdgnAe0x/+CsFecLUshOagpIxXyBXlKF6R2hUgyoFR3jkX+V
 1Jv5pNa0kISn477BMvz9XghMAql6ZxPA3Rg==
X-ME-Sender: <xms:RI9cZVqS87Ovy-0o76oeHDj75NfvaeTIjelfSCt4QTeVxW4uX_JJag>
 <xme:RI9cZXpIILOmGPct08HKIYcXuF8YmIEzbo04VMtFOzebq8RLeYPwZtf47hiX8VDOP
 h12oTYPX91HWUvmm70>
X-ME-Received: <xmr:RI9cZSPQtNmBMM8F7_4_Wj-dUmzDBshDNgy6plA5u_4lJSbDRy-TVJ5PzRO1R-EpEH7Y8w>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudegledgvdduucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtfeejnecuhfhrohhmpeffmhhi
 thhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrth
 htvghrnhepiefgteevheevveffheeltdeukeeiieekueefgedugfefgefhudelgfefveel
 vdevnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepug
 hmihhtrhihsehguhhtohhvrdguvghv
X-ME-Proxy: <xmx:RI9cZQ59I6RBE-8F2WrT5Mjyctuye20rAzIIO3L1HDtltV1TLZG7tw>
 <xmx:RI9cZU6Xom5_A_VaptCASYqm0Tj1qpXJAbBa4GYBO0VcXc9woETEAA>
 <xmx:RI9cZYgc-c_-jRFkxFn_GS5ZrsOKeNCNIZP8bWZrwYOeOX2jl6g7EA>
 <xmx:RY9cZUEAAEz3Xa1PHblbByZ1PJ1FZKX7Qlqt63uY98iilxyYTSieTw>
Feedback-ID: i0e71465a:Fastmail
Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue,
 21 Nov 2023 06:06:43 -0500 (EST)
Content-Language: en-US
In-Reply-To: <ier8r6s42on.fsf@janestreet.com>
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" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=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:274707
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/274707>

On 20/11/2023 21:58, Spencer Baugh wrote:
> +              (completing-read "Select project: " choices nil t nil 'project--list))))

I wonder if this will make 'project--list' to be automatically managed 
my savehist-mode (because of what savehist-minibuffer-hook does).

And then the contents of this var might be restored by savehist-mode 
(when enabled) at a time or in a way that project.el is not expecting.