All pastes #356640 Raw Edit

Untitled

public text v1 · immutable
·published 2007-02-15 05:11 UTC
rendered paste body

(set-frame-width (selected-frame) 78)
(custom-set-variables '(fill-column 78))

;; Get rid of those pesky backup files
(setq make-backup-files nil)

;; Make M-w paste to Gnome's clippboard as a side effect
(setq x-select-enable-clipboard t)

(custom-set-variables
  ;; custom-set-variables was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 '(cua-mode t nil (cua-base))
 '(show-paren-mode t)
 '(transient-mark-mode t))
(custom-set-faces
  ;; custom-set-faces was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 )

(load-library "cperl-mode")
  (add-to-list 'auto-mode-alist '("\\\\.[Pp][LlMm][Cc]?$" . cperl-mode))
  (while (let ((orig (rassoc 'perl-mode auto-mode-alist)))
              (if orig (setcdr orig 'cperl-mode))))
  (while (let ((orig (rassoc 'perl-mode interpreter-mode-alist)))
           (if orig (setcdr orig 'cperl-mode))))
  (dolist (interpreter '("perl" "perl5" "miniperl" "pugs"))
    (unless (assoc interpreter interpreter-mode-alist)
      (add-to-list 'interpreter-mode-alist (cons interpreter 'cperl-mode))))


(defmacro mark-active ()
    "Xemacs/emacs compatibility macro"
    (if (boundp 'mark-active)
        'mark-active
      '(mark)))

(require 'tramp)
(setq tramp-default-method "scp")

;; Use abbrev-mode in cperl mode.
;; Abbrev definitions are stored in ~/.abbrev_defs
(add-hook 'cperl-mode-hook (lambda () (abbrev-mode 1)))