unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Jambunathan K <kjambunathan@gmail.com>
To: Craig Muth <craig.muth@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: More noticeable version of (message)
Date: Wed, 02 Nov 2011 11:50:31 +0530	[thread overview]
Message-ID: <81zkgfyrio.fsf@gmail.com> (raw)
In-Reply-To: <CAA0bO3FeTvzXah4PTGG0=g7StwHS5zUurLJgNqLvE_Q0JhvkUw@mail.gmail.com> (Craig Muth's message of "Tue, 1 Nov 2011 14:40:44 -0700")

Craig Muth <craig.muth@gmail.com> writes:

> I often don't notice the output of lines like (message "hi"),
> especially when in full-screen mode.
>
> Any ideas?  Not a huge fan of beeping because I associate that with
> an error.  I'm on a mac so any face/font stuff is fair game.

Try this:

(fset 'message-plain (symbol-function 'message))

(defun message-colored (fmt-string &rest args)
  (message-plain 
   (propertize
    (apply 'format fmt-string args)
    'face 'font-lock-comment-face)))

(fset 'message 'message-colored)

You will see that the messages appear in comment face.

> --Craig
>
>
>

-- 



  parent reply	other threads:[~2011-11-02  6:20 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-01 21:40 More noticeable version of (message) Craig Muth
2011-11-01 23:44 ` Peter Münster
2011-11-02  6:20 ` Jambunathan K [this message]
2011-11-03 14:04   ` Jambunathan K
2011-11-03 14:53     ` Yagnesh Raghava Yakkala
2011-11-03 16:23       ` Jambunathan K
2011-11-03 18:16         ` Lennart Borgman
2011-11-03 22:44           ` chad
2011-11-04  0:56             ` Lennart Borgman
2011-11-04  9:34               ` Juri Linkov
2011-11-06 14:57                 ` Juri Linkov
2011-11-06 15:58                   ` Lennart Borgman

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=81zkgfyrio.fsf@gmail.com \
    --to=kjambunathan@gmail.com \
    --cc=craig.muth@gmail.com \
    --cc=emacs-devel@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).