• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Formatting help needed ...

 
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Sheriff
Posts: 9109
12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic