February 14th, 2002, 02:34 AM
-
Truncate lines in emacs
I wasn't really sure where to post this, since the emacs forum is closed. Correct me if i misposted.
My concerns involves emacs. To truncate lines in I set use Esc+x to set a variable truncate-lines, to value 1. The problem I'm having is that whenever I open emacs, again or a new one, I have to set this again. So if I have five files, I need to do this five times. Is there a way to automate this, so that emacs would set this for me?
-- Tomi Kaistila
-- Developer's Journal
The more you learn, the more you know.
The more you know, the more you forget.
The more you forget, the less you know.
February 15th, 2002, 03:11 PM
-
there should be a file ".emacsrc" or ".emacs" in your home directory where you can set preferences.
if not, a template should be under /usr/lib/emacs (depending on your distribution)
you can even do it somewhere deep in the menu structure.. but dont ask me where exactly....
February 15th, 2002, 03:17 PM
-
>> I wasn't really sure where to post this
Don't worry, your post fits best here.
February 18th, 2002, 02:10 AM
-
Originally posted by M.Hirsch
there should be a file ".emacsrc" or ".emacs" in your home directory where you can set preferences.
if not, a template should be under /usr/lib/emacs (depending on your distribution)
I found the directory you mentioned but couldn't find either of the file (neither one). I also checked my user home dir but came out empty handed. I've tried to sweep through the system but still nothing. Is there another location where I could find the find?
-- Tomi Kaistila
-- Developer's Journal
The more you learn, the more you know.
The more you know, the more you forget.
The more you forget, the less you know.
February 18th, 2002, 06:01 PM
-
start emacs in x-windows. then you can access the options from the menu... save them and have a look at the .emacsrc. i know this is lame, but hey, anyone got a better answer?