From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Reliable after-change-functions (via: Using incremental parsing in Emacs) Date: Mon, 30 Mar 2020 13:54:53 -0400 Message-ID: References: <83o8sf3r7i.fsf@gnu.org> <2E218879-0F24-4A20-B210-263C8D0BEEA4@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="20092"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Eli Zaretskii , emacs-devel@gnu.org, Andrea Corallo To: Yuan Fu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Mar 30 19:55:51 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jIydb-0005A3-CJ for ged-emacs-devel@m.gmane-mx.org; Mon, 30 Mar 2020 19:55:51 +0200 Original-Received: from localhost ([::1]:54400 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIyda-0004Bg-CL for ged-emacs-devel@m.gmane-mx.org; Mon, 30 Mar 2020 13:55:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39508) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIyd0-0003KZ-8p for emacs-devel@gnu.org; Mon, 30 Mar 2020 13:55:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jIycy-0007lo-ML for emacs-devel@gnu.org; Mon, 30 Mar 2020 13:55:13 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:52425) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jIycq-0007YY-Dt; Mon, 30 Mar 2020 13:55:08 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 64A6D100529; Mon, 30 Mar 2020 13:55:03 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id AB38F1004D8; Mon, 30 Mar 2020 13:54:54 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1585590894; bh=hSzMwa9tZjDcqOiWfzLkwhyUb83kkJSTKWexwt54he8=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=CAR5EHtmmE0aKGveIe3zb4IuwhdTpEUCH943z9Yd5Dzx6a02GzGlXDWCzM4e0sKIl 0A3UsQ7ll6SCh2SSBtHXRhBperpHUpTHAtiiLYYOCeOQytA1RugjtX5taLOfR9Cr+n D/O8ZOCYe84SOU7N87uW2secbHICtvi5IZQI+nyS3qLLSh1wqVuuUZUiDGiHnMjs/i QbaFp2gddbbf8+RkpuPKYhehnMqkSypnNTPuas4GXpBremXyn2BXOHmEg97bVC5iwc qjkCtinlCnatgxX62UIlgAmf4luwSq4oCtUtpZ8wIcHLpYvlhBvscYOzgYmpXHaVP1 XOrp0+VDne/lw== Original-Received: from alfajor (unknown [104.247.241.114]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 4DB0F120971; Mon, 30 Mar 2020 13:54:53 -0400 (EDT) In-Reply-To: <2E218879-0F24-4A20-B210-263C8D0BEEA4@gmail.com> (Yuan Fu's message of "Mon, 30 Mar 2020 13:14:02 -0400") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 132.204.25.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:246047 Archived-At: >> If they needed to be informed of the change but >> `inhibit-modification-hooks` prevented it, it's a bug. >> Please report it. > Do you mean it=E2=80=99s a bug in eglot/lsp-mode or it=E2=80=99s a bug in > inhibit-modification-hooks (or the code who set it to t)? The fact that they're not informed is the bug. So it's presumably not the fault of eglot/lsp-mode. Whose fault it is will depend on the details of the particular situation where it occurs. Stefan