From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#20628: 25.0.50; Incorrect line height for some fonts Date: Sat, 30 May 2015 17:20:14 +0300 Message-ID: <83eglyuoyp.fsf@gnu.org> References: <20150522.234959.238191883.wl@gnu.org> <556189D0.2000208@live.com> <83bnha1fxw.fsf@gnu.org> <20150524.113203.250674550.wl@gnu.org> <83617i1f29.fsf@gnu.org> <834mn21e7y.fsf@gnu.org> <83y4kaxd25.fsf@gnu.org> <83eglzx0as.fsf@gnu.org> <556824C6.1090909@live.com> <877frr3f3k.fsf@gmail.com> <83bnh3wmmt.fsf@gnu.org> <556948D9.8070409@live.com> <83y4k6v1ts.fsf@gnu.org> <87617a2pa3.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Trace: ger.gmane.org 1432995686 23716 80.91.229.3 (30 May 2015 14:21:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 30 May 2015 14:21:26 +0000 (UTC) Cc: clement.pitclaudel@live.com, 20628@debbugs.gnu.org To: Oleh Krehel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 30 16:21:15 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YyhdS-00040x-O7 for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 May 2015 16:21:15 +0200 Original-Received: from localhost ([::1]:39606 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YyhdR-0002mN-MS for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 May 2015 10:21:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50622) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YyhdO-0002mI-2t for bug-gnu-emacs@gnu.org; Sat, 30 May 2015 10:21:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YyhdK-0006Pw-0W for bug-gnu-emacs@gnu.org; Sat, 30 May 2015 10:21:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51882) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YyhdJ-0006Ps-Tp for bug-gnu-emacs@gnu.org; Sat, 30 May 2015 10:21:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YyhdI-0004nw-LS for bug-gnu-emacs@gnu.org; Sat, 30 May 2015 10:21:05 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 30 May 2015 14:21:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20628 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20628-submit@debbugs.gnu.org id=B20628.143299563018408 (code B ref 20628); Sat, 30 May 2015 14:21:04 +0000 Original-Received: (at 20628) by debbugs.gnu.org; 30 May 2015 14:20:30 +0000 Original-Received: from localhost ([127.0.0.1]:33624 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yyhcj-0004mq-Me for submit@debbugs.gnu.org; Sat, 30 May 2015 10:20:30 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:47868) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yyhcf-0004mY-AE for 20628@debbugs.gnu.org; Sat, 30 May 2015 10:20:26 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NP600F002FDOF00@a-mtaout20.012.net.il> for 20628@debbugs.gnu.org; Sat, 30 May 2015 17:20:17 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NP600FFK2HRIC80@a-mtaout20.012.net.il>; Sat, 30 May 2015 17:20:17 +0300 (IDT) In-reply-to: <87617a2pa3.fsf@gmail.com> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:103364 Archived-At: > From: Oleh Krehel > Cc: Clément Pit--Claudel , > 20628@debbugs.gnu.org > Date: Sat, 30 May 2015 15:00:52 +0200 > > I still see the problem with the current branch head. Here are my settings: > > (font-lock-add-keywords > 'emacs-lisp-mode > `((,"\\\\\\\\|" > (0 font-lock-keyword-face t) > (0 > (prog1 > (compose-region > (match-beginning 0) > (match-end 0) > ,"∨") > nil))))) Sorry, I don't understand: what do you do _after_ evaluating the above, to show the problem? IOW, I'm guessing that your recipe is this: emacs -Q M-: (set-frame-font "Latin Modern Math") RET "M-:" to eval the above form to set up font-lock-keyword and then ...? If the above is correct, then what is the last part required to produce some problematic display? > the echo area became x7 height instead. This is expected, if you use set-frame-font: Emacs reserves for each window the space in pixels that is derived from the frame font's size. This happens very early in redisplay cycle, where Emacs cannot yet override these dimensions. Fixing that would not be simple; I don't see a reason for trying, as people should not have any plausible reasons to set frame's font to one of the offending fonts discussed in this thread. But if you set only the font of the buffer (e.g., by clicking S-mouse-1 in the echo area, when the minibuffer is active), then the echo area height remains almost the same, whereas it wasn't before these changes.