From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Defacta Newsgroups: gmane.emacs.help Subject: Re: Indenting text bugs. Date: Tue, 2 Mar 2010 10:14:34 -0800 (PST) Organization: http://groups.google.com 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=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1267555248 6120 80.91.229.12 (2 Mar 2010 18:40:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 2 Mar 2010 18:40:48 +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 19:40:44 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 1NmX1O-0000zP-Lr for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Mar 2010 19:40:42 +0100 Original-Received: from localhost ([127.0.0.1]:43081 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NmX1N-0003Fa-Uc for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Mar 2010 13:40:41 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!postnews.google.com!d27g2000yqf.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 43 Original-NNTP-Posting-Host: 79.93.10.152 Original-X-Trace: posting.google.com 1267553674 29379 127.0.0.1 (2 Mar 2010 18:14:34 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 2 Mar 2010 18:14:34 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: d27g2000yqf.googlegroups.com; posting-host=79.93.10.152; posting-account=uOpIEQoAAABQV8VXB3Hr-t8WjKE0lAE1 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_2; en-US) AppleWebKit/532.9 (KHTML, like Gecko) Chrome/5.0.307.11 Safari/532.9, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:177276 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:72316 Archived-At: On 2 mar, 17:05, Andrea Crotti wrote: > Defacta writes: > > Hello, > > > I have bugs with indentation of php files. I use php-mode and > > sometimes instead of proposing to complete a name a of function or of > > a variable there is the message: Indenting region... done. > > > A way of making it bug at all times is to do TAB when I search > > something in the page thanks to ctrl+s, if not just having a lot of > > php fils opened make emacs indenting fails. > > > So what can I do to relaunch indenting mode, the only way I have found > > to use indenting when it has bugged is to restart emacs, that's > > annoying... > > I'm not sure I understood, anyway: > - indenting with TAB is I think default in many modes, if you have > =A0 selected some text > - why would you press TAB while you search with CTRL-s? 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.