Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-09-2005, 01:01 PM   #1
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Rep: Reputation: 35
retaining formatting from emacs to notepad.

hi. Im doing some html programming in emacs and need to view the contents in notepad as well. But when i view it in notepad everything gets put onto a single line making it pointless to look at. Can anyone help me figure out how to make the formatting from emacs stay the same when the file is open in notepad? i would appreicate the help. thanks in advance.

edit: where returns would be in emacs there are little boxes in notepad

Last edited by dr_zayus69; 04-09-2005 at 01:05 PM.
Old 04-09-2005, 04:23 PM   #2
Mega Man X
LQ Guru
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Well, that will not happen, ever. Thank Microsoft for changing the default, standard carriage return ASCII for their horrible notepad. Rants appart, Linux/BSD/Unix use <LF> (Linux feed), MacOS uses <CR> (Carriage return) and Windows uses a combo of <LF> and <CR>.

Needless to say, text files are no longer portable. Some editors as emacs, vim and wordpad understands it and support all formats for line feed. What you could do is to drop notepad all together and install a proper text editor as vim or emacs for Windows. If you are up to open your wallet, TextPad is the very best thing you can get under Windows

Old 04-09-2005, 04:36 PM   #3
Senior Member
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
Don't know how this will work but give it a try:

Old 04-09-2005, 04:38 PM   #4
Mega Man X
LQ Guru
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Oops, I've forgotten a few things . There're some tools that helps you to convert a text file from Linux to Windows or Mac. I still think that using a port or emacs on Windows would be the best:

about converting the text files:



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
Retaining settings through Firefox upgrade DukieJF Linux - Newbie 4 11-13-2005 06:50 AM
Retaining settings on re-install? biased99 Red Hat 1 01-01-2005 05:47 PM
retaining environment variables using ssh lightningdan Linux - Software 3 12-15-2004 05:43 PM
retaining /dev permission kaise_sose Linux - Newbie 2 09-18-2004 11:32 AM
retaining root authorisation in X shamrock_uk Mandriva 2 06-22-2004 08:43 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:48 AM.

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