From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Valentijn van de Beek Newsgroups: gmane.emacs.help Subject: Re: Emacs as PHP, HTML and JS editor Date: Tue, 30 May 2017 09:39:51 +0200 Message-ID: <20170530073951.GA12237@localhost> References: <24711f8b74c2179235cf0bd585a5506e@asgardian.be> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="3V7upXqbjpZ4EhLz" X-Trace: blaine.gmane.org 1496152569 32618 195.159.176.226 (30 May 2017 13:56:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 30 May 2017 13:56:09 +0000 (UTC) User-Agent: Mutt/1.8.2 (2017-04-18) Cc: help-gnu-emacs@gnu.org To: Thierry LEURENT Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 30 15:56:05 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dFhcy-0008Bu-Oj for geh-help-gnu-emacs@m.gmane.org; Tue, 30 May 2017 15:56:04 +0200 Original-Received: from localhost ([::1]:53948 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dFhd1-00024G-75 for geh-help-gnu-emacs@m.gmane.org; Tue, 30 May 2017 09:56:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38350) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dFblC-0000Pd-8A for help-gnu-emacs@gnu.org; Tue, 30 May 2017 03:40:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dFbl7-0003rM-Bo for help-gnu-emacs@gnu.org; Tue, 30 May 2017 03:40:10 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:52023) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dFbl7-0003qc-4j for help-gnu-emacs@gnu.org; Tue, 30 May 2017 03:40:05 -0400 Original-Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 8F57020428 for ; Tue, 30 May 2017 09:39:57 +0200 (CEST) Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 3wcQVg5D6zzytp; Tue, 30 May 2017 09:39:55 +0200 (CEST) Content-Disposition: inline In-Reply-To: <24711f8b74c2179235cf0bd585a5506e@asgardian.be> X-Clacks-Overhead: GNU Terry Pratchett X-PGP-Key: https://sks-keyservers.net/pks/lookup?op=get&search=0x3472D06EC721BD07 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 185.67.36.66 X-Mailman-Approved-At: Tue, 30 May 2017 09:54:26 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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 Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:113282 Archived-At: --3V7upXqbjpZ4EhLz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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/ --3V7upXqbjpZ4EhLz Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEENPVNdRa6T+JBYo4Loteb6+uAc0YFAlktIb0ACgkQoteb6+uA c0a42g//VLwiJlmUgNgbxrX2wV8X0vYcHBrCYevKw+yys7T3YKnUANkmZUD8zGUe NgtPyejfLem+4Vzw+pou2QMsBbfF6E7pXXj59ZdbVOrhqKjySO4p7BovKGpBeyCo o/Ucl9dKKle04F1KXzPKaM8GAOdnVheY9X/J2d4okUo1LQ9dIR+O02+huuREjtf+ kOAQhcAcaheG9IKy72C4VuLP0mxb/iFJvsVJY13Wd38HVjdXw/+MaPY1uxGugEYQ o56wl6V4vESE1LhEn4dopnCY2mMzpWquTcqquI8plX6Ie3bi6yoiQAJSGo/ulL38 X+ja+X3N3jaLHIsFpTOieeJVMp0ZhoBlnU7UIHdxpzz8DgdB3m7hJhSYfv7/tZva rRIF89EJgkzPNg+GxtNTHBHllRtpn3dhBymq3r5u5OwaUkX3Lm/aNXdg29Qtc1WB iwFC7ZLV1hB7nN9m9+0C8Akzrs0g+yaceirf8Twpr/NqEeMynCmNY4Cac2RQ9Oaw M4cDGT1V1pc7CEhGY/Dj8oX5RhLu9qy/IhqIXmRgs49ji4aryirVWEcrBBN67+QF rUZOWeQBJ3+lQUpzQ2njrkYKWO8Qj3mvIfFprnwcUWmaRuF76mhZS0heGXYRGZM4 EKFPUkpj6DvD8L36Tjf9UwAOHpJlQLwrGRB7aKyUNTI9/O/eTnE= =CgJh -----END PGP SIGNATURE----- --3V7upXqbjpZ4EhLz--