From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.devel Subject: Re: 'M-o' ('facemap-keymap') has now been removed until March 10th 2021 Date: Wed, 24 Mar 2021 09:20:24 +0000 Message-ID: <8786a8e8faa6f278b198@heytings.org> References: <32A55BBD-1A3F-4EC4-817F-7C3408C22A65@bydasein.com> <22aaf0faddac64397c7d@heytings.org> <4B2A00EB-8C04-4B9D-BA86-692D67207AFD@bydasein.com> <22aaf0faddc2bf87fd3a@heytings.org> <0009872A-AD9D-4B08-B714-BFEDDAAF9125@bydasein.com> <8786a8e8faf45a989904@heytings.org> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26596"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Monnier , emacs-devel@gnu.org To: "Paul W. Rankin" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Mar 24 10:23:18 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 1lOzjS-0006nv-5j for ged-emacs-devel@m.gmane-mx.org; Wed, 24 Mar 2021 10:23:18 +0100 Original-Received: from localhost ([::1]:54118 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOzjO-0002Z3-GJ for ged-emacs-devel@m.gmane-mx.org; Wed, 24 Mar 2021 05:23:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47358) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOzgi-0001By-Tq for emacs-devel@gnu.org; Wed, 24 Mar 2021 05:20:29 -0400 Original-Received: from heytings.org ([95.142.160.155]:43236) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOzgh-0001pm-1H for emacs-devel@gnu.org; Wed, 24 Mar 2021 05:20:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20210101; t=1616577624; bh=YcJHyI6mnPwBxWYc4O8wLdn2MmrUdnXzeFSLDKUoAwQ=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=H+1Q55fTErCooGmMm/XE5AfcnTwKOZBP3EXw9ojtNk1hpoiom/AYWFu2X55Uq+Ps0 bgmaXEMRMajooG6N6RcSpW94YIeNkINk2squfmis/rF7871ILmP6bULCZEOhOl7w0V gb2usGytNmMT58i05jUJTJRUBVgd3R09DAnimuv536gRNzGHQv2v9UDcz2E10rzAgx 7y81RKuMe+rSNSYQX+t+TMWVpEvXrZyJ75thAS+JZR8bbk6sB4jc2dkNjeLoe5x4rY 8ee7crj/jxGooQMPd+yiBrlmN32hiChW5TzyTCZNys9eS9qycK/8Tbqpl0NmpoS8rX N7z18jvnX2kGw== In-Reply-To: Received-SPF: pass client-ip=95.142.160.155; envelope-from=gregory@heytings.org; helo=heytings.org 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:266935 Archived-At: >> By the way, what actual problems do you see in font-lock-update? Do >> you see cases where it produces unexpected results? > > Just the toggling part. The command is called `font-lock-update' but > when font-lock-mode is active and the command is called with ARG, it > turns font-lock-mode off. From the docstring I'm not sure if that was > your intention? > Of course it was my intention, the docstring says "With prefix ARG, toggle Font Lock mode." Isn't that clear enough? > > Given this is a default key binding on the Holy ctl-x-map (technically > the ctl-x-x-map), it should probably do what it says on the tin. > You mean, it's the word "update" in the name of the command you don't like? It's supposed to be a "dwim"-like command: - when font-lock-mode is disabled, enable it and fontify buffer - when font-lock-mode is enabled, refontify buffer - with a prefix argument, toggle font-lock-mode "correctly" (i.e. making sure that the buffer is unfontified when disabling) Whe font-lock-mode is enabled, you can turn it off with C-u C-x x f. When it is disabled, you can turn it on with C-u C-x x f, or simply C-x x f.