From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#55267: 29.0.50; Provide customization to save project-find-file arg to savehist Date: Thu, 05 May 2022 10:28:15 +0300 Organization: LINKOV.NET Message-ID: <86a6bwv2qk.fsf_-_@mail.linkov.net> References: <87bkwc64qw.fsf@codeisgreat.org> <877d7063ka.fsf@codeisgreat.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27633"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: 55267@debbugs.gnu.org To: Pankaj Jangid Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 05 09:55:23 2022 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 1nmWKZ-00074y-2g for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 05 May 2022 09:55:23 +0200 Original-Received: from localhost ([::1]:40634 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nmWKX-0003Pn-Sj for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 05 May 2022 03:55:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48556) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmWKE-0003NL-M6 for bug-gnu-emacs@gnu.org; Thu, 05 May 2022 03:55:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50421) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nmWKE-0003Hi-DP for bug-gnu-emacs@gnu.org; Thu, 05 May 2022 03:55:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nmWKE-0005LD-AE for bug-gnu-emacs@gnu.org; Thu, 05 May 2022 03:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 May 2022 07:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55267 X-GNU-PR-Package: emacs Original-Received: via spool by 55267-submit@debbugs.gnu.org id=B55267.165173724620446 (code B ref 55267); Thu, 05 May 2022 07:55:02 +0000 Original-Received: (at 55267) by debbugs.gnu.org; 5 May 2022 07:54:06 +0000 Original-Received: from localhost ([127.0.0.1]:44318 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmWJJ-0005Ji-VK for submit@debbugs.gnu.org; Thu, 05 May 2022 03:54:06 -0400 Original-Received: from relay6-d.mail.gandi.net ([217.70.183.198]:59053) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmWJI-0005JC-9K for 55267@debbugs.gnu.org; Thu, 05 May 2022 03:54:04 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 4232DC000F; Thu, 5 May 2022 07:53:56 +0000 (UTC) In-Reply-To: <877d7063ka.fsf@codeisgreat.org> (Pankaj Jangid's message of "Thu, 05 May 2022 09:20:13 +0530") 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:231406 Archived-At: > I just noticed that "project-find-file" is ultimately calling > "find-file" only. So it should save the file to minibuffer history if > savehist-mode is enabled. > > But this is not happening in my environment right now. Is this a bug > (instead of feature request)? Recently I noticed this problem too. So project-find-file-in needs to specify the same history variable 'file-name-history' as used in read-file-name-default. Then you could add 'file-name-history' to savehist-additional-variables.