|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
||||
|
||||
|
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. |
|
#2
|
|||
|
|||
|
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.... |
|
#3
|
|||
|
|||
|
>> I wasn't really sure where to post this
Don't worry, your post fits best here. |
|
#4
|
||||
|
||||
|
Quote:
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? |
|
#5
|
|||
|
|||
|
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?
|
![]() |
| Viewing: Dev Shed Forums > Operating Systems > Linux Help > Truncate lines in emacs |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|