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

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

Re: Mark in dired-diff


From: Juri Linkov
Subject: Re: Mark in dired-diff
Date: Sun, 04 Dec 2005 23:45:14 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

>     When dired-dwim-target is t (which uses the name of a dired buffer
>     displayed in the next window in the prompt), the mark in the current
>     dired buffer makes it impossible for dired-diff to insert the directory
>     name from the next window as the default value in the minibuffer.
>     That's because the mark in the current buffer takes precedence over
>     the value of dired-dwim-target.
>
> Perhaps it should ignore the mark when the mark is on the current
> line--to make it similar to the other case we were just discussing.

I think this is a good thing to do for non-transient mark mode.

So to ignore the existing mark and to use the directory in the next window
(if dired-dwim-target=t) there will be different methods:

- in non-transient mark mode: set the mark on the current line;

- in transient mark mode: deactivate the mark.

However, I'm not sure what to do in transient mark mode with
mark-even-if-inactive=t.  Is it expected that with the inactive mark
dired-diff should try to use the directory from the next window?

-- 
Juri Linkov
http://www.jurta.org/emacs/





reply via email to

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