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#65884: 29.1; prettify-symbols-unprettify-at-point documentation Date: Thu, 14 Sep 2023 08:46:57 +0300 Message-ID: <83a5tpmhm6.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30375"; mail-complaints-to="usenet@ciao.gmane.io" Cc: peter.mao@gmail.com, 65884@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 14 07:48:26 2023 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 1qgfDF-0007gN-LV for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Sep 2023 07:48:25 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qgfCp-00031j-M5; Thu, 14 Sep 2023 01:47:59 -0400 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 1qgfCn-00031Y-Ss for bug-gnu-emacs@gnu.org; Thu, 14 Sep 2023 01:47:57 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qgfCn-0001CV-Kg for bug-gnu-emacs@gnu.org; Thu, 14 Sep 2023 01:47:57 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qgfCs-0004XC-VN for bug-gnu-emacs@gnu.org; Thu, 14 Sep 2023 01:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Sep 2023 05:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65884 X-GNU-PR-Package: emacs Original-Received: via spool by 65884-submit@debbugs.gnu.org id=B65884.169467044117355 (code B ref 65884); Thu, 14 Sep 2023 05:48:02 +0000 Original-Received: (at 65884) by debbugs.gnu.org; 14 Sep 2023 05:47:21 +0000 Original-Received: from localhost ([127.0.0.1]:36577 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qgfCC-0004Vq-Uj for submit@debbugs.gnu.org; Thu, 14 Sep 2023 01:47:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:32996) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qgfCA-0004Vd-Cl for 65884@debbugs.gnu.org; Thu, 14 Sep 2023 01:47:19 -0400 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 1qgfBz-0000yF-DC; Thu, 14 Sep 2023 01:47:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=My7gr5d3UTFoG8pB6EdJg59CLu7NLVPzGMlXxaLnMls=; b=D4wNIsoDXO4S7t3rshBt oNGpPTq0D1bxQuHZpvMP/pK14gMI8YXewvpyBOcRpbMnA7fSOf9l3hQbBIhhiPN6xM+nfZQp1UwHH DnCkMkUuNcWpPvmWjcKhqVXsnmxP1Okk2jhRJWqyQ2BbvAanwJ3WA5yUjDRMnyOKkZtsY/WQtNYMQ aLsuXqa+cMYE3HuCtqt1LB69dD+wDtuNQzwi7Rih2CVqXL44pfbRLgXB2jHn+iNUrqfFCoXdWuj0q CDHDAIObjxZbtB8sTZzP8+jVHlORhtl88EjQyhM7o/u2VLweQLLHe+gIcw1u/wXgMUYr9MMZ9rsaI HLksBRN1a2Z8NQ==; In-Reply-To: (message from Stefan Kangas on Wed, 13 Sep 2023 13:45:47 -0700) 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:270393 Archived-At: > Resent-To: bug-gnu-emacs@gnu.org > Cc: 65884-done@debbugs.gnu.org > From: Stefan Kangas > Date: Wed, 13 Sep 2023 13:45:47 -0700 > > Version: 29.2 > > Peter Mao writes: > > > I just learned about prettify-symbols mode and prettify-symbols-unprettify-at-point from Tony Zorman's recent blog post, so I tried it out, unsuccessfully > > at first... > > > > Recipe from emacs -Q: > > > > In the *scratch* buffer: > > M-x prettify-symbols-mode > > (setq prettify-symbols-unprettify-at-point t) > > C-x C-e ;; to evaluate the setq > > lambda ;; the symbol λ appears > > C-b > > > > At this point, I'm expecting the symbol λ to deprettify back to > > "lambda", but it does not. > > > > Looking in the code in prog-mode.el, I see that the unprettification > > needs to be set **before** the minor mode is activated in the buffer. > > Perhaps this should be pointed out in the documentation? > > Thanks, I've now documented this on emacs-29. Did you forget to push?