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: 4 spaces by hitting tab for PHP-mode Date: Tue, 27 Aug 2013 16:15:05 +0900 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1377587759 2135 80.91.229.3 (27 Aug 2013 07:15:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Aug 2013 07:15:59 +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 Aug 27 09:15:58 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 1VEDVL-0003p4-Oo for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Aug 2013 09:15:55 +0200 Original-Received: from localhost ([::1]:54536 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VEDVK-0004In-Tw for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Aug 2013 03:15:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57156) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VEDV6-0004Ig-79 for help-gnu-emacs@gnu.org; Tue, 27 Aug 2013 03:15:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VEDUz-0001Wf-AY for help-gnu-emacs@gnu.org; Tue, 27 Aug 2013 03:15:40 -0400 Original-Received: from mail-vc0-f176.google.com ([209.85.220.176]:42919) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VEDUz-0001VS-6A for help-gnu-emacs@gnu.org; Tue, 27 Aug 2013 03:15:33 -0400 Original-Received: by mail-vc0-f176.google.com with SMTP id ha11so2686719vcb.21 for ; Tue, 27 Aug 2013 00:15:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=A7K9yaJk4DA7OrUazP6joEBQDx0ej96JNkqK/RhNsTs=; b=Z+KZfw+bYtbX0+BtVFxoSCpt/yYUDxi7okUJ2oBA7CAknh0A8xPsejk5o/rlzazMrS 0yK8RhAp0065F1S/tfxpSQSNDdd4yj+XL0AjGhocPUpooqfyMPskuBmzjb0T6t4fL5nG MSmSNmGrNpRj72v3he86c90pU61YZHHaNCQ6tLtGgSrK0jAKLuSkHYuqmSDmyhslAVBc KBRJafIYzm4j+kp4/xT9oikNpbm3UmWLFFXOuE/PcrUnUNEUqIxKPjqo/WVs3+Qc/qwU ZDrrNuoljF+5bKUPvyUIfAtdaqW+13RW8PFgExkeBXRvVk+BYmc2aP6xeqpGP5UsEqlI G1Og== X-Received: by 10.58.146.71 with SMTP id ta7mr420645veb.23.1377587705451; Tue, 27 Aug 2013 00:15:05 -0700 (PDT) Original-Received: by 10.58.171.100 with HTTP; Tue, 27 Aug 2013 00:15:05 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.220.176 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:93104 Archived-At: 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