all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dan Espen <despen@verizon.net>
To: help-gnu-emacs@gnu.org
Subject: Re: can emacs do this
Date: Thu, 15 Jan 2015 12:52:19 -0500	[thread overview]
Message-ID: <m98unn$6de$2@dont-email.me> (raw)
In-Reply-To: bf8e5bae-d00f-4bd8-9c65-5270be39a662@googlegroups.com

Rusi <rustompmody@gmail.com> writes:

> 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?
>> 
>> The standard facility for that in recent Emacsen is
>> `prettify-symbols-mode', which you can set up with something like
>> 
>>    (add-hook 'python-mode-hook
>>              (lambda ()
>>                (setq-local prettify-symbols-alist
>>                            '(("lambda" . ?λ)
>>                              ("math.sqrt" . ?√)
>>                              ("math.pi" . ?π)
>>                              ("sum" . ?Σ)))
>>                (prettify-symbols-mode 1)))
>
>
> Doesn't work in 24.3.1 does it?

Looks like 24.4:

http://emacsredux.com/blog/2014/08/25/a-peek-at-emacs-24-dot-4-prettify-symbols-mode/

-- 
Dan Espen


  reply	other threads:[~2015-01-15 17:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-15  7:24 can emacs do this Rusi
2015-01-15  7:57 ` Pascal J. Bourguignon
2015-01-15 14:10   ` Drew Adams
2015-01-15 15:25   ` Ted Zlatanov
2015-01-15  8:01 ` Charles Philip Chan
2015-01-15 14:22 ` Stefan Monnier
     [not found] ` <mailman.17951.1421331793.1147.help-gnu-emacs@gnu.org>
2015-01-15 17:27   ` Rusi
2015-01-15 17:52     ` Dan Espen [this message]
2015-01-15 23:41       ` Alexis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='m98unn$6de$2@dont-email.me' \
    --to=despen@verizon.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.