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.bugs Subject: bug#46926: Remove the quotes from highlighted/linked symbols when displaying docs Date: Tue, 16 Mar 2021 16:27:43 +0000 Message-ID: <79df20bdf41db7074585@heytings.org> References: <835z1vjvm4.fsf@gnu.org> <83ft0zhuyi.fsf@gnu.org> <838s6rhthh.fsf@gnu.org> <6214567e-7e89-010d-5d0a-de0b69392625@yandex.ru> <831rcgfgpd.fsf@gnu.org> <401c0b82-a6b9-eb74-8de8-84fc956f8813@yandex.ru> <83pmzzepn7.fsf@gnu.org> <83o8fje0nd.fsf@gnu.org> <79df20bdf4e23c709781@heytings.org> <83im5rdy7l.fsf@gnu.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="25318"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 46926@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 16 17:39:11 2021 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 1lMCit-0006Ut-8E for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Mar 2021 17:39:11 +0100 Original-Received: from localhost ([::1]:44442 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lMCis-0005Nc-AB for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Mar 2021 12:39:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43570) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMCY7-0000Cq-It for bug-gnu-emacs@gnu.org; Tue, 16 Mar 2021 12:28:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57557) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lMCY5-0005ua-Ra for bug-gnu-emacs@gnu.org; Tue, 16 Mar 2021 12:28:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lMCY5-0003C1-ND for bug-gnu-emacs@gnu.org; Tue, 16 Mar 2021 12:28:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Mar 2021 16:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46926 X-GNU-PR-Package: emacs Original-Received: via spool by 46926-submit@debbugs.gnu.org id=B46926.161591206612252 (code B ref 46926); Tue, 16 Mar 2021 16:28:01 +0000 Original-Received: (at 46926) by debbugs.gnu.org; 16 Mar 2021 16:27:46 +0000 Original-Received: from localhost ([127.0.0.1]:40870 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMCXq-0003BY-Ks for submit@debbugs.gnu.org; Tue, 16 Mar 2021 12:27:46 -0400 Original-Received: from heytings.org ([95.142.160.155]:57914) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMCXo-0003BP-Tb for 46926@debbugs.gnu.org; Tue, 16 Mar 2021 12:27:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20210101; t=1615912063; bh=cjek3AhsgmKsKI3nVuxPEkR6g02hcSwasnLp9Ec2KzU=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=pbGawiNBbXGCunGrRQTPbQ082oUZ9KznAhY9evyAym04VV/qqoODsMYHZraY10HV2 IQ0t8M2xdSblxslvc3wddDq40xXsd7W4Hjtxkv3MDwSYCzaTBCBMlDs4qeS9CaijKd ciDjAd4Y15TvF6d0afFn3bPkqCuhOz43oG7YyYieI6hITx9an6gcriBUU0B/ZroE9G 5dWPlJgvV/nGYV6OY97QPv0RP9mBOhirocB9bASpeW92eSDbzlDCTWlUDtjBqbAJDW yyX4v1uH9QjkT1roO9WpWbZax+uwAdq8J7suxs1nAQhi0AnMC2o/O/4OJc6TFuMVwh skoR33Zxcok8g== In-Reply-To: <83im5rdy7l.fsf@gnu.org> 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" Xref: news.gmane.io gmane.emacs.bugs:202466 Archived-At: >> You (and two other people) mentioned that you want to keep the >> functionality of "M-o M-o" in vanilla Emacs. >> >> Stefan M explained that "M-o M-o" = font-lock-fontify-block does not >> work well, and that he would like to deprecate it. >> >> I proposed a font-lock-update command that would be bound on "C-x x f", >> and said that while the "C-x x f" binding is less convenient than "M-o >> M-o", this regression is (largely?) compensated by the fact that >> font-lock-update works correctly, unlike font-lock-fontify-block. >> Moreover, the font-lock-update command is also more general, as it can >> be used to correctly toggle Font Lock mode, which M-x font-lock-mode >> can't do. > > That's the "dispute" I alluded to. If the word "dispute" is unfortunate > here, I take it back, but the main point remains: the issue is still > under discussion, with new aspects being revealed and discussed, so it > doesn't sound like we gathered enough feedback to allow us to make a > decision, not yet anyway. > As far as I can see, all aspects have been revealed and discussed, but the discussion has stalled. In short, font-lock-fontify-buffer and font-lock-fontify-block are "defined by their implementation" as Stefan M said, which means that they don't work as they should. The command I proposed is short (five lines), and uses font-lock-fontify-region, which does not have that problem.