Re: Left-click in dired splits window
  Home FAQ Contact Sign in
gnu.emacs.help only
 
Advanced search
POPULAR GROUPS

more...

 Up
Re: Left-click in dired splits window         

Group: gnu.emacs.help · Group Profile
Author: Thorsten Bonow
Date: Sep 4, 2008 08:40

>>>>> "Arne" == Arne Schmitz gmx.net> writes:
Arne> Whenever I left-click in dired to visit a window, my current window is
Arne> split horizontally. This also happens when I open files via
Arne> emacsclient. How can I disable this behavior?
Arne> Arne

Hi Arne :-)

Checking with "C-h k " what left clicking in a dired window is
bound to gives me (as relevant binding in a dired buffer)

----------------- up-event (short click) ----------------

at that spot is remapped to
which runs the command dired-mouse-find-file-other-window
which is an interactive compiled Lisp function in `dired.el'.
It is bound to .
(dired-mouse-find-file-other-window EVENT)

In Dired, visit the file or directory name you click on.

So, binding it to something other than `dired-mouse-find-file-other-window'
would help.

This has been discussed a few days ago, look for "How can I make emacs open
next directory in same window?".

Hope that helps...

Toto

--
Contact information and PGP key at
http://www.withouthat.org/~toto/contact.html

If Michelangelo had been a heterosexual, the Sistine Chapel would
have been painted basic white and with a roller.

Rita Mae Brown
no comments
diggit! del.icio.us! reddit!