From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: marcel-sl@gmx.de (Marcel Schmittfull) Newsgroups: gmane.emacs.help Subject: Re: M-TAB already used by KDE Date: Mon, 16 Dec 2002 21:43:38 GMT Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <3dfe488b.3780423@news.cis.dfn.de> References: <3dfe3ea4.1245206@news.cis.dfn.de> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1040075224 29345 80.91.224.249 (16 Dec 2002 21:47:04 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 16 Dec 2002 21:47:04 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18O34p-0007d7-00 for ; Mon, 16 Dec 2002 22:47:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18O341-0008HH-03 for gnu-help-gnu-emacs@m.gmane.org; Mon, 16 Dec 2002 16:46:13 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.arcor-online.net!fu-berlin.de!uni-berlin.de!dialin-145-254-237-078.arcor-ip.NET!not-for-mail Original-Newsgroups: comp.emacs,gnu.emacs.help Original-Lines: 48 Original-NNTP-Posting-Host: dialin-145-254-237-078.arcor-ip.net (145.254.237.78) Original-X-Trace: fu-berlin.de 1040074871 350295 145.254.237.78 (16 [139742]) X-Newsreader: Forte Free Agent 1.21/32.243 Original-Xref: shelby.stanford.edu comp.emacs:76462 gnu.emacs.help:108191 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:4720 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:4720 Mark Mynsted wrote: >>>>>> "Marcel" == Marcel Schmittfull writes: >Marcel> Hi >Marcel> I use KDE and therefore the keybinding M- is already used for >Marcel> switching between windows. > >Hmm. To me M-Tab is "already" used by Emacs rather than the other way >around, but then I prefer ratpoison to KDE anyway... The keybindings >for ratpoison are more Emacs friendly. ratpoison is not ideal if you >open any close many tiny windows, but if you are like me and have a >small number of "fullscreen" windows, it is quite nice. > >http://ratpoison.sourceforge.net/ I'm quite happy with KDE and don't want to change it... > >Marcel>Unfortunately there are several emacs modes >Marcel> which try to use M- for completion (f.e. lisp-mode, AUCTeX, ...). >Marcel> However, the KDE setting seems to be "stronger" than the emacs setting >Marcel> and hence I can only switch between windows with M-. > >Marcel> Is it possible to tell emacs that whenever I type a certain >Marcel> keybinding, f.e. C-x M- or so, emacs behaves as if I typed >Marcel> M- ? > >Yes, by using key maps. > >Marcel>I.e. I don't want to change the M- keybinding for every >Marcel> single mode, I just want to have a certain global keybinding which >Marcel> replaces M- globally. Is this possible ? > >OK, I am not exactly clear about what you want. Do you want a global >keybinding for all modes, or a keybinding for specific modes? (Maybe >my nomenclature is imperfect here.) > >As I recall, to use a key map for a specific mode, you simply define a >mode map, then make the mode map active when you start that mode. > >Here is some information from the info page regarding Local >Keymaps. (See keys in the Emacs info documentation.) > [...] OK, I'm going to define some keybindings in several keymaps now... Thank you ! Marcel