From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Vladimir Nikishkin Newsgroups: gmane.emacs.bugs Subject: bug#35816: 26.2; set-frame-font cannot set some fonts which autocomplete suggests due to dashes in names. I.e. gnu-unifont Date: Tue, 9 Jul 2019 21:55:54 +0800 Message-ID: References: <87v9y4o9i4.fsf@delllaptop.lockywolf.net> <87zhlodk4e.fsf@mouse.gnus.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000002d9cd2058d3fecea" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="50150"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 35816@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 09 16:29:41 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hkr7i-000Ckf-Uv for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Jul 2019 16:29:39 +0200 Original-Received: from localhost ([::1]:50482 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hkr5I-0000kq-V8 for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Jul 2019 10:27:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58842) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hkr5D-0000kk-Sz for bug-gnu-emacs@gnu.org; Tue, 09 Jul 2019 10:27:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hkr5C-0003bd-I8 for bug-gnu-emacs@gnu.org; Tue, 09 Jul 2019 10:27:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53077) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hkr5C-0003bG-8Q for bug-gnu-emacs@gnu.org; Tue, 09 Jul 2019 10:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hkr5C-0006uA-2m for bug-gnu-emacs@gnu.org; Tue, 09 Jul 2019 10:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Vladimir Nikishkin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Jul 2019 14:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35816 X-GNU-PR-Package: emacs Original-Received: via spool by 35816-submit@debbugs.gnu.org id=B35816.156268241626530 (code B ref 35816); Tue, 09 Jul 2019 14:27:01 +0000 Original-Received: (at 35816) by debbugs.gnu.org; 9 Jul 2019 14:26:56 +0000 Original-Received: from localhost ([127.0.0.1]:33665 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hkr56-0006tq-AS for submit@debbugs.gnu.org; Tue, 09 Jul 2019 10:26:56 -0400 Original-Received: from mail-ed1-f45.google.com ([209.85.208.45]:36725) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hkr53-0006td-WA for 35816@debbugs.gnu.org; Tue, 09 Jul 2019 10:26:54 -0400 Original-Received: by mail-ed1-f45.google.com with SMTP id k21so17986685edq.3 for <35816@debbugs.gnu.org>; Tue, 09 Jul 2019 07:26:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=sd9vE0pPT+djnUZZjVR06r7qY/HGA0tNheOEAYkILP0=; b=CkiAqoOAfB9WrXWry533cWr9JUDwZ32wkjrRp8YJcSoY9FSDhtbRsE3OaR71iJGAKB m0xPMp/RvgyjHI9cwfFA36QRNhoBH9t9IwDo15MVzEwV7WFcIsLri202YNSmNUIiRYBL qTMsnhVa4VmJXkGeW5tkdP6pV+EBCHZZ7YpqW2W0vgtm5CTwH94IETew5SnDOQlA8cRp 2znzobRU9Ug8+7hL2E3KKpHUhVOrc6sEMUsHL4oEi8qLEhjF1PxPhQp6nFuEO9z3gPRb KEXt2YFjfn6YiX4gEliKtEf5JiIbdvhVHA5hipZknq5Nlt8Zkgip2g6P672RiIdCV8qT Wlag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=sd9vE0pPT+djnUZZjVR06r7qY/HGA0tNheOEAYkILP0=; b=eXj/dR8xAhggrHKKkYu3DBI7VbwcJMZIqa73F3zysd6e+LRwzqsE1Ga327UqEQtZiI auzqFgOBo4Oqv8lO6qxFjCBhuXd5tM3Ma/cGzTbxdWIkrPVHky2orjFYYxgqBlhuZ6KY 7oYQNJNAbE6nRz5MC3ThRrVGF/YXVGcE7xgYL9fyB7aTgxS5JrCW53e0jz4EowcPf23f iXvtd/afWkOvD4LGN2skv5L7xvlSG3QVy/PvcVENfwrZY6XD5JNrkS6G3KLGLpzAvE9H le68BmxY8OOu1PImu4EhOhZyr98sY6OPNhnTWd7RWQwQ92ua5sE6GFHKHzCUv496VyUK vCoA== X-Gm-Message-State: APjAAAXdhbpvMS6lqGM7TNFdbHwxhoewz3oEHXC7av1K0EzachOntBhm o/hDbY1Mf3BEp9qORvDHjFVPThq52g7FAhj2JM5ii6VVO+0= X-Google-Smtp-Source: APXvYqyR7qgdVdNfOuDJDmbzCSQtDyWR/4dPUFXnBL44EgVfxmnPlR+5QmkhaA1/2lKDG3QAE+uuYgIvwbDN503F4LU= X-Received: by 2002:a17:906:158c:: with SMTP id k12mr21711028ejd.83.1562680568420; Tue, 09 Jul 2019 06:56:08 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.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" Xref: news.gmane.org gmane.emacs.bugs:162461 Archived-At: --0000000000002d9cd2058d3fecea Content-Type: text/plain; charset="UTF-8" It's wrong in that if you type RET, Emacs rejects it. On Tue, Jul 9, 2019, 21:22 Lars Ingebrigtsen wrote: > (Please keep the debbugs address in the Cc header, otherwise the bug > tracker won't get the email.) > > Vladimir Nikishkin writes: > > > I experimented with it a bit just now. Indeed, not every suggested font > is > > broken. However, autocompletion still suggests some broken font > descriptions. > > > > To reproduce: > > > > M-x set-frame-font RET > > -gnu-unifont-sans-16-*-7 TAB RET produces a wrong font description. > > > > And I didn't deliberately concoct such a string myself, I obtained it by > typing -gnu > > TAB, and typing in a few suggestion characters, which I don't remember, > but > > which were swallowed by Emacs just fine. > > > > Something like > > M-x set-frame-font RET > > -gnu TAB -sa TAB 1 TAB 7 TAB > > > > For example, in my case, I'm getting the line: > > > > -gnu-unifont-sans-16-*-75-75-c-80-iso10646-1 > > I'm unable to reproduce this bug, because Debian doesn't seem to include > any fonts that have a "gnu" in the foundry name (or perhaps I've just > installed the wrong package?). > > But in what way is that font description wrong? > > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no > --0000000000002d9cd2058d3fecea Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
It's wrong in that if you type RET, Emacs rejects it.=


On Tue, Jul 9, 2019, 21:22 Lars Ingebrigtsen = <larsi@gnus.org> wrote:
(Please keep the debbugs address in the Cc= header, otherwise the bug
tracker won't get the email.)

Vladimir Nikishkin <lockywolf@gmail.com> writes:

> I experimented with it a bit just now. Indeed, not every suggested fon= t is
> broken. However, autocompletion still suggests some broken font descri= ptions.
>
> To reproduce:
>
> M-x set-frame-font RET
> -gnu-unifont-sans-16-*-7 TAB RET produces a wrong font description. >
> And I didn't deliberately concoct such a string myself, I obtained= it by typing -gnu
> TAB, and typing in a few suggestion characters, which I don't reme= mber, but
> which were swallowed by Emacs just fine.
>
> Something like
> M-x set-frame-font RET
> -gnu TAB -sa TAB 1 TAB 7 TAB
>
> For example, in my case, I'm getting the line:
>
> -gnu-unifont-sans-16-*-75-75-c-80-iso10646-1

I'm unable to reproduce this bug, because Debian doesn't seem to in= clude
any fonts that have a "gnu" in the foundry name (or perhaps I'= ;ve just
installed the wrong package?).

But in what way is that font description wrong?

--
(domestic pets only, the antidote for overdose, milk.)
=C2=A0 =C2=A0bloggy blog: http://lars.ingebrigtsen.no
--0000000000002d9cd2058d3fecea--