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 18:45:47 +0200 Message-ID: <87v8ue3b9g.fsf@gnus.org> References: <165191796540.22789.3432288633082546349@vcs2.savannah.gnu.org> <20220507100605.B7CA7C051FF@vcs2.savannah.gnu.org> <87fsli7uhf.fsf@gnus.org> <87bkw67rru.fsf@gnus.org> <8735hi7r7k.fsf@gnus.org> <87ilqe4roc.fsf@gnus.org> <83levau0r4.fsf@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="24490"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon May 09 18:47:07 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 1no6XL-0006Ai-Cu for ged-emacs-devel@m.gmane-mx.org; Mon, 09 May 2022 18:47:07 +0200 Original-Received: from localhost ([::1]:54652 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1no6XK-0001zD-6U for ged-emacs-devel@m.gmane-mx.org; Mon, 09 May 2022 12:47:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34442) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1no6WD-0001Cq-TN for emacs-devel@gnu.org; Mon, 09 May 2022 12:45:57 -0400 Original-Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:34176) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1no6WC-00022Y-6y; Mon, 09 May 2022 12:45:57 -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:Cc:To:From:Sender:Reply-To: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=YLELfHEFjCBVqnMed73OVQaBSkZNw6SnWyYr9JE0TTw=; b=fZn64eR5wSW+5nd4gRZnh0g5+o SpVD5LXCQ8Q3Cp0bK7AFzgY5gmCv+5T1IWKeplH57pIKUrtHBbCOO62g5xje6v7ezzQgIaR3bXylY aQwU8uv43K13x1WzAlM3y05U/md6PXVzxFtJr7n5KRXLsfWZSSxO0ulLlgllJ72Ubr10=; 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 1no6W6-0007to-8H; Mon, 09 May 2022 18:45:52 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAGFBMVEVYQzpmXViKe3BK LB8tIBqtnZQtGQ/////WlcnBAAAAAWJLR0QHFmGI6wAAAAd0SU1FB+YFCRAtFJ/3vycAAAGtSURB VDjLZVLLjoQgEGyXzZ6FZO4riXeTNtw3Eu87yXwBhP//hO0HIM52HEe7uooqEIDLWv4N5TxscJXl gQkmKw+mdmfgzlwnZtgQzcBSgGiA3MV/CPUYMYyYjVSnee6A3A0NTH2aFzaCIMa4iSfxoAwqoP7R kkxWgIh7pDYRADRBTUPt/cB4sOKYXVwJhJXgK1DDsa2upGpNAW59C2/vFzBXgltufcmqFO/8MgK3 01lugPN+fXF574c16F3bWs/lAmo1uOox4Flk9fRnPbVVD56vp33YeWVo5elV7hYsSTwWI5YdrVFd eLELHwaFv/rmzMkOfrhv8yNBWqLF8ul+Pl6/JfNuckTHHAIKVYKvohV7Qeuc5Sp+huGZ6kh8mDE2 IOkdk3wzMZ6ZgYT7KVhKgdq7LJHhLDnwONKVCmKIBxFilUKkK6G4yNyPJ3T1ELrBy24gfWwech4A ZmBBBa6AqQQWK2FIr0DgAEEZeQSKAEGAdA4A6VA4lcrvUiGNSzQpSt1j3LYdGQgyk+teKUNMDSkG KQ1XQt55u66AlUFHQJxMjqEenXhKZ+JtE6k/GJPjGhYGkLAAAAAldEVYdGRhdGU6Y3JlYXRlADIw MjItMDUtMDlUMTY6NDU6MjArMDA6MDDoAq0GAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTA1LTA5 VDE2OjQ1OjIwKzAwOjAwmV8VugAAAABJRU5ErkJggg== X-Now-Playing: Depeche Mode's _A Broken Frame_: "The Sun And The Rainfall" In-Reply-To: <83levau0r4.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 09 May 2022 19:30:39 +0300") 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:289540 Archived-At: Eli Zaretskii writes: > I don't see any Lisp comparing the return value to t, and only one > place in C which might need some change due to this, so I think > returning non-nil, non-t value from buffer-modified-p is a better way. Okidoke; I'll modify these functions (and the macro) as discussed, then. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no