LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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, 02: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, 02:51 PM   #2
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
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, 04:29 PM   #3
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 46
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


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


All times are GMT -5. The time now is 03:15 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration