[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Suppress (pop kill-ring) from *Messages*
From: |
Tim Johnson |
Subject: |
Re: Suppress (pop kill-ring) from *Messages* |
Date: |
Mon, 2 Nov 2015 07:23:35 -0900 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
* Emanuel Berg <embe8573@student.uu.se> [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
- Suppress (pop kill-ring) from *Messages*, Tim Johnson, 2015/11/01
- Re: Suppress (pop kill-ring) from *Messages*, Random832, 2015/11/01
- Re: Suppress (pop kill-ring) from *Messages*, Random832, 2015/11/01
- Re: Suppress (pop kill-ring) from *Messages*, Marcin Borkowski, 2015/11/01
- Re: Suppress (pop kill-ring) from *Messages*, Emanuel Berg, 2015/11/01
- Re: Suppress (pop kill-ring) from *Messages*,
Tim Johnson <=
- restrictive/discrete messages log (was: Re: Suppress (pop kill-ring) from *Messages*), Emanuel Berg, 2015/11/01