From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id eH2LC87umWGdzAAAgWs5BA (envelope-from ) for ; Sun, 21 Nov 2021 08:01:34 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id oJsSB87umWHCYQAAbx9fmQ (envelope-from ) for ; Sun, 21 Nov 2021 07:01:34 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C35912A0DA for ; Sun, 21 Nov 2021 08:01:33 +0100 (CET) Received: from localhost ([::1]:45864 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mogqy-00067A-Ge for larch@yhetil.org; Sun, 21 Nov 2021 02:01:32 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49798) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mogq2-00066t-Fz for emacs-orgmode@gnu.org; Sun, 21 Nov 2021 02:00:35 -0500 Received: from [2607:f8b0:4864:20::1031] (port=44674 helo=mail-pj1-x1031.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mogpz-0005Vd-T6 for emacs-orgmode@gnu.org; Sun, 21 Nov 2021 02:00:33 -0500 Received: by mail-pj1-x1031.google.com with SMTP id o6-20020a17090a0a0600b001a64b9a11aeso12492215pjo.3 for ; Sat, 20 Nov 2021 23:00:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=hEfMjHNCbNc4+oL9+lgQtgaRF3/21dTPht1QOJqxhv4=; b=HOVF/rEIMsIrBTA5Fyhz5ZDx/SPpGZB3v1KETjbnJ/Q1jhMsIvWr0yesOr7AT3hvdO /iWbwWsT0Laz4Hd42ghbEtsqkzJnM+RmM5jOp5Y1yWpunQp8kbieZGMkDfzY7netJJ0C yYN9RI2JMjTPSvshQdcX2VrrPyKJcbJYI+xveJj/uA1vOWOORFDhoIgxFAkjHSpfh07U W5pTjncXTAtCRthL+adEAQ1masaTkEZUcL2GdK1pBEiPwHyeyaOxVm+zRH9Dg0CRarP+ vzkWrF1I6L6pxzxcdSYAW4Rp/3Dx81ybT5nb2ZQcjDZUI22wsN3/Mr2Rqj6lxa0IzJ0u /0RQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version:content-transfer-encoding; bh=hEfMjHNCbNc4+oL9+lgQtgaRF3/21dTPht1QOJqxhv4=; b=4oumIPlOFevo1jGM8AtFsv6gXBCY9DdgWmMqXUuq2A+QfsnSIhu19pfg4lyHIvf3P8 Creg6XO/3V8lAyGhbhexofnzJBiSiGYDNqLM8BkoKYsT1tocDZhX8oW1P4Y1wtvUPNXx N+kEd8s9q5ZwE83T5zpWIY4y5WjlTnc6M2jL0qzb708xS7Pc2m3iHKmRbA3ikh6Af2uq 1wwOcPHwtvF6J5Q9mMyo/RtlpTXaf01NJyTYphUYskibHHBmKnyWz22XHBq1wlwam4e5 g90rP/LzrAKevjtxkRhkCbTlzmonqmlQQKCO+d0BgeLnWpntmsElcAhMBl+SzZC4wr9F IaDQ== X-Gm-Message-State: AOAM531LVxU3c7r8+lI1kf30GPRbZn7VbIEFss6rzt+vsKjLylPjvd+w SgvSx8FgF4DSfJtjh7E4b2U= X-Google-Smtp-Source: ABdhPJxe3Tf1xUujcHTxqQW1oKlkCpxIQtJeArCZUrWKLrjWGnPAzPmnmMnUQFQ10JENVGzppXmyTQ== X-Received: by 2002:a17:90b:3887:: with SMTP id mu7mr18780992pjb.89.1637478030543; Sat, 20 Nov 2021 23:00:30 -0800 (PST) Received: from localhost (61-245-128-160.3df580.per.nbn.aussiebb.net. [61.245.128.160]) by smtp.gmail.com with ESMTPSA id c5sm1963748pgi.89.2021.11.20.23.00.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Nov 2021 23:00:29 -0800 (PST) References: <2cbf6d37-4622-65ba-5d04-65b47ec1327a@gmail.com> User-agent: mu4e 1.6.9; emacs 28.0.50 From: Timothy To: =?utf-8?Q?Cl=C3=A9ment?= Pit-Claudel Subject: Re: [PATCH] org-src: Reset buffer-modified-p after fontifying Date: Sun, 21 Nov 2021 14:58:13 +0800 In-reply-to: <2cbf6d37-4622-65ba-5d04-65b47ec1327a@gmail.com> X-Woof-Patch: applied Message-ID: <87r1ba6lit.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::1031 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::1031; envelope-from=tecosaur@gmail.com; helo=mail-pj1-x1031.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637478093; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=hEfMjHNCbNc4+oL9+lgQtgaRF3/21dTPht1QOJqxhv4=; b=ucksME6KhtoBXK/LI8Ls14q6BK2KYQPQs4BgxEVuVyMP5ScWNgolRgU9aWIZd1uNEXhtyB JpBAJ+eW7SHh8UkBctmqiZRnDnvT51f6/aRVklohYvHvSxzP76+rIKaHF1OnmC2TdLVxvR Sj60eIvQVr8RyZ9bLsJyygXtuXhw9zYvoNTDOUXOLo+dmAFuMTAofM0oRFdkbVyOWkh9k8 4mER7qVzQCJfVrsMKh0hc/7VLtkk6s3X2fHQUH+TZHaqvwVAuKYAk7WReASxhmor6mFAGq VfSoYrhMUDuxANnzE/FjJUluIHxiCgXlJRKAmy1GUguss4LbPEMxYnVbZXvBWw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637478093; a=rsa-sha256; cv=none; b=IkQqTfu521X2nC9aAojNnua5BlJwvHDvUX8LGagdFLnyGBQoAzgLEpAV/4Y5tkUHBSIPl1 jbF8i9cTCEvF90J5CPgN9QuDRD6YVAYuwnfcN/xHjd0jLWJcoaHyvVD2rXcDILAtOl3c2U nL9yG47NZmKWxiIgAezr0sQofVMbjM6auC/xuIobdBbMzw0mlVLgsUxSdJCqJOjOPTg6m6 ylinyLySE93FXGwxTmfDnI08DfDpnLfGZgACWMuiXWlmyAdiohHfClHYKhM4oe/Qb5rvT+ iXdt5CzxVZ3W75Y4H2WCHEdgME0/lAtrQIliELFhB4dvuVtpD7ICKr70a0InKA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="HOVF/rEI"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.08 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="HOVF/rEI"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: C35912A0DA X-Spam-Score: -4.08 X-Migadu-Scanner: scn0.migadu.com X-TUID: doQmRg73S51a Hi Cl=C3=A9ment, I've just had a look at your patch, and it seems very reasonable to me. Hence, I've just pushed it as ebd06c1 :) > Hi all, > > * lisp/org-src.el (org-src-font-lock-fontify-block): Reset the > modification flag of the temporary fontification buffer after > fontifying. > > Without this some modes cause Emacs to prompt about unsaved buffers > when exiting: `Save buffer *org-src-fontification:...-mode*?' > > (I'm seeing this with Proof General's coq-mode, specifically.) > > Cl=C3=A9ment. > > [2. text/x-patch; 0001-org-src-Reset-buffer-modified-p-after-fontifying.p= atch]... -- Timothy