all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Harry Putnam <reader@newsguy.com>
To: help-gnu-emacs@gnu.org
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	[thread overview]
Message-ID: <87mw4scc05.fsf@reader.local.lan> (raw)
In-Reply-To: 95671e72-ab0d-4615-9211-7a5f338f6a32@default

Drew Adams <drew.adams@oracle.com> 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.




  reply	other threads:[~2015-02-05 20:57 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-30  4:08 Easy/Possible to globally change prompt strings of messages? e.g. changing find-file's prompt string from "Find file:" to "open file:" ? Chris Seberino
2015-01-30  4:19 ` Drew Adams
2015-01-30  5:03   ` Christian Seberino
2015-01-30  8:42     ` Michael Heerdegen
2015-01-30 16:19       ` [OT] " Harry Putnam
2015-01-30 16:33         ` Drew Adams
2015-02-05 20:57           ` Harry Putnam [this message]
2015-02-05 21:41             ` Michael Heerdegen
2015-02-06 14:35               ` Harry Putnam
2015-01-30 14:41     ` Drew Adams
2015-01-30 23:30       ` Christian Seberino
2015-01-31  0:31         ` Drew Adams
2015-01-31  0:35           ` Christian Seberino
2015-01-31  0:38             ` Christian Seberino
2015-02-01 13:55               ` Michael Heerdegen
2015-02-01 23:18                 ` Christian Seberino
2015-02-02 21:43                   ` Marcin Borkowski
2015-02-02 22:11                     ` Drew Adams
     [not found]                     ` <mailman.19192.1422915104.1147.help-gnu-emacs@gnu.org>
2015-02-03  3:31                       ` Rusi
     [not found]     ` <mailman.18960.1422607363.1147.help-gnu-emacs@gnu.org>
2015-01-30 23:58       ` Chris Seberino
2015-02-01 13:51         ` Michael Heerdegen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mw4scc05.fsf@reader.local.lan \
    --to=reader@newsguy.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.