From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Bingo Newsgroups: gmane.emacs.help Subject: Re: Problem in Ubuntu with certain commands depending on mouse position Date: Wed, 29 Mar 2017 23:46:23 +0530 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1490820236 26497 195.159.176.226 (29 Mar 2017 20:43:56 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 29 Mar 2017 20:43:56 +0000 (UTC) User-Agent: K-9 Mail for Android To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 29 22:43:52 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 1ctKRY-0005nn-5P for geh-help-gnu-emacs@m.gmane.org; Wed, 29 Mar 2017 22:43:48 +0200 Original-Received: from localhost ([::1]:60879 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ctKRe-0000Jt-1b for geh-help-gnu-emacs@m.gmane.org; Wed, 29 Mar 2017 16:43:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46162) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ctI4r-0003Wt-W8 for help-gnu-emacs@gnu.org; Wed, 29 Mar 2017 14:12:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ctI4i-0006TW-Hv for help-gnu-emacs@gnu.org; Wed, 29 Mar 2017 14:12:09 -0400 Original-Received: from mail-pg0-x234.google.com ([2607:f8b0:400e:c05::234]:33487) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ctI4i-0006Sc-BM for help-gnu-emacs@gnu.org; Wed, 29 Mar 2017 14:12:04 -0400 Original-Received: by mail-pg0-x234.google.com with SMTP id x125so14590175pgb.0 for ; Wed, 29 Mar 2017 11:12:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=user-agent:in-reply-to:references:mime-version :content-transfer-encoding:subject:from:date:to:message-id; bh=qHYy+vnX2d6wvOVEUUdKdGtnzm8oeK5afmNwT/Si73E=; b=UGxeUyoGZel62Oz4SRq//1YQDChOLNIzeJ1YLqLW8ix177n13MP4wGOKFg8Pp3nGe+ gITKrr/boRI3UM5RbH9cudZbf5+DmKi8ZdXz9EwTGkFhBc+E4Fc07ev5S66gLcWYEOjl JTgl+oO2H07YWr59NImrUIB/kT1nVRmK6lSEod8F5+8zPJbydJT24ywX4mL5/t7Y+CO1 8R9A4sam2yffZVaNFNeAO3Pr5tBr8Mq6uoexZSQfgBZ0l7cVHGB6adyBSCrobYbXTnOt epEDzwn8lGVMFyhCRlaQFgCO+EAdNh68eRDIvcYQf5TZN/ZTHv5PzB57W7gng4LZyWm+ p2PA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:in-reply-to:references:mime-version :content-transfer-encoding:subject:from:date:to:message-id; bh=qHYy+vnX2d6wvOVEUUdKdGtnzm8oeK5afmNwT/Si73E=; b=KckEjwBDBRUE+guRSy358HN+tPm1Vz9N82zCk7WBJuQX9eFCgj0jfrY8zMxENJiNPA ja32hM+1L8rAtqcyvle+XQZyY8Qw6Pu0Xhz0uyCdgtDZH1iNIDRmyXibpbIRxj64ACA0 5+2FOiMyJNK/KwuUvxenQse4NOEhhZ42EdMHeemsKcPwsjQwFk7Qz1ta+1CdjreEuLDh nQeHvuhTNc3agLf+0HgF/oQIdkFmDjkx4eDGZyx25+G6XVyQog1fP2AHf418C4sYRFcE n3TiUJlqDDbQkhrBpBLcrhgTIxn4502pZ0oI2wIPkRUl/lgKagcURqtA0NBWN0PKuSSn ofZw== X-Gm-Message-State: AFeK/H1oXA7xIINTcXsub0y4byD+wTUif3EtdJUplJMWKZ0BD5wPn66MYrqlIxOllrTjwQ== X-Received: by 10.98.192.25 with SMTP id x25mr1937588pff.158.1490811122563; Wed, 29 Mar 2017 11:12:02 -0700 (PDT) Original-Received: from [192.168.1.10] ([122.172.53.84]) by smtp.gmail.com with ESMTPSA id s21sm14776942pgg.65.2017.03.29.11.12.00 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 29 Mar 2017 11:12:01 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c05::234 X-Mailman-Approved-At: Wed, 29 Mar 2017 16:42:49 -0400 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 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:112663 Archived-At: On March 29, 2017 11:06:01 AM GMT+05:30, Jonathan Ganc wrote: >Hi, > >I am running Emacs 25.1 in Ubuntu 16.10. Whenever I have two frames >open >and the mouse is positioned over >the other frame (i.e. not over the active one), certain commands like >'yank-pop' and 'dabbrev-expand' don't work properly. I figured out that > >the issue is that, in these situations, the Alt key is producing a > event on key-down. > >I don't know enough about x-windows/emacs input to know why this event >is being produced in this situation. I filed a bug >https://debbugs.gnu.org/cgi/bugreport.cgi?bug=26104 but the one >responder also didn't know the significance of the being > >produced here. > >I don't mind trying to do some delving into the code and seeing if I >can >fix the problem. However, I was wondering if anyone had any insight >into >what was happening and why...? > >Jonathan Since frame is an Emacs term, i assume switch-frame event that you mention is an Emacs event. Correct me if i an wrong here. You could check what X is sending to Emacs when you press Alt, by C-h k Alt If Emacs is configured to take any action on simply the key down of Alt, it should show the exact action and the mode that told Emacs to behave like that. It would also tell you what exactly X is sending to Emacs on key down of Alt. As far as X is concerned, run the command "xev" in a terminal, and when the window is in focus press Alt. Or should tell you if X is misinterpreting Alt to be something completely different.