From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.help Subject: Re: Indenting text bugs. Date: Wed, 3 Mar 2010 01:26:46 +0100 Message-ID: References: <73384c13-4532-43a8-ac2d-6205161cf1a8@e1g2000yqh.googlegroups.com> <904A495662EE4DD9B0863B2BF147787B@us.oracle.com> <4B8D8D03.3050202@gmail.com> <0EA5942CFF39427ABFD97B58C924CF52@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1267576058 20793 80.91.229.12 (3 Mar 2010 00:27:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 3 Mar 2010 00:27:38 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Drew Adams Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 03 01:27:34 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NmcR2-0000g0-Js for geh-help-gnu-emacs@m.gmane.org; Wed, 03 Mar 2010 01:27:32 +0100 Original-Received: from localhost ([127.0.0.1]:58118 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NmcR1-0002Zl-Dm for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Mar 2010 19:27:31 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NmcQf-0002Yg-Ok for help-gnu-emacs@gnu.org; Tue, 02 Mar 2010 19:27:09 -0500 Original-Received: from [140.186.70.92] (port=50021 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NmcQe-0002YA-Sp for help-gnu-emacs@gnu.org; Tue, 02 Mar 2010 19:27:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NmcQe-0005i4-52 for help-gnu-emacs@gnu.org; Tue, 02 Mar 2010 19:27:08 -0500 Original-Received: from fg-out-1718.google.com ([72.14.220.154]:54477) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NmcQe-0005ht-0U for help-gnu-emacs@gnu.org; Tue, 02 Mar 2010 19:27:08 -0500 Original-Received: by fg-out-1718.google.com with SMTP id 19so303274fgg.12 for ; Tue, 02 Mar 2010 16:27:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=d2Yqfn/gFFGQ7Iyy6GH//Ln10kj0o76p5a2lnr7shO8=; b=P/a2WZA3KpqBLEclR2/LjSERP+SrNLkPrO/N163jUevbGPBUGATrkG/SMgJrM/0CIx 3vX0gYmuq3I+8gY4xB06QW89eqko4wVNfi3qtR/dP45Cg1IjyKPV/56INn901pPm1Ruf fqQSW9YsMjKxformfECpYSSWZIqeYyrrP1GTY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=fbqHQZy290KRyBzBCEfM3ybTP3UZtfb2/gD1pFoXAq5mV5l0guCsQkIXMoi8QIgkYa 4WOVuPF9ey55hPSHXftToBSqDMYCMlx9ZCuwFurRFYuHGSNBazweOZb87LjrfgcQHl9x uwJa2LAkFgFmqea9gEsjJ1e6FmRRfjskYbUjc= Original-Received: by 10.239.185.67 with SMTP id b3mr677702hbh.28.1267576026391; Tue, 02 Mar 2010 16:27:06 -0800 (PST) In-Reply-To: <0EA5942CFF39427ABFD97B58C924CF52@us.oracle.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:72325 Archived-At: On Wed, Mar 3, 2010 at 1:19 AM, Drew Adams wrote: >> > >> > Isn't that a very inconvenient default? Almost every window >> > manager across platforms intercept that to switch windows... > > No, they do not intercept `ESC TAB'. But if you use a vi emulator in Emacs like Viper (which many uses) then you can not use ESC TAB since ESC is caught by the vi emulator. > Some, such as Windows, do, by default, intercept ALT-TAB, which maps to `= M-TAB' > by default (that's two "by default"s ;-)). > > But you need only do this to make Windows pass `M-TAB' along to Emacs: > > ;; (setq w32-alt-is-meta =C2=A0t) > (when (fboundp 'w32-register-hot-key) > =C2=A0(w32-register-hot-key [M-tab])) > > The first line is not really needed - t is the default value. > Variable `w32-alt-is-meta' determines whether ALT maps to Meta. > > The other lines tell Windows to pass `M-TAB' to Emacs. > If ALT maps to Meta, you can register [M-tab] as a hot key. > If it does not, you can register [A-tab] as the hot key. And this does not always work (as I have told many, many times). To make it work correctly you need the patched version of Emacs+EmacsW32 (and then the recipe is a bit different).