help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 4 spaces by hitting tab for PHP-mode


From: ishi soichi
Subject: Re: 4 spaces by hitting tab for PHP-mode
Date: Wed, 28 Aug 2013 10:55:35 +0900

thanks. it helped a lot!


2013/8/27 Aurélien Aptel <aurelien.aptel+emacs@gmail.com>

> indent-tabs-more should be nil, not t.
>
> On Tue, Aug 27, 2013 at 9:15 AM, ishi soichi <soichi777@gmail.com> 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
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]