[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: xref buffer and default-directory
From: |
Juri Linkov |
Subject: |
Re: xref buffer and default-directory |
Date: |
Wed, 03 Feb 2021 19:16:16 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) |
>> It looks like the value of default-directory for the *xref* buffer is not
>> changed between searches. Is this correct? Should we change
>> this behavior?
>
> It was a bug (the default-directory value stayed on from the very first
> search you did in the current Emacs session). Should be fixed now
> in 6e73e07a6f.
There is still a problem with this:
0. emacs -Q
1. C-x p g
2. Enter a regexp RET, then select a project directory
3. Check 'default-directory' in the xref buffer
It's still the directory of the initial *scratch* buffer,
not a project directory.
- Re: xref buffer and default-directory,
Juri Linkov <=