>     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/



_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to