From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#16136: 24.3.50; `minibuffer-prompt-properties' for `face' Date: Fri, 13 Dec 2013 15:31:29 -0800 (PST) Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1386977603 31402 80.91.229.3 (13 Dec 2013 23:33:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Dec 2013 23:33:23 +0000 (UTC) To: 16136@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 14 00:33:27 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VrcEZ-0004Ap-FK for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Dec 2013 00:33:27 +0100 Original-Received: from localhost ([::1]:45106 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VrcEZ-0002En-3H for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Dec 2013 18:33:27 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45020) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VrcEL-00020Y-0a for bug-gnu-emacs@gnu.org; Fri, 13 Dec 2013 18:33:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VrcEA-0003gS-RZ for bug-gnu-emacs@gnu.org; Fri, 13 Dec 2013 18:33:12 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34951) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VrcEA-0003gN-PE for bug-gnu-emacs@gnu.org; Fri, 13 Dec 2013 18:33:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VrcEA-0003Sj-3d for bug-gnu-emacs@gnu.org; Fri, 13 Dec 2013 18:33:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Dec 2013 23:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 16136 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.138697752413220 (code B ref -1); Fri, 13 Dec 2013 23:33:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Dec 2013 23:32:04 +0000 Original-Received: from localhost ([127.0.0.1]:48970 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrcDD-0003R7-2Z for submit@debbugs.gnu.org; Fri, 13 Dec 2013 18:32:03 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:42969) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrcDA-0003Qi-LP for submit@debbugs.gnu.org; Fri, 13 Dec 2013 18:32:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VrcD0-00032E-BJ for submit@debbugs.gnu.org; Fri, 13 Dec 2013 18:32:00 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:40869) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VrcD0-000324-91 for submit@debbugs.gnu.org; Fri, 13 Dec 2013 18:31:50 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44577) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VrcCr-0008Pf-83 for bug-gnu-emacs@gnu.org; Fri, 13 Dec 2013 18:31:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VrcCi-0002zE-Mc for bug-gnu-emacs@gnu.org; Fri, 13 Dec 2013 18:31:41 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:42327) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VrcCi-0002zA-GO for bug-gnu-emacs@gnu.org; Fri, 13 Dec 2013 18:31:32 -0500 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id rBDNVUDx025703 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 13 Dec 2013 23:31:31 GMT Original-Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rBDNVUrf026022 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 13 Dec 2013 23:31:30 GMT Original-Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rBDNVTEj026012 for ; Fri, 13 Dec 2013 23:31:29 GMT X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:81917 Archived-At: It is good to have variable `minibuffer-prompt-properties'. And it is good that by default its value includes `face' with a value of `minibuffer-prompt'. This allows the prompt, by default, to stand out against the user input. However, the design should be more supple. It should use the `face' property specified in `minibuffer-prompt-properties', if any, to apply that face only to parts of the PROMPT string that do not already have a `face' text property. Any parts of PROMPT that are already propertized with property `face' should be left alone, and not have their face overridden by face `minibuffer-prompt'. This would let users supply a PROMPT string that already has certain parts highlighted with faces, so that they, in turn, stand out against the rest of the prompt. In order to get that effect now, users have to propertize the entire PROMPT string, highlighting not only the particular part(s) they want to emphasize, but also providing face `minibuffer-prompt' for the other parts. If they do not do the latter then the prompt as a whole does not stand out against the user input: it has no special face except for the particular part(s) highlighted. This enhancement apparently needs to be done in the C code (`read_minibuf'), which means also that users cannot implement this improvement themselves, in Lisp. In GNU Emacs 24.3.50.2 (i686-pc-mingw32) of 2013-11-28 on LEG570 Bzr revision: 115271 rgm@gnu.org-20131128203155-qjc1xsp19z2k64b2 Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --enable-checking 'CFLAGS=3D-O0 -g3' CPPFLAGS=3D-DGLYPH_DEBUG= =3D1'