Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    .emacs configuration


    Hi all

    How can I configure .emacs to open emacs with a different window size (width) depending on the file type being opened.
    For example, let say I want to have 80 characters when I open a .v (Verilog) file and 160 characters when I open a .pl (Perl) file.

    Is this possible?

    Thanks,
    o-t-o

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    13,223
    The basic window that emacs is displayed within is called a frame. Check out this link: Set The Size and Position of Emacs Frames
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •