all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emory Smith <emory.smith@mac.com>
Subject: Re: HOWTO: using psgml for web development
Date: Sat, 20 Mar 2004 12:02:08 -0700	[thread overview]
Message-ID: <160558B7-7AA1-11D8-968F-000A958A3AF4@mac.com> (raw)
In-Reply-To: <pan.2004.02.29.14.23.23.183373@dzr-web.com>

hello,

much thanks to d. d. brierton for these much needed instructions.

i have tried been repeatedly going back and forth between 
html-helper-mode and psgml/mmm/etc-modes for some time now, each one 
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 
hoping someone might be able to help me work out some kinks...

my biggest problem currently seems to be with indentation in a php 
files. here's what i get when i press the tab key in a (HTML[PHP] MMM) 
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 "\b¬>É)\0^[(JC^[(B ^[-Hƒ≈x√ ∆ )^[-A\x19i∆ XÉ\"\0«	!Ç'\0^[(JG^[(B	!))á\b á" 
[indent-line-function column (indent-relative indent-relative-maybe) 
beginning-of-line "\n 	" nil current-indentation indent-line-to] 2 
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 
the same results from the fink x11 dist).

also, i have removed EVERYTHING from my .emacs config files except for 
what is listed in brierton's how-to.

perhaps i should just go back my latest html-helper-mode configuration 
(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/
>
>> From 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
>
> -- 
> ======================================================================
> D. D. Brierton            darren@dzr-web.com           www.dzr-web.com
>        Trying is the first step towards failure (Homer Simpson)
> ======================================================================
>
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
>

  reply	other threads:[~2004-03-20 19:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-29 14:23 HOWTO: using psgml for web development D. D. Brierton
2004-03-20 19:02 ` Emory Smith [this message]
     [not found]   ` <1079810346.19554.12.camel@excession.dzr>
2004-03-21 22:44     ` Emory Smith

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=160558B7-7AA1-11D8-968F-000A958A3AF4@mac.com \
    --to=emory.smith@mac.com \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.