From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#59828: Fundamental Mode buffers fail to keep text properties Date: Mon, 05 Dec 2022 17:40:51 +0200 Message-ID: <83cz8x97uk.fsf@gnu.org> 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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7240"; mail-complaints-to="usenet@ciao.gmane.io" Cc: casouri@gmail.com, 59828-done@debbugs.gnu.org To: Heime Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 05 16:42:21 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 1p2Dbo-0001cV-Nt for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 05 Dec 2022 16:42:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p2DbY-0002H0-Vs; Mon, 05 Dec 2022 10:42:05 -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 1p2DbX-0002GZ-Hk for bug-gnu-emacs@gnu.org; Mon, 05 Dec 2022 10:42:03 -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 1p2DbX-0004Eq-1B for bug-gnu-emacs@gnu.org; Mon, 05 Dec 2022 10:42:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p2DbW-0004Zv-NI for bug-gnu-emacs@gnu.org; Mon, 05 Dec 2022 10:42:02 -0500 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Mon, 05 Dec 2022 15:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 59828 X-GNU-PR-Package: emacs Mail-Followup-To: 59828@debbugs.gnu.org, eliz@gnu.org, heimeborgia@protonmail.com Original-Received: via spool by 59828-done@debbugs.gnu.org id=D59828.167025488717585 (code D ref 59828); Mon, 05 Dec 2022 15:42:02 +0000 Original-Received: (at 59828-done) by debbugs.gnu.org; 5 Dec 2022 15:41:27 +0000 Original-Received: from localhost ([127.0.0.1]:36803 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2Dax-0004ZZ-6u for submit@debbugs.gnu.org; Mon, 05 Dec 2022 10:41:27 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:59060) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2Dau-0004ZT-UO for 59828-done@debbugs.gnu.org; Mon, 05 Dec 2022 10:41:25 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p2Dap-0003yr-Jg; Mon, 05 Dec 2022 10:41:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=GFBQcZ10K5aP3AqPQQqvg1D6u8oflASlWhPeh70MivY=; b=lm9y/DXFirSu ESQQ4CGgoIVOYDwTsCxic3g/xlFrAf1PJH7UbuBFrYR1DG2twQssBVdsnKcA0fyWT6A0zQoSdP5tv JfJJKdqf4XU/IKriJvvAdMy707JZCTS9dBw84xuT9xGv6CiFh7nAyeAJPAFrAqg6oURNKYufMM9zp kWKWDVmeeB+dRYA++kGMVtLBYPUVlyPfNP7zfvWmZ3VRqBdr9zs3WTnfw6HyO/IxHfai+qCco1L57 HaWC/XkAFikCvhlB/xIZzGVPUw3cHxwNaVj70vVRuChl1mRVrQwvNlTJWL4Y8GZkhR8xU0mhbSlrG lZGzcVu/EbHG/69TFvoDkg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p2Dad-0004FR-W7; Mon, 05 Dec 2022 10:41:19 -0500 In-Reply-To: (message from Heime on Mon, 05 Dec 2022 15:06:09 +0000) 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:250045 Archived-At: > Date: Mon, 05 Dec 2022 15:06:09 +0000 > From: Heime > Cc: casouri@gmail.com, 59828@debbugs.gnu.org > > > > > Conclusion: you need to turn on font-lock in that buffer. > > > > > > When I use (text-mode) or (org-mode), I do not get the problem. > > > > > > (with-current-buffer (get-buffer-create bufrn) > > > (text-mode) > > > (insert (propertize "G" > > > 'font-lock-face '(:background "green" > > > :foreground "black")))) > > > > > > Because those turn on font-lock by default. > > What do you think about having fundamental-mode also turn font-lock on ? What it does now is the result of what we think. That's why it is called Fundamental. Anyway, there's no bug here, so I'm closing this.