Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

How to create reuseable header template in emacs?

  1. Jul 2, 2012 #1
    Emacs documentation, while abundant can sometimes be challenging to navigate. What I will do is describe generally what I would like to do and perhaps you can provide a general solution.

    I want to be able to sit down at my keyboard and keystroke to a pre-filled C++ doc: header, return 0;, int main(), etc. What I would also like is to be able to have this available at all times, meaning that it is not overwritten with my throwaway program when I save it. Is there a method to save current edited file without overwriting original file.

    I have attempted to research this online to no avail and to prevent wasting any more time I decided to come hear.

    Thanks for any assistance.
  2. jcsd
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted