From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Default Info face Date: Wed, 18 Dec 2024 16:05:35 +0200 Message-ID: <86frmlm6hc.fsf@gnu.org> References: <87wmfxgvjd.fsf@ledu-giraud.fr> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10316"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Manuel Giraud Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Dec 18 15:06:08 2024 Return-path: Envelope-to: ged-emacs-devel@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 1tNugi-0002UQ-JJ for ged-emacs-devel@m.gmane-mx.org; Wed, 18 Dec 2024 15:06:08 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tNugM-0006jB-9w; Wed, 18 Dec 2024 09:05:46 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tNugJ-0006iU-Gi for emacs-devel@gnu.org; Wed, 18 Dec 2024 09:05:43 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tNugJ-00050I-5K; Wed, 18 Dec 2024 09:05:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Ss+ohsQiPPWUH3dOOh2wFq77sAxpJXaZa3ah889zSS4=; b=T/f429ksNMp6 26auGEMX+Gq5yqP0D73vxxgAmBnu9Oe/zUCa5nYYIp/uiGJLa3XqYcaFzG3taG5cRT7h6+pOrYWbZ ihRM/eKkvEnswl5EW3pzgUljr4L+UTeEpSf+CIeJNlxc62+cQJsexvsAxyGk8av6/7eeMY6twEduU bD9lmTJKy9kdu/+6LltWQsJLl4fIRmexjD3RO8eOxEUc0ZH8F5rDqGZS6hQM+7+6gyNT5aO/8HPB4 VMOPRYYPw38QTwLXaFy1ew4ZeiKkObmKVKSYNRmCiMFyHlVptm/yskqZTihQDTjGszIdcz3EyHefg LnzaDwlLKgV2gp5+qqsfhg==; In-Reply-To: <87wmfxgvjd.fsf@ledu-giraud.fr> (emacs-devel@gnu.org) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:326654 Archived-At: > Date: Wed, 18 Dec 2024 11:00:54 +0100 > From: Manuel Giraud via "Emacs development discussions." > If I'm not mistaken, currently, the face used for the text body of Info > nodes is `default'. I was wondering if there would be any interest in > having an `info' face defined for this usage. I imagine that it could > inherit for `variable-pitch-text' as "shr.el" is doing. I also guess > that it would have an impact on some sub-faces (like `info-title*' for > example). WDYT? Info manuals don't look nice with variable-pitch fonts because 'makeinfo' fills and justifies lines assuming a fixed-pitch font, then inserts hard newlines between lines. Try making your default face use a variable-pitch font, and you will see that Info manuals look ugly: some lines are too long, others too short. Variable-pitch fonts could make sense if our documentation was refilled, like we do in shr.el for HTML content. But that will not work with Info, I think, at least not in the near future. If variable-pitch face is out, what other advantages could we have by using a specialized face in Info?