From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Aur=C3=A9lien_Aptel?= Newsgroups: gmane.emacs.help Subject: Re: 4 spaces by hitting tab for PHP-mode Date: Tue, 27 Aug 2013 10:01:46 +0200 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1377590549 32024 80.91.229.3 (27 Aug 2013 08:02:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Aug 2013 08:02:29 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" To: ishi soichi Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 27 10:02:32 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 1VEEER-0003dn-EM for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Aug 2013 10:02:31 +0200 Original-Received: from localhost ([::1]:54698 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VEEER-0001ck-3g for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Aug 2013 04:02:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36713) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VEEEA-0001be-80 for help-gnu-emacs@gnu.org; Tue, 27 Aug 2013 04:02:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VEEE4-0006NV-8l for help-gnu-emacs@gnu.org; Tue, 27 Aug 2013 04:02:14 -0400 Original-Received: from mail-lb0-f171.google.com ([209.85.217.171]:42818) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VEEE4-0006Mb-2O for help-gnu-emacs@gnu.org; Tue, 27 Aug 2013 04:02:08 -0400 Original-Received: by mail-lb0-f171.google.com with SMTP id u14so2227593lbd.2 for ; Tue, 27 Aug 2013 01:01:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=YOz0HRTRxUCLeCRAR9ZJOWFYBoKQueIMHc3xlagoC7U=; b=er0a9SfhNNsRBMsuIx7im7u3vhleS9fSXxYanrrt1MGaH9ju2TCLsAfTxizbRlGS+7 KaMaMOwOJCebJtMJEZXFWu66H5r7xhdryXwxxMbTbuGo0itzI893VcExPXOSEHkHpf4V SLgD96qVF6G3H494aTwsJDI+JPoWHOVnb/0dLiirPvGIBJvpl9etb2mG+/6ZIj2jNvLn 1DPCC95YUB3RBBGcUWcLxJHTmnu50WYf0ep9S09+yKU2nR2H7zYEM0l/0YEOcRstVpMg YsyazXz6zJzn0XroOuKmdVYobz2Zsq11zZBgg7nCs1C+eON9ELCQbjDNyn60nBBXDYqq Woew== X-Received: by 10.112.29.17 with SMTP id f17mr116016lbh.45.1377590506932; Tue, 27 Aug 2013 01:01:46 -0700 (PDT) Original-Received: by 10.114.66.235 with HTTP; Tue, 27 Aug 2013 01:01:46 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: ZGw8jgfCGnrxi7O1oVmjpq-AHLQ X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.217.171 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:93105 Archived-At: 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