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: set-default-font Date: Wed, 26 Aug 2020 21:47:54 -0700 Message-ID: References: <855b886e-8bb5-caad-ebc5-4f14b7da5765@mousecar.com> <83k0xm4m34.fsf@gnu.org> <83imd64luu.fsf@gnu.org> <69cb6867-47c2-fd29-756e-9511f59fd4f2@mousecar.com> <20200825204907.GF3788@scrozzle> <82c7689a-18c8-4a3d-9291-468c18621774@mousecar.com> <83bliy3qrk.fsf@gnu.org> <838se03fcg.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="36910"; 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 Thu Aug 27 06:48:30 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 1kB9pt-0009W1-Jk for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 27 Aug 2020 06:48:29 +0200 Original-Received: from localhost ([::1]:48530 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kB9ps-0002FZ-Jw for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 27 Aug 2020 00:48:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59196) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kB9pS-0002FR-Al for help-gnu-emacs@gnu.org; Thu, 27 Aug 2020 00:48:02 -0400 Original-Received: from mail-bn8nam08olkn2093.outbound.protection.outlook.com ([40.92.47.93]:3200 helo=NAM04-BN8-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 1kB9pP-0003YG-Mq; Thu, 27 Aug 2020 00:48:01 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AdVazeD5gv5mirAMX9lb3HqkN4MOtCYTD4nVemG+VV5LlUeeJum85YZmksjD1vOFBIxdsYrhkllbSEYV1/tpBzahd+q0Qk58N/wgQcsIIPKXqdr9H9STNU0BlE5cFnrt5592nCEh+78lkPLKjAcvL+YHBZlfUOOFByRS79j+8JwDLvSw/vKxcDwwoijVsOew6ByCHC5IRDg7FILRue40chtdHhTMguSKqZpIBwYD/Rcd1b1LYwPrOsK5vzoz0MLeu84eAUU7ZvUQ8/E+2CjtH/THKyosirGOW6c3FA3PYPCHDi34pc3Zi1QqM00f0R3g34PREPwHHoHWzFU6Yz+a/A== 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=LFP4WNVU0yRueLgoNk7IR+UAFtKQiaT+EOntx07QNyA=; b=jO1JA2wlErusOMA5lLmRh16IBcvMDUQG/l6tp+qa3BWK7VCLrPH37U4zyP4KJigInql6DRNPzIg1+yamBxVdfEYRr60kaq8qkgdZtmEtDwvAJ3kcuC9Y0JKTVFSFeJChZvhLKZf6eLYk3BvQgfnYDq1cFhKd9eDGBdoIk0g7d4F5ytRLzOoynJWB+whhFoHHztXxu9Awe2eoGGMbL/sATHgWigTIabvjQOnGRA1/FQkaiS7EnxGYl288LipyUUTfj/FTtB3sUGNniLYiceeaIufxfK51lbHD8pKuw03kYNJBXYv7fVENrrGCdfEgAtuBYdfS89bWUqU7Nr3QpZScZg== 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=LFP4WNVU0yRueLgoNk7IR+UAFtKQiaT+EOntx07QNyA=; b=Sf6IR7MuUWjJMOgcVDA+MXIhoRh+yGCGpcsV5G1ZvzvdLRQPebUjiPT1QP0CO3+WzZyZRV1z9GVR79n7qVJdcuEiGbUYbnyi+cojD+zDrH3e/zl/M9yiXtlxgAU6RjTNroo4TZbII8jGIrO+BsWs82qlXH7sqiRl24XX9xYtEdua4kcN21b2uS7XlG3ODadYN2a9UWoFgTnnOirazVnF17K5yqIE+oSTVtLwoSE8yb5F85zrKNo97dGCfVMKyeZTeVpwI+DlUe0ZA+exCtIJeyme8WjsMX9Fu69NCIs5bSMZ2whlFwSW2mIARvVz+YCUVJqZOSfHxy1ihC5s8VI9qw== Original-Received: from SN1NAM04FT023.eop-NAM04.prod.protection.outlook.com (10.152.88.54) by SN1NAM04HT058.eop-NAM04.prod.protection.outlook.com (10.152.88.217) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3305.25; Thu, 27 Aug 2020 04:47:57 +0000 Original-Received: from SN6PR01MB4493.prod.exchangelabs.com (2a01:111:e400:7e4c::48) by SN1NAM04FT023.mail.protection.outlook.com (2a01:111:e400:7e4c::108) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3326.19 via Frontend Transport; Thu, 27 Aug 2020 04:47:57 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:EC0A7A1A57DF7699557CB55BE9257D076CC57CC2215A55138D7267EB0DE3AA5C; UpperCasedChecksum:8BC63CC165C8650EC282D871F8CA03F8B152F13573058AE57912B18AF3010BF4; SizeAsReceived:7843; Count:47 Original-Received: from SN6PR01MB4493.prod.exchangelabs.com ([fe80::e9e0:fc48:a05:7c59]) by SN6PR01MB4493.prod.exchangelabs.com ([fe80::e9e0:fc48:a05:7c59%7]) with mapi id 15.20.3305.026; Thu, 27 Aug 2020 04:47:57 +0000 In-Reply-To: <838se03fcg.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 27 Aug 2020 07:03:27 +0300") X-ClientProxiedBy: BYAPR11CA0108.namprd11.prod.outlook.com (2603:10b6:a03:f4::49) To SN6PR01MB4493.prod.exchangelabs.com (2603:10b6:805:ef::28) X-Microsoft-Original-Message-ID: <87o8mw7kzp.fsf@outlook.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from 255.255.255.255 (255.255.255.255) by BYAPR11CA0108.namprd11.prod.outlook.com (2603:10b6:a03:f4::49) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3326.19 via Frontend Transport; Thu, 27 Aug 2020 04:47:56 +0000 X-Microsoft-Original-Message-ID: <87o8mw7kzp.fsf@outlook.com> X-TMN: [AfopNmLr+WclkH1iBmQ2yv6Mz+rqnLGVMizqYMa7lmKnK3BSoRWvVzTgx3XB/JrJ] X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 47 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: b891d856-953a-490b-2d36-08d84a445de3 X-MS-TrafficTypeDiagnostic: SN1NAM04HT058: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: IelFSnXQHGDJm6W5Qc4y8JRU1hM4+EYlZSsrgJoyswBfSbtrHH6cWtdR/CdDGwWmHGjOHHIFqWP5L6rpTSWv37ek5BE4tF8rngV32DzEdxV/8qFM9SmYah5SF0SOElL51AmIw65Jj3bWqxYMzH3IazC4EDBH5JcWopL9MwgAHqxHUAh93Gvrw7jDiMRwivT2OKAh6oPI5OhP6jfS45llaQ== X-MS-Exchange-AntiSpam-MessageData: U2fUn8JU5k5AqUpn2NLKj4fnJrm9ivkb3wjDzVxL7WJ5xjk3UpPFqSHUAFVyx+3MOtL6vUZ6jEK7ULLPY9kaBc/kf3TkMPiJeKoGHhnzDg79uOMja/CjQsmE2+ov7XxjDRJHf4n7RdvrQ8mrChqHIsS1MJYX7mJopkBa87BPUXMvBjhm9E3/2Ztz2XFNwuopzoYKCW16wSJSuIZ3sMQOtw== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b891d856-953a-490b-2d36-08d84a445de3 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Aug 2020 04:47:57.0683 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: SN1NAM04FT023.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: SN1NAM04HT058 Received-SPF: pass client-ip=40.92.47.93; envelope-from=dsmasterson92630@outlook.com; helo=NAM04-BN8-obe.outbound.protection.outlook.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/27 00:47:57 X-ACL-Warn: Detected OS = Windows NT kernel [generic] [fuzzy] X-Spam_score_int: -4 X-Spam_score: -0.5 X-Spam_bar: / X-Spam_report: (-0.5 / 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_ILLEGAL_IP=1.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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:123797 Archived-At: Eli Zaretskii writes: >> From: David Masterson Cc: >> help-gnu-emacs@gnu.org Date: Wed, 26 Aug 2020 18:59:35 -0700 >> >> set-default-font is the only command in the standard "Options" menu >> for Emacs and, therefore, the one most likely to be used. It seems, >> though, that set-default-font has different forms depending on how >> Emacs is compiled. I suspect (but would like to know more) that it >> has one form if compiled with the X libraries and another without X. >> The form with X (for me) put an X box for "Font Menu" with only 3 >> options (Misc, Courier, and Fontset) which I can't figure how to use. >> The form without X seemed to put up a dialog box that allowed you to >> pick fonts while seeing examples of the font which was much easier. >> >> I'm not a fonts person, so it's difficult for me to figure out the >> best way of compiling Gnu Emacs 26.3 to make the most of fonts. >> >> Any help? > > I don't think I understand what exactly are you asking. You started > by describing the menu for selecting the default font, but ended by > asking a much more general question regarding building Emacs. I don't > see the connection, because the default build of Emacs on any platform > always makes the most use of the available fonts on that platform. > > I also don't understand what does "without X" mean in this context. > > And finally, your description of what menu-set-font (the menu item in > "Options" -> "Set default font") does is AFAIK inaccurate: the "easy" > font selection dialog should pop when the x-select-font function is > available, whereas your description seems to indicate to the contrary. > > So I'm confused by the question and the details you described. I think I understand your confusion -- forgive me for being imprecise as I don't understand fonts within Emacs very well. First, I had been using a prebuilt Emacs v26.3 on Debian (Chromebook). I'm not sure how that version was built, but set-default-font did popup an easy font selection that (to me) made sense. I could scroll through (lots of) available with an example of what the font would look like before I chose the font. Second, I had a problem with the prebuilt and thought I'd try building Emacs myself. After getting the needed libraries built, it built and works fine. The main difference is that set-default-font seems to have completely changed to a popup for "Font Menu" with 3 items (Misc, Courier, and Fontset). I don't believe have courier fonts loaded, so I'm not sure why thats there. All 3 items have submenus with no examples of the fonts. I think this is a Lucid style popup. This is my configuration for Emacs (no options given to the configure script): Configured for 'x86_64-pc-linux-gnu'. Where should the build process find the source code? ../emacs-26.3 What compiler should emacs be built with? gcc -g3 -O2 Should Emacs use the GNU version of malloc? no (only before dumping) Should Emacs use a relocating allocator for buffers? no Should Emacs use mmap(2) for buffer allocation? no What window system should Emacs use? x11 What toolkit should Emacs use? LUCID Where do we find X Windows header files? Standard dirs Where do we find X Windows libraries? Standard dirs Does Emacs use -lXaw3d? yes Does Emacs use -lXpm? yes Does Emacs use -ljpeg? yes Does Emacs use -ltiff? yes Does Emacs use a gif library? yes -lgif Does Emacs use a png library? yes -lpng16 Does Emacs use -lrsvg-2? no Does Emacs use cairo? no Does Emacs use -llcms2? no Does Emacs use imagemagick (version 6)? no Does Emacs support sound? yes Does Emacs use -lgpm? yes Does Emacs use -ldbus? yes Does Emacs use -lgconf? no Does Emacs use GSettings? yes Does Emacs use a file notification library? yes -lglibc (inotify) Does Emacs use access control lists? no Does Emacs use -lselinux? yes Does Emacs use -lgnutls? yes Does Emacs use -lxml2? yes Does Emacs use -lfreetype? yes Does Emacs use -lm17n-flt? no Does Emacs use -lotf? no Does Emacs use -lxft? yes Does Emacs use -lsystemd? yes Does Emacs directly use zlib? yes Does Emacs have dynamic modules support? no Does Emacs use toolkit scroll bars? yes Does Emacs support Xwidgets (requires gtk3)? no Does Emacs have threading support in lisp? yes Question is -- what happened to the "easy" font menu? -- David Masterson