[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Emacs-GTK2 deb?



Mikael Olenfalk <mikael@netgineers.se> writes:

> I have heard rumors that a GTK2 port of emacs has been checked into cvs
> head. 

The rumor is true.  I have installed it in my home directory and
am typing in it now.  To let my local installation use Debian's
add-on packages, I added the following in ~/.emacs.el:

(eval-when-compile (require 'cl))	;case, push

(when (and (file-exists-p "/usr/share/emacs/site-lisp/debian-startup.el")
           (not (boundp 'debian-emacs-flavor))
           (= emacs-major-version 21)
	   (not (featurep 'xemacs)))
  ;; Pretend we're installed in the normal place.
  (pushnew "/usr/share/emacs/site-lisp" load-path :test #'equal)
  (pushnew "/usr/local/share/emacs/site-lisp" load-path :test #'equal)

  ;; Call the normal startup sequence.
  (defconst debian-emacs-flavor 'emacs21)
  (load "/usr/share/emacs/site-lisp/debian-startup.el")
  (debian-startup debian-emacs-flavor))



Reply to: