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

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

bug#13492: 24.2.92; Buffer changing in dired-mark-pop-up


From: Lars Ingebrigtsen
Subject: bug#13492: 24.2.92; Buffer changing in dired-mark-pop-up
Date: Sun, 06 Dec 2020 20:19:48 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Leo Liu <sdl.web@gmail.com> writes:

> In discussion of http://debbugs.gnu.org/13152, it is noted that
> dired-mark-pop-up invokes FUNCTION in different buffers depending on if
> there are marked files. This is problematic and makes it harder to use
> dired-mark-pop-up correctly.
>
> In particular this is directly related to dired-guess-shell-alist-user,
> a user variable. Harder to predict the behaviour of COMMAND when it is a
> lisp expression. But in this case an error is thrown when the buffer is
> switched to a non-dired buffer. So no user code will be broken if
> dried-mark-pop-up stops switching buffers.
>
> I propose fix dired-mark-pop-up to be consistent where it invokes
> FUNCTION.

(This bug report unfortunately got no response at the time.)

I see that there's been some changes done to that function with regards
to how it selects windows before running FUNCTION, but I'm not sure
whether this fixes the problem or not, since there's no recipe to
reproduce the bug here.

Are you still seeing this problem in more recent versions of Emacs?  If
so, can you provide a step-by-step recipe to reproduce it, starting from
"emacs -Q"?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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