unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: Peter Povinec <spepo.42@gmail.com>
Cc: 55016-done@debbugs.gnu.org, Eli Zaretskii <eliz@gnu.org>
Subject: bug#55016: 28.1; xref-find-references finds no matches if project dir contains a space
Date: Mon, 31 Oct 2022 03:00:06 +0200	[thread overview]
Message-ID: <6a49d4ff-6f29-0a45-8acf-329cc121ac97@yandex.ru> (raw)
In-Reply-To: <CAJDw7KtmnFYA--44rj82tyQdTbTCq4aFDCSGc1PQqAOntjpfSQ@mail.gmail.com>

Hi again,

On 27.04.2022 06:00, Peter Povinec wrote:
> On Tue, Apr 26, 2022 at 5:30 AM Dmitry Gutov <dgutov@yandex.ru> wrote:
>>
>> On 26.04.2022 14:18, Eli Zaretskii wrote:
>>> I'm curious what does Dmitry think about this consequence of the
>>> change.
>>
>> I think Peter is saying that the patch made the file names displayed in
>> the abbreviated form, not vice versa.
>>
>> Which seems like a good change (more compact display).
> 
> That's right, with the patch, the filenames start with "~/".
> 
> I actually like that change too, but I am curious if there is an
> Emacs wide design guideline on such a thing.
> It seems that the behavior varies from place to place.
> E.g. when I
> 'C-x C-f' /Users/spepo42/test.txt
> it shows up as  "~/test.txt" in the buffer list.
> On the other hand, when I
> 'C-x C-f' ~/
> dired tells me in the header line it is looking at
> /Users/spepo42, but shows "~/" in the buffer list...

Sorry about the wait. I've pushed the patch now in commit a691e811e2, to 
get it in time for the next release.

Regarding a guideline, not sure if we had one (though it sounds good), 
but I think the only times where it would matter, is when a directory 
name is repeated multiple times (e.g. Compilation buffer).

And in places line a header line where it's only printed once, it 
doesn't matter as much, but can can show the expanded version, to make 
it doubly clear.





      reply	other threads:[~2022-10-31  1:00 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-19  4:52 bug#55016: 28.1; xref-find-references finds no matches if project dir contains a space Peter Povinec
2022-04-19  7:13 ` Eli Zaretskii
2022-04-19 17:06   ` Peter Povinec
2022-04-19 17:32     ` Eli Zaretskii
2022-04-19 17:36     ` Eli Zaretskii
2022-04-19 17:57       ` Peter Povinec
2022-04-19 18:17         ` Eli Zaretskii
2022-04-19 18:24           ` Eli Zaretskii
2022-04-24  2:00             ` Dmitry Gutov
2022-04-24  5:31               ` Eli Zaretskii
2022-04-25  2:08                 ` Dmitry Gutov
2022-04-25 11:48                   ` Eli Zaretskii
2022-04-26  2:05                     ` Dmitry Gutov
2022-04-26 12:00                       ` Eli Zaretskii
2022-04-26 12:28                         ` Dmitry Gutov
2022-04-26 12:36                           ` Eli Zaretskii
2022-04-27  1:57                             ` Dmitry Gutov
2022-04-27 13:53                               ` Eli Zaretskii
2022-04-26  1:05                 ` Peter Povinec
2022-04-26  2:07                   ` Dmitry Gutov
2022-04-26  4:57                     ` Peter Povinec
2022-04-26 11:18                       ` Eli Zaretskii
2022-04-26 12:30                         ` Dmitry Gutov
2022-04-27  3:00                           ` Peter Povinec
2022-10-31  1:00                             ` Dmitry Gutov [this message]

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6a49d4ff-6f29-0a45-8acf-329cc121ac97@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=55016-done@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=spepo.42@gmail.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).