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 15:42:08 -0400 Message-ID: References: <83o8sf3r7i.fsf@gnu.org> <2E218879-0F24-4A20-B210-263C8D0BEEA4@gmail.com> <87o8sdn0ot.fsf@gmail.com> <09E90C25-6119-44D4-85F2-A9CC4196FFE4@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="93129"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Eli Zaretskii , Andrea Corallo , =?utf-8?B?xaB0xJtww6FuIE7Em21lYw==?= , emacs-devel To: Yuan Fu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Mar 30 21:43:19 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 1jJ0Jb-000O8c-3e for ged-emacs-devel@m.gmane-mx.org; Mon, 30 Mar 2020 21:43:19 +0200 Original-Received: from localhost ([::1]:55626 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJ0Ja-0006MM-4d for ged-emacs-devel@m.gmane-mx.org; Mon, 30 Mar 2020 15:43:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57808) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJ0IZ-0005Cv-WC for emacs-devel@gnu.org; Mon, 30 Mar 2020 15:42:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jJ0IY-0001JO-Qp for emacs-devel@gnu.org; Mon, 30 Mar 2020 15:42:15 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:18148) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jJ0IW-0001EX-6Z; Mon, 30 Mar 2020 15:42:12 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id CA7B2100596; Mon, 30 Mar 2020 15:42:11 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id F32F71004F4; Mon, 30 Mar 2020 15:42:09 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1585597330; bh=J+ghsTmdqoQSMu+AaoYpVsYO6YEOoU2ZhKE0m03Zzgk=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=JNeAwEdA6C1nXnjYcWXw9II5L4yaCpq+Td0imf+0iKn19AV+1uBHijktNSQSR00oG nfTEXMJ+67PBIqIdzVNJzHvgEqdtSiACyzac8hbr6FZAZxos69X/+UZYx1LHGnEWfX zZrdoy1BvEfD7Z4MQqtpt2GRjQudqHnMgN5heVq+hxhGgV1Zrv+cDdr6yQ9B7e62oB 8qVwy7SsbHC2BjhYU1g5rPiIsWoQetqzpBpwIzwzBb0kAdjE1zg00GJzQIa9gvkjKp 8c3zdTDhZMWjg0FDqaZVBQ/vTar3cxzePe5E7bqBCsee7RKul1TJLtmcYv1JdzlEWA Kr3fXANfu/15A== Original-Received: from alfajor (unknown [104.247.241.114]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 7B73F1208C1; Mon, 30 Mar 2020 15:42:09 -0400 (EDT) In-Reply-To: <09E90C25-6119-44D4-85F2-A9CC4196FFE4@gmail.com> (Yuan Fu's message of "Mon, 30 Mar 2020 15:02:58 -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:246068 Archived-At: >>> https://gitlab.com/stepnem/stripes-el/-/issues/1#note_309176403 >>> (In short, `dired-readin' binds `inhibit-modification-hooks' to t, so >>> the buffer changes caused by populating dired buffers are not noticeable >>> in `after-change-functions'.) >>> I was wondering if I should report it as a bug, despite the workaround >>> not being particularly painful in this case (there's `dired-after-readin-hook'). >> I think it deserves a bug report, yes. > Is it really a bug of dired-mode? Just file the bug report and send me the bug number so I can include it in the commit of the fix I have here ready to be installed. Stefan "if you have to wonder if it's a bug, then file it as a bug"