From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Zhang Haijun Newsgroups: gmane.emacs.bugs Subject: bug#35418: [PATCH] Don't poll auto-revert files that use notification Date: Wed, 1 May 2019 03:10:20 +0000 Message-ID: References: <87tvegt1ip.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="97325"; mail-complaints-to="usenet@blaine.gmane.org" Cc: "35418@debbugs.gnu.org" <35418@debbugs.gnu.org> To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 01 05:11:25 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hLfeW-000P16-8S for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 May 2019 05:11:24 +0200 Original-Received: from localhost ([127.0.0.1]:60919 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLfeV-0001Na-1L for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Apr 2019 23:11:23 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46422) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLfeM-0001NO-Aa for bug-gnu-emacs@gnu.org; Tue, 30 Apr 2019 23:11:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hLfeF-0006r7-IR for bug-gnu-emacs@gnu.org; Tue, 30 Apr 2019 23:11:11 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57719) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hLfeC-0006qL-I4 for bug-gnu-emacs@gnu.org; Tue, 30 Apr 2019 23:11:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hLfeA-0006bT-Ca for bug-gnu-emacs@gnu.org; Tue, 30 Apr 2019 23:11:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Zhang Haijun Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 May 2019 03:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35418 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 35418-submit@debbugs.gnu.org id=B35418.155668023525352 (code B ref 35418); Wed, 01 May 2019 03:11:02 +0000 Original-Received: (at 35418) by debbugs.gnu.org; 1 May 2019 03:10:35 +0000 Original-Received: from localhost ([127.0.0.1]:43030 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hLfdj-0006ap-6s for submit@debbugs.gnu.org; Tue, 30 Apr 2019 23:10:35 -0400 Original-Received: from mail-oln040092254031.outbound.protection.outlook.com ([40.92.254.31]:22976 helo=APC01-PU1-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hLfdg-0006aa-BH for 35418@debbugs.gnu.org; Tue, 30 Apr 2019 23:10:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+lah9roQTN+lkMCkEohRs2CkZXKELmHlwsDU5nmaA9k=; b=LT5nMn4UdYUebjkdp8gPIhecBSz2Zcg1B9aoLw3uhPZZ8kOkdORpYUjp6+WCCC8UxZkxHYfJ+8f3qzmQnuISQoxEyXdPuP6OkBuTI7ST8VNJEGMhkvxYDm78d41D+u7yv/M4Xg9adha6QiyutElS9V7kK3P47Qg28OJSjpW66UhIbU4N4eMO64W6WRC2Ba1iOi8JBjnTqKM+2dmwuQo2+/4TQUQg5+iNxru/77Y0ULNZW6ugoMfTSgUlE14jXfbE6H1M+kVWMWqlNT4Z29sDWtV3VebjkwP5yQuBrAnmjaK7LSCQs4wFti6OWr6GLUJywSGjBF0zSUXdeLPeEXwiow== Original-Received: from SG2APC01FT062.eop-APC01.prod.protection.outlook.com (10.152.250.54) by SG2APC01HT223.eop-APC01.prod.protection.outlook.com (10.152.251.199) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1835.13; Wed, 1 May 2019 03:10:20 +0000 Original-Received: from PS1PR06MB2759.apcprd06.prod.outlook.com (10.152.250.55) by SG2APC01FT062.mail.protection.outlook.com (10.152.251.161) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1835.13 via Frontend Transport; Wed, 1 May 2019 03:10:20 +0000 Original-Received: from PS1PR06MB2759.apcprd06.prod.outlook.com ([fe80::3c3b:be45:a6af:3d86]) by PS1PR06MB2759.apcprd06.prod.outlook.com ([fe80::3c3b:be45:a6af:3d86%4]) with mapi id 15.20.1835.018; Wed, 1 May 2019 03:10:20 +0000 Thread-Topic: bug#35418: [PATCH] Don't poll auto-revert files that use notification Thread-Index: AQHU/vCBHkd3xAerUE++lxqH2WqSdKZUSLp7gAFA1ICAAAxsAIAAAuwA In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: en-US x-clientproxiedby: HK0PR01CA0028.apcprd01.prod.exchangelabs.com (2603:1096:203:3e::16) To PS1PR06MB2759.apcprd06.prod.outlook.com (2603:1096:803:46::13) x-incomingtopheadermarker: OriginalChecksum:89908B3B9E27747F34973B8C00B1919E09FA4B14F780430714083EF9E381E234; UpperCasedChecksum:97D7178182ECE71553BED0A4CF070F031CFA5982A601C4D2056D55D43D2B7967; SizeAsReceived:7839; Count:50 x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: Apple Mail (2.3445.9.1) x-tmn: [H0FOJWmg2yKlF3gzBADGc4Q5VHfYZ5x/] x-microsoft-original-message-id: <4959CC85-F30F-4139-849A-22B1E7E7867C@outlook.com> x-ms-publictraffictype: Email x-incomingheadercount: 50 x-eopattributedmessage: 0 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(5050001)(7020095)(20181119110)(201702061078)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031323274)(2017031324274)(2017031322404)(1601125500)(1603101475)(1701031045); SRVR:SG2APC01HT223; x-ms-traffictypediagnostic: SG2APC01HT223: x-microsoft-antispam-message-info: kJAbWhZsn81vbNFsLdK0lZ0oa7yc7P3ICMlLu7PylYTUv8McBsxETXW96EZn3zJT3YZsE1OIWOdAm/jQ1uJBGvDsaxpuwdINK5Hw5Hf6RJeBRdOiHWXRFJr7G46rTQULvh2LTquXMLiP2faKV+HRlYvT/BIch1BC2yu7WN9Vu3mnqCY1n94ynCksQLBGgIwo Content-ID: <797956E4854BAF49B4701C4B8045E6C4@apcprd06.prod.outlook.com> X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 6c956bbe-654a-4414-0964-08d6cde28b5d X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 May 2019 03:10:20.5748 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2APC01HT223 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: 209.51.188.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" Xref: news.gmane.org gmane.emacs.bugs:158564 Archived-At: SWYgYm90aCBmaWxlIHdhdGNoaW5nIGFuZCBkaXJlY3Rvcnkgd2F0Y2hpbmcgYXJlIHVzZWQgZm9y IG9uZSBmaWxlLCBpdCB3aWxsIHdvcmtzIGZvciBhbGwgdXNlIGNhc2VzLg0KDQo+INTaIDIwMTnE 6jXUwjHI1aOsyc/O5zEwOjU5o6zVxbqjvv0gPGNjc21pbGUyMDA4QG91dGxvb2suY29tPiDQtLXA o7oNCj4gDQo+IEkgaGF2ZW6hr3QgcnVuIHRoZSB0ZXN0IGJlZm9yZS4gSXQgc2VlbXMgdGhhdCBk aXJlY3Rvcnkgd2F0Y2hpbmcgZG9lc26hr3Qgd29yayBmb3IgZmlsZSBjb250ZW50IG9ubHkgY2hh bmdlLiBCdXQgaXQgd29ya3MgZm9yIG1hbnkgY29tbW9uIHVzZSBjYXNlcyB3aGlsZSBmaWxlIHdh dGNoaW5nIGRvZXNuoa90IHdvcmsuDQo+IA0KPiAxLiBVc2UgdmltIHRvIG1vZGlmeSB0aGUgZmls ZSBhbmQgc2F2ZS4gSXQgc2VlbXMgdGhhdCB2aW0gd2lsbCB3cml0ZSB0byBhIHRlbXAgZmlsZSwg dGhlbiByZW1vdmUgdGhlIG9yaWdpbmFsIGZpbGUgYW5kIHRoZW4gcmVuYW1lIHRoZSB0ZW1wIGZp bGUgdG8gb3JpZ2luYWwgZmlsZSBuYW1lLg0KPiAyLiBVc2UgZ2l0IHRvIHN3aXRjaCBicmFuY2gu DQo+IDMuIEZvciBmaWxlcyBpbiBhIHNvZnQgbGluayBkaXJlY3RvcnkuDQo+IA0KPiBTbyBkaXJl Y3Rvc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