Subject: Re: Emacs 21.2 pkgsrc ready for testing
To: Wolfgang Rupprecht <wolfgang+gnus20020426T104834@wsrcc.com>
From: Rex McMaster <rmcm@cebes.org>
List: netbsd-users
Date: 04/27/2002 07:34:10
On Saturday 27 April 2002 03:54, Wolfgang Rupprecht wrote:
> I just started running the new emacs 21.2 from pkgsrc.  It seems to
> work ok, although I do spend some time figuring out how to turn off
> some of the undesired "upgrades".
>
> (if (>= emacs-major-version 21)
>     (progn
> ;; can't decide if I like wasting one line for this or not... -wsr
> ;;      (menu-bar-mode nil)
>       (tool-bar-mode nil)
>       (blink-cursor-mode -1)
>       (setq next-line-add-newlines 't)
>       (setq default-truncate-lines nil)
>       (add-hook 'comint-mode-hook
> 		(lambda ()
> 		  ;; it is already buffer-local !
> 		  (setq next-line-add-newlines 't)
> 		  ))
>       (setq vm-toolbar-pixmap-directory
> 	    "/usr/pkg/share/emacs/site-lisp/vm/pixmaps")
>       (setq vm-image-directory "/usr/pkg/share/emacs/site-lisp/vm/pixmaps")
>       ))
>
> Now to figure our why the fonts sizing is screwy.  Both my emacs and
> xterm (xfree86 4.2.0) have the same font selected, yet emacs appears
> to be a point or two smaller.  Emacs also has very little interline
> spacing which adds to the illusion even more.
>
> Emacs*font:	-adobe-courier-medium-r-normal-*-*-120-*-*-*-*-iso8859-1
> XTerm*font:	-adobe-courier-medium-r-normal-*-*-120-*-*-*-*-iso8859-1
>

I don't have an explaination for this - I had similar difficulties porting my 
20.7 environment (configuration spread across Xresources and lisp) - but I 
finally replaced my font/colour configuration with color-theme.el 
(ttp://www.emacswiki.org/cgi-bin/wiki.pl?ColorTheme) which seemed to iron out 
the problems I was having. YMMV.

Rex