From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: OSX FSEvents file watching support Date: Thu, 18 Jul 2019 10:55:45 -0400 Message-ID: References: <0ce358e3-9333-4717-97d5-f03d882bc2d0@www.fastmail.com> <83lfwvy9ai.fsf@gnu.org> <87muhbeg01.fsf@gmx.de> <83a7dby2lp.fsf@gnu.org> <877e8fedwi.fsf@gmx.de> <834l3jy17z.fsf@gnu.org> <87o91rpgzh.fsf@gmx.de> <83k1cfwhn2.fsf@gnu.org> <87ftn3pgaq.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="252134"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Eli Zaretskii , muir@mnd.rs, emacs-devel@gnu.org To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 18 16:56:00 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ho7pA-0013QF-7Y for ged-emacs-devel@m.gmane.org; Thu, 18 Jul 2019 16:56:00 +0200 Original-Received: from localhost ([::1]:38820 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1ho7p9-0001Vn-1j for ged-emacs-devel@m.gmane.org; Thu, 18 Jul 2019 10:55:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37567) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1ho7p5-0001V5-Ua for emacs-devel@gnu.org; Thu, 18 Jul 2019 10:55:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ho7p3-0004s7-U0 for emacs-devel@gnu.org; Thu, 18 Jul 2019 10:55:55 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:35521) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ho7p0-0004oh-D2; Thu, 18 Jul 2019 10:55:50 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 99E1B810F9; Thu, 18 Jul 2019 10:55:48 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 268E280D83; Thu, 18 Jul 2019 10:55:47 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1563461747; bh=XWqXRTb5rLLUIOaybLLm6Ae5crgr8i5BmnJU7Pa5wVQ=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=PHWQ1YaBlUlMAZlgMwclZ21VgdKsxuGehtjpa6nAuVCtSjnwFNUECCdCQQG+5FCFX cjMqYxaatiSml4SUFGg2DY+02Trjn6o4MxYpgFy7slYSqaj5nifuv6Jr0ezRjxjmpL jG9WUPyC441QSksYajxTdMlew/Vj2nihBwjFkVtNxcd5sp8tJrTGLc8YY4GyLJ7Bkw mI7WPNEpQuxaTEGSJg36XUTXlk27mypzx3hc9xFB0Vo8CPFHYSImNGrfqAUFqB9wMo xxxxJHQQDY6p4wl8b74QN9iOIAOC2ry7j0ooeACSMgRZ9TTft3y8l1+n4NXQdeUdaC lgfG5UtR3PHuQ== Original-Received: from alfajor (modemcable157.163-203-24.mc.videotron.ca [24.203.163.157]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 0EB61120397; Thu, 18 Jul 2019 10:55:47 -0400 (EDT) In-Reply-To: <87ftn3pgaq.fsf@gmx.de> (Michael Albinus's message of "Thu, 18 Jul 2019 16:29:17 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 132.204.25.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.org gmane.emacs.devel:238674 Archived-At: > That only works if (a) Tramp knows in advance what handler to call, > and (b) that handler is callable from Lisp. By virtue of being found via special-event-map, (b) should be satisfied in all cases: we have no way to save in Lisp data structures functions that are only callable from C. As for (a) you don't need to know it in advance: you can look it up in special-event-map, just like the C code does. Stefan