From: ishi soichi <soichi777@gmail.com>
To: "Aurélien Aptel" <aurelien.aptel+emacs@gmail.com>
Cc: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: 4 spaces by hitting tab for PHP-mode
Date: Wed, 28 Aug 2013 10:55:35 +0900 [thread overview]
Message-ID: <CAEjRLuSrARU6FD6nJcLnne9Z1T58gTDYaoLupekXREst+dq4SQ@mail.gmail.com> (raw)
In-Reply-To: <CA+5B0FNx7d9VzQ3Jn59PcAfqh-ADbCs0RC9CiWsMO_g0gnwCWg@mail.gmail.com>
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
>
prev parent reply other threads:[~2013-08-28 1:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-27 7:15 4 spaces by hitting tab for PHP-mode ishi soichi
2013-08-27 8:01 ` Aurélien Aptel
2013-08-28 1:55 ` ishi soichi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAEjRLuSrARU6FD6nJcLnne9Z1T58gTDYaoLupekXREst+dq4SQ@mail.gmail.com \
--to=soichi777@gmail.com \
--cc=aurelien.aptel+emacs@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).