all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* disable messaging in echo area
@ 2010-12-08 15:35 Daniel Carvalho
  2010-12-09 14:32 ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel Carvalho @ 2010-12-08 15:35 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 608 bytes --]

hi
I have a function that runs in background every 10 seconds (with
run-at-time). That function saves a file, and this causes a message to
be displayed in the echo-area. I want to disable this message...


there was already a thread about that :
http://lists.gnu.org/archive/html/help-gnu-emacs/2009-08/msg00374.html


But the pointed solutions don't work

(flet ((message (&rest args) nil))
   (message "test")
   (write-file file)
   )
- the "test" message is not displayed, but the "write file" is still
displayed!


(let (message-log-max)
  (write-file file)
  )
- no effect!



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 554 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-12-11  1:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-08 15:35 disable messaging in echo area Daniel Carvalho
2010-12-09 14:32 ` Eli Zaretskii
2010-12-10  4:26   ` Drew Adams
2010-12-10 11:30   ` daniel
     [not found]   ` <mailman.86.1291980649.5417.help-gnu-emacs@gnu.org>
2010-12-11  1:38     ` jpkotta

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.