From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?B?SmFuIERqw6Rydg==?= Newsgroups: gmane.emacs.devel Subject: Re: [PATCH update2] Support for filesystem watching (inotify) Date: Sun, 05 Jun 2011 09:48:19 +0200 Message-ID: <4DEB34C3.90409@swipnet.se> References: <201106040034.15598.ruediger@c-plusplus.de> <201106050136.35939.ruediger@c-plusplus.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1307260132 17964 80.91.229.12 (5 Jun 2011 07:48:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 5 Jun 2011 07:48:52 +0000 (UTC) Cc: "emacs-devel@gnu.org" To: =?UTF-8?B?UsO8ZGlnZXIgU29uZGVyZmVsZA==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 05 09:48:48 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QT84m-0006Jk-CY for ged-emacs-devel@m.gmane.org; Sun, 05 Jun 2011 09:48:48 +0200 Original-Received: from localhost ([::1]:52092 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QT84k-000403-Qf for ged-emacs-devel@m.gmane.org; Sun, 05 Jun 2011 03:48:47 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:47166) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QT84Q-0003zt-UI for emacs-devel@gnu.org; Sun, 05 Jun 2011 03:48:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QT84P-0001te-UI for emacs-devel@gnu.org; Sun, 05 Jun 2011 03:48:26 -0400 Original-Received: from smtprelay-b21.telenor.se ([195.54.99.212]:50320) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QT84P-0001tR-PF for emacs-devel@gnu.org; Sun, 05 Jun 2011 03:48:25 -0400 Original-Received: from ipb1.telenor.se (ipb1.telenor.se [195.54.127.164]) by smtprelay-b21.telenor.se (Postfix) with ESMTP id C153FEA07E for ; Sun, 5 Jun 2011 09:48:20 +0200 (CEST) X-SENDER-IP: [85.225.45.100] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgxqANYz601V4S1kPGdsb2JhbABThEqESJ0oCwEBAQE3MrVxj1yBK4NsgQoElUGKdA X-IronPort-AV: E=Sophos;i="4.65,322,1304287200"; d="scan'208";a="196530775" Original-Received: from c-642de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.100]) by ipb1.telenor.se with ESMTP; 05 Jun 2011 09:48:20 +0200 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id DA54A7FA05A; Sun, 5 Jun 2011 09:48:19 +0200 (CEST) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 In-Reply-To: <201106050136.35939.ruediger@c-plusplus.de> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 195.54.99.212 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:140188 Archived-At: R=C3=BCdiger Sonderfeld skrev 2011-06-05 01.36: > Hi, > > On Saturday 04 June 2011 12:43:37 you wrote: >> In general, you should not call Lisp from the read fd callback. Recurs= ive >> calls into Lisp may fail. Instead post a Lisp event and handle it in >> keyboard.c and some Lisp code. > > Thanks for your advise. I changed the code to use events. I imitated th= e > behaviour of the dbus subsystem. I hope this is what you had in mind. As Eli already said, it doesn't appear in the patch you sent. Jan D.