From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: Delete M-TAB behaviour in Emacs Date: 20 Sep 2005 19:45:59 +1000 Message-ID: <87oe6ors14.fsf@tiger.rapttech.com.au> References: <432D8A17.20004@yahoo.es> Reply-To: timx@spamto.devnul.com NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1127210655 6709 80.91.229.2 (20 Sep 2005 10:04:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 20 Sep 2005 10:04:15 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 20 12:04:03 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EHeyU-0007Y0-Fk for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Sep 2005 12:03:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EHeyT-0008Sn-Cf for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Sep 2005 06:03:41 -0400 Original-Newsgroups: gnu.emacs.help Original-Lines: 51 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 Original-NNTP-Posting-Host: ppp21-206.lns2.syd7.internode.on.net Original-X-Trace: duster.adelaide.on.net 1127209566 59.167.21.206 (20 Sep 2005 19:16:06 +0950) Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!news.xtra.co.nz!news-south.connect.com.au!duster.adelaide.on.net!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:134028 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:29587 Archived-At: Cesáreo García Rodicio writes: > Hi Peter! > > Thanks for your response but the problem is when I'm in Emacs, > something occurs in Emacs that grab Alt+TAB. With other rograms I have > no problem only in Emacs. I use window maker and I know it is possible > but I can't get it to work. > > I have seen Window Maker and emacs with M-TAB function working fine. > How can I do? > That sounds very odd and certainly isn't standard behavior for window managers under X. Normal behavior is for the window manager to first interpret all key strokes, see if there is some window manager command bound to it and execute it if there is. If there is no window manager command bound to the key combination, it is passed through to the application (if one is focused). In other words, window manager bindings usually take preference over application key bindings. The only other possible complication arises when the window managger is able toalso pass the key combination through to the application (sort of a chaining), in which case, the window manager performs its action and then passes the key combination onto the application. I don't know about window maker, but if you run sawfish with the merlyn add-ons, the M-Tab key switches applications (similar to the same functionality in windows). If I have the merlyn extensions installed, I have to change the key combination at the window manager level because I muse M-Tab a lot. I would strongly suggest moving the window maker key combination to some other binding. The M-Tab key is used a lot by various modes and it is unlikely you will reliably be able to identify all the hooks and configurations you will need to ensure emacs no longer sees a binding for M-Tab in any mode. You will also lose a lot of valuable functionality without M-Tab within emacs. The only way that I can imagine you observe the problem with emacs and no other application is that window maker has some sort of dynamic key binding functionality and there is some configuration setup somewhere on your system which is changing the window maker config when emacs is run - though I find this an unlikely proposition. Tim -- Tim Cross The e-mail address on this message is FALSE (obviously!). My real e-mail is to a company in Australia called rapttech and my login is tcross - if you really need to send mail, you should be able to work it out!