From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rusi Newsgroups: gmane.emacs.help Subject: Re: can emacs do this Date: Thu, 15 Jan 2015 09:27:11 -0800 (PST) Message-ID: References: <9fcff97c-a183-41f1-a5cc-5b0cd94e2674@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1421343026 22826 80.91.229.3 (15 Jan 2015 17:30:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 Jan 2015 17:30:26 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 15 18:30:20 2015 Return-path: Envelope-to: geh-help-gnu-emacs@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 1YBoFQ-0007t4-68 for geh-help-gnu-emacs@m.gmane.org; Thu, 15 Jan 2015 18:30:20 +0100 Original-Received: from localhost ([::1]:51959 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBoFP-0003gD-KP for geh-help-gnu-emacs@m.gmane.org; Thu, 15 Jan 2015 12:30:19 -0500 X-Received: by 10.236.32.165 with SMTP id o25mr8565946yha.53.1421342832578; Thu, 15 Jan 2015 09:27:12 -0800 (PST) X-Received: by 10.50.107.4 with SMTP id gy4mr212186igb.10.1421342832488; Thu, 15 Jan 2015 09:27:12 -0800 (PST) Original-Path: usenet.stanford.edu!bm13no690064qab.0!news-out.google.com!qk8ni6628igc.0!nntp.google.com!h15no5870315igd.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=59.95.3.99; posting-account=mBpa7woAAAAGLEWUUKpmbxm-Quu5D8ui Original-NNTP-Posting-Host: 59.95.3.99 User-Agent: G2/1.0 Injection-Date: Thu, 15 Jan 2015 17:27:12 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:209818 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:102097 Archived-At: On Thursday, January 15, 2015 at 7:53:14 PM UTC+5:30, Stefan Monnier wrote: > > What facilities of emacs can be used for this? >=20 > The standard facility for that in recent Emacsen is > `prettify-symbols-mode', which you can set up with something like >=20 > (add-hook 'python-mode-hook > (lambda () > (setq-local prettify-symbols-alist > '(("lambda" . ?=CE=BB) > ("math.sqrt" . ?=E2=88=9A) > ("math.pi" . ?=CF=80) > ("sum" . ?=CE=A3))) > (prettify-symbols-mode 1))) Doesn't work in 24.3.1 does it?