From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ishi soichi Newsgroups: gmane.emacs.help Subject: Re: 4 spaces by hitting tab for PHP-mode Date: Wed, 28 Aug 2013 10:55:35 +0900 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1377654951 18446 80.91.229.3 (28 Aug 2013 01:55:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 28 Aug 2013 01:55:51 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" To: =?ISO-8859-1?Q?Aur=E9lien_Aptel?= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 28 03:55:54 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VEUzA-00007n-LZ for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Aug 2013 03:55:52 +0200 Original-Received: from localhost ([::1]:59926 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VEUzA-0003a2-9J for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Aug 2013 21:55:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57781) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VEUyv-0003Zx-WC for help-gnu-emacs@gnu.org; Tue, 27 Aug 2013 21:55:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VEUyu-0001Oi-RO for help-gnu-emacs@gnu.org; Tue, 27 Aug 2013 21:55:37 -0400 Original-Received: from mail-vc0-x22d.google.com ([2607:f8b0:400c:c03::22d]:40100) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VEUyu-0001Od-Iy for help-gnu-emacs@gnu.org; Tue, 27 Aug 2013 21:55:36 -0400 Original-Received: by mail-vc0-f173.google.com with SMTP id id13so3735657vcb.32 for ; Tue, 27 Aug 2013 18:55:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Td6h/fpKUnBGwYTEnZ0ZR5+WgNOkm/3MivYGUIC2l6Y=; b=C5Se0gVkxZ/362p1NBstZRykOl9jOn+XuvgmOYg/NaIRt8eqvnzbFKZOPogDuJX8MZ mVS3ZUuPniRZjXnEmMwDf5t57BrAuzNG8IAC0ZypY/V1anHDD9GVfj3wWE7IYN4R15uU TviZOEsnAm4vmxPKzZj8vnb++gpb/n3uelIqVdVMyBIyRTB7YwvZRIm9klQPf2fByYMC WS4mYYAtKE5S1eBESHjh5OTV0N6evMs6vwoVaWU1SHe45ThwMTuAIlo1KNzjkb4stc4n iMQweYcAkSJ4AwSOR2sPvscVnpAVKlMzSsGFhE5PmVwy1TBzngJsGYo1FsCNBQ4Sv6nb rSkw== X-Received: by 10.59.8.232 with SMTP id dn8mr22789677ved.8.1377654936127; Tue, 27 Aug 2013 18:55:36 -0700 (PDT) Original-Received: by 10.58.171.100 with HTTP; Tue, 27 Aug 2013 18:55:35 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400c:c03::22d X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:93124 Archived-At: thanks. it helped a lot! 2013/8/27 Aur=E9lien Aptel > indent-tabs-more should be nil, not t. > > On Tue, Aug 27, 2013 at 9:15 AM, ishi soichi wrote: > > Could anyone help me set hitting TAB gives *4 spaces* as an indent. > > The following does not do it. > > TAB gives two tabs(?) which is not what I want. > > > > (add-hook 'php-mode-hook > > '(lambda() > > (setq tab-width 4) > > (setq indent-tabs-mode t) > > (setq c-basic-offset 4) > > )) > > > > > > soichi >