all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bingo <right.ho@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Problem in Ubuntu with certain commands depending on mouse position
Date: Wed, 29 Mar 2017 23:46:23 +0530	[thread overview]
Message-ID: <A193928D-1EE8-4F17-8877-6CE6F935DC03@gmail.com> (raw)
In-Reply-To: <f3864eef-9b3f-201e-4374-ca1e2c0bef87@gmail.com>

On March 29, 2017 11:06:01 AM GMT+05:30, Jonathan Ganc <jonganc@gmail.com> 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 
><switch-frame> 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 <switch-frame> 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.




      reply	other threads:[~2017-03-29 18:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-29  5:36 Problem in Ubuntu with certain commands depending on mouse position Jonathan Ganc
2017-03-29 18:16 ` Bingo [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=A193928D-1EE8-4F17-8877-6CE6F935DC03@gmail.com \
    --to=right.ho@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.