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 19:23:02 +0000 Message-ID: <-vvz_2yrqjb2Eck0fqcM6KaTnwqc4Q2n5nn6vsVuZxHe1gRjV8gnJvyGQAPGuE2fXiAkJ_JpUp_Q6j9qdX2WegKM2vslVdpjt342CTznuc0=@protonmail.com> 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> <83cz8x97uk.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="10809"; mail-complaints-to="usenet@ciao.gmane.io" Cc: casouri@gmail.com, 59828-done@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 20:24:22 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 1p2H4f-0002Xb-GR for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 05 Dec 2022 20:24:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p2H4N-0008WU-N7; Mon, 05 Dec 2022 14:24:03 -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 1p2H4M-0008WF-63 for bug-gnu-emacs@gnu.org; Mon, 05 Dec 2022 14:24:02 -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 1p2H4L-0007us-Ud for bug-gnu-emacs@gnu.org; Mon, 05 Dec 2022 14:24:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p2H4L-0000Ye-Ha for bug-gnu-emacs@gnu.org; Mon, 05 Dec 2022 14:24:01 -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 19:24:01 +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-done@debbugs.gnu.org id=D59828.16702682002136 (code D ref 59828); Mon, 05 Dec 2022 19:24:01 +0000 Original-Received: (at 59828-done) by debbugs.gnu.org; 5 Dec 2022 19:23:20 +0000 Original-Received: from localhost ([127.0.0.1]:37859 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2H3f-0000YO-K2 for submit@debbugs.gnu.org; Mon, 05 Dec 2022 14:23:19 -0500 Original-Received: from mail-4319.protonmail.ch ([185.70.43.19]:63979) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2H3d-0000YG-Ii for 59828-done@debbugs.gnu.org; Mon, 05 Dec 2022 14:23:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1670268191; x=1670527391; bh=yAzdblbWaXCcUumKMOLK24Qo87B8uq4sHf4azOOu6oA=; 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=BV11rsj7cs4OH/kQ3C/tuIPdhgZScXq54y+bbd3uiJmzxSCKxbc0Io9PzOWToN2ZI sxOA/mjf7/mwsrvBuvQOse+Bh/VPoiYogaAkqYxTUs448Mhko/wHNquF+1fHxQXSDS uT76KSSVSiXu6IvwTACw1+0ZUuhpMtzkLhTgkDtEB8KlqIZi5/uv9ZzGCkd4V7Y/3J +2ZiCwmzMPan3VnxKtlA4OU2viPqyFFkcqx5NbffnID3AhIWESrou52WMTI+65uLbY ETjQfnjao5aWDpk+6VupBXnBq+VlZa7A2BlIFC2kjy4qFR4gn8BWPw4USPlILOAaif KQi9wv0wCZ6zA== In-Reply-To: <83cz8x97uk.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:250056 Archived-At: ------- Original Message ------- On Monday, December 5th, 2022 at 3:40 PM, Eli Zaretskii wrot= e: > > Date: Mon, 05 Dec 2022 15:06:09 +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 > > > Because those turn on font-lock by default. > >=20 > > What do you think about having fundamental-mode also turn font-lock on = ? >=20 >=20 > What it does now is the result of what we think. That's why it is called > Fundamental. >=20 > Anyway, there's no bug here, so I'm closing this. Is fundamental mode not usually used when working on new buffers?