emacs-devel
[Top][All Lists]
Advanced

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

Re: Trunk emacs infelicity with linum mode


From: martin rudalics
Subject: Re: Trunk emacs infelicity with linum mode
Date: Sat, 06 Sep 2014 13:18:34 +0200

From the frame creation code everything is normal AFAICT.  The problem
is with `linum--face-height' added on 2014-07-08 to the linum.el code:

(defun linum--face-height (face)
  (aref (font-info (face-font face)) 2))

...

    (when (display-graphic-p)
      (setq width (ceiling
                   ;; We'd really want to check the widths rather than the
                   ;; heights, but it's a start.
                   (/ (* width 1.0 (linum--face-height 'linum))
                      (frame-char-height)))))

If you take these out, the frame is created as usual.

martin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]