From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: David Masterson Newsgroups: gmane.emacs.help Subject: Re: Visual font looping setup Date: Sat, 21 Nov 2020 16:53:54 -0800 Message-ID: References: <83lfevztlq.fsf@gnu.org> <83h7pjyy6z.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9661"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 22 01:55:33 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kgdfB-0002Pr-C1 for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 22 Nov 2020 01:55:33 +0100 Original-Received: from localhost ([::1]:46226 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kgdfA-0001lB-EE for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 21 Nov 2020 19:55:32 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57464) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kgdek-0001hS-9m for help-gnu-emacs@gnu.org; Sat, 21 Nov 2020 19:55:06 -0500 Original-Received: from mail-dm6nam08olkn2087.outbound.protection.outlook.com ([40.92.45.87]:5985 helo=NAM04-DM6-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kgdeh-00055W-IZ; Sat, 21 Nov 2020 19:55:05 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DA5/w4XotHVvdBeac6Un4MZtm9odbkYow9UCHL7FIJChbEV4+RL3d5Q2iss84tYk9bBIZGvPnbPiBqZ/pSKx1PIWn5xsZdJyNeVTWvvnwQsvr2HTRQpFhY2wgCWvmJCt3cIqhlQsD8qevo3/ULSnArTzwIEq4xf8gAhCYEPM6MxC5/Z/yriHQpC2DOQaiAZtPeoTaf6wKApHYj6jgDOA1lpXY0LBTOiHpzQG72kE3BHkfD57O22EcM6q4YxGtX0FVw23E1kYbrfMM4aH9eQShh0MREDx4xAXm3mX1b+k4pxdcWCF7SyGMPF8ZGPe+gycSLNN7RGvVajaHwbjins5Sg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=reJz2l/x0NM0K+XEmOvLYRGfVqJIBu6IDTBOTjS8uiE=; b=CiNODqvIPDwPV4sJv8w/O2VRAu6v8asaIuAEY+sCTBc/kWkGP3HdR1VmH+e6jK5O9N7B09chhhevNm2MBplyM9tWtMz6DMHuZo9Lba6+hdcPbdypLx3NrFwlcxrXQ3lr0PMdTZsbsg/sAARI9ZuN1FbpScKIosvrm8fKXj0Whec7wo9maCTulpiuHUjIR+VpIHU8ZJEp3VJ5kVVpEsF+re11eRD2tjLiIiZNYB0cTMItZFpzul/Y2ILj4e0JYlQi7hx3gs8Cat7wM5iJcgd1sB6RJMCe7rxgHxoXVeQTrSEqsF1Kbv5kyUImu+hlLi0eQlcDidFVpF0eJtoVozuM5Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=reJz2l/x0NM0K+XEmOvLYRGfVqJIBu6IDTBOTjS8uiE=; b=rPP2Nj1RTDBy3k2N0LbQCk5C6OsyM7MA27WVmboG8jITYi/uAVDM5AqbcGhdyHOqh6wL79V+7YGpnrbmYG0PUS4iGLmQgLXrHlEuaL6Y9m3nhrOrO9iVjWLDHjG9Jcw/160sWKJuR2uTEdcMeEKG3V1z2YaG6Zyn38AFs4h3P47jiZeldYFHBTSM+KLZ2U3XAvcdYpqKa0fIxau9q0Wap+X87B6bBO7glcXdHlqWfCTWruB1FqQOXbUanihHm1/PMQ7q9mZh85YGjvL4Wv47fZ0RxxawutNeAHnBPpPikRu4cJEZqN0B8KXl4PfVNM7a2AporNSx0CezY/fQd2lVBQ== Original-Received: from BN3NAM04FT042.eop-NAM04.prod.protection.outlook.com (10.152.92.52) by BN3NAM04HT021.eop-NAM04.prod.protection.outlook.com (10.152.93.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3589.22; Sun, 22 Nov 2020 00:55:00 +0000 Original-Received: from SJ0PR03MB5455.namprd03.prod.outlook.com (2a01:111:e400:7e4e::49) by BN3NAM04FT042.mail.protection.outlook.com (2a01:111:e400:7e4e::308) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3589.22 via Frontend Transport; Sun, 22 Nov 2020 00:53:57 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:5CCE39AE02335B37B5E6420784958BD49364CB60A0E290662E3E52D6A3AB343F; UpperCasedChecksum:C808F2E4DF7B5CE3CFDCCD722C42C9D3A9A73A8933B9CB5B5B47859F9DE3B697; SizeAsReceived:7618; Count:46 Original-Received: from SJ0PR03MB5455.namprd03.prod.outlook.com ([fe80::5484:196d:9c99:fa81]) by SJ0PR03MB5455.namprd03.prod.outlook.com ([fe80::5484:196d:9c99:fa81%6]) with mapi id 15.20.3589.025; Sun, 22 Nov 2020 00:53:56 +0000 In-Reply-To: <83h7pjyy6z.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 21 Nov 2020 09:19:00 +0200") X-TMN: [fZsMLuJNh/eaIqMYpEfZVebl33R/OCRLZYCgP3KqQ80quOgz8NhvLeWZuusmQi6I] X-ClientProxiedBy: SJ0PR05CA0186.namprd05.prod.outlook.com (2603:10b6:a03:330::11) To SJ0PR03MB5455.namprd03.prod.outlook.com (2603:10b6:a03:27b::11) X-Microsoft-Original-Message-ID: <87tutijjod.fsf@outlook.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from penguin (2600:8802:500:419:216:3eff:fee7:3d5d) by SJ0PR05CA0186.namprd05.prod.outlook.com (2603:10b6:a03:330::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3611.13 via Frontend Transport; Sun, 22 Nov 2020 00:53:56 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 46 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 71a3b9be-4d34-4922-a9a3-08d88e81171f X-MS-TrafficTypeDiagnostic: BN3NAM04HT021: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: MZgacOkftToyxl4fb/xU8beMmJzmnDlWRwEsQePxGL4DNzp2rb7RF2jqZzgKaUPcOe62IXySbUMZiZJZDtnmPPhz9gU4OvGOb8K5qrLViVN884WdzDzFaAtDWmTQPP14tw8uMZnRZe0RlTY37QK1eIecgMYI+3v49Dzi3ZgQmHLRV1Tvln7AJfgxLN5rPnANpYcpQoQN1s9tn++LiAiN8g== X-MS-Exchange-AntiSpam-MessageData: ApR9FdsOQJl+J3Acrx0jW2M5UA0g21L7CQtW9kcEZGoEG28wZwtigo/bpSczUlBkuwcN+LfWN36FTA1Nok3b3Ytnw4skYXnMaiXEXhuug7RgMfaIDDWxPFJlskGlD8jaITTI6TJ/E//pnrs76PxOskPgkBD61vfVWYKvZ+GLifI6CF2rfJOMUBwuq0FJZHy3G1oZC7bQSUNakGH+oO15XQ== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 71a3b9be-4d34-4922-a9a3-08d88e81171f X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Nov 2020 00:53:56.7281 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: BN3NAM04FT042.eop-NAM04.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3NAM04HT021 Received-SPF: pass client-ip=40.92.45.87; envelope-from=dsmasterson92630@outlook.com; helo=NAM04-DM6-obe.outbound.protection.outlook.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:125462 Archived-At: Eli Zaretskii writes: >> Date: Sat, 21 Nov 2020 00:03:18 +0300 >> From: Jean Louis >> Cc: help-gnu-emacs@gnu.org >> >> You say that it shows small sample of each font. On my side for years >> it shows just 3 major options Misc, few fonts commonly used on X >> before 20 years, then there is Courier option for various sizes, bold >> and slant and mix, and there is fontset. More than that never appears >> there. >> >> S-mouse-1 opens up same dialog. > > I guess the toolkit which you used to build Emacs doesn't have a > well-designed font selection dialog. > > Do these commands invoke mouse-select-font or x-select-font on your > system? I have the same issue and we had this discussion several months back. My personal build of Emacs v26.3 used the LUCID toolkit and doesn't support XWidgets. I tried installing GTK on my Chromebook (in the Linux VM), but I couldn't get the Emacs build process to find/use it (helpful hints?) Perhaps the Emacs Info pages need a small discussion on fonts and the functions to use (beyond menu-select-font) and their expected effects? For instance, more information about mouse-select-font for people who can't (or won't) install GTK. >> Do you mean that there are more fonts on your side displayed under >> those options? > > Yes. If your Emacs was built with GTK, x-select-font should start a > GTK font selection dialog showing many fonts. > > Of course, you can always write a simple command that loops over all > the fonts in the list created by this: > > (x-list-fonts "-*-*-medium-r-normal-*-*-*-*-*-*-iso10646-1" > 'default (selected-frame)) > > and display some sample text using each font. Or just looks at the > list returned by the above, and try some of the fonts manually (with > set-frame-font or somesuch). This is helpful, but people not knowledgeable about fonts may not understand "some such". ;-) -- David Masterson