From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: 'M-o' ('facemap-keymap') has now been removed until March 10th 2021 Date: Wed, 24 Mar 2021 09:07:50 -0400 Message-ID: References: <32A55BBD-1A3F-4EC4-817F-7C3408C22A65@bydasein.com> <22aaf0faddac64397c7d@heytings.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27931"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: larsi@gnus.org, "Paul W. Rankin" , 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 14:08:59 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 1lP3Fr-000760-LS for ged-emacs-devel@m.gmane-mx.org; Wed, 24 Mar 2021 14:08:59 +0100 Original-Received: from localhost ([::1]:58618 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lP3Fq-0004Eq-O8 for ged-emacs-devel@m.gmane-mx.org; Wed, 24 Mar 2021 09:08:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57594) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lP3Eq-00038d-RW for emacs-devel@gnu.org; Wed, 24 Mar 2021 09:07:56 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:31325) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lP3Eo-0008JS-Bv for emacs-devel@gnu.org; Wed, 24 Mar 2021 09:07:55 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 8353E10022F; Wed, 24 Mar 2021 09:07:52 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 376D210006B; Wed, 24 Mar 2021 09:07:51 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1616591271; bh=SlBBBYudUWuEFqC5r52EpSd5aK0WzvwbEVJyGBb/0oQ=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=RplNLUDsZyUBVnKZYS5sIPMrYsPcR+rxvTYw8ngYafBoXNRYSWi4SQeTZJLj2HMK+ Lrp31+NXcC9xt2AqTdNrdsx1bo4xTwL7ViLrEK5QMR8LNQXUbcsk/P0Zsn6JCTY+iF WgxDKH2PhWXZvgFTJx0XecODYXqwm3PF/lrFOl05cNJ2Teanmb8tG/6aTs8wMwrg4a RyKJpSw2KeXEDuFi1/VLNEUcN2wyWZaAugis8zYPTiq1Z3uSNzgEqyos+7t6EBFM43 6CLm7822nmondXWUQ4dCoroPGLmL5EDONe0ShIA3gM93fiC6FxklylG4P0v4XrykGQ 7f6hwxUPFyekA== Original-Received: from alfajor (unknown [216.154.43.249]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 012331203B6; Wed, 24 Mar 2021 09:07:50 -0400 (EDT) In-Reply-To: <22aaf0faddac64397c7d@heytings.org> (Gregory Heytings's message of "Tue, 23 Mar 2021 22:07:35 +0000") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=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:266952 Archived-At: >> 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... >> > > 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. BTW, the problem with the above is not whether this behavior is "expected" or not (after all, the behavior of known bugs is also arguably "expected"). The question is whether it's *desirable*, and some concrete use-cases to back up the claim would be very handy. So far, the only use-case I know of is the one where font-lock-keywords is nil, so the "fontification" ends up *removing* faces. Stefan