Share your knowledge at the LQ Wiki.
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 03-06-2011, 07:24 AM   #1
Registered: Sep 2006
Posts: 374

Rep: Reputation: 16
save option in .emacs


I set word wrap on in emacs, and now I would like to save the option in .emacs.
Instead of going to .emacs file and put the configuration there, I would like to know if exist a command to save the options that I enabled during my time in emacs? So, the next time that I open emacs, word wrap is already on.

Old 03-07-2011, 05:40 PM   #2
Registered: Apr 2007
Location: USA
Distribution: Kubuntu 8.04
Posts: 579
Blog Entries: 8

Rep: Reputation: 148Reputation: 148
Emacs allows you to have multiple configuration files. From my experience, you need to save .emacs in your home directory (/home/you/.emacs).

Otherwise, I think it is possible to change the option in the global configuration file in /etc. You will have to assume root to do it, and the changes will affect all users of the system.
Old 03-07-2011, 05:44 PM   #3
LQ Veteran
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,825
Blog Entries: 1

Rep: Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221
You might have a look at this.


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
emacs closes when save as rarbis Linux - Software 0 03-06-2008 12:43 PM
Alt no longer META key when using in-terminal option of Emacs (emacs -nw) frznchckn Linux - Software 1 06-02-2007 03:41 AM
Emacs - insert filename at save jantman Linux - Software 1 01-16-2007 02:35 PM
How to save fonts option in Emacs ? naihe2010 Linux - Software 3 11-03-2005 12:14 AM
EMACS won't save changes vanquisher Linux - Software 4 12-26-2003 07:03 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:06 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration