From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: read_char() does not detect, handle special-event-map buffer changes Date: Fri, 08 Feb 2013 17:11:17 +0100 Message-ID: <87pq0an5ui.fsf@gmx.de> References: <87r4kwjx11.fsf@priss.frightenedpiglet.com> <87lib01vlp.fsf@priss.frightenedpiglet.com> <87k3qk18m6.fsf@priss.frightenedpiglet.com> <87haln1ks1.fsf@priss.frightenedpiglet.com> <87k3qjcl72.fsf@gmx.de> <87fw16254c.fsf@priss.frightenedpiglet.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1360339888 8506 80.91.229.3 (8 Feb 2013 16:11:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Feb 2013 16:11:28 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Derek Upham Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 08 17:11:47 2013 Return-path: Envelope-to: ged-emacs-devel@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 1U3qYD-0007i9-Cj for ged-emacs-devel@m.gmane.org; Fri, 08 Feb 2013 17:11:45 +0100 Original-Received: from localhost ([::1]:43458 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3qXu-0007Xi-EQ for ged-emacs-devel@m.gmane.org; Fri, 08 Feb 2013 11:11:26 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:60402) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3qXs-0007Xc-22 for emacs-devel@gnu.org; Fri, 08 Feb 2013 11:11:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U3qXq-0006nH-U2 for emacs-devel@gnu.org; Fri, 08 Feb 2013 11:11:23 -0500 Original-Received: from mout.gmx.net ([212.227.15.19]:53819) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3qXq-0006nD-LT for emacs-devel@gnu.org; Fri, 08 Feb 2013 11:11:22 -0500 Original-Received: from mailout-de.gmx.net ([10.1.76.1]) by mrigmx.server.lan (mrigmx001) with ESMTP (Nemesis) id 0LgKlO-1UgT5338RY-00nlfo for ; Fri, 08 Feb 2013 17:11:21 +0100 Original-Received: (qmail invoked by alias); 08 Feb 2013 16:11:21 -0000 Original-Received: from p57BB9735.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [87.187.151.53] by mail.gmx.net (mp001) with SMTP; 08 Feb 2013 17:11:21 +0100 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX1+rtj9JXHqraukAooBKtVgYxX27/VIQaraClXjuiU 3Yv73Z7l9buDIp In-Reply-To: <87fw16254c.fsf@priss.frightenedpiglet.com> (Derek Upham's message of "Fri, 08 Feb 2013 07:32:35 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.15.19 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:156894 Archived-At: Derek Upham writes: > A couple of emails back I put in a D-Bus handler for asynchronous > messages. I'll set it up to do nothing but push a timestamp onto a > list. Then with a couple of dbus-send instances I can look for rate > differences between the two code paths. I should have numbers this > weekend. Would be interesting. Alternatively, you could also stress via file notifications. Eval (defun my-inotify-handler (&rest args) (message (format "Here I am '%s'" args))) (inotify-add-watch "/tmp" t 'my-inotify-handler) And in a shell outside Emacs, you call # while /bin/true; do touch /tmp/123; done > Derek Best regards, Michael.