From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Harry Putnam Newsgroups: gmane.emacs.help Subject: [OT] Re: Easy/Possible to globally change prompt strings of messages? e.g. changing find-file's prompt string from "Find file:" to "open file:" ? Date: Fri, 30 Jan 2015 11:19:50 -0500 Organization: Still searching... Message-ID: <87r3ucgs0p.fsf_-_@reader.local.lan> References: <90b92a22-d34c-4f7e-953e-74444f42e767@googlegroups.com> <54CB109E.1030802@gmail.com> <87h9v8bqxh.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1422634825 24174 80.91.229.3 (30 Jan 2015 16:20:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 30 Jan 2015 16:20:25 +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 Jan 30 17:20:25 2015 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 1YHEIy-0006ij-S5 for geh-help-gnu-emacs@m.gmane.org; Fri, 30 Jan 2015 17:20:25 +0100 Original-Received: from localhost ([::1]:37561 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHEIy-00014C-7v for geh-help-gnu-emacs@m.gmane.org; Fri, 30 Jan 2015 11:20:24 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45090) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHEIf-00010C-Lx for help-gnu-emacs@gnu.org; Fri, 30 Jan 2015 11:20:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YHEIc-0001X9-HI for help-gnu-emacs@gnu.org; Fri, 30 Jan 2015 11:20:05 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:53019) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHEIc-0001UJ-At for help-gnu-emacs@gnu.org; Fri, 30 Jan 2015 11:20:02 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YHEIY-0006J4-AG for help-gnu-emacs@gnu.org; Fri, 30 Jan 2015 17:19:58 +0100 Original-Received: from c-76-97-127-193.hsd1.ga.comcast.net ([76.97.127.193]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 30 Jan 2015 17:19:58 +0100 Original-Received: from reader by c-76-97-127-193.hsd1.ga.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 30 Jan 2015 17:19:58 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 26 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-76-97-127-193.hsd1.ga.comcast.net User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:QnsBHj6e2MpviJJdNhLecQPU2WI= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:102383 Archived-At: Michael Heerdegen writes: This is a bit of the wall but I've been meaning to ask about this phenomena for a while: I run gnus with a black background and cornsilk2 foreground. ,---- | (defun my-find-file-around-ad (origfun &rest args) | (interactive | (find-file-read-args "Open file: " | (confirm-nonexistent-file-or-buffer))) | (apply origfun args)) | | (advice-add 'find-file :around #'my-find-file-around-ad) `---- The section of the previous post, boxed in above, appears in my gnus reader as medium green background. So, set off from the rest of the post by a completely different background color. I've seen this a number of times and would like to know how it is done?