Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Actually, I have a problem with newly opened files.

    I have (setq truncte-lines t) in my .emacs file, but it doesn't seem to work for newly opened files, and I have to "M-x toggle-truncate-lines" for each of them.

    How do I make it do that automagically?
    • Because it's a buffer-local variable. You have to:
      (setq-default truncate-lines t)
      which affects the value for each new buffer. You can determine this by asking for the help on that variable and noticing that it says "automatically becomes buffer-local when set in any fashion".

      Generally, for most user settings, the modern "customize" mechanism is much easier. For example, M-x customize-apropos RET truncate RET brings up the settings for this variable.

      --
      • Randal L. Schwartz
      • Stonehenge