From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.help Subject: Re: Emacs and nxml/nxhtml-mode: memory overflow Date: Mon, 27 Aug 2012 22:55:16 +0400 Message-ID: <503BC294.3010800@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1346093738 10174 80.91.229.3 (27 Aug 2012 18:55:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Aug 2012 18:55:38 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Richard Riley Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 27 20:55:37 2012 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 1T64TC-00058U-IY for geh-help-gnu-emacs@m.gmane.org; Mon, 27 Aug 2012 20:55:30 +0200 Original-Received: from localhost ([::1]:57931 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T64TA-0005TH-0W for geh-help-gnu-emacs@m.gmane.org; Mon, 27 Aug 2012 14:55:28 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36654) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T64T1-0005SI-Kc for help-gnu-emacs@gnu.org; Mon, 27 Aug 2012 14:55:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T64T0-0006X6-0U for help-gnu-emacs@gnu.org; Mon, 27 Aug 2012 14:55:19 -0400 Original-Received: from forward4h.mail.yandex.net ([84.201.186.22]:43444) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T64Sz-0006UD-KJ for help-gnu-emacs@gnu.org; Mon, 27 Aug 2012 14:55:17 -0400 Original-Received: from smtp4h.mail.yandex.net (smtp4h.mail.yandex.net [84.201.186.21]) by forward4h.mail.yandex.net (Yandex) with ESMTP id D32AB1B20956; Mon, 27 Aug 2012 22:55:14 +0400 (MSK) Original-Received: from smtp4h.mail.yandex.net (localhost [127.0.0.1]) by smtp4h.mail.yandex.net (Yandex) with ESMTP id 988542C0120; Mon, 27 Aug 2012 22:55:14 +0400 (MSK) Original-Received: from 37x113x70x143.dynamic.spb.ertelecom.ru (37x113x70x143.dynamic.spb.ertelecom.ru [37.113.70.143]) by smtp4h.mail.yandex.net (nwsmtp/Yandex) with ESMTP id tDXaio23-tEXiGdpW; Mon, 27 Aug 2012 22:55:14 +0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1346093714; bh=ocd9/um79X+3r8TdX/OgdF1iZeY/+xuKeJoRdOmtj3I=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: Content-Type:Content-Transfer-Encoding; b=xHOQgci2VZK0UINhriD3Lz4f6Rkm6e5oI2rwjtLsDItP9eyj/Tx5GuczemuFp/RkT Ay53Wgwy1iI7W333nxAiIHDCz5rza06c2lPYbLO8zveed8dCWk9xkNH/NdC0i+U8ln E9+UaSOrrnOn6GrVQT7sYeRJfjXZ44RaQaK8ZlmY= User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 84.201.186.22 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:86556 Archived-At: Richard Riley writes: > I've tried most methods for mixed mode. > > nxhtml is really the only mode for mixed mode programming that even > begins to be useful. I tend to find most other recommendations are done > by people who are not using mixed mode at all. Regradless how the > purists see mixed mode files (try mentioning PHP even in #emacs) , they > are very common. php and html/css/javascript in one file is not > unusual. Emacs addressing this "natively" would be a real boon. > > Unfortunately nxhrml doesnt seem to be maintained anymore, or? > Certainly in trunk emacs 24 using nxthml produces loads of popup error > buffers. I emailed the author but got no response. If you were using ERB (with Rails) or EJS, I'd have another suggestion, but for PHP you can try web-mode [1] that was announced on one of the mailing lists here a few weeks ago. I've no idea about its quality, but at least it's still being developed. [1] http://web-mode.org/ --Dmitry