From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andrea Crotti Newsgroups: gmane.emacs.help Subject: Re: Indenting text bugs. Date: Tue, 02 Mar 2010 23:45:02 +0100 Message-ID: References: <73384c13-4532-43a8-ac2d-6205161cf1a8@e1g2000yqh.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1267569976 1985 80.91.229.12 (2 Mar 2010 22:46:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 2 Mar 2010 22:46:16 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 02 23:46:11 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 1Nmaqv-0002MU-GI for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Mar 2010 23:46:11 +0100 Original-Received: from localhost ([127.0.0.1]:39990 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nmaqs-0006RD-1t for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Mar 2010 17:46:06 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NmaqE-0006MM-9K for help-gnu-emacs@gnu.org; Tue, 02 Mar 2010 17:45:26 -0500 Original-Received: from [140.186.70.92] (port=43701 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NmaqB-0006KO-AZ for help-gnu-emacs@gnu.org; Tue, 02 Mar 2010 17:45:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nmaq9-0003qU-0f for help-gnu-emacs@gnu.org; Tue, 02 Mar 2010 17:45:22 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:35344) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nmaq8-0003qO-QQ for help-gnu-emacs@gnu.org; Tue, 02 Mar 2010 17:45:20 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Nmaq8-0001nD-1X for help-gnu-emacs@gnu.org; Tue, 02 Mar 2010 23:45:20 +0100 Original-Received: from xdsl-78-35-137-155.netcologne.de ([78.35.137.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Mar 2010 23:45:20 +0100 Original-Received: from andrea.crotti.0 by xdsl-78-35-137-155.netcologne.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Mar 2010 23:45:20 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 34 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: xdsl-78-35-137-155.netcologne.de User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (darwin) Cancel-Lock: sha1:IRGNWTcn5+313XMdAmTT8rlJBMw= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:72320 Archived-At: Defacta writes: > ok, sorry but I am not fluent in english and I understood just now > what's not working: > I use tab to expand and to indent the code. > The .emacs file you can see above makes me do both by typing tab but > sometimes there is a bug and it's impossible to use tab to expand, > instead of expanding the name of a function I am writing, it will > write "Indenting region... done". > > I looked for many way to use tab to expand, for example I tried to > understand this page: > http://emacsblog.org/2007/03/12/tab-completion-everywhere/ > but with no success. :-( > > I am under Mac OS X and I don't know how to expand, that's why I am > looking for a way to use tab to increment (by default) and to expand > as well... > > How could I set a keyboard short cut to expand instead of trying to > find a way to use tab for doing both ? > > Thanks, > Vincent. 1. don't talk about a bug, it's just the behaviour you're setting.. 2. I suggest you to use auto complete instead, see here http://www.emacswiki.org/emacs/AutoComplete 3. of course you can disable the indention I guess and only try to complete, but I think indention with tab is also very nice..