bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#59165: 29.0.50; [PATCH] Ibuffer directory filter not buffer aware


From: Gabriel
Subject: bug#59165: 29.0.50; [PATCH] Ibuffer directory filter not buffer aware
Date: Thu, 10 Nov 2022 06:22:23 -0300

Description:
The ibuffer directory filter is not buffer aware for buffers not
visiting files. This bug seems to be introduced by commit 3ef18c7a213,
which made the `default-directory` no longer run within
`with-current-buffer`.

Steps:
1. emacs -Q (29.0.50 master d04433b96215d7d3387573f19cc315de86f2341a)
2. M-x dired /home/myuser/foo
3. M-x compile ls -lha
4. M-x ibuffer
5. / F /home/myuser/foo

Expected: filter is applied and two buffers are shown: `foo` and
`*compilation*`.

Actual: only buffer `foo` is shown.

Patch:
Below there is a proposed patch. I did a quick inspection and could not
find similar regressions in other ibuffer filters.

Attachment: 0001-Make-ibuffer-directory-filter-buffer-aware.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]