unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* 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

* Re: HOWTO: using psgml for web development
       [not found]   ` <1079810346.19554.12.camel@excession.dzr>
@ 2004-03-21 22:44     ` Emory Smith
  0 siblings, 0 replies; 3+ messages in thread
From: Emory Smith @ 2004-03-21 22:44 UTC (permalink / raw)
  Cc: help-gnu-emacs

thanks darren,

thank you for the quick reply.  i think you are right -- guess i will 
stick with helper-mode for now.

i will submit a bug report, though it surprises me that others dont 
seem to be having this problem...

thanks again for the emacs webdev info, i cant wait to make use of it.  
(ill let you know when i get around to learning some lisp, as id love 
to help out with the development.)

emory


On Mar 20, 2004, at 12:19 PM, D. D. Brierton wrote:

> On Sat, 2004-03-20 at 19:02, Emory Smith wrote:
>
>> 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.
>
> I am sorry to say that I can only think that this related to Emacs on
> Mac OS X. I certainly do not see this behaviour running Emacs 21.3 on
> Red Hat Linux 9. I know that Emacs on OS X is still beta, although I
> guess that is more true of the Carbon build than the X11 one. I suggest
> a bug report to the Emacs developers. I have no idea what is causing
> your problem but it looks like something worth reporting.
>
> 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

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).