<p>I have a windows laptop (thinkpad) and somewhat recently rediscovered emacs and the benefit that all those wacky shortcuts can be when the arrow keys are located somewhere near you right armpit.</p>

<p>I was discouraged after php-mode, css-mode, etc, under mmm-mode was inconsistent, buggy, and refused to properly interpret some of my files. (In all fairness, I'm most likely doin' it wrong)  So I eventually found the nxhtml package which worked pretty well.</p>

<p>However, nxhtml causes weird bugs and actually crashes on certain files (certain combinations of nested modes I supposed) under linux! (using Ubuntu 7.10 and Kubuntu 8.04)</p>

<p>I'd like to be able to work on the laptop as well as the home linux pc without having to deal with inconsistent implementations of something that shouldn't be this hard.  I've googled and looked around and there's a good chance I'm the only human on the planet having these problems... Anyone got some advice?</p>

<p>(in lieu of an emacs solutions, a good enough cross-platform lightweight text editor with the dev features would also work I suppose...)</p>

[{'answer_id': 57551, 'author': 'machineghost', 'author_id': 5921, 'author_profile': 'https://Stackoverflow.com/users/5921', 'pm_score': 2, 'selected': True, 'text': '<p>Although I use emacs when I have to (ie. when I\'m at the command line), I use <a href="http://www.eclipse.org/" rel="nofollow noreferrer">Eclipse</a> for all my real development work.  If you get the <a href="http://www.eclipse.org/webtools/wst/main.php" rel="nofollow noreferrer">Web Standards Toolkit</a> plug-in for it, it can do syntax coloring, tag auto-completion, and other fun stuff.</p>\n\n<p>Alternatively, if Eclipse is to "heavy" for you, <a href="http://www.jedit.org/" rel="nofollow noreferrer">jEdit</a> is another excellent program for doing web development (it has most of it\'s web dev support built in, but you can also get some additional plug-ins for features like HTML Tidy).</p>\n\n<p>Both programs are open source and Java-based, which means they\'re both free and run on (virtually) any platform.</p>\n'}, {'answer_id': 59062, 'author': 'Anthony Williams', 'author_id': 5597, 'author_profile': 'https://Stackoverflow.com/users/5597', 'pm_score': 1, 'selected': False, 'text': "<p>You could try mmm-mode and multi-mode. I haven't tried them: I'm happy with nxhtml for now. What sort of problems did you encounter?</p>\n"}, {'answer_id': 64703, 'author': 'insipid', 'author_id': 8649, 'author_profile': 'https://Stackoverflow.com/users/8649', 'pm_score': 2, 'selected': False, 'text': '<p>Personally, I like <a href="http://www.emacswiki.org/cgi-bin/wiki/MuMaMo" rel="nofollow noreferrer"><code>mumamo-mode</code></a>. I\'m not sure if you\'re including that in your problem description, since it does rely on (and is usually downloaded with) <code>nxhtml-mode</code>. So I don\'t know if you\'re using <code>mumamo</code> or just some aspect of <code>nxhtml</code> that lets you use multiple modes.</p>\n\n<p>If you\'re not using <code>mumamo-mode</code>, then I\'d recommend trying it. It won\'t fix your <code>nxhtml</code> issues, but it is a pretty simple way to do editing of multi-mode files (works great for me, for HTML, CSS, JS, PHP, etc.)</p>\n'}, {'answer_id': 20504559, 'author': 'grebneke', 'author_id': 2061321, 'author_profile': 'https://Stackoverflow.com/users/2061321', 'pm_score': 1, 'selected': False, 'text': '<p>Five years after the OP, let me recommend Emacs <a href="http://web-mode.org" rel="nofollow">web-mode</a>. </p>\n\n<p>It has excellent support for combined web documents (html+php+css+js+asp+jsp...). Snippets. Syntax highlighting. Auto-completion. css-colorization. Automatic working indentation. Auto-close tags. </p>\n\n<p>web-mode has completely replaced php-mode/html etc for my daily development.</p>\n\n<p>Easy installation through <a href="http://melpa.milkbox.net/#/web-mode" rel="nofollow">MELPA</a>.</p>\n\n<p>There is a <a href="https://github.com/fxbois/web-mode" rel="nofollow">Github page</a> for reporting issues, which the developer has been very quick to fix.</p>\n'}]
['https://Stackoverflow.com/questions/54586', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/2570347/']