unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tsdh@gnu.org>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 22736@debbugs.gnu.org
Subject: bug#22736: 25.0.91; file-notify calls wrong callbacks
Date: Sun, 21 Feb 2016 09:02:13 +0100	[thread overview]
Message-ID: <87y4aeze2i.fsf@gnu.org> (raw)
In-Reply-To: <87k2lzqzwr.fsf@gmx.de> (Michael Albinus's message of "Sat, 20 Feb 2016 14:23:00 +0100")

Michael Albinus <michael.albinus@gmx.de> writes:

Hi Michael,

>>> 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.

Ups.  I've tested it and got failures where (1) was expected but (1
. "fileX1234") was received which seemed correct. :-)

> I have modified them in order to use the mechanism from
> file-notify--test-event-handler.

Thanks!

Bye,
Tassilo





  reply	other threads:[~2016-02-21  8:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-18 19:04 bug#22736: 25.0.91; file-notify calls wrong callbacks Tassilo Horn
2016-02-18 20:09 ` Eli Zaretskii
2016-02-19  8:46   ` Michael Albinus
2016-02-19 22:59     ` Tassilo Horn
2016-02-20 13:23       ` Michael Albinus
2016-02-21  8:02         ` Tassilo Horn [this message]
2016-02-21  9:01           ` Michael Albinus
2016-02-21 16:02             ` Tassilo Horn
2016-02-22 17:58               ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y4aeze2i.fsf@gnu.org \
    --to=tsdh@gnu.org \
    --cc=22736@debbugs.gnu.org \
    --cc=michael.albinus@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).