unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Valentijn van de Beek <valentijn@posteo.net>
To: Thierry LEURENT <thierry.leurent@asgardian.be>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Emacs as PHP, HTML and JS editor
Date: Tue, 30 May 2017 09:39:51 +0200	[thread overview]
Message-ID: <20170530073951.GA12237@localhost> (raw)
In-Reply-To: <24711f8b74c2179235cf0bd585a5506e@asgardian.be>

[-- Attachment #1: Type: text/plain, Size: 629 bytes --]

On 30/05 09:02, Thierry LEURENT wrote:
> Hello,
>
> I am currently working on extremely poorly written website.
> It consists of pieces of code taken from the internet and pasted. It's
> illegible.
> I would like to find a configuration of emacs that allowed me to work at
> the same time in PHP, HTML and JS.
> But also reformat and clean the code.
>
> Thank you
>
> --
> Thierry LEURENT

Hello Thierry,

I find that the web-mode.el[1] package works rather well for these
things. It allows you to edit PHP, HTML, CSS & JavaScript at the same
time.

I hopes this helps you a bit.

Valentijn van de Beek

[1] http://web-mode.org/

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      parent reply	other threads:[~2017-05-30  7:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-30  7:02 Emacs as PHP, HTML and JS editor Thierry LEURENT
2017-05-30  7:35 ` Nikolay Kudryavtsev
2017-05-30  7:37   ` Krishnakant
2017-05-30  7:39 ` Valentijn van de Beek [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=20170530073951.GA12237@localhost \
    --to=valentijn@posteo.net \
    --cc=help-gnu-emacs@gnu.org \
    --cc=thierry.leurent@asgardian.be \
    /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.
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).