🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by Mike Patton Wed, 27 Jan 1993 12:45
Annoying messages from background
#2214
Author: Mike Patton
Date: Wed, 27 Jan 1993 12:45
19 lines
1398 bytes
I have written some code that starts up a process and monitors and
controls it.  The problem is that something in the process-filter
and/or process-sentinel are causing calls to "message" (I'm not doing
it directly) which randomly trash what I'm doing in the minibuffer at
the time it happens.  How do I track this down?  Can I just eliminate
them somehow (a special form (with-messages-inhibited ...) perhaps
:-).  Any other good suggestions?

	-Mike Patton

P.S.  Here's the list of all the functions I _think_ get called in the
filter/sentinel (produced by kbd-macros from the code :-):

	=	car	cdr	cond	delete-process	forward-line
	goto-char	if	insert	kill-buffer	let
	looking-at	null	or	point		point-max
	preceding-char	process-buffer	process-send-string
	replace-string	save-excursion	set-buffer
	setq	string-match	substring	while
Re: Annoying messages from background
#2233
Author: Joe Wells
Date: Wed, 27 Jan 1993 21:41
15 lines
846 bytes
In article <MAP.93Jan27124511@songlines.BBN.Com> map@BBN.Com (Mike Patton) writes:

   Can I just eliminate them somehow (a special form
   (with-messages-inhibited ...) perhaps :-).

(let ((executing-kbd-macro ""))
  ...)

Crude and undocumented, but it works.

-- 
Enjoy,

Joe Wells <jbw@cs.bu.edu>
Member of the League for Programming Freedom --- send e-mail for details
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads