From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Paul W. Rankin" via "Emacs development discussions." Newsgroups: gmane.emacs.devel Subject: Re: 'M-o' ('facemap-keymap') has now been removed until March 10th 2021 Date: Wed, 24 Mar 2021 09:08:21 +1000 Message-ID: <4B2A00EB-8C04-4B9D-BA86-692D67207AFD@bydasein.com> References: <32A55BBD-1A3F-4EC4-817F-7C3408C22A65@bydasein.com> <22aaf0faddac64397c7d@heytings.org> Reply-To: "Paul W. Rankin" Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.7\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14918"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, emacs-devel@gnu.org To: Gregory Heytings Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Mar 24 00:09:49 2021 Return-path: Envelope-to: ged-emacs-devel@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 1lOq9k-0003jl-5p for ged-emacs-devel@m.gmane-mx.org; Wed, 24 Mar 2021 00:09:48 +0100 Original-Received: from localhost ([::1]:48972 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOq9j-0002x0-6e for ged-emacs-devel@m.gmane-mx.org; Tue, 23 Mar 2021 19:09:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37350) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOq8x-0001zH-GA for emacs-devel@gnu.org; Tue, 23 Mar 2021 19:08:59 -0400 Original-Received: from sendmail.purelymail.com ([34.202.193.197]:52960) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOq8v-0002U7-M6 for emacs-devel@gnu.org; Tue, 23 Mar 2021 19:08:59 -0400 DKIM-Signature: a=rsa-sha256; b=X9rBv9Sk5ngFg7aiGqnRLzGGsj8nOELEHUA3xlfXTOxDY7JIVU1wWP8rCzE1HY/4nMXQc2kbOrWbOS4e/PS88tVpy25+GnLNMnZYzrZZE2UuBkRSgyNkY/sSLVUwrpaIOKnaoZwR6HFi+tthsyLajnpVsHlTafjIq2/s+E1Hh8nva0qXN6rfKf+XaMf8VkIqBmkKpO3qDsLTC5KZeihG8B4/E7uV68v4OHDxkp8LjDokvQHhmz4MJ5odHdnve+azE8rE/jw8biUqfNXuFf+heI0gDa5jewNn+xhTFxLwqxoSAWxXanSaWPC3OZZtslVCalsJpXPu71Tvmj+yWGDwYQ==; s=purelymail1; d=bydasein.com; v=1; bh=YaNDekCIFylVHearMg+mgQ2qd7EolyqxV5BQM+/ThJ0=; h=Received:From:To; DKIM-Signature: a=rsa-sha256; b=RGT6Tt3k44sk1gIiqciyT+u8BHhFhXvuj3BW3E0ExoblVLXhnnlXy/eZQjkHyMAKGbae0wFyLPrhyZpWnu9E+4zVZKVAiiWWWC38Dj2bNb0VHFCs2gXz2pomMP6hZZTLek/QSDn9qHtQLe0My8dKmVvuDlrFKFp1+bZVucrNtCbD/BNL2MbA1Vw3C8vBbE+tPHHy3Ca/vRquwEAF5jTjDh4+fB9FagGE73yT7cbZkPbTlfCSoCMQaEOLnvirF0NW+EMAKpeRAbXvjANMsmm3DABTI4pXnbjOkA4l/cUqST7r1NSPaXyQcZNM+XbCCmIxUIThn8jPDpChnyMXIB8tGw==; s=purelymail1; d=purelymail.com; v=1; bh=YaNDekCIFylVHearMg+mgQ2qd7EolyqxV5BQM+/ThJ0=; h=Feedback-ID:Received:From:To; Feedback-ID: 791:353:null:purelymail X-Pm-Original-To: emacs-devel@gnu.org Original-Received: by ip-172-30-0-247.ec2.internal (JAMES SMTP Server ) with ESMTPA ID -2084859671; Tue, 23 Mar 2021 23:08:27 +0000 (UTC) In-Reply-To: <22aaf0faddac64397c7d@heytings.org> X-Mailer: Apple Mail (2.3445.9.7) Received-SPF: pass client-ip=34.202.193.197; envelope-from=pwr@bydasein.com; helo=sendmail.purelymail.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:266903 Archived-At: > On 24 Mar 2021, at 8:07 am, Gregory Heytings = wrote: >=20 >=20 >>=20 >> Unless I'm fundamentally missing something, the new command = font-lock-update only duplicates the functionality of existing command = font-lock-fontify-buffer, and adds some confusion... >>=20 >=20 > It does not duplicate the fonctionality, font-lock-fontify-buffer is = bugged, font-lock-update isn't (hopefully). To see one of its bugs, = open your .emacs file, M-x font-lock-mode (which turns font-lock-mode = off), M-x font-lock-fontify-buffer. Now change some characters: the = fontification remains. >=20 >>=20 >> When font-lock-mode is active and font-lock-update is called with = ARG, the command unfontifies the buffer and deactivates font-lock-mode. = Wut? Makes no sense for a command called font-lock-update... >>=20 >=20 > It allows you to toggle font-lock-mode correctly, which M-x = font-lock-mode can't do. Try the following: emacs -Q, unless, M-., M-h, = M-w, C-x b RET, M-x text-mode, C-y, M-x font-lock-mode. No bugs here. Both of these work as expected. I think the issue is = you're confused about font-lock-mode and text properties. These are not = the same thing. Font-lock-mode is just one way to add text properties to = text, so may other functions. Deactivating font-lock-mode does not = remove all text properties, only on text with the `(fontified . t)' = property. This is why you're seeing what you're seeing.=