From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: feature request: indicator of minibuffer-recursion depth Date: Sat, 18 Nov 2006 17:25:44 -0800 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1163899569 27049 80.91.229.2 (19 Nov 2006 01:26:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 19 Nov 2006 01:26:09 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 19 02:26:06 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GlbRb-0004IC-7d for ged-emacs-devel@m.gmane.org; Sun, 19 Nov 2006 02:26:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GlbRa-0002u2-Jt for ged-emacs-devel@m.gmane.org; Sat, 18 Nov 2006 20:26:02 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GlbRP-0002rI-Ae for emacs-devel@gnu.org; Sat, 18 Nov 2006 20:25:51 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GlbRO-0002pU-HU for emacs-devel@gnu.org; Sat, 18 Nov 2006 20:25:50 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GlbRO-0002pK-Ev for emacs-devel@gnu.org; Sat, 18 Nov 2006 20:25:50 -0500 Original-Received: from [148.87.113.118] (helo=rgminet01.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GlbRO-0003OD-CF for emacs-devel@gnu.org; Sat, 18 Nov 2006 20:25:50 -0500 Original-Received: from rgmgw1.us.oracle.com (rgmgw1.us.oracle.com [138.1.186.110]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id kAJ1PlV3019676 for ; Sat, 18 Nov 2006 18:25:47 -0700 Original-Received: from rcsmt250.oracle.com (rcsmt250.oracle.com [148.87.90.195]) by rgmgw1.us.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id kAIIbHYS020633 for ; Sat, 18 Nov 2006 18:25:47 -0700 Original-Received: from dhcp-amer-whq-csvpn-gw3-141-144-80-213.vpn.oracle.com by rcsmt251.oracle.com with ESMTP id 2216060461163899546; Sat, 18 Nov 2006 18:25:46 -0700 Original-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 In-reply-to: Importance: Normal X-Whitelist: TRUE X-Whitelist: TRUE X-Brightmail-Tracker: AAAAAQAAAAI= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:62443 Archived-At: > From: Kim F. Storm Sent: Monday, July 17, 2006 1:33 AM > For those who need this before 23.x, maybe someone would add it to > the EmacsWiki. Here is the latest version (AFAIK): > > ;;; mb-depth.el --- Indicate minibuffer-depth in prompt > ... Mathias uploaded this to the Wiki last July. When this is eventually added to a release, I would like to see these two things be user-configurable, not hard-coded: - the depth-indicator format (currently hard-coded "[%d]") - the depth-indicator face (currently hard-coded `highlight') For my own use, I've defined a face and a format-string user option for this. I use "%d) ", instead of "[%d]", for the default value of the format, and I use `default' for the default value of the face (inheritance).