From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Skip Montanaro Newsgroups: gmane.emacs.help Subject: Re: Can Emacs help here (running on Linux, display on Windows)? Date: Sat, 5 Aug 2017 14:39:29 -0500 Message-ID: References: <83o9ruwmc2.fsf@gnu.org> <20170805130657728047822@bob.proulx.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1501961997 4309 195.159.176.226 (5 Aug 2017 19:39:57 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 5 Aug 2017 19:39:57 +0000 (UTC) To: Help GNU Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 05 21:39:53 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1de4vR-0000rS-4S for geh-help-gnu-emacs@m.gmane.org; Sat, 05 Aug 2017 21:39:53 +0200 Original-Received: from localhost ([::1]:58523 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1de4vX-0002f4-EY for geh-help-gnu-emacs@m.gmane.org; Sat, 05 Aug 2017 15:39:59 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43654) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1de4v6-0002ep-7N for help-gnu-emacs@gnu.org; Sat, 05 Aug 2017 15:39:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1de4v5-0000ZM-65 for help-gnu-emacs@gnu.org; Sat, 05 Aug 2017 15:39:32 -0400 Original-Received: from mail-io0-x233.google.com ([2607:f8b0:4001:c06::233]:36389) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1de4v4-0000Z1-VN for help-gnu-emacs@gnu.org; Sat, 05 Aug 2017 15:39:31 -0400 Original-Received: by mail-io0-x233.google.com with SMTP id g35so15274683ioi.3 for ; Sat, 05 Aug 2017 12:39:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=MnxBsPt1zdlIJZbii3YWcVMfMJazxZqJttlQ80aCQgg=; b=lAXauH4qw4pggreWqAS78xNnC+QOyZNqWnxOg9Bk7NTXc8Mn6ggVuYo5xLf6lcLS2c J1RxHnv/j7UzyDV47u7rYgsN1VX9zgF+c7sNaBrrTaf2gpeVleZpr/amhP3987soQv3N RsqcvUwbxbTMK/0vMaNBkwsYhshlfKmQjcRHF2ohcvzQgrGUNHChuCCWV7UxcvhM68Pf Uhl3eK5NmTsXDJCR/BH7paInaxHyzFX2ElOV0OPRMhpNBtnTT96fg2rvnT+J0R9ptegX LTHyTyKLSdWVYDa2y9T8J3d41/FnPitWLJDxZMpzhgOIaHBqzYxbOdlXJv+i+onBsCmc vLaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=MnxBsPt1zdlIJZbii3YWcVMfMJazxZqJttlQ80aCQgg=; b=o+1OnLvX3/ks6xr4gHwxVyGdexaY47ioeuT6ut7oGpDvjzHqnf2RF4ZW2rTXgs9Sjz XLWbN/9MpVOXwDzRFfl+dXEUNCwpE1/gF2i9ejDO9E/9LI0MKc70S3qBZ71j7Ej6G8dn TDV2OfgO5U2PnzCXpN7qGifoP2l+Mcqhq2Bnf5MZI39WNlAtb7mnJmLgEPQV6sxWJvs0 T80Nfy3bgZXLg/g7sxlH9n5FOqNRHs8wiRYWmsDAJ1khM3JQmccgR1lIOm+UfXEvMouL NBUYfpwLbmaeY9OO4CMEG9ruX7bdcvUweclfwEa1tOTSyEMxQidoF/+oF+slwuN6fhK9 qIvA== X-Gm-Message-State: AHYfb5jCT73xlDpUkjV24Ei+QtFAgbmqsSBu8m229VWfhWy9VD+zwHOb 7CyVBNP3YB2N3GABzeL9AIHnGj/nK+FK X-Received: by 10.107.59.69 with SMTP id i66mr6708489ioa.202.1501961969698; Sat, 05 Aug 2017 12:39:29 -0700 (PDT) Original-Received: by 10.107.57.68 with HTTP; Sat, 5 Aug 2017 12:39:29 -0700 (PDT) In-Reply-To: <20170805130657728047822@bob.proulx.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4001:c06::233 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:113935 Archived-At: > When gui emacs receives the mouse click it moves the point to that > location from wherever it was before. The point is moved. You might > not want to move the point because it was where it needed to be for > the next edit. But clicking on the window to raise it will also move > the point. ... > Skip, I think your only option is to click on the title, frame, or > border. That should raise the window without sending an event to > emacs. Or alternatively switching to using a emacs inside of a > terminal window. Then clicking on the terminal will raise the > terminal without sending a mouse event to emacs. Thanks. I was hoping there was some magic little ELisp function I could write which was activated when Emacs lost focus. It would gobble up mouse events until the click came for the focus, eat it, then return, leaving the normal event processing to take over. The only reason it occurred to me that something like this might be possible is that it appears Excel does exactly this. If you have a cell highlighted, when focus disappears, the highlighting disappears as well (which I find a bit annoying), then returns to that same cell when you click the worksheet to give it focus. The highlighting doesn't move to whatever cell the pointer happened to be over. Of the few other Windows apps I've used, I d on't recall them having this (nice) behavior. Not a huge deal. I'll try and get into the habit of clicking the title bar. I notice that as I've aged (I'm 63 now, started with Gosling Emacs on VMS at 28), my accuracy with the mouse has degraded a bit. Certainly some of it is related to the age effect, though some of it might be that the setups of my various computing environments are suboptimal. Skip Montanaro