From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#40900: Add face for function params in info Date: Mon, 27 Apr 2020 18:06:19 +0300 Message-ID: <83mu6x3r4k.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="40790"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 40900@debbugs.gnu.org To: ndame Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Apr 27 17:07:16 2020 Return-path: Envelope-to: geb-bug-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 1jT5Ll-000ASE-OD for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 27 Apr 2020 17:07:13 +0200 Original-Received: from localhost ([::1]:49930 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jT5Lk-0005dy-Qg for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 27 Apr 2020 11:07:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33980) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jT5Lb-0005dq-FO for bug-gnu-emacs@gnu.org; Mon, 27 Apr 2020 11:07:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jT5Lb-0003nZ-3I for bug-gnu-emacs@gnu.org; Mon, 27 Apr 2020 11:07:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54555) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jT5La-0003kg-N7 for bug-gnu-emacs@gnu.org; Mon, 27 Apr 2020 11:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jT5La-0002px-HC for bug-gnu-emacs@gnu.org; Mon, 27 Apr 2020 11:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Apr 2020 15:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40900 X-GNU-PR-Package: emacs Original-Received: via spool by 40900-submit@debbugs.gnu.org id=B40900.158799999010847 (code B ref 40900); Mon, 27 Apr 2020 15:07:02 +0000 Original-Received: (at 40900) by debbugs.gnu.org; 27 Apr 2020 15:06:30 +0000 Original-Received: from localhost ([127.0.0.1]:37868 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jT5L3-0002ot-T3 for submit@debbugs.gnu.org; Mon, 27 Apr 2020 11:06:30 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:59184) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jT5L2-0002oe-4t for 40900@debbugs.gnu.org; Mon, 27 Apr 2020 11:06:28 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:37361) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jT5Kw-00014m-Tk; Mon, 27 Apr 2020 11:06:22 -0400 Original-Received: from [176.228.60.248] (port=3754 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jT5Kw-000615-74; Mon, 27 Apr 2020 11:06:22 -0400 In-Reply-To: (bug-gnu-emacs@gnu.org) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:179152 Archived-At: > Date: Mon, 27 Apr 2020 12:46:02 +0000 > From: ndame via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > The Elisp info manual could be easier to read if parameters which are capitalized > could have a face too: > > If the minibuffer prompt string PROMPT does not end in ‘:’ ... > > > Though I don't know if it's possible to add language specific faces to info, > because a capitalized word could mean something else in an other language. > > Maybe a face like Info-elisp-param-face which is added only if the current > info is about elisp? I think the challenge is to reliably identify the strings that are function parameters. Info files lack the markup that identifies various symbols in the Texinfo sources, and the code which finds function arguments must not err too much, or users will complain.