unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: Matthias Meulien <orontee@gmail.com>, emacs-devel@gnu.org
Subject: Re: xref buffer and default-directory
Date: Wed, 03 Feb 2021 19:16:16 +0200	[thread overview]
Message-ID: <87im79p92n.fsf@mail.linkov.net> (raw)
In-Reply-To: <e0a65d57-1f4c-68e6-004c-c2a470b230c0@yandex.ru> (Dmitry Gutov's message of "Sat, 9 Jan 2021 02:17:44 +0200")

>> 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.



  parent reply	other threads:[~2021-02-03 17:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-08 17:15 xref buffer and default-directory Matthias Meulien
2021-01-09  0:17 ` Dmitry Gutov
2021-01-09  9:46   ` Matthias Meulien
2021-02-03 17:16   ` Juri Linkov [this message]
2021-02-04  1:39     ` Dmitry Gutov
2021-02-04 17:02       ` Juri Linkov
2021-02-04  1:41   ` Dmitry Gutov
2021-02-04 14:55     ` Eli Zaretskii
2021-02-04 20:37       ` Dmitry Gutov

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=87im79p92n.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=dgutov@yandex.ru \
    --cc=emacs-devel@gnu.org \
    --cc=orontee@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).