[Ilugc] code formatting in emacs?

  • From: andyetitmoves@xxxxxxxxx (R.Ramkumar)
  • Date: Tue Jul 11 15:01:37 2006

The above lines is nothing but if you have an existing code in php and
wants to indent that code, then you have to open the file where the
code is and use the keys `C-x h', so that the whole file is marked.
Then use `M-x indent-region' which will indent the whole php file
(most accurately the buffer) which has the php code.

thanks senthil... may be i was a bit too precise... sorry :)

it moves on...

-- 
April 1: This is the day upon which we are reminded of
what we are on the other three hundred and sixty-four.
          -- Mark Twain, "Pudd'nhead Wilson's Calendar"

Other related posts: