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: Unwanted cursor and menu offset/warpage Date: Wed, 20 Sep 2017 15:39:52 -0500 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1505940026 18052 195.159.176.226 (20 Sep 2017 20:40:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 20 Sep 2017 20:40:26 +0000 (UTC) To: Help GNU Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 20 22:40:20 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 1duln5-00043J-2T for geh-help-gnu-emacs@m.gmane.org; Wed, 20 Sep 2017 22:40:15 +0200 Original-Received: from localhost ([::1]:50581 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dulnC-0000w1-An for geh-help-gnu-emacs@m.gmane.org; Wed, 20 Sep 2017 16:40:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36412) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dulmm-0000vo-JR for help-gnu-emacs@gnu.org; Wed, 20 Sep 2017 16:39:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dulml-0000w1-Id for help-gnu-emacs@gnu.org; Wed, 20 Sep 2017 16:39:56 -0400 Original-Received: from mail-io0-x230.google.com ([2607:f8b0:4001:c06::230]:50784) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dulml-0000u6-Dk for help-gnu-emacs@gnu.org; Wed, 20 Sep 2017 16:39:55 -0400 Original-Received: by mail-io0-x230.google.com with SMTP id w94so6429927ioi.7 for ; Wed, 20 Sep 2017 13:39:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=oCGmaH9E1TWml7d/Gu8Td7/rW+yoQiojm/viDFem5ZI=; b=vFJEMf2TNBqbtqAD8plemUq2x11JmIF9eCBQwPmNzRJl7AgUoPArVjjfG9w9Itk1pE y/sjqNQZpCik3b4pISWkcw1CkGmI6zhDhTLKAyrUTbuIKTSfv3p5n6hv4ctFqyJ497r3 T3KemXZOnmM+Hmg5MXJpHnQh2+ZsskE/5P7ms96wLjMOsKY+7gcq+kogq0/eE8jtYv61 vcsbMttnMQt0fy8WfALw82TxnKsO1BXqS3+Pos+Za+jUoR2EmZMCFxXJMIl4JGNjMvJj fxuHrEI9DwzDjET7rMc7evOUnIAU+HLZXrrBLmPJ3C/Oc0M12TC+HhsYIockIjplD7uH 8CAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=oCGmaH9E1TWml7d/Gu8Td7/rW+yoQiojm/viDFem5ZI=; b=reJqaPnA7cFBD744xg8Y9kz93Qhf+b8Qs3ka6a5Sco1vNkygv3MAMs+4nkyAzfD4J/ io+ov1dctvS1XTMN5ySE0DRr5BEKzo308zbq92Omb8Z5KO5FEk3oY9waY8ScsW1f5jvO vwK6S70CfQj2Dx+2+CKE0rE2Anr+1yYQd+vn6+bE380cmJvPoKUhBMn35fgQ/eiBGb8N 60XAVcmnErTR2BO+cREoAT7X++ttNYbR72nulofaj1W4v72vgQBtS3luY7GUPoBWDjaz u/br0GT6YUUVKduogH/rP7sVY0NZV/3wp8fDVmr31LmKP1oZIADHNjjy1HijkUOnryEX WYBQ== X-Gm-Message-State: AHPjjUhINbRG+++xIKbGu0PohYhZmP4KR9S4gLTODE6/FhFoleAOZ8// NdegSI+tBlRQeCf8B0zAnJlXdqSAYaqNmxM5K1CXveGleA== X-Google-Smtp-Source: AOwi7QCorvjIQ/PHt3E3aB61CKkS5SaaTLS8eYWodj+05kiWReQ4s3X1+1aiLPeWrU0UUFFl54EdLUP0N2GnI9AjJcc= X-Received: by 10.107.55.86 with SMTP id e83mr8250210ioa.230.1505939993026; Wed, 20 Sep 2017 13:39:53 -0700 (PDT) Original-Received: by 10.2.157.88 with HTTP; Wed, 20 Sep 2017 13:39:52 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4001:c06::230 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:114324 Archived-At: My work environment is suboptimal. I do all my work on Linux machines (they pay me to program for that general platform). However, they see fit to plop a Windows 7 box on my desk and I've so far been unable to convince them to give me something more suitable. My typical Emacs setup scenario is to use PuTTY to connect to a Linux box and run Emacs there, with DISPLAY pointed back at the Windows thing. On that box runs something called VcXsrv. I actually don't recall if the problem described here is recent or ongoing, but it's pretty annoying. If, for example, I'm running an Emacs started with -q, then click a menu item in the title bar, the menu pops up offset several hundred pixels away from the mouse. This is as annoying as you might suspect, but since it's so in-your-face, it's obvious that it's happened, and I can usually move the mouse with care to pounce on the menu before it disappears or is replaced by the menu for the adjacent title bar entry. Worse is the behavior of the pointer while exiting ediff-anything. Again, with the -q flag (none of my customizations should be active, right?) if I execute ediff-revision on a file modified from some repo, it displays the little window/frame, but warps the cursor about 1000 pixels to the right (I have three monitors side-by-side-by-side and configured Windows to use focus-follows-mouse because I so despised its click-to-type semantics). Consequently, any keys I press go to the wrong place. Once I drag the cursor back where it belongs, finish my ediff session and quit, it warps it again. The cursor warpage is more problematic than the offset menus because it involves a much subtler visual change to my environment. I wonder if anybody might have some suggestions about how to debug this issue, or have seen and conquered either problem. (I assume they are related because they both involve screen addressing offsets, but they may well not be.) I am going to take a plunge into WinEmacs, see if it behaves any better in this regard, and see how well it works with Tramp. Of course, most of the files, directories and mount points I use on Linux are invisible to Windows... Skip