* HOWTO: using psgml for web development
@ 2004-02-29 14:23 D. D. Brierton
2004-03-20 19:02 ` Emory Smith
0 siblings, 1 reply; 3+ messages in thread
From: D. D. Brierton @ 2004-02-29 14:23 UTC (permalink / raw)
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)
======================================================================
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: HOWTO: using psgml for web development
2004-02-29 14:23 HOWTO: using psgml for web development D. D. Brierton
@ 2004-03-20 19:02 ` Emory Smith
[not found] ` <1079810346.19554.12.camel@excession.dzr>
0 siblings, 1 reply; 3+ messages in thread
From: Emory Smith @ 2004-03-20 19:02 UTC (permalink / raw)
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
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-03-21 22:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-29 14:23 HOWTO: using psgml for web development D. D. Brierton
2004-03-20 19:02 ` Emory Smith
[not found] ` <1079810346.19554.12.camel@excession.dzr>
2004-03-21 22:44 ` Emory Smith
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).