From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Emory Smith Newsgroups: gmane.emacs.help Subject: Re: HOWTO: using psgml for web development Date: Sat, 20 Mar 2004 12:02:08 -0700 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <160558B7-7AA1-11D8-968F-000A958A3AF4@mac.com> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (Apple Message framework v613) Content-Type: text/plain; charset=MACINTOSH; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1079809555 29841 80.91.224.253 (20 Mar 2004 19:05:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 20 Mar 2004 19:05:55 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Mar 20 20:05:45 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1B4lmz-0006tv-00 for ; Sat, 20 Mar 2004 20:05:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B4lkY-0006XP-V3 for geh-help-gnu-emacs@m.gmane.org; Sat, 20 Mar 2004 14:03:14 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B4lkB-0006Wo-Nh for help-gnu-emacs@gnu.org; Sat, 20 Mar 2004 14:02:51 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B4ljf-0006Q8-Rd for help-gnu-emacs@gnu.org; Sat, 20 Mar 2004 14:02:50 -0500 Original-Received: from [17.250.248.86] (helo=smtpout.mac.com) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B4ljf-0006Q3-EG for help-gnu-emacs@gnu.org; Sat, 20 Mar 2004 14:02:19 -0500 Original-Received: from mac.com (smtpin07-en2 [10.13.10.152]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id i2KJ2CBi005494; Sat, 20 Mar 2004 11:02:12 -0800 (PST) Original-Received: from [192.168.254.4] (home-ppp-231.colorado.edu [198.11.26.231]) (authenticated bits=0) by mac.com (Xserve/smtpin07/MantshX 3.0) with ESMTP id i2KJ2Ae5005986; Sat, 20 Mar 2004 11:02:11 -0800 (PST) In-Reply-To: Original-To: "D. D. Brierton" , help-gnu-emacs@gnu.org X-Mailer: Apple Mail (2.613) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 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 Xref: main.gmane.org gmane.emacs.help:17611 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:17611 hello, much thanks to d. d. brierton for these much needed instructions. i have tried been repeatedly going back and forth between=20 html-helper-mode and psgml/mmm/etc-modes for some time now, each one=20 seeming a bit greener when im using the other. i have just switched back to psgml now in light of this how-to and was=20= hoping someone might be able to help me work out some kinks... my biggest problem currently seems to be with indentation in a php=20 files. here's what i get when i press the tab key in a (HTML[PHP] MMM)=20= mode buffer: Debugger entered--Lisp error: (wrong-type-argument stringp nil) looking-at(nil) c-backward-sws() c-guess-basic-syntax() c-indent-line() #[nil "=08=C2>=83)=00=1B(JC=1B(B =1B-H=C4=C5x=C3 =C6 )=1B-A=19i=C6 = X=83\"=00=C7 !=82'=00=1B(JG=1B(B !))=87=08 =87"=20 [indent-line-function column (indent-relative indent-relative-maybe)=20 beginning-of-line "\n " nil current-indentation indent-line-to] 2=20 690153 nil]() c-indent-command(1) * call-interactively(c-indent-command) i am using andrew choi's emacs 21.3 for carbon os x 10.3 (though i get=20= the same results from the fink x11 dist). also, i have removed EVERYTHING from my .emacs config files except for=20= what is listed in brierton's how-to. perhaps i should just go back my latest html-helper-mode configuration=20= (but how nice it would be to have html indentation in php buffers...) thanks for any suggestions, emory On Feb 29, 2004, at 7:23 AM, D. D. Brierton wrote: > I've written up some instructions on setting up a web-development > environment using psgml here: > > http://www.dzr-web.com/people/darren/projects/emacs-webdev/ > >> =46rom the page: > > The following is intended to provide instructions for setting up > an (X)HTML editing environment for Emacs suitable for Web > Developers. It uses psgml-mode for SGML/XML editing in > conjunction with the DTDs for (X)HTML from the W3C, and uses > mmm-mode to define sub-modes for Javascript (using > javascript-generic-mode), CSS (using css-mode), and PHP (using > php-mode). It also provides support from within Emacs for HTML > Tidy. > > Comments welcome. > > Best, Darren > > --=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > D. D. Brierton darren@dzr-web.com www.dzr-web.com > Trying is the first step towards failure (Homer Simpson) > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > _______________________________________________ > Help-gnu-emacs mailing list > Help-gnu-emacs@gnu.org > http://mail.gnu.org/mailman/listinfo/help-gnu-emacs >