From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.help Subject: Re: Visual font looping setup Date: Sat, 21 Nov 2020 00:20:22 +0300 Message-ID: References: <83lfevztlq.fsf@gnu.org> <83im9zzs7m.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1012"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.0 (3d08634) (2020-11-07) 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 Fri Nov 20 22:30:41 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 1kgDzN-0000Ao-G5 for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 20 Nov 2020 22:30:41 +0100 Original-Received: from localhost ([::1]:32998 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kgDzM-0007tN-Gz for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 20 Nov 2020 16:30:40 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44792) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kgDpf-0006Ps-LH for help-gnu-emacs@gnu.org; Fri, 20 Nov 2020 16:20:39 -0500 Original-Received: from static.rcdrun.com ([95.85.24.50]:32877) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kgDpc-0007cW-Gn; Fri, 20 Nov 2020 16:20:39 -0500 Original-Received: from localhost ([::ffff:41.202.241.56]) (AUTH: PLAIN admin, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by static.rcdrun.com with ESMTPSA id 00000000002C1AE6.000000005FB83321.00003A4F; Fri, 20 Nov 2020 21:20:33 +0000 Content-Disposition: inline In-Reply-To: <83im9zzs7m.fsf@gnu.org> Received-SPF: pass client-ip=95.85.24.50; envelope-from=bugs@gnu.support; helo=static.rcdrun.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-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:125427 Archived-At: * Eli Zaretskii [2020-11-20 23:31]: > > Date: Fri, 20 Nov 2020 23:16:32 +0300 > > From: Jean Louis > > Cc: help-gnu-emacs@gnu.org > > > > Sure that I look into separate program and then try to set it in > > Emacs. I have to know how to type the font and to choose various options in > > Emacs to have the same font actually selected. It is tedious. > > ??? All you need is to tell Emacs which font to use, as in > > emacs -fn FONT-NAME Sure it is possible to set it. After long time of using some fonts I can see that there is certain pleasure effect to change the fonts, like relaxation. Process of selecting various fonts is tedious. Imagine starting emacs with emacs -fn for 30 times just to see which font is maybe better or not. I have to see it on the code and on plain text and in dired. Normally I choose Mono fonts that will by default not disalign dired or other aligned text and will be well readable. Default font how I see it is always Courier and I wonder why Emacs selects that one by default. On every computer I have that font comes by default. It appears too small and too tiny to be readable. That is first thing I am changing to something more readable. Normally to DejaVu Sans Mono or Fira Mono or something similar. But after long time I like to change fonts for a while to relax. > And similar in your init file, using one of the available methods, for > example set-face-attribute. I guess I will play with those options for various modes. For Dired I need Mono or fixed font to align the columns. I would like to have different fonts for different modes. But then chasing default mode could change them all. How could I change font only for dired mode? There is no face like dired-default or similar. I just found nice writing font and it is not Mono but it looks like mono or almost as Courier. Dired and tabulated list mode is distorted with this font. But I do not find default fonts for dired or other mode. I can see that fixed-pitch is monospace but Dired is not monospace if I choose default font that is not monospace. Then there is bunch of options in Dired, I would need probably to turn off each Inherit option to make Dired behave. Somehow I expect to have fixed font in those modes where it is necesary. Manual says fixed-pitch, I was thinking Dired would use fixed-pitch settings, but it uses default font as it inherits.