From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26559 invoked by alias); 9 Mar 2010 18:33:15 -0000 Received: (qmail 26546 invoked by uid 22791); 9 Mar 2010 18:33:14 -0000 X-SWARE-Spam-Status: No, hits=-7.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 09 Mar 2010 18:33:08 +0000 Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o29IWeke011980 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 9 Mar 2010 13:32:40 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx04.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o29IWdc2026685; Tue, 9 Mar 2010 13:32:39 -0500 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id o29IWbRK008606; Tue, 9 Mar 2010 13:32:38 -0500 Received: by opsy.redhat.com (Postfix, from userid 500) id 504CD508129; Tue, 9 Mar 2010 11:32:37 -0700 (MST) From: Tom Tromey To: Joel Brobecker Cc: Eli Zaretskii , pierre.muller@ics-cnrs.unistra.fr, gdb-patches@sourceware.org Subject: Re: [PATCH] avoid GDB crash on inspection of pascal arrays References: <001801cabee0$31499ca0$93dcd5e0$%muller@ics-cnrs.unistra.fr> <20100308185450.GK3081@adacore.com> <001201cabf17$43e1b960$cba52c20$%muller@ics-cnrs.unistra.fr> <20100309051651.GM3081@adacore.com> <83mxyh2yes.fsf@gnu.org> <20100309175556.GB28410@adacore.com> Reply-To: tromey@redhat.com Date: Tue, 09 Mar 2010 18:33:00 -0000 In-Reply-To: <20100309175556.GB28410@adacore.com> (Joel Brobecker's message of "Tue, 9 Mar 2010 21:55:56 +0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-03/txt/msg00365.txt.bz2 >>>>> "Joel" == Joel Brobecker writes: >> If it helps someone, here's the Emacs recipe for converting all tabs >> into the equivalent number of spaces: Joel> Wasn't there a way to simply get emacs to reformat automatically? Joel> I kind of remember something like ctrl-tab, or something like that Joel> would reformat the current line. So if you select a region, and then Joel> apply ctrl-tab, the whole region would be reformatted... You can use indent-region to indent the current region. This is bound to M-C-\ by default. TAB will reindent the current line. Tom