From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: phillip.lord@russet.org.uk (Phillip Lord) Newsgroups: gmane.emacs.devel Subject: Re: Unbalanced change hooks (part 2) [Documentation fix still remaining] Date: Tue, 30 Aug 2016 15:20:50 +0100 Message-ID: <87twe2cp8d.fsf@russet.org.uk> References: <20160811112951.GA2154@acm.fritz.box> <7e1478b6-cf00-fcbf-8c24-43bdaa57e2b6@dancol.org> <415d1cca-f32c-624e-a4be-9aadcf8a0f17@dancol.org> <83inujbpek.fsf@gnu.org> <83eg57bl8f.fsf@gnu.org> <5ee6ff4a-2d58-82f1-8e83-479c62f0b729@dancol.org> <837fazbjb4.fsf@gnu.org> <75100b15-d49f-5a1a-d73b-24db77c891bf@dancol.org> <831t17bged.fsf@gnu.org> <83shtn9e0z.fsf@gnu.org> <341353e9-8388-103b-7c45-3c2a667081c5@dancol.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1472566882 26306 195.159.176.226 (30 Aug 2016 14:21:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 30 Aug 2016 14:21:22 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: Eli Zaretskii , Stefan Monnier , emacs-devel@gnu.org To: Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 30 16:21:12 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bejuZ-00068y-S9 for ged-emacs-devel@m.gmane.org; Tue, 30 Aug 2016 16:21:11 +0200 Original-Received: from localhost ([::1]:49393 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bejuX-0001cJ-EV for ged-emacs-devel@m.gmane.org; Tue, 30 Aug 2016 10:21:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44834) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bejuO-0001bx-Ew for emacs-devel@gnu.org; Tue, 30 Aug 2016 10:21:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bejuK-0001GZ-NH for emacs-devel@gnu.org; Tue, 30 Aug 2016 10:21:00 -0400 Original-Received: from cloud103.planethippo.com ([31.216.48.48]:45271) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bejuG-0001EH-DO; Tue, 30 Aug 2016 10:20:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:Cc:To:From; bh=hRNWx9mmbCUzLsiW1u8q1jm6vG/qYdiIB0+L6mtRx9o=; b=PFnOk/cFDkv8cv3uSuHp1PZnFy 1MsTvnASNGdUrxupU8w7aAXZM0RdanLOuZiTn1GH8BxXLFGgMkCAu/yEAiWRVXFVdl16dCBbfZPUG 0v5d5NvYJCUtyskFTto0RAGsVn2GxfZfnVaxDLBktgT5Xha9GIJQixSuX1aDUn2jnEim1midlVAym 5I+QTlRit0XGDcg6JvZSKgzag+HKB9rQfnENoB8ZKsMSByYRNTBnVf6Znm2v0edU9pHrNcgm6SQDt ENI5zzMOMv8tf8XIrmU1ufIsafdNIhxZMqu8tOLgw2nKBYO4QZy5SKGKt51LX9m1zLLuALeGORCDu 0S/oipww==; Original-Received: from janus-nat-128-240-225-60.ncl.ac.uk ([128.240.225.60]:50705 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.86_1) (envelope-from ) id 1bejuF-001fgX-8O; Tue, 30 Aug 2016 15:20:51 +0100 In-Reply-To: <341353e9-8388-103b-7c45-3c2a667081c5@dancol.org> (Daniel Colascione's message of "Mon, 29 Aug 2016 19:54:52 -0700") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud103.planethippo.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - russet.org.uk X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id: phillip.lord@russet.org.uk X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@russet.org.uk X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 31.216.48.48 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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:206934 Archived-At: Daniel Colascione writes: > On 08/29/2016 07:38 PM, Eli Zaretskii wrote: >> I'm saying that flushing the entire cache in that case is not a >> problem, it's what needs to be done anyway. > > How is a mode supposed to know that it's supposed to flush its cache? I don't know that either and it would be lovely to know when. I've posted my heuristic earlier, which works for me but comes with no guarantees at all. https://lists.gnu.org/archive/html/emacs-devel/2016-08/msg00381.html