From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#11233: 24.1.50; Wishlist: dired mouse-2 other window behavior Date: Wed, 10 Oct 2012 02:15:05 +0300 Organization: JURTA Message-ID: <87liff9r0m.fsf@mail.jurta.org> References: <86vcl4uwxa.fsf@web.de> <50702A93.7060008@gmx.at> <5070681D.50200@gmx.at> <5072795C.5030109@gmx.at> <87391p19lv.fsf@mail.jurta.org> <5073F017.4090501@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1349824892 31850 80.91.229.3 (9 Oct 2012 23:21:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Oct 2012 23:21:32 +0000 (UTC) Cc: michael_heerdegen@web.de, 11233@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 10 01:21:38 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TLj7J-0004Uf-BK for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Oct 2012 01:21:37 +0200 Original-Received: from localhost ([::1]:58712 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TLj7D-00025c-2n for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Oct 2012 19:21:31 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43385) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TLj7A-00025X-6A for bug-gnu-emacs@gnu.org; Tue, 09 Oct 2012 19:21:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TLj79-0004Sh-79 for bug-gnu-emacs@gnu.org; Tue, 09 Oct 2012 19:21:28 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54418) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TLj79-0004SY-42 for bug-gnu-emacs@gnu.org; Tue, 09 Oct 2012 19:21:27 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TLj7i-0006bu-3p for bug-gnu-emacs@gnu.org; Tue, 09 Oct 2012 19:22:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Oct 2012 23:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11233 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11233-submit@debbugs.gnu.org id=B11233.134982486725331 (code B ref 11233); Tue, 09 Oct 2012 23:22:02 +0000 Original-Received: (at 11233) by debbugs.gnu.org; 9 Oct 2012 23:21:07 +0000 Original-Received: from localhost ([127.0.0.1]:36436 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TLj6o-0006aV-Vf for submit@debbugs.gnu.org; Tue, 09 Oct 2012 19:21:07 -0400 Original-Received: from ps18281.dreamhost.com ([69.163.218.105]:55937 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TLj6l-0006aN-Rb for 11233@debbugs.gnu.org; Tue, 09 Oct 2012 19:21:05 -0400 Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 5C1D6451CD1F; Tue, 9 Oct 2012 16:20:26 -0700 (PDT) In-Reply-To: <5073F017.4090501@gmx.at> (martin rudalics's message of "Tue, 09 Oct 2012 11:36:23 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:65438 Archived-At: >> I suggest to use the same modifiers as used in web browsers: >> mouse-1 opens in the same window, C-mouse-1 opens in other window >> (not selected), C-S-mouse-1 opens in other window (and selected), > > Does this mean the buffer would appear in two windows? No, only in one window - in the window where the user wants it to appear. > On Firefox C-S-mouse-1 behaves just as C-mouse-1 here. I meant the default settings. But of course, they should be configurable. >> S-mouse-1 opens in other frame. > > Would we decode this in `find-file' or `dired-find-file'? IIUC we'd > have to check > > (a) whether the mouse was used at all and, if so, which modifier was > applied, > > (b) whether the mouse was over a text with a this-window / other-window > / other-frame interpretation, and > > (c) what any user customizations wrt prefix key and modifiers are in the > present context. > > `push-button' and `button-activate' do something related. Could we > interact with these functions? This could be processed at the same level where `mouse-1-click-follows-link' and `mouse-1-click-in-non-selected-windows' are already in effect for the [follow-link] event. A more difficult question is how to allow packages to override this default processing, e.g. allow clicking `C-mouse-1' in Info to clone (fork) the Info buffer, but `mouse-1' should still visit a link in the same buffer.