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.bugs Subject: bug#11303: Whitespace mode causes auto-save to malfunction Date: Fri, 16 Jul 2021 14:06:46 +0200 Message-ID: <878s26a2eh.fsf@gnus.org> References: <1335001776.57750.YahooMailClassic@web121502.mail.ne1.yahoo.com> <87r1fya2wv.fsf@gnus.org> <831r7y5uyv.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="21988"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 11303@debbugs.gnu.org, kellydeanch@yahoo.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 16 14:07:21 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1m4Mci-0005Zz-UV for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 16 Jul 2021 14:07:20 +0200 Original-Received: from localhost ([::1]:38666 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m4Mch-0003es-1t for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 16 Jul 2021 08:07:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42194) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m4McR-0003eb-1g for bug-gnu-emacs@gnu.org; Fri, 16 Jul 2021 08:07:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39148) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m4McQ-00023Q-QE for bug-gnu-emacs@gnu.org; Fri, 16 Jul 2021 08:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m4McQ-0000tN-I9 for bug-gnu-emacs@gnu.org; Fri, 16 Jul 2021 08:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Jul 2021 12:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11303 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 11303-submit@debbugs.gnu.org id=B11303.16264372183418 (code B ref 11303); Fri, 16 Jul 2021 12:07:02 +0000 Original-Received: (at 11303) by debbugs.gnu.org; 16 Jul 2021 12:06:58 +0000 Original-Received: from localhost ([127.0.0.1]:50694 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m4McL-0000t4-SY for submit@debbugs.gnu.org; Fri, 16 Jul 2021 08:06:58 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:40500) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m4McJ-0000sq-W1 for 11303@debbugs.gnu.org; Fri, 16 Jul 2021 08:06:56 -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=VrNY8pZGIlWz8RqdR6KPONNnmKuUdpRRrOqz0Pn+4Kg=; b=EF6UctbdV9i99CGLFgW84fmiwn ft9a0Ge0kjwl5HGSRET1JmIgPAhPaDZB1qGTZz7R8Amy1knoxHGfTM0sjHQka+PXVmnJTK3DNUe+I atTj7PhqmDMukLFdC+Sg5Sui5jZBrB2qtpXbqb4aKIzMpcSze4qp69Yez5AuwwFM2xpA=; Original-Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m4McA-00044q-TZ; Fri, 16 Jul 2021 14:06:49 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAG1BMVEWFEReKKiilnJGS WVRyDxNgIx4qJR56hHn///9MMD0NAAAAAWJLR0QIht6VegAAAAd0SU1FB+UHDwcICzpaqdIAAAGU SURBVDjLddHBUuMwDAZgZUju0TbhAWCmPZelu1czyD3HOM6dqWMegAOvj2S7JS6pD53WX35JUQHK g/HAn0eADe6vAeDuAeDpgT9qle4rh9hCgs1ffgKGDCjQJoiPnBO4kUoR0skAhqH6DVWLsdbvBBpc LyUAqVS+cTxyrVTjuQUuYVJ0DN40I0O7hKPSIcxDbzoZaglDwwD3JvYWIEXyrfF1CD5thCOvDEQS qgOXer+fGZAXlyBGjkHOUGFbldDI/dzKFutLKTonnJKN1KBygpsogdm2e1nJpRQXUxPDZJ1ssf0B UDxsOAX3abCrgH4SsVI4/ft8R6j59wVojtN+nSwiFTDGxO602SO9LEAPU4zMThKwAr0xRPUCKN4H ezCu6DHlwMejNgWMCUL4r/sS8v3But4V4NPavdVuDbbe9lc9xnOiH8s3dwIf28EeSnCjTn+t7Yi6 AtIbDq/PVCR0BnLPssMF+Ay64/WUCenuBa5LcWSWwUuIGMZ1oBDnW4G8g1XQ+gbQRLdKZdjdgLft Ouin8A0rqO3Ehwu7/gAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMS0wNy0xNVQwNzowODoxMSswMDow MKgM0qoAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjEtMDctMTVUMDc6MDg6MTErMDA6MDDZUWoWAAAA AElFTkSuQmCC X-Now-Playing: Doms & Deykers's _Fabric 94: Steffi_: "No Life on the Surface" In-Reply-To: <831r7y5uyv.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 16 Jul 2021 15:00:56 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:210089 Archived-At: Eli Zaretskii writes: > The OP's recipe includes C-g, which could mean we lack an > unwind-protect somewhere, and the buffer stays modified due to changes > in faces. The C-g isn't necessary to reproduce the issue. > The fact that changes in faces cause the buffer become eligible for > auto-saving is not a bug, IMO, it's a feature. It's pretty annoying when using whitespace-mode -- which changes the text properties all the time when you move around in the buffer (without modifying the buffer). It's not really that much of an issue elsewhere, where font lock changes usually only happen when you actually edit the buffer. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no