all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg <embe8573@student.uu.se>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs and tmux & the echo area (on Unix & Linux SX)
Date: Sun, 21 Jul 2013 21:16:47 +0200	[thread overview]
Message-ID: <87eharafkw.fsf@VLAN-3434.student.uu.se> (raw)
In-Reply-To: mailman.1512.1374426988.12400.help-gnu-emacs@gnu.org

Drew Adams <drew.adams@oracle.com> writes:

> Binding `message-log-max' to nil suppresses messages ...

Yes, excellent!

(defun test-suppress-msgs ()
  (interactive)
  (let ((log-size message-log-max))
    (setq message-log-max nil)
    (message "This message is suppressed.")
    (setq message-log-max log-size)
    (message "This is echoed, and logged.") ))

I'll post this solution right now, as I take it you won't, but I
will mention gnu.emacs.help.

-- 
Emanuel Berg - programmer (hire me! CV below)
computer projects: http://user.it.uu.se/~embe8573
internet activity: http://home.student.uu.se/embe8573


  parent reply	other threads:[~2013-07-21 19:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-21 14:28 Emacs and tmux & the echo area (on Unix & Linux SX) Emanuel Berg
2013-07-21 17:16 ` Drew Adams
     [not found] ` <mailman.1512.1374426988.12400.help-gnu-emacs@gnu.org>
2013-07-21 19:16   ` Emanuel Berg [this message]
2013-07-21 19:45     ` Drew Adams
     [not found]     ` <mailman.1520.1374437704.12400.help-gnu-emacs@gnu.org>
2013-07-21 20:46       ` Emanuel Berg

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=87eharafkw.fsf@VLAN-3434.student.uu.se \
    --to=embe8573@student.uu.se \
    --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.