From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.devel Subject: Re: suggested new command `picture-mouse-set-point' Date: Thu, 24 Oct 2002 19:37:53 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: <200210242337.g9ONbr217063@rum.cs.yale.edu> References: <5xn0p4znhw.fsf@kfs2.cua.dk> <5xr8ef4ipi.fsf@kfs2.cua.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035504000 25816 80.91.224.249 (25 Oct 2002 00:00:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 25 Oct 2002 00:00:00 +0000 (UTC) Cc: storm@cua.dk, emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 184rtO-0006iF-00 for ; Fri, 25 Oct 2002 01:59:58 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 184rvn-0002ji-00 for ; Fri, 25 Oct 2002 02:02:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 184rYN-0000os-00; Thu, 24 Oct 2002 19:38:15 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 184rY5-0000KS-00 for emacs-devel@gnu.org; Thu, 24 Oct 2002 19:37:57 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 184rY3-0000KH-00 for emacs-devel@gnu.org; Thu, 24 Oct 2002 19:37:56 -0400 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by monty-python.gnu.org with esmtp (Exim 4.10) id 184rY3-0000KD-00 for emacs-devel@gnu.org; Thu, 24 Oct 2002 19:37:55 -0400 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.11.6/8.11.6) id g9ONbr217063; Thu, 24 Oct 2002 19:37:53 -0400 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 Original-To: jpw@shootybangbang.com (John Paul Wallington) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:8752 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:8752 > > One problem with this approach is that quite often you just need to > > click on some window to select another window or give focus to a frame > > -- and in that case you most likely don't want to modify the buffer if > > you accidentally click or a TAB or after EOL or EOB. > > > > Maybe the -rigidly functionality should only be activated if > > the mouse is clicked in the selected window & frame. > > I agree that is a problem, and your solution sounds good (or at least > the right sort of idea; I haven't tested it). I don't understand: this problem is not specific to this mouse-set-point-rigidly. Normally it is solved in a generic way by the window-manager by making sure that the click that changes focus is not sent to the application. Am I missing something ? Stefan