GNU bug report logs - #61861
30.0.50; [PATCH] Catch project.el to projectile's dwim behaviors

Previous Next

Package: emacs;

Reported by: dick <dick.r.chiang <at> gmail.com>

Date: Tue, 28 Feb 2023 05:31:02 UTC

Severity: wishlist

Tags: patch

Found in version 30.0.50

Full log


View this message in rfc822 format

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: 61861 <at> debbugs.gnu.org, dick <dick.r.chiang <at> gmail.com>
Subject: bug#61861: 30.0.50; [PATCH] Catch project.el to projectile's dwim behaviors
Date: Tue, 11 Feb 2025 20:39:27 -0800
Dmitry Gutov <dgutov <at> yandex.ru> writes:

> On 28/02/2023 03:22, dick wrote:
>> * lisp/progmodes/project.el (project-get-project, project-current):
>> Rationalize interfaces.
>> (project--files-in-directory): Whitespace.
>> (project-try-vc): Avoid swallowing errors.
>> (project-files): De-obfuscate.
>> (project--vc-list-files): Whitespace.
>> (project-find-regexp, project-or-external-find-regexp, project-find-file,
>> project-or-external-find-file, project-find-dir, project-dired,
>> project-vc-dir, project-eshell, project-shell, project-async-shell-command,
>> project-shell-command, project-search, project-query-replace-regexp,
>> project-compile, project--read-project-buffer, project-list-buffers,
>> project-kill-buffers, project-switch-project): DWIM.
>> (project--read-file-cpd-relative): De-obfuscate.
>> (project-find-file-in): Whitespace.
>> (project-most-recent-project): New DWIM function.
>> (project-remember-project, project-prompt-project-dir): De-obfuscate.
>> (project-execute-extended-command): Rationalize interfaces.
>> (project-remember-projects-under): Avoid backslashes.
>> * lisp/progmodes/xref.el (xref-matches-in-files): Do expand-file-name here.
>> * test/lisp/progmodes/project-tests.el (project-switch-project-extant-buffer,
>> project-implicit-project-absorption, project-assume-mru-project): Test.
>> (project-vc-extra-root-markers-supports-wildcards): Dude.
>
> First of all, lots of changes without rationalization, that's not actionable.

dick, could you please resend these patches in smaller chunks with a
rationale?

> Second: projectile defaults to mru project when it can't find one?




This bug report was last modified 125 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.