Newsgroups: comp.os.linux.misc
From: dave.gma+news...@googlemail.com.invalid (Dave Gibson)
Date: Thu, 18 Oct 2012 11:52:25 +0100
Local: Thurs, Oct 18 2012 6:52 am
Subject: Re: How do I disable emacs indent warnings ?
JohnT <j...@example.com> wrote:
Uggreb.
> On Wed, 17 Oct 2012 14:40:01 +0000, JohnT wrote: >> On Wed, 17 Oct 2012 12:12:24 +0100, Dave Gibson wrote:
>>> JohnT <j...@example.com> wrote:
>>>> I've been using emacs for long enough to know all about the indenting
>>> Edit php-mode.el. Look for (defvar php-warned-bad-indent nil). >> That seems to have done the job - thanks. Been quite a few years since
> Nope - sorry - didn't test it enough.
> Still get the irritating error sometimes. Seems to be when I open a new
It should be possible to side-step the entire check -- both the php-indent
> <?php tag > I'll see if I can rip the message out completely.
functions drop through to the c-indent equivalents so replace (somewhere near line 379) (setq indent-line-function 'php-cautious-indent-line)
with
(setq indent-line-function 'c-indent-line)
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||