From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alexis Newsgroups: gmane.emacs.devel Subject: Ping! Re: `font-spec` unable to retrieve :name of font Date: Thu, 22 Oct 2015 19:48:09 +1100 Message-ID: <87r3kngugm.fsf@gmail.com> References: <87bnc3plb9.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: ger.gmane.org 1445503732 15846 80.91.229.3 (22 Oct 2015 08:48:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 Oct 2015 08:48:52 +0000 (UTC) To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 22 10:48:42 2015 Return-path: Envelope-to: ged-emacs-devel@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 1ZpBY5-0001nf-Fy for ged-emacs-devel@m.gmane.org; Thu, 22 Oct 2015 10:48:37 +0200 Original-Received: from localhost ([::1]:57883 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpBY4-0007ai-VQ for ged-emacs-devel@m.gmane.org; Thu, 22 Oct 2015 04:48:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48729) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpBXo-0007aF-1H for emacs-devel@gnu.org; Thu, 22 Oct 2015 04:48:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZpBXi-0003ug-V9 for emacs-devel@gnu.org; Thu, 22 Oct 2015 04:48:19 -0400 Original-Received: from mail-pa0-x22e.google.com ([2607:f8b0:400e:c03::22e]:36852) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpBXi-0003uc-Pf for emacs-devel@gnu.org; Thu, 22 Oct 2015 04:48:14 -0400 Original-Received: by pacfv9 with SMTP id fv9so85091767pac.3 for ; Thu, 22 Oct 2015 01:48:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:from:to:subject:date:message-id:mime-version :content-type; bh=TQ2spM4K7KqD7DO5f8i5RqtUyxf1B3752XMwPy5Wu1c=; b=pfFgmhFuhSsR9Ba9LxriwAXtgRPO+6Gr4gas4EBBv6CqWBDS8nhD9r3h55Y6OJGqst RCWMqkIeZPgG+y5pW8E8TuZL8PG5+VdlVECT5SZxms0bHr+SuSXaVktScFfVbhhu7AyC 3hWUyeRiNASPmMNbl7y75GGD8kBI4Tgly/ipOviqpc/tqb/80NO0R/cfte8rKqP+Jb7f 0YYbpwVhtyYdcufYNF9WF4Vewiv1l+y7ftNgu9j+aVjvbd5Sy22UAPEOYp3k4AldaNhB qgOlyvzoasXrAJB5TbIpSNeDsDCelh7Lo3VvuYzFUlZenP9vTI73eP3gzqodqRKXAK+F 2eXg== X-Received: by 10.68.110.101 with SMTP id hz5mr12834047pbb.38.1445503694305; Thu, 22 Oct 2015 01:48:14 -0700 (PDT) Original-Received: from localhost (CPE-58-161-15-29.cqqy2.win.bigpond.net.au. [58.161.15.29]) by smtp.gmail.com with ESMTPSA id bh4sm12917174pbb.62.2015.10.22.01.48.12 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Oct 2015 01:48:13 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c03::22e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:192357 Archived-At: Ping! Does anyone have any thoughts on the below? TIA! Alexis writes: > Hi all, > > Having tried various alternatives, i now use Inconsolata-g as my > preferred general Emacs font: > > http://leonardo-m.livejournal.com/77079.html > > using Xft as my Emacs font backend. > > In trying to use the `company-quickhelp` package, however, i > discovered that it wasn't working due to a call to > `pos-tip-show`, which in turn essentially calls: > > (font-spec :name (frame-parameter (window-frame > (selected-window)) 'font)) > > This call results in: > > (error "Invalid font name: > -unknown-Inconsolata-g-normal-normal-normal-*-13-*-*-*-m-0-iso10646-1") > > which is, of course, due to the dash in the font name; the X > Logical Font Description Conventions: > > http://www.x.org/releases/X11R7.6/doc/xorg-docs/specs/XLFD/xlfd.html#fontname_syntax > > exclude the dash/hyphen as a valid in-field character. > > What, if anything, can be done about this? Should this be > considered a bug, or "working as intended"? > > > Alexis.