all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: "Stéphane Boucher" <Stephane.Boucher@acceo.com>
Cc: 39608@debbugs.gnu.org
Subject: bug#39608: defun occur does not use a coherent value for default-directory (fix included)
Date: Tue, 03 Mar 2020 00:16:01 +0200	[thread overview]
Message-ID: <877e02768u.fsf@mail.linkov.net> (raw)
In-Reply-To: <60D05FE57203B748B1062BE52304C40CF015AA@cpt-exch05w-p.magrit.int> ("Stéphane Boucher"'s message of "Fri, 14 Feb 2020 19:26:52 +0000")

> When occur creates an *Occur* buffer, the default-directory variable is
> implicitly set to the default-directory of the buffer the occurences came
> from.
>
> When occur REUSES an existing *Occur* buffer, it does not update the
> default-directory variable.

What default-directory do you expect in case of multi-occur
that displays occurrences from multiple buffers that might be
located in multiple directories?





  reply	other threads:[~2020-03-02 22:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-14 19:26 bug#39608: defun occur does not use a coherent value for default-directory (fix included) Stéphane Boucher
2020-03-02 22:16 ` Juri Linkov [this message]
2020-03-03 17:03   ` Stéphane Boucher
2020-03-04  0:06     ` Juri Linkov

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=877e02768u.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=39608@debbugs.gnu.org \
    --cc=Stephane.Boucher@acceo.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 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.