Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Formatting help needed ...

 
Jinny Morris
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm using emacs to type my code - because the highlighting etc really help me out. In my emacs file my formatting is perfection itself (I know this because I just crawled through the current file counting spaces in the front of every line), but when I copy and paste into notepad, or anything else for that matter, my indentations are 3 spaces, not the 4 that I have laboriously counted. Does anyone else use this particular text editor? Or do you have any suggestions for something else that I could use that would provide some syntax checking?

Thanks!
 
Marilyn de Queiroz
Sheriff
Posts: 9059
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which OS? WindowsXP? Have you tried saving the file in emacs and opening it with another app (like notepad) rather than copy and paste? Do you have the same issue if you do that?

As far as a text editor is concerned, I've been really happy with TextPad.
[ January 02, 2008: Message edited by: Marilyn de Queiroz ]
 
Jinny Morris
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Marilyn -

Thank you! That worked - along with (as I should have thought of earlier) setting the font in both notepad and my email to Courier.

And, yes, I'm using Windows XP - should have said.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic