From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#65884: 29.1; prettify-symbols-unprettify-at-point documentation Date: Wed, 13 Sep 2023 13:45:47 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24335"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 65884-done@debbugs.gnu.org To: Peter Mao Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 13 22:47:33 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 1qgWlp-00063i-23 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 Sep 2023 22:47:33 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qgWlG-00021s-E0; Wed, 13 Sep 2023 16:46:58 -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 1qgWlF-00021c-AD for bug-gnu-emacs@gnu.org; Wed, 13 Sep 2023 16:46: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 1qgWlF-0000nn-2n for bug-gnu-emacs@gnu.org; Wed, 13 Sep 2023 16:46:57 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qgWlK-0007sC-7E for bug-gnu-emacs@gnu.org; Wed, 13 Sep 2023 16:47:02 -0400 Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Sep 2023 20:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 65884 X-GNU-PR-Package: emacs Mail-Followup-To: 65884@debbugs.gnu.org, stefankangas@gmail.com, peter.mao@gmail.com Original-Received: via spool by 65884-done@debbugs.gnu.org id=D65884.169463797530205 (code D ref 65884); Wed, 13 Sep 2023 20:47:01 +0000 Original-Received: (at 65884-done) by debbugs.gnu.org; 13 Sep 2023 20:46:15 +0000 Original-Received: from localhost ([127.0.0.1]:36203 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qgWkQ-0007qo-0y for submit@debbugs.gnu.org; Wed, 13 Sep 2023 16:46:15 -0400 Original-Received: from mail-lj1-x234.google.com ([2a00:1450:4864:20::234]:60528) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qgWkL-0007qG-7t for 65884-done@debbugs.gnu.org; Wed, 13 Sep 2023 16:46:04 -0400 Original-Received: by mail-lj1-x234.google.com with SMTP id 38308e7fff4ca-2bf5bf33bcdso3968651fa.0 for <65884-done@debbugs.gnu.org>; Wed, 13 Sep 2023 13:45:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694637948; x=1695242748; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:from:to:cc:subject:date :message-id:reply-to; bh=I8RwdM6SJ6Ounyvya1kwDfmo/StRNoNF5cG9ak/pbys=; b=SITARC4YdQSLlBxFbCXJos73HqoigmvO7VkN/AS4XKZY7y6khCtYvKGzWXDJMXejLw oDNPVshVBcXTq0VPF8jwEbMX+QljT+PSLv8/JDUHMRcUVWxaXZQ6r+fTOw80VUJNuLuU BUQjuz9kdFrDoWU8Mxewn5pdgy/hHLy7uktJ3zIH3bLRoMMjA8/g+e9FSRwnQWlzYwow znzognGwdbxKbcV8n/OEh6SUoSDYLqkKNu0Z71JQs6n7bScirbjtTl3GQNpXbdvMEGOb bdXYqZyvXMNOX1fw5o9Aa02yXOv6oItHSl3QHKnRYkjm68R447IdqsY+ivb01iWRVbdm ZUJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694637948; x=1695242748; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=I8RwdM6SJ6Ounyvya1kwDfmo/StRNoNF5cG9ak/pbys=; b=jloZ3XAdYz+Vl/R3/KemkaW5UH/HiCpWa9OCdezoFAXOxeqqjoTHJVZwwMEJydWvcL wRtxnF31dOHMtyYU0DKLVinq5CFb7nGthgisIJpa4YtM0ipkKV+tknWNj2Px1jaFas+g 92FeRf1zdvg1M0Knt7E2fKLjmgAnMqxZ8awwNfqXPYRuahgTgfvxQnAIHQcLF6QsP6Qa VDcJCa+MvhnAKxpa3C3vChRcW7AKmXgKTJPnU4XCSIVAVZ69W6ohDnjch9Qv5y7OMaBi 51cfJnjqOTiUUMXv71UY/hNJzaEctEgZHVddHzrrKTjpnVP4dkXY8zYSNQ/Cbxc+Hd8P 9hvg== X-Gm-Message-State: AOJu0Yy79Hy3taB/wfLukKx7jYHhsLHWjvq7DfOV/wgqrOZq2JMbZQRC +r4+8e87tRWq7Eut4Gq9q7EM2QNvhD4vS3GU+CI= X-Google-Smtp-Source: AGHT+IEtPMHYAlrCpM83ZTgsZ74GTu3GTeCJFUN8s+gXFPZOb6SCvHVb1rQdQY72TeAiZBXFs99RTLk+IYzW3PJfb9A= X-Received: by 2002:a2e:3803:0:b0:2bc:b6d9:4347 with SMTP id f3-20020a2e3803000000b002bcb6d94347mr3345719lja.20.1694637947454; Wed, 13 Sep 2023 13:45:47 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 13 Sep 2023 13:45:47 -0700 In-Reply-To: (Peter Mao's message of "Mon, 11 Sep 2023 21:20:25 -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:270364 Archived-At: Version: 29.2 Peter Mao writes: > I just learned about prettify-symbols mode and prettify-symbols-unprettif= y-at-point from Tony Zorman's recent blog post, so I tried it out, unsucces= sfully > 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 =CE=BB appears > C-b > > At this point, I'm expecting the symbol =CE=BB 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.