[Ilugc] code formatting in emacs?

  • From: prashmohan@xxxxxxxxx (Prashanth Mohan)
  • Date: Tue Jul 11 14:05:08 2006

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

balachandar muruganantham wrote:

Hi,

i am using emacs in fedora core 3.

you could use yum to install php-mode (I would assume the same exists in
the yum repositories)


how do i do code formatting in a existing php script? like setting
indentation automatically?


Start emacs
M-x php-mode (read Alt+x and type in php-mode <return>)
and there you go :-)


- --
Prashanth Mohan
http://prashblog.be
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEs2KsVlZ1FOS28hIRAjg0AJ9q2/gAIEjnOGnnm6OlST1gi3Hq9gCgqQPo
KaFrj6KQ+HqDAkvXMYVs9ZE=
=p4Ak
-----END PGP SIGNATURE-----

Other related posts: