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: [PATCH] Added basic file system watching support. Date: Tue, 11 Dec 2012 09:19:10 +0100 Message-ID: <87y5h557cx.fsf@gmx.de> References: <6218185.ViukoKRdFp@descartes> <1604303.YKOVcvQH0F@descartes> <8738zd6n1t.fsf@gmx.de> <83ip899fd7.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1355213966 6091 80.91.229.3 (11 Dec 2012 08:19:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Dec 2012 08:19:26 +0000 (UTC) Cc: ruediger@c-plusplus.de, emacs-devel@gnu.org, monnier@iro.umontreal.ca, sdl.web@gmail.com To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 11 09:19:39 2012 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 1TiL3z-0005Hm-Lp for ged-emacs-devel@m.gmane.org; Tue, 11 Dec 2012 09:19:39 +0100 Original-Received: from localhost ([::1]:33768 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiL3n-0002nf-0Z for ged-emacs-devel@m.gmane.org; Tue, 11 Dec 2012 03:19:27 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:55654) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiL3g-0002mt-41 for emacs-devel@gnu.org; Tue, 11 Dec 2012 03:19:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TiL3a-0004Z2-Ni for emacs-devel@gnu.org; Tue, 11 Dec 2012 03:19:20 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:51645) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1TiL3a-0004Yi-DY for emacs-devel@gnu.org; Tue, 11 Dec 2012 03:19:14 -0500 Original-Received: (qmail invoked by alias); 11 Dec 2012 08:19:12 -0000 Original-Received: from p57BB98D5.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [87.187.152.213] by mail.gmx.net (mp032) with SMTP; 11 Dec 2012 09:19:12 +0100 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX1/X4xI8X17XU6pymr/wdWuBKA/JgHRhLDbGksBzGS mKS9nAZaPvV0K8 In-Reply-To: <83ip899fd7.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 11 Dec 2012 10:12:36 +0200") 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.6.x X-Received-From: 213.165.64.22 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:155456 Archived-At: Eli Zaretskii writes: >> For `inotify-rm-watch' that's not possible right now. It takes as >> argument WATCH-DESCRIPTOR, which is not a file name, and which does not >> contain a file name. >> >> Could we extend the interface of `inotify-rm-watch' to add a file name? > > Why do you need an extension? This is Lisp: we could pass the file > name _as_ the descriptor. Since the remote file handler will take > care of the call anyway, it will assign the correct meaning to the > descriptor. Sure, that would be sufficient for Tramp. I had the impression, that a more complex structure as descriptor was chosen, because there could be several `inotify-add-watch' calls for the *same* file, being different in the aspect or the callback function. Best regards, Michael.