From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Heime via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#59828: Fundamental Mode buffers fail to keep text properties Date: Mon, 05 Dec 2022 15:06:09 +0000 Message-ID: References: <79BF9F38-3659-4524-939A-FCC01B365AC1@gmail.com> <0xeVYP92LV_zQ_oc9utYgvwC9Vu3W9vtmD1M3kux504wR67YUTGqr9ERTsjoE_0sspzFl9Sh5Fgy4ieCvJVK2Rrlb02YYz5jJZGe33ERLeQ=@protonmail.com> <83zgc281d6.fsf@gnu.org> <83lenl9al6.fsf@gnu.org> <83edtd99p2.fsf@gnu.org> Reply-To: Heime Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26569"; mail-complaints-to="usenet@ciao.gmane.io" Cc: casouri@gmail.com, 59828@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 05 16:08:33 2022 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 1p2D56-0006gr-Or for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 05 Dec 2022 16:08:32 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p2D4i-00089M-Cq; Mon, 05 Dec 2022 10:08:20 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p2D3g-000869-H9 for bug-gnu-emacs@gnu.org; Mon, 05 Dec 2022 10:07:22 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p2D3e-0005qf-Hd for bug-gnu-emacs@gnu.org; Mon, 05 Dec 2022 10:07:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p2D3e-0004Cu-Ck for bug-gnu-emacs@gnu.org; Mon, 05 Dec 2022 10:07:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Heime Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 05 Dec 2022 15:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59828 X-GNU-PR-Package: emacs Original-Received: via spool by 59828-submit@debbugs.gnu.org id=B59828.167025278716151 (code B ref 59828); Mon, 05 Dec 2022 15:07:02 +0000 Original-Received: (at 59828) by debbugs.gnu.org; 5 Dec 2022 15:06:27 +0000 Original-Received: from localhost ([127.0.0.1]:36578 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2D34-0004CR-Ua for submit@debbugs.gnu.org; Mon, 05 Dec 2022 10:06:27 -0500 Original-Received: from mail-40130.protonmail.ch ([185.70.40.130]:46119) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2D32-0004CK-WF for 59828@debbugs.gnu.org; Mon, 05 Dec 2022 10:06:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1670252778; x=1670511978; bh=wBD38NrDmQE1GACAVpF19vFGAOq3FT4hBwkaawzcQlA=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=rSGDgnsPyV3hTOtA6B3a+NEgs+Ke6y3I2867UkCpLJ1edbLmJHL0IlGaAVzsn3OTV deDEegbRPDq+6Xtw03IxGG33mlMJ+wL+zRYbtCs8NXAOaA7u3uUURkSB5NKsucvw4Y 3LCzEV/anMiTwJ2wIhz56H11Pw821as2e4SpxNNITbNBCgf3bVEc2GCPK4w47usP2I m3/0reAJw6foLilQXQK8FJajSIOe+YJlvF1EN134yu7JhLOQgZ874BDnASqWxA97P4 5NfNMu3mpn81PynrGBXIoxHzSvxYrKuuQQtWSTuPOddu53MZ6BDpSx2HQnIvFXa1QC GLJXFYBPLWQ5Q== In-Reply-To: <83edtd99p2.fsf@gnu.org> Feedback-ID: 57735886:user:proton 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:250040 Archived-At: ------- Original Message ------- On Monday, December 5th, 2022 at 3:00 PM, Eli Zaretskii wrot= e: > > Date: Mon, 05 Dec 2022 14:54:47 +0000 > > From: Heime heimeborgia@protonmail.com > > Cc: casouri@gmail.com, 59828@debbugs.gnu.org > >=20 > > > Conclusion: you need to turn on font-lock in that buffer. > >=20 > > When I use (text-mode) or (org-mode), I do not get the problem. > >=20 > > (with-current-buffer (get-buffer-create bufrn) > > (text-mode) > > (insert (propertize "G" > > 'font-lock-face '(:background "green" > > :foreground "black")))) >=20 >=20 > Because those turn on font-lock by default. What do you think about having fundamental-mode also turn font-lock on ?