From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark Oteiza Newsgroups: gmane.emacs.devel Subject: e73b0d6: Implement unprettification of symbol at point Date: Wed, 30 Sep 2015 11:54:29 -0400 Message-ID: <87lhbnrjgq.fsf@udel.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1443684365 16229 80.91.229.3 (1 Oct 2015 07:26:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 1 Oct 2015 07:26:05 +0000 (UTC) Cc: Tassilo Horn To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 01 09:25:57 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZhYFW-00029K-RU for ged-emacs-devel@m.gmane.org; Thu, 01 Oct 2015 09:25:54 +0200 Original-Received: from localhost ([::1]:39758 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhYFW-0004mK-5W for ged-emacs-devel@m.gmane.org; Thu, 01 Oct 2015 03:25:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42678) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhJij-0007H4-FX for emacs-devel@gnu.org; Wed, 30 Sep 2015 11:55:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZhJiK-0002dp-2k for emacs-devel@gnu.org; Wed, 30 Sep 2015 11:54:44 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:52595) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhJiJ-0002dT-SP for emacs-devel@gnu.org; Wed, 30 Sep 2015 11:54:40 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZhJiH-0001D4-EI for emacs-devel@gnu.org; Wed, 30 Sep 2015 17:54:37 +0200 Original-Received: from c-73-172-248-173.hsd1.md.comcast.net ([73.172.248.173]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 Sep 2015 17:54:37 +0200 Original-Received: from mvoteiza by c-73-172-248-173.hsd1.md.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 Sep 2015 17:54:37 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 12 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-73-172-248-173.hsd1.md.comcast.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:vlI/qYv78nz4Log22c9l/tNd0T0= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:190524 Archived-At: > * lisp/progmodes/prog-mode.el: Implement feature for unprettifying the > symbol at point. > (prettify-symbols--current-symbol-bounds): New variable. > (prettify-symbols--post-command-hook): New function. > (prettify-symbols-unprettify-at-point): New defcustom. > (prettify-symbols-mode): Use it. > (prettify-symbols--compose-symbol): Use them. All the new changing of text properties is modifying the buffer. Also, why is this defaulting to on?