Find the answer to your Linux question:
Results 1 to 3 of 3
Can anyone post the .emacs file from redhat 7.2? I tried using 8.0 .emacs but the last function isn't working. Thank you....
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Engineer
    Join Date
    Nov 2002
    Location
    Queens, NY
    Posts
    1,319

    redhat 7.2 .emacs file


    Can anyone post the .emacs file from redhat 7.2? I tried using 8.0 .emacs but the last function isn't working. Thank you.
    The best things in life are free.

  2. #2
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Here's one from RH7.1

    Code:
    ;; Red Hat Linux default .emacs initialization file
    
    ;; Are we running XEmacs or Emacs?
    (defvar running-xemacs (string-match "XEmacs\\|Lucid" emacs-version))
    
    ;; Set up the keyboard so the delete key on both the regular keyboard
    ;; and the keypad delete the character under the cursor and to the right
    ;; under X, instead of the default, backspace behavior.
    (global-set-key [delete] 'delete-char)
    (global-set-key [kp-delete] 'delete-char)
    
    ;; Turn on font-lock mode for Emacs
    (cond ((not running-xemacs)
    	(global-font-lock-mode t)
    ))
    
    ;; Always end a file with a newline
    (setq require-final-newline t)
    
    ;; Stop at the end of the file, not just add lines
    (setq next-line-add-newlines nil)
    
    ;; Enable wheelmouse support by default
    (require 'mwheel)

  3. #3
    Linux Engineer
    Join Date
    Nov 2002
    Location
    Queens, NY
    Posts
    1,319

    Thank you

    Thanks Dolda. The wheel scroll now is fully functioning. Of course if I knew LISP as well as any C based language I would have figured it out but since I don't, I'll have to rely on other people. Thanks again.
    The best things in life are free.

  4. $spacer_open
    $spacer_close

Posting Permissions

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