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#20727: 24.5; Font fallback doesn't work for the Emoji range Date: Tue, 09 Jun 2015 19:48:43 +0300 Message-ID: <83fv60u8t0.fsf@gnu.org> References: <83k2vkr43f.fsf@gnu.org> <83616zmigd.fsf@gnu.org> <833822ncny.fsf@gnu.org> <20150608054304.GA518@odonien> <83y4jul1by.fsf@gnu.org> <83oakqkrbs.fsf@gnu.org> <83ioawud1b.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1433868635 22282 80.91.229.3 (9 Jun 2015 16:50:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Jun 2015 16:50:35 +0000 (UTC) Cc: 20727@debbugs.gnu.org To: Andy Moreton Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 09 18:50:24 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 1Z2MjG-0003YR-Pd for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Jun 2015 18:50:23 +0200 Original-Received: from localhost ([::1]:36292 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2MjB-0000ko-9d for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Jun 2015 12:50:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34450) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2Mj6-0000kJ-Fp for bug-gnu-emacs@gnu.org; Tue, 09 Jun 2015 12:50:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z2Mj3-0000uH-58 for bug-gnu-emacs@gnu.org; Tue, 09 Jun 2015 12:50:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36447) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2Mj3-0000u7-1v for bug-gnu-emacs@gnu.org; Tue, 09 Jun 2015 12:50:09 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z2Mj2-0002SR-6G for bug-gnu-emacs@gnu.org; Tue, 09 Jun 2015 12:50:08 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Jun 2015 16:50:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20727 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 20727-submit@debbugs.gnu.org id=B20727.14338685629359 (code B ref 20727); Tue, 09 Jun 2015 16:50:08 +0000 Original-Received: (at 20727) by debbugs.gnu.org; 9 Jun 2015 16:49:22 +0000 Original-Received: from localhost ([127.0.0.1]:46417 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z2MiH-0002Qs-P9 for submit@debbugs.gnu.org; Tue, 09 Jun 2015 12:49:22 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:55409) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z2MiF-0002Qe-9j for 20727@debbugs.gnu.org; Tue, 09 Jun 2015 12:49:20 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NPO00N00RVJ4I00@a-mtaout20.012.net.il> for 20727@debbugs.gnu.org; Tue, 09 Jun 2015 19:48:55 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NPO00MB0S1IXI80@a-mtaout20.012.net.il>; Tue, 09 Jun 2015 19:48:55 +0300 (IDT) In-reply-to: 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:103774 Archived-At: > From: Andy Moreton > Date: Tue, 09 Jun 2015 17:29:30 +0100 > > >> After this change, Emacs uses Batang Che for the box drawing characters, > >> unless I add code to reverse the effects of the patch. > > > > Not sure how that happened: AFAIK, my change mentioned neither Batang > > Che nor DejaVu Mono. Do you have in your customizations some setup > > for fontsets that cover these characters? If so, could you please > > show these customizations? > > All I have is to choose DejaVu Mono as the default font. Your changes > made the defqault fontset choose Symbola and FreeMono for symbols and > box drawing characters, but my system does not have thiose fonts, so it > chose something else instead. What I cannot understand is why it chose Batang Che, when it chose DejaVu Mono before. Before my changes, it should have examined Batang Che before DejaVu Mono, so if it was "good" after my changes, it should have been good before them. AFAICS, fonts are generally examined in the same order. Probably some additional surprise lurking in the font-selection code. > > Anyway, I found and fixed an unintended consequence of my change, > > please try the latest master. Now, if the font used for ASCII face, > > which AFAIU is the same as the frame's default font, has a glyph for > > punctuation and other symbol characters, Emacs will use the default > > font, instead of searching for another font. > > Thanks Eli, this changes restores the original behaviour. It actually introduces behavior that was never there to begin with (except as a not-entirely-correct variation in the NS build). But at least now I can explain what Emacs does, and why ;-) > The only font-related customisation I have is: > > (set-face-attribute 'default nil :font "DejaVu Sans Mono-9") > (set-face-attribute 'variable-pitch nil :font "Arial-10") > > (setq default-frame-alist > (append `((background-color . "gray85") > (font . "DejaVu Sans Mono-9") > )) > default-frame-alist)) > > I don't have any fontset customisation at all, but the earlier change > still made emacs choose a different font for symbols. Strange.