From unknown Sat Jun 21 12:33:06 2025 X-Loop: help-debbugs@gnu.org Subject: bug#55267: 29.0.50; Provide customization to save project-find-file arg to savehist Resent-From: Pankaj Jangid Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 May 2022 03:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55267 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 55267@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165172109316668 (code B ref -1); Thu, 05 May 2022 03:25:01 +0000 Received: (at submit) by debbugs.gnu.org; 5 May 2022 03:24:53 +0000 Received: from localhost ([127.0.0.1]:44031 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmS6n-0004Km-BN for submit@debbugs.gnu.org; Wed, 04 May 2022 23:24:53 -0400 Received: from lists.gnu.org ([209.51.188.17]:59152) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmS6l-0004Kd-Ff for submit@debbugs.gnu.org; Wed, 04 May 2022 23:24:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59266) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmS6l-0008CG-3e for bug-gnu-emacs@gnu.org; Wed, 04 May 2022 23:24:51 -0400 Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]:35347) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nmS6f-0000jB-4t for bug-gnu-emacs@gnu.org; Wed, 04 May 2022 23:24:50 -0400 Received: by mail-pf1-x430.google.com with SMTP id c14so2642617pfn.2 for ; Wed, 04 May 2022 20:24:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeisgreat-org.20210112.gappssmtp.com; s=20210112; h=from:to:subject:date:message-id:mime-version; bh=/MQ1/fxVnDnc8g4BTS4FeJb1gO0D74z0RXHpnzBw3Wg=; b=KWOJvvuiOxIfLR2Mw6Y69TLxkk6nDORrSZS7sm3XQqQSwlo7tYf8OBooudAP2LvCQj ddx9sKdHqMmrn303jAibHk//YE/wj1d3D4fWvd3tixn4i36JxHc8bctKpy9Z5KH/Qokb xdbzHfNN5cGWr7kSxmKk2EGuw9mBF91/guDnoePzDm64nlwJ9DAwv8/ZxfOEuTiH1Kv5 PqjtHHi8NcKShgUQf/s2j/TDz4yoBoGyCqDpIw+eDf6OWAgxTYJ2jf33IC4V/R3jqSPS kecTP2M9hvMr9exOzCJoFojBXt8Xmdz+uEs0zZ5iMh318ZV3PCOiqT9MHx0MUBFkKbEY nVuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=/MQ1/fxVnDnc8g4BTS4FeJb1gO0D74z0RXHpnzBw3Wg=; b=rVBxJzhu5aK3OfHiJpcLOj5Mg6FbES3v/T8o0zqTyLMHo5gFFa0Ef8JQa2EBFgbS0l sJdNyyBktbKc7JALEj/ugNOlZrSMmzTVSKv8RcoVzTD1RzMlS40l4mXwZbIeupjBDoBK ADuCz3UsP1WoZwDXMerBMukYIHwEkl2DHhPw3nK68DCb/oqsO2s7zgKT323GdCe6qFmP 4C/1+xLftaIe/n+soL3OQ7Vqg4no/wIX+/eQzMcFFLxkSVUa1vcHM6cVlhnhPuioQj1i uhtOHwsIhfEGWghJwpL6Im7UKAcrsQ7F0e8losdvr5xMTBYG6XyS+zVxWDL6odtu6RDc nitA== X-Gm-Message-State: AOAM530Y9UVX2Amg0+qfaCBh1MQlwgDI6xWC1S0PF7hj/wQqmuBUY9Bd a7XWADed+WURAR9oKptbSptU4kmI3s26tQ== X-Google-Smtp-Source: ABdhPJxJ861wKEJPG9Ll0NrFtsxqA5C1ImqpYrZHawXCo11U119u1getaJfSFOd/IJww3yOgbWtDLg== X-Received: by 2002:a05:6a00:298a:b0:50e:8e3:b673 with SMTP id cj10-20020a056a00298a00b0050e08e3b673mr12146558pfb.28.1651721082995; Wed, 04 May 2022 20:24:42 -0700 (PDT) Received: from anant ([49.36.236.57]) by smtp.gmail.com with ESMTPSA id m19-20020a17090a7f9300b001cd60246575sm4095768pjl.17.2022.05.04.20.24.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 May 2022 20:24:42 -0700 (PDT) From: Pankaj Jangid Date: Thu, 05 May 2022 08:54:39 +0530 Message-ID: <87bkwc64qw.fsf@codeisgreat.org> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: none client-ip=2607:f8b0:4864:20::430; envelope-from=pankaj@codeisgreat.com; helo=mail-pf1-x430.google.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.1 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.1 (---) [Feature request] I use project feature of emacs. And I feel that there is a need for a customization variable like "project-savehist-enable". When value is "t", save the files opened with "project-find-file" into savehist. In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0) of 2022-05-05 built on anant Repository revision: 5784533cb6e1fe5edf4d5f6c24c02ab8ef5be732 Repository branch: master System Description: Debian GNU/Linux 11 (bullseye) Configured using: 'configure --prefix=/home/pankaj/.local --with-pgtk' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS XIM GTK3 ZLIB Important settings: value of $LC_MONETARY: en_IN.UTF-8 value of $LC_NUMERIC: en_IN.UTF-8 value of $LC_TIME: en_IN.UTF-8 value of $LANG: en_IN value of $XMODIFIERS: @im=ibus locale-coding-system: iso-latin-1-unix Major mode: ELisp/l Minor modes in effect: company-mode: t flymake-mode: t electric-pair-mode: t editorconfig-mode: t which-key-mode: t global-git-commit-mode: t magit-auto-revert-mode: t shell-dirtrack-mode: t override-global-mode: t savehist-mode: t desktop-save-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t column-number-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: /home/pankaj/.emacs.d/elpa/transient-20220503.1118/transient hides /home/pankaj/.local/share/emacs/29.0.50/lisp/transient Features: (shadow sort flyspell ispell mail-extr shortdoc help-fns emacsbug autoload radix-tree diary-lib diary-loaddefs sql view dockerfile-mode sh-script smie executable markdown-mode conf-mode ol-eww eww xdg url-queue mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum shr pixel-fill kinsoku url-file url-dired svg dom gnus-group gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo gnus-spec gnus-int gnus-range gnus-win gnus nnheader range ol-docview doc-view image-mode exif ol-bibtex ol-bbdb ol-w3m ol-doi org-link-doi yaml-mode mule-util jka-compr tramp-cache prettier nvm f s iter2 js vc-git checkdoc company-oddmuse company-keywords company-etags etags fileloop company-gtags company-dabbrev-code company-dabbrev company-files company-clang company-capf company-cmake company-semantic company-template company-bbdb company flymake-proc flymake elec-pair editorconfig-core editorconfig-core-handle editorconfig-fnmatch init my-init org-element avl-tree generator org org-macro org-footnote org-pcomplete org-list org-faces org-entities noutline outline org-version ob-plantuml ob-sql ob-css ob-js ob-java ob-C cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs ob-python python ob-R ob ob-tangle org-src ob-ref ob-lob ob-table ob-exp ob-comint ob-emacs-lisp ob-core ob-eval org-table oc-basic bibtex ol org-keys oc org-compat advice org-macs org-loaddefs cal-menu calendar cal-loaddefs warnings sesman vc vc-dispatcher clojure-mode lisp-mnt align thingatpt editorconfig tree-sitter-langs tree-sitter-langs-build tar-mode arc-mode archive-mode tree-sitter-hl tree-sitter tree-sitter-load tree-sitter-cli tsc tsc-dyn tsc-dyn-get dired-aux tsc-obsolete gtags-mode xref project which-key vterm magit-bookmark bookmark tramp tramp-loaddefs trampver tramp-integration cus-edit pp wid-edit files-x tramp-compat parse-time iso8601 ls-lisp face-remap compile color term disp-table ehelp find-func vterm-module term/xterm xterm magit-submodule magit-obsolete magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log which-func imenu magit-diff smerge-mode diff diff-mode git-commit rx log-edit pcvs-util add-log magit-core magit-autorevert autorevert filenotify magit-margin magit-transient magit-process with-editor shell pcomplete comint ring server ansi-color magit-mode transient magit-git magit-base magit-section format-spec crm dash compat-27 compat-26 compat exec-path-from-shell bbdb-message message sendmail yank-media rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader bbdb bbdb-site timezone edmacro kmacro modus-vivendi-theme modus-themes pcase delight cl-extra help-mode use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key easy-mmode use-package-core hl-line savehist desktop frameset avoid cus-load finder-inf tex-site info package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map url-vars seq gv subr-x byte-opt bytecomp byte-compile cconv cl-loaddefs cl-lib early-init iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice simple cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo gtk pgtk lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 706707 35589) (symbols 48 49850 1) (strings 32 197900 6452) (string-bytes 1 6185931) (vectors 16 88510) (vector-slots 8 1746492 208908) (floats 8 556 53) (intervals 56 1933 43) (buffers 992 96)) From unknown Sat Jun 21 12:33:06 2025 X-Loop: help-debbugs@gnu.org Subject: bug#55267: Acknowledgement (29.0.50; Provide customization to save project-find-file arg to savehist) Resent-From: Pankaj Jangid Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 May 2022 03:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55267 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 55267@debbugs.gnu.org Received: via spool by 55267-submit@debbugs.gnu.org id=B55267.165172262519305 (code B ref 55267); Thu, 05 May 2022 03:51:01 +0000 Received: (at 55267) by debbugs.gnu.org; 5 May 2022 03:50:25 +0000 Received: from localhost ([127.0.0.1]:44051 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmSVV-00051J-AG for submit@debbugs.gnu.org; Wed, 04 May 2022 23:50:25 -0400 Received: from mail-pg1-f175.google.com ([209.85.215.175]:46028) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmSVT-000515-8l for 55267@debbugs.gnu.org; Wed, 04 May 2022 23:50:23 -0400 Received: by mail-pg1-f175.google.com with SMTP id 7so2691696pga.12 for <55267@debbugs.gnu.org>; Wed, 04 May 2022 20:50:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeisgreat-org.20210112.gappssmtp.com; s=20210112; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version; bh=1jXqsrEQFX40leZEW9JBuNWlz8HMIoEmo6WgXAzklAE=; b=zpK8YpuBdntpW6VrnCAJC807xR249qsG+KMLEUZDNi04pii6iFi6qPnvehR41rNFBR n4glolxTp6ot9chNxC7IcPvBWRRCfkImVCty7YGreXpUQ9XeLJLAT/HmsQOzt6zWdPYA uQypwXAKchx8vbRHCaCo62dTLEiscSNsheK9to+HFSsfKNqK46wFJ0Mb5Dbcssj1y9tv pvqhF3tsmZAqvrJ+qbWrKGZ3kiko2AULCb0uA1TyDxMecbdzPoL0zcdA9xVG1nwPsRQ6 o4wKgCSDHdHS5kcFGDcydNC4502wzx8ltS9VmPuesn7Xw4RoIpKM2HIAQz7iBFJaeCML cStA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=1jXqsrEQFX40leZEW9JBuNWlz8HMIoEmo6WgXAzklAE=; b=WMWSPWS1HmPxoJ0DnYr3hEahxtbMdgq25qZ98gzQFL81UCgtQloyDXnLVZH1ZztWXp ol3SvTQaNra/j8OxbB5XMxUXET1DK2bGm6NNNk44Upb/qhjP1srCPewsllUluPXjJNuN eTtfN+mfCzhu2gwnePaXFrJg+jAhJmTYguAW2jEZqikIm8Gb+b6leemZWf2H+IhYNhaF i15BPeO9mLHELL16RP06QbZhnPuQU2V+25ntItZwFTvuk2zoqI+Vq8V4wQGXwJ3HpxM/ 1zKjWb93r+6k75/RXdAXCaEgT6G6Vr4ZUKXpW9CuuJ3TgBEhSAkhoKybergi5fSfrETe /K+Q== X-Gm-Message-State: AOAM533Gj0w/beegLikMdslN1aUV4yMzcfG5Ds2lSV5gP4tpkVSH0UFY MYoAyPN+DX3BIpZj9pxz9yG1YUfniRC9ug== X-Google-Smtp-Source: ABdhPJxD0T0PUeIRz3YZnYF0Xn3XhD/D/XmlwMNlrAM95P8R1xnZ8kNzG8Ys/9YYxHY4fu4qNurrGg== X-Received: by 2002:a63:3:0:b0:3c3:79e4:156 with SMTP id 3-20020a630003000000b003c379e40156mr7348423pga.506.1651722617085; Wed, 04 May 2022 20:50:17 -0700 (PDT) Received: from anant ([49.36.236.57]) by smtp.gmail.com with ESMTPSA id mi13-20020a17090b4b4d00b001cda0b69a30sm309397pjb.52.2022.05.04.20.50.15 for <55267@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 May 2022 20:50:16 -0700 (PDT) From: Pankaj Jangid References: <87bkwc64qw.fsf@codeisgreat.org> Date: Thu, 05 May 2022 09:20:13 +0530 In-Reply-To: (GNU bug Tracking System's message of "Thu, 05 May 2022 03:25:02 +0000") Message-ID: <877d7063ka.fsf@codeisgreat.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) 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)? From unknown Sat Jun 21 12:33:06 2025 X-Loop: help-debbugs@gnu.org Subject: bug#55267: 29.0.50; Provide customization to save project-find-file arg to savehist 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 X-GNU-PR-Keywords: To: Pankaj Jangid Cc: 55267@debbugs.gnu.org Received: via spool by 55267-submit@debbugs.gnu.org id=B55267.165173724620446 (code B ref 55267); Thu, 05 May 2022 07:55:02 +0000 Received: (at 55267) by debbugs.gnu.org; 5 May 2022 07:54:06 +0000 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 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 Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 4232DC000F; Thu, 5 May 2022 07:53:56 +0000 (UTC) From: Juri Linkov Organization: LINKOV.NET References: <87bkwc64qw.fsf@codeisgreat.org> <877d7063ka.fsf@codeisgreat.org> Date: Thu, 05 May 2022 10:28:15 +0300 In-Reply-To: <877d7063ka.fsf@codeisgreat.org> (Pankaj Jangid's message of "Thu, 05 May 2022 09:20:13 +0530") Message-ID: <86a6bwv2qk.fsf_-_@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > 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. From unknown Sat Jun 21 12:33:06 2025 X-Loop: help-debbugs@gnu.org Subject: bug#55267: 29.0.50; Provide customization to save project-find-file arg to savehist Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 May 2022 17:09:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55267 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Pankaj Jangid Cc: 55267@debbugs.gnu.org Received: via spool by 55267-submit@debbugs.gnu.org id=B55267.165237528219321 (code B ref 55267); Thu, 12 May 2022 17:09:04 +0000 Received: (at 55267) by debbugs.gnu.org; 12 May 2022 17:08:02 +0000 Received: from localhost ([127.0.0.1]:42131 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npCIE-00051Y-91 for submit@debbugs.gnu.org; Thu, 12 May 2022 13:08:02 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:57165) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npCIB-00050w-KP for 55267@debbugs.gnu.org; Thu, 12 May 2022 13:08:01 -0400 Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 56D14100002; Thu, 12 May 2022 17:07:51 +0000 (UTC) From: Juri Linkov Organization: LINKOV.NET References: <87bkwc64qw.fsf@codeisgreat.org> <877d7063ka.fsf@codeisgreat.org> <86a6bwv2qk.fsf_-_@mail.linkov.net> Date: Thu, 12 May 2022 19:38:48 +0300 In-Reply-To: <86a6bwv2qk.fsf_-_@mail.linkov.net> (Juri Linkov's message of "Thu, 05 May 2022 10:28:15 +0300") Message-ID: <86czgj5e6n.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) --=-=-= Content-Type: text/plain >> 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. BTW, here is another improvement for project-find-file. If there is no file name under point, it could propose the current file name for editing in the minibuffer, to find another file based on the current file when their names are similar. --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=project-find-file.patch diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el index 6c50135358..5eee20e408 100644 --- a/lisp/progmodes/project.el +++ b/lisp/progmodes/project.el @@ -863,8 +863,12 @@ project-find-file for VCS directories listed in `vc-directory-exclusion-list'." (interactive "P") (let* ((pr (project-current t)) - (dirs (list (project-root pr)))) - (project-find-file-in (thing-at-point 'filename) dirs pr include-all))) + (root (project-root pr)) + (dirs (list root))) + (project-find-file-in + (or (thing-at-point 'filename) + (and buffer-file-name (file-relative-name buffer-file-name root))) + dirs pr include-all))) ;;;###autoload (defun project-or-external-find-file (&optional include-all) --=-=-=-- From unknown Sat Jun 21 12:33:06 2025 X-Loop: help-debbugs@gnu.org Subject: bug#55267: 29.0.50; Provide customization to save project-find-file arg to savehist Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 29 May 2022 21:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55267 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juri Linkov , Pankaj Jangid Cc: 55267@debbugs.gnu.org Received: via spool by 55267-submit@debbugs.gnu.org id=B55267.16538605713606 (code B ref 55267); Sun, 29 May 2022 21:43:02 +0000 Received: (at 55267) by debbugs.gnu.org; 29 May 2022 21:42:51 +0000 Received: from localhost ([127.0.0.1]:42063 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nvQgV-0000w6-I6 for submit@debbugs.gnu.org; Sun, 29 May 2022 17:42:51 -0400 Received: from mail-wr1-f49.google.com ([209.85.221.49]:36369) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nvQgU-0000vv-JR for 55267@debbugs.gnu.org; Sun, 29 May 2022 17:42:50 -0400 Received: by mail-wr1-f49.google.com with SMTP id u3so12318535wrg.3 for <55267@debbugs.gnu.org>; Sun, 29 May 2022 14:42:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=5E540VXM8M0iRDCFyGTFPFT3PGdxHYO9XSq4c+98CJE=; b=M+sInj9BcdTcn6apQgVEjgyyfM5kH5iVnlWZjvi+hCdr1l16tWMjeXH1VSzeDxStDr FT6IAuu0uW7xAxPxwIN7bSMlMAVfbRCFizNt/4Taom6YrHdxpZB9gZ/A2wxa8WLmnC1Z pyAKwX5AXSDqNf16BsWLRBc7s5uSF0pPzdxh1eCKOssymJ+zAdSTcHD7ECWg+28TydGv 9LWfW62GyvEgBVhqvsUnccprhmefogRZGviD71lQ/N1PXWrk9xJt9YRtgtReeQSaoVce EBe5E5xDdofbRgae8fzWAdeGaPqDlk5XCq7o34jdajUL3ONooVRGi9GkHpH2mqmbxfYO YaHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:message-id:date:mime-version:user-agent :subject:content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=5E540VXM8M0iRDCFyGTFPFT3PGdxHYO9XSq4c+98CJE=; b=oUb8Q40O/xfXnBfXbFAXkCkx4wCB66rYphvi/39rZPpKCx2oTc+QfQWQCSQNSJaWJF npjwODkKiLlBV8S8gfpD+TPJqHiM27ZFIRQwo7ICyGVphCjhmm5+WWWOLg3CgWlz5S/f 2cFMUBWqcxhcvKnaHi40/9j0v2FKiMuBv75s06v8aD7X+svGGMZknsRe4IGIDazXN0UO vxTyD+TgsppoIwBcDsASu4lJN8KLQeHbC0Wvu1RGEhuxOoKEFv8d55z0Z2v9SneG2qCn f6CXncrNc1WuwFxELbFYRpee1NntH6QJlxD+wNkAgL6Ss7qO+jUz5LxpG/j5J4DZHfOG 7QTw== X-Gm-Message-State: AOAM532elVD7UnjHwSM4tRii63VnGKMJ1Etw4+3E2Aw4TGXLYXztxhO1 e1xlvdMaTfpaw6S6dt9gk40= X-Google-Smtp-Source: ABdhPJxJ/QfBDiTiVc9PwggGWln1/IR6ESzMZM1LbXioJw3Eys1Uv2dZXucpGXcU0cvhrlmJpLXtaA== X-Received: by 2002:adf:b644:0:b0:210:1fde:a513 with SMTP id i4-20020adfb644000000b002101fdea513mr10035954wre.604.1653860565002; Sun, 29 May 2022 14:42:45 -0700 (PDT) Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id f14-20020a0560001a8e00b0020c5253d90asm7191564wry.86.2022.05.29.14.42.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 29 May 2022 14:42:44 -0700 (PDT) Message-ID: Date: Mon, 30 May 2022 00:42:42 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Content-Language: en-US References: <87bkwc64qw.fsf@codeisgreat.org> <877d7063ka.fsf@codeisgreat.org> <86a6bwv2qk.fsf_-_@mail.linkov.net> From: Dmitry Gutov In-Reply-To: <86a6bwv2qk.fsf_-_@mail.linkov.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) Hi Juri, On 05.05.2022 10:28, Juri Linkov wrote: > 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. If this works for you, and looks helpful, please go ahead with that change. From unknown Sat Jun 21 12:33:06 2025 X-Loop: help-debbugs@gnu.org Subject: bug#55267: 29.0.50; Provide customization to save project-find-file arg to savehist Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 29 May 2022 21:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55267 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juri Linkov , Pankaj Jangid Cc: 55267@debbugs.gnu.org Received: via spool by 55267-submit@debbugs.gnu.org id=B55267.16538606683791 (code B ref 55267); Sun, 29 May 2022 21:45:02 +0000 Received: (at 55267) by debbugs.gnu.org; 29 May 2022 21:44:28 +0000 Received: from localhost ([127.0.0.1]:42072 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nvQi4-0000z5-2u for submit@debbugs.gnu.org; Sun, 29 May 2022 17:44:28 -0400 Received: from mail-wr1-f46.google.com ([209.85.221.46]:43869) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nvQi2-0000yq-Tc for 55267@debbugs.gnu.org; Sun, 29 May 2022 17:44:27 -0400 Received: by mail-wr1-f46.google.com with SMTP id s24so5007281wrb.10 for <55267@debbugs.gnu.org>; Sun, 29 May 2022 14:44:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=HOEXD39hFllEEPSivQLw267XPTlvoJBeYpX/Ket1b2Q=; b=iTN7i/5KjLwJzUsf2VPZm/jgM3NHzbaLzrhFTIE52bsZLoAnQcDPtrQ1qjRZWFTLiB /ndWEFmCLLu9ppX4FSET5TwvVH5FZu6f/V3VScPQUxjbq4J6eU0VZkbWSkC1US3HjjpP lOPc5esuwzDe3dR3qQcbiUM7Bn9oSCBIZC8fyTD6SS7/rY0enKNrHa5U9PuQ4AVYII8X aeRL2OD+DTSbJ/nKPSuSE8oSYKHXRsi4zYwnK71+afPRN0jf0lRJYRpNIL9g/k8NHMN2 +R4vH0wDul+PXUFlr88yb3BNCq+O1MYpIXHhA1MqlKfhVOrJcafY3StBne5pt0AgAHlW 5fyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:message-id:date:mime-version:user-agent :subject:content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=HOEXD39hFllEEPSivQLw267XPTlvoJBeYpX/Ket1b2Q=; b=Hmw826Fl9TCnX4xdByhlXiede4oIGIYP0Onogt5lVwlPKWPVE6ZNznMvhKm4qFlDOL EmQlXG62aCLwnmSwNkRoG/UczUP95BHLB+UFM2XPJjD/MObHLMs1YGbebAhBKxQAMK+P Zft5Dw0pn9TQQMX232/+8C8Mk/29cP7DxqxEvhwLJZQSSI1fNtCudFv37ndp95TAYDs5 OoAnRJWJLwWlvpneN/1iK0ifLXZr0Hw6G+d9Ed3jIJSqpKVIWNJCswaGi53w2pOk676C b1+L2BNO3Q6ephqZXLCXBNz505X2F1RIAexi9fv2Y6l09fM6uJsnH8FKMGkkBcoU87FN cuCg== X-Gm-Message-State: AOAM5306zYEqGxkaPBPbxxz9e72HUfHtIrKnnYo5hgC69/M4gQWYzda3 tH1k1elnO3pbuBhE3f3L5VVgAWtItUY= X-Google-Smtp-Source: ABdhPJw22cqlHlvtzaxmPWzWLlSxdYgXRApb3UQsSo6iJJMzbnEIHMsmby0vvCAst4YgIMWyDEhn5A== X-Received: by 2002:a05:6000:1a89:b0:20f:d0b7:ba98 with SMTP id f9-20020a0560001a8900b0020fd0b7ba98mr32014350wry.208.1653860661263; Sun, 29 May 2022 14:44:21 -0700 (PDT) Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id 22-20020a05600c029600b0039768532c79sm8550036wmk.6.2022.05.29.14.44.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 29 May 2022 14:44:20 -0700 (PDT) Message-ID: <51efc8c0-78f8-07ba-7a56-107331956fce@yandex.ru> Date: Mon, 30 May 2022 00:44:19 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Content-Language: en-US References: <87bkwc64qw.fsf@codeisgreat.org> <877d7063ka.fsf@codeisgreat.org> <86a6bwv2qk.fsf_-_@mail.linkov.net> <86czgj5e6n.fsf@mail.linkov.net> From: Dmitry Gutov In-Reply-To: <86czgj5e6n.fsf@mail.linkov.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) On 12.05.2022 19:38, Juri Linkov wrote: > BTW, here is another improvement for project-find-file. > If there is no file name under point, it could propose > the current file name for editing in the minibuffer, > to find another file based on the current file > when their names are similar. Here as well: if you find this helpful, that sounds okay to me. I haven't ever felt a need for this particular behavior, but it shouldn't hurt either. From unknown Sat Jun 21 12:33:06 2025 X-Loop: help-debbugs@gnu.org Subject: bug#55267: 29.0.50; Provide customization to save project-find-file arg to savehist Resent-From: Pankaj Jangid Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 May 2022 06:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55267 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Dmitry Gutov Cc: 55267@debbugs.gnu.org, Juri Linkov Received: via spool by 55267-submit@debbugs.gnu.org id=B55267.165389093420999 (code B ref 55267); Mon, 30 May 2022 06:09:02 +0000 Received: (at 55267) by debbugs.gnu.org; 30 May 2022 06:08:54 +0000 Received: from localhost ([127.0.0.1]:42531 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nvYaD-0005Sd-MY for submit@debbugs.gnu.org; Mon, 30 May 2022 02:08:53 -0400 Received: from mail-pf1-f174.google.com ([209.85.210.174]:34617) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nvYaB-0005SQ-AO for 55267@debbugs.gnu.org; Mon, 30 May 2022 02:08:52 -0400 Received: by mail-pf1-f174.google.com with SMTP id c65so9151901pfb.1 for <55267@debbugs.gnu.org>; Sun, 29 May 2022 23:08:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeisgreat-org.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=nzYhQTvH/a6DSXHNDr+09EuPTtHYvmi+TkguoWla4Ek=; b=Ke8syGUgcOR5cGk3mdsDLuhxtgINH0nfD8REqAzIfE8HUdoAQJjyxg0Kma6wXVApEJ if+An6J0URaWKTdUMiNMMOYcITMDcJpZT/vxU0EcElTTGvBhA75kMBb7kybpw+zxMY/R uxzUIlSwr2lWxAq/msx47v6Nk9rSVYwhR08TNFGNTmz+Q156F9VteOOFmQkxZMjVk0Lr OX0LS79t24uN/Og4QVaUzboFnuz8CtUSrgYALfOYlmQdSHxflk3JEXFNTJJuf+58MB/B by1Z9ZLokU9YuBMEt44zH1hIwNkfGd6vDikbSCsy3k6O4/QpqFVjZxVybXofA2n+r/r8 yezA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=nzYhQTvH/a6DSXHNDr+09EuPTtHYvmi+TkguoWla4Ek=; b=3eqLmwod92Gi+TmmV9SUeUmMNRCsv6V6mW+eX6s7M7J1TSwhxxJTRrfLjKC9d0sXLk VPBc+oS4l4qJrYsLiQsEMjyABYkmMsdwgFAShVvboVPwbt2kqlpi86tXr0tiC78LXuuI krZsGUOoPozjK+9tSCcvxj0fGzVgn7jgZQMPabp9aBc0zRvC08hfT67rW3OZG6Oxx+7q qLCzlhMyK65zlVgyDqz2E015qN128RtLFUQ/hiB0GlnM3pnB8TqgQo7Iy/BMAOJRnNet 4q8jtbfSFiWXHQJdIBdP/b9Tvn1QYmFx+k1AEyR5lzuUEi9DynxY4r+I2KOozMdyyBni k14Q== X-Gm-Message-State: AOAM5318IFM3q7wYyC+SC2MoN5+RNnP2ik39+1vOhBrFvf71uEbTBJWG elIAU76vXu7DRNbbqeBtmx6v35EH07ZN5w== X-Google-Smtp-Source: ABdhPJxlGiW7L61vE0dhV21biFVSrb+pPW9lMT8v+9Rw98rGwwdr5F3pS/X6GPHfEJDrcHT2d2ItpQ== X-Received: by 2002:a05:6a00:140e:b0:4e1:c81a:625c with SMTP id l14-20020a056a00140e00b004e1c81a625cmr55733044pfu.39.1653890925210; Sun, 29 May 2022 23:08:45 -0700 (PDT) Received: from anant ([49.36.236.57]) by smtp.gmail.com with ESMTPSA id z124-20020a626582000000b00517d5e42297sm8105123pfb.95.2022.05.29.23.08.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 May 2022 23:08:44 -0700 (PDT) From: Pankaj Jangid References: <87bkwc64qw.fsf@codeisgreat.org> <877d7063ka.fsf@codeisgreat.org> <86a6bwv2qk.fsf_-_@mail.linkov.net> <86czgj5e6n.fsf@mail.linkov.net> <51efc8c0-78f8-07ba-7a56-107331956fce@yandex.ru> Date: Mon, 30 May 2022 11:38:40 +0530 In-Reply-To: <51efc8c0-78f8-07ba-7a56-107331956fce@yandex.ru> (Dmitry Gutov's message of "Mon, 30 May 2022 00:44:19 +0300") Message-ID: <87ilpnh7rr.fsf@codeisgreat.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) Dmitry Gutov writes: > On 12.05.2022 19:38, Juri Linkov wrote: >> BTW, here is another improvement for project-find-file. >> If there is no file name under point, it could propose >> the current file name for editing in the minibuffer, >> to find another file based on the current file >> when their names are similar. > > Here as well: if you find this helpful, that sounds okay to me. > > I haven't ever felt a need for this particular behavior, but it > shouldn't hurt either. To be consistent with other subsystems of Emacs, we can do something that Dired does. 1. Press =E2=80=99R=E2=80=99 to rename a file. 2. Then press =E2=80=99M-n=E2=80=99. It invokes (next-history-element) whic= h fills current file in the minibuffer for editing. the advantage of this above approach is that it offers user a choice - continue using the same behaviour or press =E2=80=99M-n=E2=80=99 t= o prefill current file name. From unknown Sat Jun 21 12:33:06 2025 X-Loop: help-debbugs@gnu.org Subject: bug#55267: 29.0.50; Provide customization to save project-find-file arg to savehist Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 May 2022 09:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55267 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Pankaj Jangid Cc: 55267@debbugs.gnu.org, Juri Linkov Received: via spool by 55267-submit@debbugs.gnu.org id=B55267.165390250115788 (code B ref 55267); Mon, 30 May 2022 09:22:01 +0000 Received: (at 55267) by debbugs.gnu.org; 30 May 2022 09:21:41 +0000 Received: from localhost ([127.0.0.1]:42763 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nvbam-00046Y-TF for submit@debbugs.gnu.org; Mon, 30 May 2022 05:21:41 -0400 Received: from mail-ed1-f45.google.com ([209.85.208.45]:42571) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nvbal-00046M-8O for 55267@debbugs.gnu.org; Mon, 30 May 2022 05:21:39 -0400 Received: by mail-ed1-f45.google.com with SMTP id n28so3879553edb.9 for <55267@debbugs.gnu.org>; Mon, 30 May 2022 02:21:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=dalSNaQsxMs+Fj2mmZG6FHbE+Hq8dPPo+vL5YDGZBG4=; b=G/BU0Pute0ySmUmvWkSw1+V1xVPIR68lHShQO3XTKmjgSjSk1OOQxu1PNxIccObAaY x3D5TRemIWxMC0f5vadHU7wXKmshmo0aDqDLeWdUOhlGLJuLnbjxl/4mHnGJue0BNw/0 DE6tkJuP4pk38nMYdPT/SuK4GgpFpKdEOHxbbmL+6GYYsag2DsFKuUor+KB46I0XQ/wC CwnR1AGgz4DBBRzlsnh68xHi0Q1vR3ChwR+ZIZnbwX2Yr4PxT2iaS5UgEwqhB75+LCSa 7IYtYqKO3yYJYryfVFq/naMxrwC6zjqNgKH7hMVUU3KiwJ/M88S9QM4UXdzhRZ3ryzk5 YnRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:message-id:date:mime-version:user-agent :subject:content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=dalSNaQsxMs+Fj2mmZG6FHbE+Hq8dPPo+vL5YDGZBG4=; b=fpjd+eez0buA0KCvjsBNhR3n4OLXgoQoUqkK4990+sBmzDURxNoJ6MxIA4iHQSrKsZ Fbi8X4aASKxUQ6Dx3fpViGyt++Do9Tkhd7rphFaOJuut2mMcSDOcTKYF+ckFyu4hN+pf d7hESMehVmduv0SXpRY7l8VHasQtHeJq9gtNKIAagnAtZGQ4ntXXErJxDzG0dOSKY8mh dO96nu0RSmGtl5lyDXhxBbWsvjRpvQaMyJ5u9tPogfu3hBT+PyHyo8U8RbrZfyZVsECA E+1X93PFQbHcLkJ0Sq8AiOZRwZVkOkd5Bh2m4knCloAZ5bIAsDAltOS0m7uSXw73GKQI Z4Vg== X-Gm-Message-State: AOAM532eOi6oyt5/RCM8T/w+2fZ1oSx50hoUkYROJwmo8xKNv924jVc0 giMER7katR48Lq7pEnGIfbM= X-Google-Smtp-Source: ABdhPJwXIFzWmSG1SUwtx8OozSuMwMlE0ePAuis4cbsJFwMOA5NqhS1wMvesF0lRqdx5S3uJBePP0w== X-Received: by 2002:a05:6402:42c7:b0:42a:d366:dc65 with SMTP id i7-20020a05640242c700b0042ad366dc65mr58331965edc.295.1653902493248; Mon, 30 May 2022 02:21:33 -0700 (PDT) Received: from [192.168.236.48] ([173.237.64.48]) by smtp.googlemail.com with ESMTPSA id f20-20020a056402355400b0042aca5edba7sm6297989edd.57.2022.05.30.02.21.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 30 May 2022 02:21:32 -0700 (PDT) Message-ID: <271cad69-030a-c11a-d223-946258017a7a@yandex.ru> Date: Mon, 30 May 2022 12:21:30 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Content-Language: en-US References: <87bkwc64qw.fsf@codeisgreat.org> <877d7063ka.fsf@codeisgreat.org> <86a6bwv2qk.fsf_-_@mail.linkov.net> <86czgj5e6n.fsf@mail.linkov.net> <51efc8c0-78f8-07ba-7a56-107331956fce@yandex.ru> <87ilpnh7rr.fsf@codeisgreat.org> From: Dmitry Gutov In-Reply-To: <87ilpnh7rr.fsf@codeisgreat.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) On 30.05.2022 09:08, Pankaj Jangid wrote: > To be consistent with other subsystems of Emacs, we can do something > that Dired does. > > 1. Press ’R’ to rename a file. > > 2. Then press ’M-n’. It invokes (next-history-element) which fills > current file in the minibuffer for editing. > > the advantage of this above approach is that it offers user a > choice - continue using the same behaviour or press ’M-n’ to prefill > current file name. I think that's what Juri is suggesting, more or less. From unknown Sat Jun 21 12:33:06 2025 X-Loop: help-debbugs@gnu.org Subject: bug#55267: 29.0.50; Provide customization to save project-find-file arg to savehist Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 May 2022 16:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55267 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Dmitry Gutov Cc: Pankaj Jangid , 55267@debbugs.gnu.org Received: via spool by 55267-submit@debbugs.gnu.org id=B55267.165392837926130 (code B ref 55267); Mon, 30 May 2022 16:33:02 +0000 Received: (at 55267) by debbugs.gnu.org; 30 May 2022 16:32:59 +0000 Received: from localhost ([127.0.0.1]:45930 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nviKA-0006nM-Uz for submit@debbugs.gnu.org; Mon, 30 May 2022 12:32:59 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:39555) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nviK9-0006mu-A6; Mon, 30 May 2022 12:32:57 -0400 Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 6A8272000C; Mon, 30 May 2022 16:32:47 +0000 (UTC) From: Juri Linkov Organization: LINKOV.NET References: <87bkwc64qw.fsf@codeisgreat.org> <877d7063ka.fsf@codeisgreat.org> <86a6bwv2qk.fsf_-_@mail.linkov.net> Date: Mon, 30 May 2022 19:32:07 +0300 In-Reply-To: (Dmitry Gutov's message of "Mon, 30 May 2022 00:42:42 +0300") Message-ID: <86k0a356d4.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) close 55267 29.0.50 thanks >> 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. > > If this works for you, and looks helpful, please go ahead with that change. Thanks for approval, now both changes were added to project.el.