LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-23-2005, 01:08 PM   #1
tuxulux
LQ Newbie
 
Registered: Jan 2005
Posts: 4

Rep: Reputation: 0
hypertext in emacs


is it possible to create hypertext in emacs and if so how?
 
Old 01-23-2005, 01:51 PM   #2
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
I'm not sure if I understand the question.

Can you write hypertext in emacs? Yes. It's basically the same as if you were to write HTML in Windows Notepad. It's just text.

Is emacs a WYSIWYG editor for html? Most definitely not. All you will see is straight text for tags, elements, attributes, etc.

Is there an emacs mode for hypertext? I would think so, but I don't know of any off-hand. An emacs mode might colorize the text, do character matching (like < and > for instance), automatically frame multi-line comments, and nifty things. You'll have to search for one if this is what you're after. There may be one included by default for HTML. Just save the file with a ".html" suffix, and open it in emacs to see if it changes to HTML mode.
 
Old 01-23-2005, 03:29 PM   #3
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 47
there is both html-mode (basic html) and html-helper-mode (with limited support for coloring php-, asp- and jsp-scripts) -- there are of course also dedicated php-modes (etc), which seems to be beyond the scope of the question. There is also a w3-mode (M-x w3) for viewing html.

Depending on the structure of the HTML you will write, you might also want to look at outline-mode.

hope this helps,

Jonas
 
  


Reply



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
where is the .emacs file in the emacs source code tarball? aizkorri Programming 2 01-13-2007 02:05 PM
emacs not responding to .emacs file in Mandriva 2005 LE. Please help LaptopLinux Mandriva 1 06-08-2005 08:36 AM
what is vi and emacs? paschim Linux - General 5 09-21-2004 02:58 AM
edb (emacs database) won't open file - emacs 20 & 21 tip184 Linux - Software 0 04-03-2004 07:31 AM
emacs and VM xunilpassion Linux - Software 0 11-24-2003 12:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:21 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration