emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Missing sentinel events


From: Lars Ingebrigtsen
Subject: Re: Missing sentinel events
Date: Sun, 22 Jan 2017 18:13:31 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Hm...  There's a mechanism to send out all process statuses to sentinels?

          /* Get the text to use for the message.  */
          if (p->raw_status_new)
            update_status (p);
          msg = status_message (p);


[...]

          /* The actions above may have further incremented p->tick.
             So set p->update_tick again so that an error in the sentinel will
             not cause this code to be run again.  */
          p->update_tick = p->tick;
          /* Now output the message suitably.  */
          exec_sentinel (proc, msg);

So...  the code in question should really just be doing

                      p->tick = ++process_tick;

?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




reply via email to

[Prev in Thread] Current Thread [Next in Thread]