When I click with mouse-1
in dired it will open a new frame with the selected file. When I press return
on the same file it will open the file in the same frame. How can I synchronize this behavior? I.e. I want mouse-1
to behave the same as return
.
Furthermore I have the following problem. The mouse-1
down event seems to work fine, but the up event seems to be registered as mouse-2
:
<down-mouse-1> at that spot runs the command mouse-drag-region, which is an interactive compiled Lisp function
in `mouse.el'.
It is bound to <down-mouse-1>.
(mouse-drag-region START-EVENT)
Set the region to the text that the mouse is dragged over.
Highlight the drag area as you move the mouse.
This must be bound to a button-down mouse event.
In Transient Mark mode, the highlighting remains as long as the mark
remains active. Otherwise, it remains until the next input event.
If the click is in the echo area, display the `*Messages*' buffer.
----------------- up-event ----------------
<mouse-2> at that spot runs the command dired-mouse-find-file-other-window, which is an interactive compiled
Lisp function in `dired.el'.
It is bound to <mouse-2>.
(dired-mouse-find-file-other-window EVENT)
In Dired, visit the file or directory name you click on.
[back]