From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.bugs Subject: bug#21435: 25.0.50; file-notify has problems after renames Date: Wed, 09 Sep 2015 08:13:15 +0200 Message-ID: <87vbbkazno.fsf@gnu.org> References: <87y4gh47sr.fsf@gnu.org> <83k2s07vaf.fsf@gnu.org> <87wpw0g2ar.fsf@gnu.org> <831te87m7p.fsf@gnu.org> <87oahcg0bd.fsf@gnu.org> <83zj0w5na1.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1441779265 29247 80.91.229.3 (9 Sep 2015 06:14:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Sep 2015 06:14:25 +0000 (UTC) Cc: 21435@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 09 08:14:13 2015 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 1ZZYe2-0003zK-TF for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Sep 2015 08:14:11 +0200 Original-Received: from localhost ([::1]:39943 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZYe3-000449-3V for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Sep 2015 02:14:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43171) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZYdy-00043i-8Y for bug-gnu-emacs@gnu.org; Wed, 09 Sep 2015 02:14:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZZYdv-0003F7-0C for bug-gnu-emacs@gnu.org; Wed, 09 Sep 2015 02:14:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:32785) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZYdu-0003F3-SY for bug-gnu-emacs@gnu.org; Wed, 09 Sep 2015 02:14:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZZYdu-0008Pj-F9 for bug-gnu-emacs@gnu.org; Wed, 09 Sep 2015 02:14:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tassilo Horn Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Sep 2015 06:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21435 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21435-submit@debbugs.gnu.org id=B21435.144177920232287 (code B ref 21435); Wed, 09 Sep 2015 06:14:02 +0000 Original-Received: (at 21435) by debbugs.gnu.org; 9 Sep 2015 06:13:22 +0000 Original-Received: from localhost ([127.0.0.1]:53228 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZZYdG-0008Og-Dz for submit@debbugs.gnu.org; Wed, 09 Sep 2015 02:13:22 -0400 Original-Received: from out4-smtp.messagingengine.com ([66.111.4.28]:48961) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZZYdE-0008OY-55 for 21435@debbugs.gnu.org; Wed, 09 Sep 2015 02:13:21 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 6231220A2F for <21435@debbugs.gnu.org>; Wed, 9 Sep 2015 02:13:18 -0400 (EDT) Original-Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Wed, 09 Sep 2015 02:13:18 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=lHimtdQ0OFD5cpKIGud7/K8YJp8=; b=lrU00 /ftRVryp2DPMT7g5Mq7777IPbtCybd8YIy4jPPONYtL0yl6Agg0KatLB/MzaUVWf Hqh7G91RH9TD9eaYMtqF6PWsBh25SHYIroMfKEqNlpxUVnePq/7CrHrXrNrCTDCm jRnkNkBpZrWlcCCTNZ5XvJqnYYZwY3IGlbTw0Q= X-Sasl-enc: w5PsGxmcHbP/KJnYktMaVQ6y+GRrEoJKlPMAhBt7bz+P 1441779197 Original-Received: from thinkpad-t440p (unknown [2.161.206.107]) by mail.messagingengine.com (Postfix) with ESMTPA id AA9C16800F7; Wed, 9 Sep 2015 02:13:17 -0400 (EDT) In-Reply-To: <83zj0w5na1.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 09 Sep 2015 05:39:34 +0300") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:106284 Archived-At: Eli Zaretskii writes: >> But just typing in "info locals" in the *gud-bootstrap-emacs* buffer is >> about the same, no? And that shows >> >> event = {kind = FILE_NOTIFY_EVENT, part = scroll_bar_nowhere, code = 0, >> modifiers = 0, x = 0, y = 0, timestamp = 0, frame_or_window = 0, arg = 0} >> >> whereas the relevant line in the locals GUD window is just >> >> struct input_event event nil >> >> So that looks like a bug. I guess I should report this, or will you fix >> this right now? > > Please report it, with a test case. A C struct can never be nil, so > this is a clear bug. Done: bug#21438. But it actually seems to be intentional. GUD uses the --simple-values option when getting the values of the locals, and then all variables of complex types have no value and nil is printed. Well, in the report I suggest to use something like instead to make it obvious that the value is not nil but simply not displayed. Bye, Tassilo