From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#22736: 25.0.91; file-notify calls wrong callbacks Date: Sat, 20 Feb 2016 14:23:00 +0100 Message-ID: <87k2lzqzwr.fsf@gmx.de> References: <877fi1x2k7.fsf@gnu.org> <83a8mxu6fl.fsf@gnu.org> <87d1rt5bpc.fsf@gmx.de> <874md4z4pt.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1455974670 29297 80.91.229.3 (20 Feb 2016 13:24:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 20 Feb 2016 13:24:30 +0000 (UTC) Cc: 22736@debbugs.gnu.org To: Tassilo Horn Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 20 14:24:15 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1aX7WA-0004vH-05 for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Feb 2016 14:24:14 +0100 Original-Received: from localhost ([::1]:32843 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aX7W5-0005Sl-Tk for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Feb 2016 08:24:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48324) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aX7W1-0005Sc-RU for bug-gnu-emacs@gnu.org; Sat, 20 Feb 2016 08:24:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aX7Vy-0001kM-JB for bug-gnu-emacs@gnu.org; Sat, 20 Feb 2016 08:24:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37580) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aX7Vy-0001kI-Fw for bug-gnu-emacs@gnu.org; Sat, 20 Feb 2016 08:24:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aX7Vy-0005hU-Bg for bug-gnu-emacs@gnu.org; Sat, 20 Feb 2016 08:24:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <877fi1x2k7.fsf@gnu.org> Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 20 Feb 2016 13:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22736 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22736-submit@debbugs.gnu.org id=B22736.145597459021853 (code B ref 22736); Sat, 20 Feb 2016 13:24:02 +0000 Original-Received: (at 22736) by debbugs.gnu.org; 20 Feb 2016 13:23:10 +0000 Original-Received: from localhost ([127.0.0.1]:34707 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aX7V8-0005gP-9T for submit@debbugs.gnu.org; Sat, 20 Feb 2016 08:23:10 -0500 Original-Received: from mout.gmx.net ([212.227.17.21]:55338) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aX7V6-0005g3-0d for 22736@debbugs.gnu.org; Sat, 20 Feb 2016 08:23:08 -0500 Original-Received: from detlef.gmx.de ([79.195.9.91]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0MEbYb-1aiMxg1zYH-00Figu; Sat, 20 Feb 2016 14:23:01 +0100 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-Provags-ID: V03:K0:YcBSkrtT14/GyWr4INFQvlevZGKWEojEqPSiRp2Iq8JRLoFz0zi kgMQoT52+xDW8mtdvkHkVyZOuGx00DCQIxn6nixJDrSE6iEWlnpKELjnyUSHWI1ug3AQfFI DxxHAvAuqgRkKwN5egLKqtdLJmcSdRLzwbrNA2djw2Ud8Hi4SHsakvxIdBjQqcmsN5/FwfG yfzC+K3+Y3bFWVb68qtxA== X-UI-Out-Filterresults: notjunk:1;V01:K0:6NeEw21h+t0=:GQGdRshDpDc2w264EXtrwY 6ZiXApqrSJSCYCwETWoYd096clS8JN4YO4orGwe26iS0XF3kTo3ToeuenPBjBT98OztKHQdc9 8NCWKzIYkIwnLUU4jCPptBxAf5x68MmW05saEc4xoWEbH5+8x+IfdhIUbWk887b/3EpOJWqF7 /TNzDoZGQkbYaO+mrRhiB9oDjHzkKecU8uG4WnQvlujJvXSoFdHuBmibK5ypuf16e/xkJ/DwV JSaFoDbmtTWuMW2I/nvGV5dYsKY2qhakvYY9PVxgZLzdk++YdYcJF9ALlM5VS5d22xWBI5gZr V1eWt1ZW3VFCSgCiOaxU8T68OHQ7mK6d8VV4xw9IeOZ3A47boRjuYT2ipJf6+F4wLZcWbW9W6 PlJAdIvnRgvRIqhTQ6ExmG7IT0pNhDNQ2fwD2uG7DwlGM7qo+zqRtw2ppCurahqb5xdSguabx ONYNbf+b3YZuWlIS+6jcxpza+cXdd0bqgVbKqfDmuc1wS+asIWo83FOkqBHl03/SkojwHRzGW CTg7LPd8gN6ADkMyNNxTP87CvJAyWM8fMJuf42DbPMhu9b+flon3fu5pIbEG+bThkWwyKvtYc V4IEGdMk4hwpVAv8KSYLlYqooEENvB+KmCnEqft33GISDMHd8SXuXPF12mkp+ciVMPZGL6v7B Na84J7CEoY5CwvOn1OaWu83HRMo05Fd6X9PRQgeHdo1vfjKpS2cyrS6l+jtLDbHGeRRiotVaJ 3pX4ppUTQRy9xdy9yWDoyEso63ZMJ0jEIRxP5esceJU9SeaPuaJi5mpXI13lHgCIOuNqH4Mx X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:113362 Archived-At: Tassilo Horn writes: Hi Tassilo, >> Tassilo, would you be willing to write an ert test case for the problem? > > Sure, I'm already working on it. :-) Thanks for the patch. I have modified it a little bit, the major problem was that your (should ...) forms in the two callbacks have no effect, because the callbacks run out of the scope of the ert test. I have modified them in order to use the mechanism from file-notify--test-event-handler. I'll continue to check what's up. > Bye, > Tassilo Best regards, Michael.