From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bob Proulx Newsgroups: gmane.emacs.help Subject: Re: Possible to alter the "M-x" string that is displayed when M-x is pressed to enter a command? Date: Fri, 5 Jul 2013 11:29:04 -0600 Message-ID: <20130705172904.GA20909@hysteria.proulx.com> References: <66bab8af-d8a2-4e67-b8ec-0256480cd594@googlegroups.com> <871u7d2bdv.fsf@VLAN-3434.student.uu.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1373045359 2310 80.91.229.3 (5 Jul 2013 17:29:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Jul 2013 17:29:19 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 05 19:29:20 2013 Return-path: Envelope-to: geh-help-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 1Uv9ot-0004qL-EI for geh-help-gnu-emacs@m.gmane.org; Fri, 05 Jul 2013 19:29:19 +0200 Original-Received: from localhost ([::1]:37770 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uv9os-0000X5-W0 for geh-help-gnu-emacs@m.gmane.org; Fri, 05 Jul 2013 13:29:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52508) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uv9oi-0000Wx-PC for help-gnu-emacs@gnu.org; Fri, 05 Jul 2013 13:29:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uv9oh-00009x-Oi for help-gnu-emacs@gnu.org; Fri, 05 Jul 2013 13:29:08 -0400 Original-Received: from joseki.proulx.com ([216.17.153.58]:38539) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uv9oh-00008u-7x for help-gnu-emacs@gnu.org; Fri, 05 Jul 2013 13:29:07 -0400 Original-Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id 635C8211D5 for ; Fri, 5 Jul 2013 11:29:04 -0600 (MDT) Original-Received: by hysteria.proulx.com (Postfix, from userid 1000) id 4C53A2DCF7; Fri, 5 Jul 2013 11:29:04 -0600 (MDT) Mail-Followup-To: help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <871u7d2bdv.fsf@VLAN-3434.student.uu.se> User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 216.17.153.58 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:91964 Archived-At: Emanuel Berg wrote: > Chris Seberino writes: > > Possible to alter the "M-x" string that is displayed when M-x is > > pressed to enter a command? > > I don't know, but if you find out, please tell us (me). > > The closest I got was > > (set-face-foreground 'minibuffer-prompt "green") > > but it only applies (which makes sense) to the *face* when you are > *prompted* for an argument, i.e., it really doesn't have anything > to do with the M-x string (except that both are displayed in the > minibuffer). I always set this: (set-face-foreground 'minibuffer-prompt nil) That displays the prompt in the default face, in my case white. Bob