LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 11-05-2003, 06:06 PM   #1
lackluster
Member
 
Registered: Apr 2002
Location: D.C - USA
Distribution: slackware-current
Posts: 488

Rep: Reputation: 30
Emacs: sgml mode


I love emacs and would like to use it for everything, but SGML mode (and derived modes, XML, PHP, HTML, whatever) sucks. The problem is indenting. I want to tab over a tag but it won't let me. VERY ANNOYING. If my LITHP were better I might be able to fix it, but here we are . Has anyone else run into this? Any solution? (please don't tell me to RTFM or STFW cause I already did that (maybe I just don't know what to look for))
 
Old 11-06-2003, 07:55 PM   #2
lackluster
Member
 
Registered: Apr 2002
Location: D.C - USA
Distribution: slackware-current
Posts: 488

Original Poster
Rep: Reputation: 30
maybe you guys can just tell me what you use to edit HTML/PHP/XML files?
 
Old 11-07-2003, 05:52 PM   #3
Kurt M. Weber
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 335

Rep: Reputation: 31
VIM
 
Old 11-07-2003, 09:42 PM   #4
vanquisher
Member
 
Registered: Aug 2003
Location: Hyderabad, India
Posts: 126

Rep: Reputation: 15
what I do is, the first time, i indent by hand...using spaces...then from the next time, tab works...say I got something like this,
Code:
<head>
          <title>some title</tite>
</head>
          <some tag>
the space before title is done by hand where as space before "some tag" comes when you type tab.
 
Old 04-23-2006, 08:50 PM   #5
ID_SONIC
LQ Newbie
 
Registered: Nov 2003
Location: moon
Distribution: debian
Posts: 5
Blog Entries: 1

Rep: Reputation: 0
Yeah, I love emacs too, but I have some problem on sgml-mode's color.

http://fred.webcan.cn/files/snapshot/emacs.png
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Shell mode & ssh in emacs phuna Linux - Software 1 08-03-2005 04:37 PM
emacs problem in shell mode bujecas Slackware 1 10-25-2004 04:37 AM
emacs: continuous newline (minor mode?) tek1024 Linux - Software 1 08-11-2004 02:09 PM
emacs-21.2 php-mode.el howto ? cicisbeo Linux - Software 1 01-12-2004 08:26 PM
Disabling cc-mode Emacs amannuc Linux - Software 0 10-21-2003 12:52 AM


All times are GMT -5. The time now is 07:47 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration