;;; 51semi.el --- Debian semi startup file  -*-mode: emacs-lisp;-*-

(let* ((pkg "semi")
       (flavor-name (if (boundp 'debian-emacs-flavor)
			(symbol-name debian-emacs-flavor)
		      "emacs"))
       (pkg-inst (concat "/usr/lib/emacsen-common/packages/install/" pkg))
       (elc-dir (concat "/usr/share/" flavor-name "/site-lisp/" pkg)))
  (when (and (file-exists-p elc-dir)
	     (file-exists-p pkg-inst))
    (when (and (not (featurep 'mule))
	       (file-exists-p (concat elc-dir "/nomule")))
      (setq elc-dir (concat elc-dir "/nomule")))
    (if (fboundp 'debian-pkg-add-load-path-item)
	(debian-pkg-add-load-path-item elc-dir)
      (setq load-path (cons elc-dir load-path)))
    ;;
    (setq mime-edit-split-message nil)
    (setq mime-edit-pgp-encrypt-to-self t)
    (setq pgg-encrypt-for-me t)
    ;;(setq pgg-messages-locale "C") ;; default value is nil
    ;;(setq pgg-gpg-messages-locale pgg-messages-locale)
    (setq mime-setup-enable-inline-html nil)
    ;;(require 'mime-w3m) ;; text/html rendering with w3m-el
    ;;
    ))

;;; 51semi.el ends here
