From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#66993: [PATCH] project.el: avoid asking user about project-list-file lock Date: Sat, 18 Nov 2023 03:41:04 +0200 Message-ID: <4b4a190a-ec88-6f50-1f94-900b3afdfc41@gutov.dev> References: <83sf5g1lko.fsf@gnu.org> <9d460f36-6035-da54-3abc-12171ac8977f@gutov.dev> <83h6lw19zw.fsf@gnu.org> <894f674f-76ea-90af-3acc-73ca6e7caf35@gutov.dev> <834jhv1lfw.fsf@gnu.org> <83ttpvyxn0.fsf@gnu.org> <42fe7d0e-024c-3e0d-3bc5-b0e6ec50f260@gutov.dev> <83r0kzyo93.fsf@gnu.org> 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="17308"; 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: 66993@debbugs.gnu.org To: Spencer Baugh , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 18 02:42:15 2023 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 1r4ALd-0004FC-S1 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 Nov 2023 02:42:14 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r4ALT-0006V4-P4; Fri, 17 Nov 2023 20:42:03 -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 1r4ALS-0006Ur-PU for bug-gnu-emacs@gnu.org; Fri, 17 Nov 2023 20:42:02 -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 ) id 1r4ALR-0003tW-L9 for bug-gnu-emacs@gnu.org; Fri, 17 Nov 2023 20:42:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r4ALR-0003rT-Vi for bug-gnu-emacs@gnu.org; Fri, 17 Nov 2023 20:42:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 Nov 2023 01:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66993 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 66993-submit@debbugs.gnu.org id=B66993.170027167514785 (code B ref 66993); Sat, 18 Nov 2023 01:42:01 +0000 Original-Received: (at 66993) by debbugs.gnu.org; 18 Nov 2023 01:41:15 +0000 Original-Received: from localhost ([127.0.0.1]:47339 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r4AKh-0003qP-Fk for submit@debbugs.gnu.org; Fri, 17 Nov 2023 20:41:15 -0500 Original-Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:53033) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r4AKf-0003qB-BY for 66993@debbugs.gnu.org; Fri, 17 Nov 2023 20:41:14 -0500 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 007A4320092E; Fri, 17 Nov 2023 20:41:06 -0500 (EST) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Fri, 17 Nov 2023 20:41:07 -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= 1700271666; x=1700358066; bh=SW4icyOR4zRxHNVrqryeDifzzfVSna/XHz9 IxULekxs=; b=TqMSEG+YfQTHgENDeJ9YB7jDUqRqqPTQ7CbOCeRvr7SGDhdAw9p P11pRBW1YoOLggaqtfBTiFkiOMdA4EOnf40nwGHElIFow/Es+6xmhag3kD7+D25K 5QHWewkb3Pv26xEWCwmzanv8bew18Kdg56YYsW2qmF/L30oIdXBTmibZlJl0keKD v97ELGHhavjK5Ww1T6Ul8dtn6RFYTuaiQ6+aqnh7fLDLr/ZG9fpmq9xnKSGryJg9 QiBrVpKOLiBYSaT8LEGQQszj88NeyeeXGrGiDLmnaKk8bSlYHdELw/q7L+AolM9C Jk+FT+Tf4TDahQ5HYDYBC2MiotOuCAhOixQ== 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= 1700271666; x=1700358066; bh=SW4icyOR4zRxHNVrqryeDifzzfVSna/XHz9 IxULekxs=; b=zoFgFdh4DYh2fugb4gHTEDM6sFa7g8O6y6hdynCrC22MLlXQaOB tDYeptVnwErKEqwZlnblSt0gG0Gm5prdhBs9gxtmsRvYNUeZF4nmmBjsTkfG6OLK rkJAUSxtCWa+7PT4Dho2mbzMG8N6Cnz4veaP6cPFdJj78EeryE4vezkCovj+TGvK arNtFAxK4iRxjjzcVuGY07VhP6KwJEqGAmay7VJ7qGM8JvSurd51xRRFZQCNhbfL 8mRnCs1yjPhtoq9SvaxKRLhUrxh1nKB8cISqdhIQ8omMsKMaP3L3rrYDrqWH8Eew KMcB7cvnMcK+Cwl40du/6rTSXgn8jlF6DDA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudeguddgfeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtfeejnecuhfhrohhmpeffmhhi thhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrth htvghrnhepiefgteevheevveffheeltdeukeeiieekueefgedugfefgefhudelgfefveel vdevnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepug hmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 17 Nov 2023 20:41:05 -0500 (EST) Content-Language: en-US In-Reply-To: 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:274525 Archived-At: On 15/11/2023 22:49, Spencer Baugh wrote: > project--list is the new history variable. Using it is mostly trivial; > a small bit of work is necessary in project-prompt-project-name to get > project-names for the history, but that worked out great. Everything > else just seems to work. > > And with savehist-mode enabled, project--list just gets stored > automatically without any code in project.el. > > I can implement a backwards-compatible version if this seems like a > reasonable direction to go in. I haven't tried using it, but there's indeed a lot to like about this patch. What happens if savehist-mode is nil, though? Which it is by default. For users with this setup the project history will just disappear. What kind of backward compatibility did you have in mind?