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: Re: [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: Thu, 05 Feb 2015 15:57:30 -0500 Organization: Still searching... Message-ID: <87mw4scc05.fsf@reader.local.lan> References: <90b92a22-d34c-4f7e-953e-74444f42e767@googlegroups.com> <54CB109E.1030802@gmail.com> <87h9v8bqxh.fsf@web.de> <87r3ucgs0p.fsf_-_@reader.local.lan> <95671e72-ab0d-4615-9211-7a5f338f6a32@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1423169894 24326 80.91.229.3 (5 Feb 2015 20:58:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Feb 2015 20:58: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 Thu Feb 05 21:58:07 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 1YJTUw-0003oy-4G for geh-help-gnu-emacs@m.gmane.org; Thu, 05 Feb 2015 21:58:02 +0100 Original-Received: from localhost ([::1]:45569 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJTUv-0005nh-M9 for geh-help-gnu-emacs@m.gmane.org; Thu, 05 Feb 2015 15:58:01 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50902) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJTUk-0005ma-OB for help-gnu-emacs@gnu.org; Thu, 05 Feb 2015 15:57:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YJTUh-00082V-Hi for help-gnu-emacs@gnu.org; Thu, 05 Feb 2015 15:57:50 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:50786) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJTUh-00082J-BH for help-gnu-emacs@gnu.org; Thu, 05 Feb 2015 15:57:47 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YJTUb-0003Uu-H9 for help-gnu-emacs@gnu.org; Thu, 05 Feb 2015 21:57:41 +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 ; Thu, 05 Feb 2015 21:57:41 +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 ; Thu, 05 Feb 2015 21:57:41 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 39 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:xh7sBlwDTE/27zPmWMDvpX1y8TI= 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:102514 Archived-At: Drew Adams writes: >> ,---- >> | (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? > > Library boxquote.el: > http://www.davep.org/emacs/#boxquote.el Sorry for my lack of clarity, the boxquote is my doing... what I'm attempting to ask about is how that author colors the background green for the portion I have boxquoted above. That is: In post Message-ID: <87h9v8bqxh.fsf@web.de> (on gmane.emacs.help), Michael Heerdegen has somehow caused the bit below to appears with medium green background. (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) I'd like to know how that is done. boxquote.el does not appear to offer anything related to color. At least the word `color' or `background' do not appear in it.