From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: master e8488bcc9c: Avoid having font locking triggering unnecessary auto-saving Date: Mon, 09 May 2022 14:37:00 +0200 Message-ID: <87fsli7uhf.fsf@gnus.org> References: <165191796540.22789.3432288633082546349@vcs2.savannah.gnu.org> <20220507100605.B7CA7C051FF@vcs2.savannah.gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17899"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon May 09 14:56:20 2022 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 1no2w0-0004PD-HN for ged-emacs-devel@m.gmane-mx.org; Mon, 09 May 2022 14:56:20 +0200 Original-Received: from localhost ([::1]:43906 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1no2vz-0000ZB-Ch for ged-emacs-devel@m.gmane-mx.org; Mon, 09 May 2022 08:56:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60414) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1no2dU-0002hU-Pa for emacs-devel@gnu.org; Mon, 09 May 2022 08:37:12 -0400 Original-Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:59726) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1no2dS-0007Yd-Kh for emacs-devel@gnu.org; Mon, 09 May 2022 08:37:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=lrcCiwJQEm2wNUzxCI0Adtg+qawDkTtqtbDIgE/SUQA=; b=lOWZS4P9wclBXEmjy1LtkoozxG tai8VWdtqi1oWWB9421S2PrW2EC+pCM9iMlBIs/J+zwumaGi5MHY6NI8cEU89rMrWHMDJgrPJnNU3 FSogV0GQGJopMnxdWgW7OnWX6Lxh10joTKcjbkYnXPi9Wbb8YNzsG/lcFSwD66Qs3VJc=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1no2dJ-0005of-GN for emacs-devel@gnu.org; Mon, 09 May 2022 14:37:05 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEXZ26hQgaEwSGD8 /NsHBgv///+ct3QrAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+YFCQwZEtiCs/EAAAGISURBVDjLfZML csQgCIZRLyC4Bwg0BzDrBVrH+5+poHmYdLZM1sn+nyACAVDDSHgZ+8VECBngBnACeDMfO8gluztw HRSArhPbGvWPyUFVkr6rNdGXVDLbLxSQVRVhag13ELI30FqrD1A8DqAIqVU7KpQNQxYsB0hviaVb xjIBCZ7LDlgfAzUCVQafDhDL1oEJxJHCAZYdFFW2O3gP0ONGdOEEHuMFRk5hAn0j4XF2yV+TR8FP YJR0dOcO4tWMpP4n2KY2pTwB/w84xyHYBJQ80vW4WilFdE1W/uwBxz1ebbeaHCNvFcRuS9oo1Wz5 CQ4de4G6WBERVWMLyMklv7xWaNpjjUprFUaqmpUHiWsDDZo1qurqoZ0XLbSAgbZk5n5GW21i9F1U 1ecn28jJkVYT5AFqUEDtAnKARNN+i7a4ASLROoF2gVGLyxbfQZPb/gn8se9PoH4Erw/AbJ/2Z14z eOS2fzhi3+ztmrsH9g6DWx+A8RhQuoGK4Rzd1ww4ltOcXGByUBc/wC89WLzcTNIETQAAACV0RVh0 ZGF0ZTpjcmVhdGUAMjAyMi0wNS0wOVQxMjoyNToxOCswMDowMH1uRFcAAAAldEVYdGRhdGU6bW9k aWZ5ADIwMjItMDUtMDlUMTI6MjU6MTgrMDA6MDAMM/zrAAAAAElFTkSuQmCC X-Now-Playing: Peter Gabriel's _Peter Gabriel 4_: "Lay Your Hands On Me" In-Reply-To: <20220507100605.B7CA7C051FF@vcs2.savannah.gnu.org> (Lars Ingebrigtsen's message of "Sat, 7 May 2022 06:06:05 -0400 (EDT)") Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:289525 Archived-At: Lars Ingebrigtsen writes: > * lisp/subr.el (with-silent-modifications): Use it to restore the > ticks (bug#11303). Hm, this had one unintended consequence, apparently -- in a mode I have that inserts image thumbnails (using with-silent-modifications when slapping a 'display property over some text), the buffer wasn't updated afterwards... So perhaps this needs a rethink, or (at least) documentation. But it's slightly unusual -- it's running very asynchronously, so there's no user input while it's fetching the images from the net. (Once I do anything in Emacs, it updates the window.) Is that why the effect isn't noticeable with normal font locking? Hm... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no