From: Dmitry Gutov <dgutov@yandex.ru>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 41821@debbugs.gnu.org, juri@linkov.net
Subject: bug#41821: 28.0.50; read-directory-name in vc commands should provide defaults from projects
Date: Thu, 2 Jul 2020 17:43:29 +0300 [thread overview]
Message-ID: <c75015c8-9291-6a70-df7a-a02c112b5973@yandex.ru> (raw)
In-Reply-To: <831rluxcll.fsf@gnu.org>
On 02.07.2020 16:36, Eli Zaretskii wrote:
>>> Why isn't that a better approach? I don't think it's wise to blur the
>>> difference between using project.el features and the VC back-end
>>> features that support them. If someone wants to use project.el in VC
>>> commands, let them use project.el commands, not VC commands. That
>>> way, Emacs will know that some kind of project is being worked on, and
>>> could offer more targeted support for such users.
>>
>> Not sure that's going to result in optimal user experience. After all,
>> simply having a copy of every command, but acting on a project, would
>> make it 2x the number of commands.
>>
>> And project-rgrep, on the other hand, would probably search the current
>> project root without prompting. Unlike the proposed change to rgrep,
>> which only makes it a suggestion.
>
> I just fear that this is a slippery slope: we will eventually need to
> inject this into many GP commands, "for consistency".
The notion of current project is very common in most editors, so I
imagine this will be TRT, sooner or later. Not that I'm in a hurry for that.
>> Another long-term violation of your idea is the default definition of
>> xref-backend-references. It uses the current project. You could say that
>> mixes up abstractions as well, but it's just too handy to implement this
>> way.
>
> I don't think I understand the issue and the use case, sorry.
The use case is 'M-x xref-find-refereces' and xref backends which don't
override xref-backend-references. In which case this command searches
the current project using general purpose tools (one of semantic symref
tools, or Grep).
But xref backend != current project. They're technically and
theoretically independent.
next prev parent reply other threads:[~2020-07-02 14:43 UTC|newest]
Thread overview: 61+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-11 23:03 bug#41821: 28.0.50; read-directory-name in vc commands should provide defaults from projects Juri Linkov
2020-06-12 13:43 ` Dmitry Gutov
2020-06-18 23:28 ` Juri Linkov
2020-06-20 1:35 ` Dmitry Gutov
2020-06-20 23:51 ` Juri Linkov
2020-06-21 0:12 ` Dmitry Gutov
2020-06-21 22:49 ` Juri Linkov
2020-06-22 0:08 ` Dmitry Gutov
2020-06-22 23:45 ` Juri Linkov
2020-06-23 0:37 ` Dmitry Gutov
2020-06-23 23:59 ` Juri Linkov
2020-06-24 14:39 ` Eli Zaretskii
2020-06-24 14:52 ` Basil L. Contovounesios
2020-06-24 15:16 ` Eli Zaretskii
2020-06-24 15:10 ` Dmitry Gutov
2020-06-24 15:18 ` Eli Zaretskii
2020-06-24 15:42 ` Eli Zaretskii
2020-06-24 18:13 ` Dmitry Gutov
2020-06-24 18:29 ` Eli Zaretskii
2020-06-24 18:44 ` Dmitry Gutov
2020-06-24 23:25 ` Juri Linkov
2020-06-25 11:19 ` Dmitry Gutov
2020-06-25 13:20 ` Eli Zaretskii
2020-06-25 13:50 ` Dmitry Gutov
2020-06-25 16:31 ` Eli Zaretskii
2020-06-25 16:45 ` Dmitry Gutov
2020-06-25 17:09 ` Eli Zaretskii
2020-06-25 17:19 ` Dmitry Gutov
2020-06-25 17:45 ` Eli Zaretskii
2020-06-25 17:50 ` Dmitry Gutov
2020-06-25 18:03 ` Eli Zaretskii
2020-06-25 18:13 ` Dmitry Gutov
2020-06-25 18:29 ` Eli Zaretskii
2020-06-27 23:51 ` Juri Linkov
2020-06-28 14:33 ` Eli Zaretskii
2020-06-28 21:55 ` Juri Linkov
2020-06-28 21:51 ` Juri Linkov
2020-06-28 22:37 ` Dmitry Gutov
2020-06-29 22:58 ` Juri Linkov
2020-06-30 12:36 ` Dmitry Gutov
2020-06-30 20:50 ` Juri Linkov
2020-06-30 21:59 ` Dmitry Gutov
2020-07-01 14:42 ` Eli Zaretskii
2020-07-01 20:24 ` Dmitry Gutov
2020-07-02 13:36 ` Eli Zaretskii
2020-07-02 14:43 ` Dmitry Gutov [this message]
2020-07-02 17:41 ` Eli Zaretskii
2020-07-02 19:37 ` Dmitry Gutov
2020-07-03 5:55 ` Eli Zaretskii
2020-07-03 10:23 ` Dmitry Gutov
2020-07-03 11:48 ` Eli Zaretskii
2020-07-03 13:13 ` Dmitry Gutov
2020-07-01 22:10 ` Juri Linkov
2020-07-02 14:39 ` Dmitry Gutov
2020-06-24 23:22 ` Juri Linkov
2020-06-24 18:29 ` Dmitry Gutov
2020-06-27 23:44 ` Juri Linkov
2020-06-28 0:19 ` Dmitry Gutov
2020-06-28 21:49 ` Juri Linkov
2020-06-28 22:42 ` Dmitry Gutov
[not found] <<87r1ulxk48.fsf@mail.linkov.net>
[not found] ` <<ed4d76c6-3ef2-cf0b-5f8b-3b3bd61bdee5@yandex.ru>
[not found] ` <<87366ohw5z.fsf@mail.linkov.net>
[not found] ` <<c9db50b6-fa5a-aa0b-076b-0fbcbcdec7b4@yandex.ru>
[not found] ` <<878sge7jls.fsf@mail.linkov.net>
[not found] ` <<7e136435-7123-fa42-e4a8-66b82e6595da@yandex.ru>
[not found] ` <<87pn9pxris.fsf@mail.linkov.net>
[not found] ` <<83d05ottnw.fsf@gnu.org>
[not found] ` <<0b42f540-f779-446b-4411-8dae3a50d09d@yandex.ru>
[not found] ` <<837dvwtrv1.fsf@gnu.org>
[not found] ` <<835zbgtqps.fsf@gnu.org>
[not found] ` <<625de669-0715-1467-0bd1-84328b4bee5f@yandex.ru>
[not found] ` <<83wo3ws4g8.fsf@gnu.org>
[not found] ` <<f9cd868b-ca2f-bb8e-9b48-af37cc215855@yandex.ru>
[not found] ` <<83tuyzs2np.fsf@gnu.org>
[not found] ` <<87h7uuj1v3.fsf@mail.linkov.net>
[not found] ` <<d93d0f5a-7067-de6a-c2f5-c263864c479e@yandex.ru>
[not found] ` <<87h7utjx75.fsf@mail.linkov.net>
[not found] ` <<3f9e85ba-66a9-abd0-61bf-800ea8bb4ee3@yandex.ru>
[not found] ` <<87eepw5nlt.fsf@mail.linkov.net>
[not found] ` <<faccdab8-153d-b31c-4be6-81bb924a200b@yandex.ru>
[not found] ` <<83v9j7xpoj.fsf@gnu.org>
[not found] ` <<990a9046-c4e6-efb2-01dd-60198994127b@yandex.ru>
[not found] ` <<831rluxcll.fsf@gnu.org>
[not found] ` <<c75015c8-9291-6a70-df7a-a02c112b5973@yandex.ru>
[not found] ` <<83r1ttx196.fsf@gnu.org>
[not found] ` <<9c09977f-18c2-facd-c1e2-e7fe488ee92c@yandex.ru>
[not found] ` <<83eeptw3a9.fsf@gnu.org>
2020-07-03 16:05 ` Drew Adams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c75015c8-9291-6a70-df7a-a02c112b5973@yandex.ru \
--to=dgutov@yandex.ru \
--cc=41821@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=juri@linkov.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.