From unknown Mon Aug 18 14:19:55 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#49865 <49865@debbugs.gnu.org> To: bug#49865 <49865@debbugs.gnu.org> Subject: Status: 28.0.50; Customize project-find-file without thing-at-pont Reply-To: bug#49865 <49865@debbugs.gnu.org> Date: Mon, 18 Aug 2025 21:19:55 +0000 retitle 49865 28.0.50; Customize project-find-file without thing-at-pont reassign 49865 emacs submitter 49865 Manuel Uberti severity 49865 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 04 02:16:32 2021 Received: (at submit) by debbugs.gnu.org; 4 Aug 2021 06:16:32 +0000 Received: from localhost ([127.0.0.1]:42271 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBACd-0000Jd-KN for submit@debbugs.gnu.org; Wed, 04 Aug 2021 02:16:32 -0400 Received: from lists.gnu.org ([209.51.188.17]:43762) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBACb-0000HO-3X for submit@debbugs.gnu.org; Wed, 04 Aug 2021 02:16:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35428) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBACa-0006YF-UE for bug-gnu-emacs@gnu.org; Wed, 04 Aug 2021 02:16:28 -0400 Received: from confino.investici.org ([212.103.72.250]:32049) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBACX-00024y-J8 for bug-gnu-emacs@gnu.org; Wed, 04 Aug 2021 02:16:28 -0400 Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4GfhMJ4hMxz10w8 for ; Wed, 4 Aug 2021 06:16:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1628057772; bh=hrWshiOlNqmS59dIWMYUYuQvhWkJ5r0WkB2JOL6CTto=; h=To:Subject:From:Date:From; b=Fw7XfTnkN1ZyS4nxDk5Lws51F2vpjYpOEgGp1mkOmGXXmasqaJsqwgS0UoUwp/cSA zSbNuF0DAs/au8m83fvqJeADhtrNUn6izNCyU9h8bAFancrepH0e/JOnfUGZWTEPc2 NTzRzX4NrLtMKoqL1Oa4IZ60y2poK0jxI5fV3AzY= Received: from [212.103.72.250] (mx1.investici.org [212.103.72.250]) (Authenticated sender: manuel.uberti@inventati.org) by localhost (Postfix) with ESMTPSA id 4GfhMJ45Cxz10w0 for ; Wed, 4 Aug 2021 06:16:12 +0000 (UTC) To: bug-gnu-emacs@gnu.org Subject: 28.0.50; Customize project-find-file without thing-at-pont From: Manuel Uberti Message-ID: <8050cc41-2dd3-964b-e6ae-ab267a8a05b9@inventati.org> Date: Wed, 4 Aug 2021 08:16:11 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=212.103.72.250; envelope-from=manuel.uberti@inventati.org; helo=confino.investici.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit 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: -2.4 (--) Hi, when I use project-find-file it always picks up the thing at point even when it is something I am pretty sure that does not correspond to a filename, which, in my case, is all the times. I see that in project.el, project-find-file uses project-find-file-in: ;;;###autoload (defun project-find-file () "Visit a file (with completion) in the current project. The completion default is the filename at point, determined by `thing-at-point' (whether such file exists or not)." (interactive) (let* ((pr (project-current t)) (dirs (list (project-root pr)))) (project-find-file-in (thing-at-point 'filename) dirs pr))) Would it be possible to make it customizable with regards to that (thing-at-point 'filename)? At the moment I am using this in my init.el, which I have bound to f in project-prefix-map: (defun mu-project-find-file () "Visit a file (with completion) in the current project." (interactive) (let* ((pr (project-current t)) (dirs (list (project-root pr)))) (project-find-file-in nil dirs pr))) So what I would like is a defcustom that makes me choose whether to pass nil or (thing-at-point ...) to project-find-file-in. I know that this is not a real bug because I can still type whatever I want after calling project-find-file, so I totally understand if this is not something worth new code in project.el. It's just that I don't see the point for project-find-file to suggest me as defaults things like "defun" or "interactive". Thank you. In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.18, cairo version 1.16.0) of 2021-08-04 built on hathaway Repository revision: bee3e51550174047c73a1e942c16c8d45e2db1b8 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12009000 System Description: Ubuntu 20.04 LTS Configured using: 'configure --with-harfbuzz --with-native-compilation' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB Important settings: value of $LC_MONETARY: it_IT.UTF-8 value of $LC_NUMERIC: it_IT.UTF-8 value of $LC_TIME: it_IT.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: ELisp/l Minor modes in effect: electric-pair-mode: t flyspell-mode: t delete-selection-mode: t auto-image-file-mode: t show-paren-mode: t global-so-long-mode: t global-company-mode: t company-mode: t envrc-global-mode: t envrc-mode: t flymake-mode: t goto-address-prog-mode: t hl-line-mode: t global-git-commit-mode: t magit-auto-revert-mode: t shell-command-with-editor-mode: t shell-dirtrack-mode: t minibuffer-depth-indicate-mode: t minibuffer-electric-default-mode: t savehist-mode: t global-diff-hl-mode: t diff-hl-mode: t vertico-mode: t recentf-mode: t save-place-mode: t mu-keys-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t window-divider-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t transient-mark-mode: t view-mode: t Load-path shadows: /home/manuel/.emacs.d/elpa/transient-20210723.1601/transient hides /usr/local/share/emacs/28.0.50/lisp/transient Features: (shadow sort mail-extr emacsbug sendmail noutline outline checkdoc pulse color view jka-compr help-fns radix-tree elec-pair package-lint-flymake package-lint let-alist finder finder-inf lisp-mnt bug-reference flyspell ispell delsel image-file image-converter paren so-long company-oddmuse company-keywords company-etags etags fileloop generator xref company-gtags company-dabbrev-code company-dabbrev company-files company-clang company-capf company-cmake company-semantic company-template company-bbdb company envrc inheritenv flymake-proselint flymake-proc flymake compile keychain-environment goto-addr thingatpt hl-line face-remap vc-git magit-extras magit-bookmark 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 git-commit log-edit message rmc puny dired-x dired-aux dired dired-loaddefs rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs 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 add-log magit-core magit-autorevert magit-margin magit-transient magit-process with-editor shell pcomplete comint server ansi-color magit-mode transient format-spec magit-git magit-section magit-utils crm dash cursor-sensor project autorevert filenotify mb-depth minibuf-eldef savehist consult-vertico consult bookmark text-property-search pp diff-hl log-view pcvs-util vc-dir ewoc vc vc-dispatcher diff-mode orderless vertico modus-operandi-theme modus-themes mode-local advice find-func recentf tree-widget wid-edit saveplace delight comp comp-cstr warnings packages pdf-loader cl-extra help-mode hydra ring lv built-ins rx pcase ibuf-macs core-settings edmacro kmacro disp-table core-packages no-littering core-lib easy-mmode 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 subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib iso-transl tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-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 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 charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 409418 31095) (symbols 48 43772 1) (strings 32 99103 5677) (string-bytes 1 3151508) (vectors 16 43539) (vector-slots 8 919095 45828) (floats 8 278 522) (intervals 56 1423 131) (buffers 992 19)) -- Manuel Uberti www.manueluberti.eu From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 04 04:37:22 2021 Received: (at 49865) by debbugs.gnu.org; 4 Aug 2021 08:37:22 +0000 Received: from localhost ([127.0.0.1]:42673 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBCOv-0005L2-OW for submit@debbugs.gnu.org; Wed, 04 Aug 2021 04:37:22 -0400 Received: from quimby.gnus.org ([95.216.78.240]:38224) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBCOt-0005Kj-By for 49865@debbugs.gnu.org; Wed, 04 Aug 2021 04:37:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=GFL06jGJuJJiSkFMlgeVHrXMXgOMMMdSrGzqwaOY884=; b=nNveLlYAiEqFK0Y+x/3JJbLeiZ X8+bGHZwx62FUt5+iNlLe7DkxbuOTbqPlo6A08D73sNyoIFBXVKXZdOmesZaO44s5YHxXR8Qx3xAg kCsRdK9cg94j8wWcr19KHDRAfN9kDeKSVWNRQ3c7yhldmuDWVL5Wmq1n3g0zjgVKL9Cs=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mBCOk-0005g8-Cb; Wed, 04 Aug 2021 10:37:13 +0200 From: Lars Ingebrigtsen To: Manuel Uberti Subject: Re: bug#49865: 28.0.50; Customize project-find-file without thing-at-pont References: <8050cc41-2dd3-964b-e6ae-ab267a8a05b9@inventati.org> Date: Wed, 04 Aug 2021 10:37:09 +0200 In-Reply-To: <8050cc41-2dd3-964b-e6ae-ab267a8a05b9@inventati.org> (Manuel Uberti's message of "Wed, 4 Aug 2021 08:16:11 +0200") Message-ID: <874kc5ehca.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Manuel Uberti writes: > when I use project-find-file it always picks up the thing at point > even when it is something I am pretty sure that does not correspond to > a filename, which, in my case, is all the times. > > I s [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 49865 Cc: 49865@debbugs.gnu.org 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.3 (---) Manuel Uberti writes: > when I use project-find-file it always picks up the thing at point > even when it is something I am pretty sure that does not correspond to > a filename, which, in my case, is all the times. > > I see that in project.el, project-find-file uses project-find-file-in: > > ;;;###autoload > (defun project-find-file () > "Visit a file (with completion) in the current project. > > The completion default is the filename at point, determined by > `thing-at-point' (whether such file exists or not)." > (interactive) > (let* ((pr (project-current t)) > (dirs (list (project-root pr)))) > (project-find-file-in (thing-at-point 'filename) dirs pr))) This reminded me that I've been meaning to add a thing-at-point target that is like `filename', but returns nil if the file named doesn't exist, so I've now done this in Emacs 28. Perhaps project.el should use it here? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 04 04:38:09 2021 Received: (at 49865) by debbugs.gnu.org; 4 Aug 2021 08:38:09 +0000 Received: from localhost ([127.0.0.1]:42677 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBCPh-0005MR-3s for submit@debbugs.gnu.org; Wed, 04 Aug 2021 04:38:09 -0400 Received: from quimby.gnus.org ([95.216.78.240]:38240) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBCPf-0005MD-Pj for 49865@debbugs.gnu.org; Wed, 04 Aug 2021 04:38:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Y9GKzGQnJS6mscWG/lW+T6tenA5NmR4BrHJJVXK8nC8=; b=JcEr2H7xz9vWIdrm2HvW6apcWp wjqFXmQvi3aDukBIRvTaCCbky9AwOnZPJbRB2skYEH1eswSXXEze9ruM0JCuJSpe1oEPSZtWyxJLC cKQbmttw6rUa9XjhYEIiobBk6laafpgBn1WmnjgFM6Zc4KV9/R8PLChbe8dWFXFXtaHc=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mBCPX-0005gM-CV; Wed, 04 Aug 2021 10:38:01 +0200 From: Lars Ingebrigtsen To: Manuel Uberti Subject: Re: bug#49865: 28.0.50; Customize project-find-file without thing-at-pont References: <8050cc41-2dd3-964b-e6ae-ab267a8a05b9@inventati.org> <874kc5ehca.fsf@gnus.org> Date: Wed, 04 Aug 2021 10:37:58 +0200 In-Reply-To: <874kc5ehca.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 04 Aug 2021 10:37:09 +0200") Message-ID: <87zgtxd2qh.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Lars Ingebrigtsen writes: > Perhaps project.el should use it here? In Emacs 28 (and up) only, of course. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 49865 Cc: 49865@debbugs.gnu.org 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.3 (---) Lars Ingebrigtsen writes: > Perhaps project.el should use it here? In Emacs 28 (and up) only, of course. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 04 05:07:55 2021 Received: (at 49865) by debbugs.gnu.org; 4 Aug 2021 09:07:55 +0000 Received: from localhost ([127.0.0.1]:42758 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBCsV-00021l-9r for submit@debbugs.gnu.org; Wed, 04 Aug 2021 05:07:55 -0400 Received: from devianza.investici.org ([198.167.222.108]:36989) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBCsR-00021b-Vq for 49865@debbugs.gnu.org; Wed, 04 Aug 2021 05:07:53 -0400 Received: from mx2.investici.org (unknown [127.0.0.1]) by devianza.investici.org (Postfix) with ESMTP id 4Gfm9L5wn0z6v67; Wed, 4 Aug 2021 09:07:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1628068070; bh=bJyT1Gz0ncVMLuU6qIApPh03bVTS9TvIY95O7tnRRtc=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=eY/EUzsXYxC1VifXORJ/ENxtDl351ffzX931jWiVHYuST0L1TcmAy+RRD9ukHNiPZ 5uTSruCOr/LZa6PlLWWz6hR6gtzrxGLHTD5u0Si0ItKPzLIH8wSM02WdNOZOvJzhai uAatK5t5dezcO1SxjgOCxr2tPd3Mtwhka2bQkkkM= Received: from [198.167.222.108] (mx2.investici.org [198.167.222.108]) (Authenticated sender: manuel.uberti@inventati.org) by localhost (Postfix) with ESMTPSA id 4Gfm9L2cj6z6v63; Wed, 4 Aug 2021 09:07:50 +0000 (UTC) Subject: Re: bug#49865: 28.0.50; Customize project-find-file without thing-at-pont To: Lars Ingebrigtsen References: <8050cc41-2dd3-964b-e6ae-ab267a8a05b9@inventati.org> <874kc5ehca.fsf@gnus.org> <87zgtxd2qh.fsf@gnus.org> From: Manuel Uberti Message-ID: <22a2a9e8-e773-6cc9-38e1-b11cd8e886f2@inventati.org> Date: Wed, 4 Aug 2021 11:07:48 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <87zgtxd2qh.fsf@gnus.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Spam-Score: -0.1 (/) X-Debbugs-Envelope-To: 49865 Cc: 49865@debbugs.gnu.org, Dmitry Gutov 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.1 (-) On 04/08/21 10:37, Lars Ingebrigtsen wrote: > Lars Ingebrigtsen writes: > >> Perhaps project.el should use it here? > > In Emacs 28 (and up) only, of course. > Thank you Lars! I don't know if Dmitry got these emails, but since he worked quite a lot on project.el I Cc'd him. -- Manuel Uberti www.manueluberti.eu From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 05 20:36:16 2021 Received: (at 49865) by debbugs.gnu.org; 6 Aug 2021 00:36:16 +0000 Received: from localhost ([127.0.0.1]:48698 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBnqS-0004IP-4J for submit@debbugs.gnu.org; Thu, 05 Aug 2021 20:36:16 -0400 Received: from mail-wm1-f42.google.com ([209.85.128.42]:36792) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBnqP-0004IB-Ur for 49865@debbugs.gnu.org; Thu, 05 Aug 2021 20:36:14 -0400 Received: by mail-wm1-f42.google.com with SMTP id o7-20020a05600c5107b0290257f956e02dso7633091wms.1 for <49865@debbugs.gnu.org>; Thu, 05 Aug 2021 17:36:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=hrRfDTQJbHf7+RTEgw5+47cDAxwX17QUEi1yF7J0qik=; b=bBtt41QDwNlQSvIq2pVmZ8szZHsBNMVrPNaEnp0v7UwG99IqCGo2N+/94JC4ZaLBLg pP2Rb0j7UJxWvUPpP4oWHzpfciF1bE8hOfImlUzKL9oRqWvlJdBOTf3v4fMBRyuOZ5K4 RD6ni9ZlIjWV+4882XAcs0Kv4zixjKJo38NyFg2+OaxqAQxVVIb19AmMl7emGo73xhm5 YePh0SD0VEoqWxBF/cMr3QIlfkdx+RGUCPXbkBC5Q0nza6diTnxzG2pv+t2Jl//XYsKl SbT7wYAelXD60S0WxDGaTyn/xzs8kInlGMSO18C5vHgOiV4i6JGJ6Hz7FKQyXUwpYTut xwVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=hrRfDTQJbHf7+RTEgw5+47cDAxwX17QUEi1yF7J0qik=; b=ZOgEzbPJo+ZZufn9On302NXWBit53uAxg7w7X/GpPu7YEts1ainKp6xRgz6TgRMfft 5U3/8WPR4d7DpfRrsG1Px5yJWoMkCgkZhVKrbFJ1uVgTaNmC+4uycm+GRSlgn9/W4/Fx OSfVg39hje8BNm+T8D/3GMyLkMiRcf2JfBj+qLXhoYuzccDhv+BqZ/BqFuLj1c5wNR1n 8ZCGion/GJ2sTfugsXOmM+HLFqfDxv04WxUoK27ec24m0uEhTt48A52Nt5ck9MhPeyGp HzCmalCI0GxoOozYXHvW+dvqZAU30WtdPbY1a5avi+552Xt5fE+pBbSquD53T5PfS5M3 4sVw== X-Gm-Message-State: AOAM531N7Zjfil1MwDqN0BqNfuweggK7LVWeOmaOVAvwao9zj9kcwMhn zDzHAnij281r6iDdmXz2Q9OxAkDOec0= X-Google-Smtp-Source: ABdhPJz4mq+iM/OkTbg7LAXHDq5cVYNILsaIcVxb/C9WGyZrFEyfgQPOiIUMiaHk6Cb8ndj7+fsKjQ== X-Received: by 2002:a7b:c416:: with SMTP id k22mr17700475wmi.177.1628210167873; Thu, 05 Aug 2021 17:36:07 -0700 (PDT) Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id m14sm7770302wrs.56.2021.08.05.17.36.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 05 Aug 2021 17:36:07 -0700 (PDT) Subject: Re: bug#49865: 28.0.50; Customize project-find-file without thing-at-pont To: Manuel Uberti , 49865@debbugs.gnu.org References: <8050cc41-2dd3-964b-e6ae-ab267a8a05b9@inventati.org> From: Dmitry Gutov Message-ID: Date: Fri, 6 Aug 2021 03:36:06 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <8050cc41-2dd3-964b-e6ae-ab267a8a05b9@inventati.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 0.4 (/) X-Debbugs-Envelope-To: 49865 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.6 (/) Hi Manuel, Good timing. On 04.08.2021 09:16, Manuel Uberti wrote: > when I use project-find-file it always picks up the thing at point even > when it is something I am pretty sure that does not correspond to a > filename, which, in my case, is all the times. I have just pushed a patch previously discussed in bug#49204 which changes this behavior as well (commit fa89537). Let me know how you like it. It should make the "thing at point" thing less in-your-face, but one could still reach for it when needed. > I know that this is not a real bug because I can still type whatever I want after calling project-find-file, so I totally understand if this is not something worth new code in project.el. It's just that I don't see the point for project-find-file to suggest me as defaults things like "defun" or "interactive". Seeing "(default defun): " in the prompt must have been annoying. Though I think it was the most problematic when the string at point is long. From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 05 20:51:22 2021 Received: (at 49865) by debbugs.gnu.org; 6 Aug 2021 00:51:22 +0000 Received: from localhost ([127.0.0.1]:48710 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBo53-0004dX-VO for submit@debbugs.gnu.org; Thu, 05 Aug 2021 20:51:22 -0400 Received: from mail-wr1-f52.google.com ([209.85.221.52]:37636) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBo53-0004dK-2s for 49865@debbugs.gnu.org; Thu, 05 Aug 2021 20:51:21 -0400 Received: by mail-wr1-f52.google.com with SMTP id d8so8854452wrm.4 for <49865@debbugs.gnu.org>; Thu, 05 Aug 2021 17:51:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=5d/1HxiXaGG8QdkayH2hy24bx8Tz/FC+kFjamcKkRFA=; b=kCR9aNJRuaB4m/2dXb6k1sxC8dfPGDsSrFyon86gTyRGuLodhLVdButJflZX3OhYTD nohefIM2aLVszEl7FXHfHKZXa2gaN6zRFfjqyMEdV3Iwsr9j6B889lRG+HRdzOUHciJd KRl8HYtBtGd+LeXyePhIAE2fIvyySSWbB6Q51tS0IUweUlalpM0cYLoJ6MkYAuWXN2to +R7WjqJT4mFkgX0Y0HeDMzlC+Gy300+XLZy1S1tGNuRbs4yekrMmc7+8kCg6ua1cRvEO nM6223ow6KTzbvD4/vQzzWd3NbgxpkKu9fVe0AzeE+YORT1xOb3ISfmmHOYip4IoQj1G mZ4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=5d/1HxiXaGG8QdkayH2hy24bx8Tz/FC+kFjamcKkRFA=; b=FmuSNwnOrd6+XgZ2R0IPaql8ipTzBF/a4CKW3wibhvG5wNI7sK6/BClt6Co6gtXX3v D+nmUPJ+rqBR9ml1VLWP2Lb6mwhk82OI5fCSlGB+ZZmA3vSTtfbyZNknKrGcGUL13qht KhUQEOi9vNdzrXR9+21qbik2VZfZ5wUbEw8cd2ifpZ50s/i4LKYt/epciv4XZolz58hq XHqqwNH8ZX8++aPceNHm4Un2JVS4sdmqFoLDkc4/sFHJeJOk/deeFnO1LeUn0mKwtYk3 cgDVfyWOvj/5Q8ywFw0FM8a8jfvNSS5CzlZDMR9QLOwnljsaJvOaiQ21WYAIzziD9Pwt 5TPQ== X-Gm-Message-State: AOAM533Q9SbWInGRVR3a1KLX+nxdw8dkoJKJIChVtsUymtcmZEbCSEuC qZXIr4qAYcJFyfpoVl1f1Q8vrOnudlc= X-Google-Smtp-Source: ABdhPJwjpuFu8dn8o+0Tp7vnlS4s/GV8cs9kSA9r0gFC+wPXYogKfe+DFKXUYSnpW6kfr3qrkj38IA== X-Received: by 2002:a05:6000:1106:: with SMTP id z6mr8125085wrw.296.1628211075169; Thu, 05 Aug 2021 17:51:15 -0700 (PDT) Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id c2sm7642536wrs.60.2021.08.05.17.51.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 05 Aug 2021 17:51:14 -0700 (PDT) Subject: Re: bug#49865: 28.0.50; Customize project-find-file without thing-at-pont To: Lars Ingebrigtsen , Manuel Uberti References: <8050cc41-2dd3-964b-e6ae-ab267a8a05b9@inventati.org> <874kc5ehca.fsf@gnus.org> From: Dmitry Gutov Message-ID: <87c8db5b-514a-7f7f-e71d-3044bf05a4c9@yandex.ru> Date: Fri, 6 Aug 2021 03:51:13 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <874kc5ehca.fsf@gnus.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 0.4 (/) X-Debbugs-Envelope-To: 49865 Cc: 49865@debbugs.gnu.org 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.6 (/) Hi Lars, On 04.08.2021 11:37, Lars Ingebrigtsen wrote: > This reminded me that I've been meaning to add a thing-at-point target > that is like `filename', but returns nil if the file named doesn't > exist, so I've now done this in Emacs 28. > > Perhaps project.el should use it here? I don't know if it will be the best choice here. First of all, we already have the hook file-name-at-point-functions, which is consulted by read-file-name--defaults. So one can already e.g. move point to some existing file name, press C-x C-f M-n and with the power of the ffap package have the file name inserted. But when we're completing project-wide, there will also be references that are not relative to the current directory (and instead relate to some project-configured path). Like #include "stuff/thingy.h" or require 'actor/abc' ...where the string is both not relative to the current dir and is missing the extension. ffap actually includes support for this, like having (require 'cl-lib) be recognized as '.../lisp/emacs-lisp/cl-lib.el', but it only works for a limited set of languages, and OOTB only for Elisp (for all others you need to configure variables like ffap-c++-path). From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 06 01:27:37 2021 Received: (at 49865) by debbugs.gnu.org; 6 Aug 2021 05:27:37 +0000 Received: from localhost ([127.0.0.1]:48870 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBsOO-00036r-VK for submit@debbugs.gnu.org; Fri, 06 Aug 2021 01:27:37 -0400 Received: from devianza.investici.org ([198.167.222.108]:48893) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBsOM-00036i-Cm for 49865@debbugs.gnu.org; Fri, 06 Aug 2021 01:27:35 -0400 Received: from mx2.investici.org (unknown [127.0.0.1]) by devianza.investici.org (Postfix) with ESMTP id 4GgvBF09LWz6v7g; Fri, 6 Aug 2021 05:27:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1628227653; bh=arSKSf219Dl/VOxK6O9Okcp0cSSlnRei5iitEb3g7k8=; h=To:References:From:Subject:Date:In-Reply-To:From; b=WPany5w25F8RQ+6icr/qgubQyLnZYlV/NHjA1iV/dIPjXC0JTGCLX1xnxQnMJ/ibJ Mwwbbotr0gubSprw0Mo74/vIZNbZCshgWDkJmdJGnOW/UMKZxmPLsMWwaSetivACEU P83ttDlXbku8Fxo6k/t+AigJtBfi3kyY+WXe05B0= Received: from [198.167.222.108] (mx2.investici.org [198.167.222.108]) (Authenticated sender: manuel.uberti@inventati.org) by localhost (Postfix) with ESMTPSA id 4GgvBD4lNGz6v7V; Fri, 6 Aug 2021 05:27:32 +0000 (UTC) To: Dmitry Gutov , 49865@debbugs.gnu.org References: <8050cc41-2dd3-964b-e6ae-ab267a8a05b9@inventati.org> From: Manuel Uberti Subject: Re: bug#49865: 28.0.50; Customize project-find-file without thing-at-pont Message-ID: Date: Fri, 6 Aug 2021 07:27:29 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 8bit X-Spam-Score: -0.1 (/) X-Debbugs-Envelope-To: 49865 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.1 (-) On 06/08/21 02:36, Dmitry Gutov wrote: > I have just pushed a patch previously discussed in bug#49204 which changes this > behavior as well (commit fa89537). > > Let me know how you like it. It should make the "thing at point" thing less > in-your-face, but one could still reach for it when needed. Hi Dmitry, thank you for the quick fix. The only thing that may look unfamiliar is the new prompt. Let's see if I can give you an example: - C-x p p, I pick '.emacs.d' - f - the prompt shows 'Find file in /home/manuel/.emacs.d' - now I type 'valu' because I want to visit '/home/manuel/.emacs.d/etc/transient/values.el' - the prompt shows 'Find file in /home/manuel/.emacs.d/valu' At first I thought hitting RET would take me to '/home/manuel/.emacs.d/valu' instead of '/home/manuel/.emacs.d/etc/transient/values.el'. It doesn't, of course, but maybe having a prompt like 'Find file in /home/manuel/.emacs.d: valu' makes it clearer? -- Manuel Uberti www.manueluberti.eu From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 06 04:45:45 2021 Received: (at 49865) by debbugs.gnu.org; 6 Aug 2021 08:45:46 +0000 Received: from localhost ([127.0.0.1]:49045 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBvTv-0001wV-Ff for submit@debbugs.gnu.org; Fri, 06 Aug 2021 04:45:45 -0400 Received: from mail-ej1-f45.google.com ([209.85.218.45]:43849) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBvTt-0001wC-Tq for 49865@debbugs.gnu.org; Fri, 06 Aug 2021 04:45:30 -0400 Received: by mail-ej1-f45.google.com with SMTP id hw6so13969410ejc.10 for <49865@debbugs.gnu.org>; Fri, 06 Aug 2021 01:45:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=cNKqeHn52DG6yOg5boN8tHevE/15M/+mI34yW0n3H+M=; b=Q9/SijNJQ5RoGIt4rYscEFtE7KO0I/84MQYynHzF1Kq8ew5iXL45dsN4XeiTyjAVkl 6uQP4AWilGNmnOh9Sm6IzJmTHYKSCyTUybub2rdBj7y3IFj0h7QvcLK2+AnxXJtaqyui oOb5uzI9YHApdUUHjJzuTdomH9kX/aSKHoo8WIyzEjY53Tw7vjd0e/xL7EtEKP13MqYh CL9hRTzoUPoN3GpRwakoUoyOxbySVFYYnibFxhxHHyhwkn3QPm/pZCY/BMOo+K8TUY5S a41KDewZl+Tvx+f9nCKcDRZSc2kMkLasnjUfKKh3OXlPxIrimq2AU1uyxRpwUHbqUpNS 6X1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=cNKqeHn52DG6yOg5boN8tHevE/15M/+mI34yW0n3H+M=; b=JsH7Uxmw0CqfOAi86S888/Z1TgVJU+ZwJMYTQ84Ihwae8/XViREAci8xDQ1kAXaC5L br/uwDwbs/pFEYJ/r1hnaCEPmdwTNx6653XZm0WuXDCIWhj+mMuhMJKzICX53tQoSXRu P+T1wjmXDZZ4Mwcnv3QNKDGvqtmg6DGbaHhdU9tA2ehGegmrz2AstiKGUj+7xrChZJYD H5cELK2jGOQDQ01q8XCsfNUlQ7veRZy6J4am+4Or+FETUHChKpf0YV5JA9vJuEicNqSF ZI7XJkOQbYObIYGh0K+7sgW9VN85FBkhCKOjdfG8xKGrHVhupMvz7Ea9r8neQF6KHmBN TTTg== X-Gm-Message-State: AOAM531PjQ4BmUgsxrbA819CIAG25uZ+xeGYeDA3ObzaqpeStrwX3kq8 cWMG6c53Cc7h6zJiHtX90IffegWAH90= X-Google-Smtp-Source: ABdhPJz1gCy+nd45QHfznQzdgMzszRjtPunLMoFddmpPZuLJURFHpzBxH9HTqnDomGhIvtFlxPDYGQ== X-Received: by 2002:a17:906:d20b:: with SMTP id w11mr8916763ejz.242.1628239524145; Fri, 06 Aug 2021 01:45:24 -0700 (PDT) Received: from [192.168.0.78] (buscust41-118.static.cytanet.com.cy. [212.31.107.118]) by smtp.googlemail.com with ESMTPSA id de47sm2654511ejc.6.2021.08.06.01.45.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 06 Aug 2021 01:45:23 -0700 (PDT) Subject: Re: bug#49865: 28.0.50; Customize project-find-file without thing-at-pont To: Manuel Uberti , 49865@debbugs.gnu.org References: <8050cc41-2dd3-964b-e6ae-ab267a8a05b9@inventati.org> From: Dmitry Gutov Message-ID: <221b3e96-f4c9-5c2c-0d63-382264d008d9@yandex.ru> Date: Fri, 6 Aug 2021 11:45:21 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 0.4 (/) X-Debbugs-Envelope-To: 49865 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.6 (/) On 06.08.2021 08:27, Manuel Uberti wrote: > At first I thought hitting RET would take me to > '/home/manuel/.emacs.d/valu' instead of > '/home/manuel/.emacs.d/etc/transient/values.el'. It doesn't, of course, > but maybe having a prompt like 'Find file in /home/manuel/.emacs.d: > valu' makes it clearer? Thanks for the catch, this got lost with the change. From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 06 04:51:10 2021 Received: (at 49865) by debbugs.gnu.org; 6 Aug 2021 08:51:10 +0000 Received: from localhost ([127.0.0.1]:49049 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBvZO-0002Ah-Ca for submit@debbugs.gnu.org; Fri, 06 Aug 2021 04:51:10 -0400 Received: from latitanza.investici.org ([82.94.249.234]:23115) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBvZK-0002AP-23 for 49865@debbugs.gnu.org; Fri, 06 Aug 2021 04:51:09 -0400 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4Ggzj43QpdzGp5m; Fri, 6 Aug 2021 08:51:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1628239864; bh=fTiD4kCM1MQm6MnnQjFIfzATlzzetsK63DF5k8XEqoQ=; h=Subject:To:References:From:Date:In-Reply-To:From; b=q+M9sEjGLibEfPaPBpo64cVsPY4YWyZ9fd9yl+lGW9zc7TEQNY346PrjdzWodb2Ep 2mb63rJ5rozfVpIlaEXgF1sJVmH9vVRx1MkCm1pFSV9k9yW/cCfZrpg/vcOpzhN5xe rJn7G9CXHcgbWoAB6SJY1RfF7kuphmKEl9Xqd/mQ= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: manuel.uberti@inventati.org) by localhost (Postfix) with ESMTPSA id 4Ggzj42WNnzGp4P; Fri, 6 Aug 2021 08:51:04 +0000 (UTC) Subject: Re: bug#49865: 28.0.50; Customize project-find-file without thing-at-pont To: Dmitry Gutov , 49865@debbugs.gnu.org References: <8050cc41-2dd3-964b-e6ae-ab267a8a05b9@inventati.org> <221b3e96-f4c9-5c2c-0d63-382264d008d9@yandex.ru> From: Manuel Uberti Message-ID: Date: Fri, 6 Aug 2021 10:51:03 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <221b3e96-f4c9-5c2c-0d63-382264d008d9@yandex.ru> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Spam-Score: -0.1 (/) X-Debbugs-Envelope-To: 49865 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.1 (-) On 06/08/21 10:45, Dmitry Gutov wrote: > Thanks for the catch, this got lost with the change. It's perfect now, thanks a lot for this. Unless Lars has something more to add, I think this can be considered solved now. -- Manuel Uberti www.manueluberti.eu From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 06 06:40:50 2021 Received: (at 49865) by debbugs.gnu.org; 6 Aug 2021 10:40:50 +0000 Received: from localhost ([127.0.0.1]:49200 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBxHW-0005Vt-2f for submit@debbugs.gnu.org; Fri, 06 Aug 2021 06:40:50 -0400 Received: from quimby.gnus.org ([95.216.78.240]:35608) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBxHU-0005Vc-A8 for 49865@debbugs.gnu.org; Fri, 06 Aug 2021 06:40:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Hw2J14HHEneDGbZCzzOYkEi44r3RmHf/tvyeutJ57FA=; b=FXPaBjAsCJHkQuCa6Zi7R/XmcM FawZN4LrSVXNV5CoHrcb1YrTr1xzL3zFx6HxHMQjsu61zP+7ADRNyggobhoPmQpzvU8jxdDJf57vb Aw9WVCUnTID7EeKATTXYvCBHjRZXp8Luq9yY++0AnPoWUmrZO5EWIebIyszY0L4XmJec=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mBxHK-00030o-GJ; Fri, 06 Aug 2021 12:40:41 +0200 From: Lars Ingebrigtsen To: Manuel Uberti Subject: Re: bug#49865: 28.0.50; Customize project-find-file without thing-at-pont References: <8050cc41-2dd3-964b-e6ae-ab267a8a05b9@inventati.org> <221b3e96-f4c9-5c2c-0d63-382264d008d9@yandex.ru> Date: Fri, 06 Aug 2021 12:40:34 +0200 In-Reply-To: (Manuel Uberti's message of "Fri, 6 Aug 2021 10:51:03 +0200") Message-ID: <87lf5ec0v1.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Manuel Uberti writes: > Unless Lars has something more to add, I think this can be considered > solved now. Looks good to me, too, so I'm closing this bug report. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 49865 Cc: 49865@debbugs.gnu.org, Dmitry Gutov 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.3 (---) Manuel Uberti writes: > Unless Lars has something more to add, I think this can be considered > solved now. Looks good to me, too, so I'm closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 06 06:40:57 2021 Received: (at control) by debbugs.gnu.org; 6 Aug 2021 10:40:57 +0000 Received: from localhost ([127.0.0.1]:49203 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBxHd-0005WE-9B for submit@debbugs.gnu.org; Fri, 06 Aug 2021 06:40:57 -0400 Received: from quimby.gnus.org ([95.216.78.240]:35624) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBxHc-0005W2-Ee for control@debbugs.gnu.org; Fri, 06 Aug 2021 06:40:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=dNZwLC0yZVDpvxYpxlHQT0CDKVd5RtxTSVFhDYtSXLY=; b=YJg73raRPk/zTCt2hVggVELOyj NsJJ+Y06rWvzqR4IK+gngViH8GQwB7mbAi7qn5qfB3sZRTu3wf6yxapSpxv/iiUiBUAkB8SC+wY5L HVJZ1A/ZSUg9nCaZzDbCeGdCzw+0Vsx/uxO7VcRQ6iamuv0x5woobGdXuqURNvkgHsMA=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mBxHU-000317-Na for control@debbugs.gnu.org; Fri, 06 Aug 2021 12:40:50 +0200 Date: Fri, 06 Aug 2021 12:40:48 +0200 Message-Id: <87k0kyc0un.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #49865 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 49865 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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.3 (---) close 49865 28.1 quit From unknown Mon Aug 18 14:19:55 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 03 Sep 2021 11:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator