From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim Johnson Newsgroups: gmane.emacs.help Subject: Re: Suppress (pop kill-ring) from *Messages* Date: Mon, 2 Nov 2015 07:23:35 -0900 Organization: AkWebsoft Message-ID: <20151102162335.GH3304@mail.akwebsoft.com> References: <20151101195356.GD3304@mail.akwebsoft.com> <878u6h2pya.fsf@debian.uxu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1446481441 27868 80.91.229.3 (2 Nov 2015 16:24:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 Nov 2015 16:24:01 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 02 17:23:52 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 1ZtHte-00033D-UF for geh-help-gnu-emacs@m.gmane.org; Mon, 02 Nov 2015 17:23:51 +0100 Original-Received: from localhost ([::1]:43142 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZtHte-0002Qg-99 for geh-help-gnu-emacs@m.gmane.org; Mon, 02 Nov 2015 11:23:50 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46322) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZtHtT-0002Oj-0S for help-gnu-emacs@gnu.org; Mon, 02 Nov 2015 11:23:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZtHtQ-00025V-E3 for help-gnu-emacs@gnu.org; Mon, 02 Nov 2015 11:23:39 -0500 Original-Received: from tjohnson.mtaonline.net ([64.4.232.191]:33375) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZtHtQ-000253-67 for help-gnu-emacs@gnu.org; Mon, 02 Nov 2015 11:23:36 -0500 Original-Received: by tj49.com (Postfix, from userid 1000) id B9746200122; Mon, 2 Nov 2015 07:23:35 -0900 (AKST) Mail-Followup-To: help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <878u6h2pya.fsf@debian.uxu> User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 64.4.232.191 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:107899 Archived-At: * Emanuel Berg [151101 15:42]: > > > > How can I suppress the recording of the item > > in messages? > > Perhaps (?) this experimentation is of interest to you: Indeed, is of great interest. > (defun test-suppress-messages () > (interactive) > (let ((log-size message-log-max)) ; (setq message-log-max 1000) > (setq message-log-max nil) > (message "No buffer, not last - suppressed!") > (setq message-log-max log-size) > (message "Buffer, so this message is logged.") > (message "Buffer and last, so this message is echoed as well as logged.") )) > ;; (test-suppress-messages) Thank you, Emanuel. I need to take some time to grok this and your other email. Very interesting information that could aid me in other issues. -- Tim http://www.akwebsoft.com, http://www.tj49.com