GNU bug report logs - #39608
defun occur does not use a coherent value for default-directory (fix included)

Previous Next

Package: emacs;

Reported by: Stéphane Boucher <Stephane.Boucher <at> acceo.com>

Date: Fri, 14 Feb 2020 20:06:01 UTC

Severity: minor

Tags: fixed, patch

Fixed in version 28.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> linkov.net>
To: Stéphane Boucher <Stephane.Boucher <at> acceo.com>
Cc: 39608 <at> 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
> 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?




This bug report was last modified 5 years and 80 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.