LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
LinkBack Search this Thread
Old 03-06-2011, 06:24 AM   #1
xeon123
Member
 
Registered: Sep 2006
Posts: 363

Rep: Reputation: 16
save option in .emacs


Hi,

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.

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

Rep: Reputation: 147Reputation: 147
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, 04:44 PM   #3
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,417
Blog Entries: 1

Rep: Reputation: 951Reputation: 951Reputation: 951Reputation: 951Reputation: 951Reputation: 951Reputation: 951Reputation: 951
You might have a look at this.
http://penguinpetes.com/b2evo/index....&c=1&tb=1&pb=1.
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
emacs closes when save as rarbis Linux - Software 0 03-06-2008 11:43 AM
Alt no longer META key when using in-terminal option of Emacs (emacs -nw) frznchckn Linux - Software 1 06-02-2007 02:41 AM
Emacs - insert filename at save jantman Linux - Software 1 01-16-2007 01:35 PM
How to save fonts option in Emacs ? naihe2010 Linux - Software 3 11-02-2005 11:14 PM
EMACS won't save changes vanquisher Linux - Software 4 12-26-2003 06:03 AM


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

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