From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Francesco Mazzoli Newsgroups: gmane.emacs.help Subject: Re: Font in mode line Date: Tue, 26 Nov 2013 17:26:35 +0000 (UTC) Message-ID: References: <83y54dbuul.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1385486839 20182 80.91.229.3 (26 Nov 2013 17:27:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 Nov 2013 17:27:19 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 26 18:27:25 2013 Return-path: Envelope-to: geh-help-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 1VlMQ1-0007zM-0l for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Nov 2013 18:27:25 +0100 Original-Received: from localhost ([::1]:60217 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlMQ0-0003eT-Im for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Nov 2013 12:27:24 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59536) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlMPl-0003eG-Aw for help-gnu-emacs@gnu.org; Tue, 26 Nov 2013 12:27:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VlMPe-0000Nz-3E for help-gnu-emacs@gnu.org; Tue, 26 Nov 2013 12:27:09 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:56056) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlMPd-0000Nn-Rs for help-gnu-emacs@gnu.org; Tue, 26 Nov 2013 12:27:02 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VlMPZ-0007kU-9Y for help-gnu-emacs@gnu.org; Tue, 26 Nov 2013 18:26:57 +0100 Original-Received: from xdsl-188-155-179-93.adslplus.ch ([188.155.179.93]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 26 Nov 2013 18:26:57 +0100 Original-Received: from f by xdsl-188-155-179-93.adslplus.ch with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 26 Nov 2013 18:26:57 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 24 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 188.155.179.93 (Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:94659 Archived-At: Eli Zaretskii gnu.org> writes: > By "wrongly" you mean that it looks like a different font was actually > used? Because I cannot see anything wrong with the display shown in > that screenshot. By "wrongly" I mean that the font is not displayed as it should. Compare my first screenshot , to the second to see what I mean. > If the font seems to be the problem, then please use format-mode-line > to format a line of text using that font, then type "C-u C-x =" on one > of the characters that are rendered incorrectly, and see which font > was actually used for its display. That might give a clue about > what's going on. I'm fairly sure the font is the correct one, since I can see I change when, for example, I change specifically the `mode-line-buffer-id' face. I'm not sure how to use `format-mode-line' the way you described. If I format `mode- line-format' there doesn't seem to be an obvious way to infer the faces that are used to render the various elements. If I format some plain string it is returned as-is. Francesco