[PHP] PHP and xemacs

2003-01-23 Thread Hans Jacob Simonsen
Hi 

I have just started using xemacs as editor to my php scripts
I think that the indentation in emacs stinks! xemacs has imorted a php
package for med, but it does not make indentation on my html codes.
table
tr
td
/td
/tr
/table

i would prefer looking like:
table
tr
 td
 /td
and so fourth. 

Is there a way I can do this automatically? Now I do it by pressing space
a lot of times. I hope there is a package I can import. Maybe there is
some shortcut I can press where I want my tabbing to be, something like:

table
 [press short-cut here]
[here I only need to press TAB to get the right indent]

Are there other nice editors for Linux RedHat?

Please help me. I really need it.

Jacob


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] PHP and xemacs

2003-01-23 Thread Faisal Abdullah
I use Kate. Love it for the following features:

1. Wonderful customizable syntax highlighting not only for PHP, but
other languages/scripts as well. 

2. Splittable screen

3. Line numbering

4. A handy terminal emulator

5. Indent tracking, and brace tracking

6. Remembers recently opened files. I'll know what I've been working on.

7. Configurable tab spaces (I use 4 spaces)


Faisal


On Thu, 2003-01-23 at 16:47, Hans Jacob Simonsen wrote:
 Hi 
 
 I have just started using xemacs as editor to my php scripts
 I think that the indentation in emacs stinks! xemacs has imorted a php
 package for med, but it does not make indentation on my html codes.
 table
 tr
 td
 /td
 /tr
 /table
 
 i would prefer looking like:
 table
 tr
td
  /td
 and so fourth. 
 
 Is there a way I can do this automatically? Now I do it by pressing space
 a lot of times. I hope there is a package I can import. Maybe there is
 some shortcut I can press where I want my tabbing to be, something like:
 
 table
  [press short-cut here]
 [here I only need to press TAB to get the right indent]
 
 Are there other nice editors for Linux RedHat?
 
 Please help me. I really need it.
 
 Jacob
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
-- 
~~
Faisal Abdullah [EMAIL PROTECTED]
Systems Developer   Magnifix Sdn. Bhd.

Tel : 603-4142 1775 Fax : 603-4142 1550

~~
Isn't it time you browse through a different window?


__


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] PHP and xemacs

2003-01-23 Thread Hans Jacob Simonsen
On 23 Jan 2003, Faisal Abdullah wrote:

 I use Kate. Love it for the following features:
 
 1. Wonderful customizable syntax highlighting not only for PHP, but
 other languages/scripts as well. 
 
 2. Splittable screen
 
 3. Line numbering
 
 4. A handy terminal emulator
 
 5. Indent tracking, and brace tracking
 
 6. Remembers recently opened files. I'll know what I've been working on.
 
 7. Configurable tab spaces (I use 4 spaces)
 
 
 Faisal
 
 
Sorry I forgot to tell you. I am using GNOME, and I'm on a company
computer so I can't change to KDE.

Jacob


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] PHP and xemacs

2003-01-23 Thread Chris Hewitt
Hans Jacob Simonsen wrote:


Sorry I forgot to tell you. I am using GNOME, and I'm on a company
computer so I can't change to KDE.


I'm using gnome and kate works by just typing its name at a shell prompt.

HTH
Chris



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] PHP and xEmacs

2002-03-22 Thread Gunter Ohrner

Hi!

Anyone in here who managed to get xEmacs working with psgml-html and 
php-mode combined? If yes, which php-mode did you use and what did you do?

I use psgml-html and Turadg Aleahmad's php-mode 1.0.2 (I just tried it with 
Fred Yankowski, too, getting excactly the same results) and tried to 
combine both using mmm-mode 0.4.7.

So far it does work, however I cannot indent the embedded php-code at all...
:-( Pressing TAB in a line just causes its indentation to get lost, that
is, the line starts at column 1, no matter if it's in a statemant block or
somewhere else.

Is there any solution to that problem or is there any preferable way to edit
embedded PHP code with xEmacs? I'd really like to use psgml-html for the 
non-PHP-parts of the file as I really got used to it.

Greetinx,

  Gunter Ohrner

-- 
The Supreme Life President of Hell wrote: What business are we in??? He 
thought for a bit, and then carefully wrote, underneath: We are in the 
damnation business!!!-- (Terry Pratchett, Eric)
-+-+-+-+-+- PDEPP Webserver:  http://pdepp.SourceForge.net/ -+-+-+-+-+-


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php