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: Faces for strong, emph and friends in Info? Date: Mon, 08 Apr 2024 17:59:20 +0300 Message-ID: <86o7ajyk6v.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17641"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: "T.V Raman" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Apr 08 17:00:09 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 1rtqTh-0004Q4-Im for ged-emacs-devel@m.gmane-mx.org; Mon, 08 Apr 2024 17:00:09 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rtqSy-0007Gg-B5; Mon, 08 Apr 2024 10:59:24 -0400 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 1rtqSx-0007GI-Hk for emacs-devel@gnu.org; Mon, 08 Apr 2024 10:59:23 -0400 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 1rtqSx-0001TK-4O; Mon, 08 Apr 2024 10:59:23 -0400 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=k9aHyRVlOIzzW+yoaf07r1y4qjahgtvnRI1+bDZcBR8=; b=QmPKYGx3aExe 9rvLc6/lQg1InyYT/522+qRRfWf7Z5UQZtt2V8w57g9tdNK+4WqEHYPksYKeQ2X2WgPv73PGf77L0 KHuv7WxCnd3Jnz6d9qsgcR2SL0Z+bLjZPySxFY8z/Fp77/hLF/bFz39JigWSIVfV5tu+nTvw0zctC LBfO9YGMdrJHyWmF8owENIEFStfTRxGfcxKYE8TeumOSJuyoPtIxnTuNBlAurtcsqomPRhKdUWhk8 thWXnsxx3G8TT4v/RyA8wOe8M/qn48/UPqTA3m+/bTzFzSPNVFbf+vp3jHZSFusr+vDHgTedLdPhg S7wbafjyovRhLE7T/4ZIRw==; In-Reply-To: (raman@google.com) 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:317613 Archived-At: > From: "T.V Raman" > Date: Mon, 08 Apr 2024 07:49:10 -0700 > > At present Info renders: > - @emph{foo} as _foo_ > - @strong{foo} as *foo* That's inaccurate. It's makeinfo that produces these "renderings", info.el just shows them as they are in the Info file. > Would be nice if it could use faces, would save me having to listen > to "star bold star" -- and would likely look nicer to those looking > at the screen. > > info.el defines faces for various structural contructs but there > appears to be no info-strong and info-emph -- is that intentional or > just a lay-over from the time we didn't have font faces? I think it's just that no one has written the code to show *foo* and _foo_ as italics and bold (and hide the _ and * characters). Of course, this will cause some lines be shorter or longer than they are supposed to be, but maybe this is a worthwhile price to pay. Patches welcome.