From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thorsten Bonow Newsgroups: gmane.emacs.help Subject: Re: Left-click in dired splits window Date: Thu, 04 Sep 2008 17:40:35 +0200 Message-ID: <874p4v9ax8.fsf@post.rwth-aachen.de> References: <6iaao0FplpjcU1@mid.dfncis.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1220546451 23504 80.91.229.12 (4 Sep 2008 16:40:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Sep 2008 16:40:51 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 04 18:41:46 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KbHtv-0002yw-8j for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Sep 2008 18:41:43 +0200 Original-Received: from localhost ([127.0.0.1]:50763 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbHsv-0002MY-WD for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Sep 2008 12:40:42 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!news.dfncis.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 43 Original-X-Trace: news.dfncis.de KNHDP+whN1y+QZ1J8qO/QgzCA0jgOQhh4qNMSyymGiDQmJ9WC/wNERAnBO Cancel-Lock: sha1:uvKLvCwIB1qzBhG9VEUSIKqqB/Q= sha1:TOu7FHKPKymRCcJSYaikB54AXxE= User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.21 (linux) Original-Xref: news.stanford.edu gnu.emacs.help:161922 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:57270 Archived-At: >>>>> "Arne" == Arne Schmitz 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