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 17:40:04 -0600 Message-ID: <20130705234004.GA4393@hysteria.proulx.com> References: <66bab8af-d8a2-4e67-b8ec-0256480cd594@googlegroups.com> <871u7d2bdv.fsf@VLAN-3434.student.uu.se> <461346ed-9845-44e1-9f94-f3b3603c73d9@googlegroups.com> <87k3l4g1gp.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 1373067614 19747 80.91.229.3 (5 Jul 2013 23:40:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Jul 2013 23:40:14 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jul 06 01:40:16 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 1UvFbr-0002gq-RH for geh-help-gnu-emacs@m.gmane.org; Sat, 06 Jul 2013 01:40:15 +0200 Original-Received: from localhost ([::1]:57338 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UvFbr-0004JU-8R for geh-help-gnu-emacs@m.gmane.org; Fri, 05 Jul 2013 19:40:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53931) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UvFbj-0004Hg-2f for help-gnu-emacs@gnu.org; Fri, 05 Jul 2013 19:40:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UvFbh-0002IV-T7 for help-gnu-emacs@gnu.org; Fri, 05 Jul 2013 19:40:07 -0400 Original-Received: from joseki.proulx.com ([216.17.153.58]:39674) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UvFbh-0002Gn-Md for help-gnu-emacs@gnu.org; Fri, 05 Jul 2013 19:40:05 -0400 Original-Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id A2DB3211D5 for ; Fri, 5 Jul 2013 17:40:04 -0600 (MDT) Original-Received: by hysteria.proulx.com (Postfix, from userid 1000) id 902B02DCF7; Fri, 5 Jul 2013 17:40:04 -0600 (MDT) Mail-Followup-To: help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <87k3l4g1gp.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:91973 Archived-At: Emanuel Berg wrote: > Chris Seberino writes: > >> (set-face-foreground 'minibuffer-prompt nil) > > > > nil gave an error for me > > For me, it works - I get the default face (cyan - `M-x > describe-face default') - but - why set it to nil, instead of the > color of your choice? Because then it uses the default face which I have already set elsewhere. Keeping it DRY - Don't Repeat Yourself. I already set the color I wanted in one location. I don't want to set that color again in an additional location. :-) Bob