[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ¬ notation for not? Ref: Add a couple cells to lisp-prettify-symbols

From: Andreas Röhler
Subject: Re: ¬ notation for not? Ref: Add a couple cells to lisp-prettify-symbols-alist
Date: Sun, 10 Jul 2016 15:31:56 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Icedove/45.1.0

Hi Mark,

while your initiative is appreciated, AFAIK these symbols are not that canonic.

Implementing in core might draw subsequent requests suggesting the one or the other symbols instead, IMO keeping the pretty-print stuff in specialized packages is recommendable.



On 10.07.2016 07:47, Mark Oteiza wrote:
On 10/07/16 at 01:24am, Mark Oteiza wrote:
One thing I just thought
of is making a mode's foo-prettify-symbols-alist a defcustom--perhaps
that will be nicer.
Not pretty, but an example:

   (defcustom my-prettify-symbols-alist
     '(("lambda" . ?λ)
       ("sqrt" . ?√)
       ("not" . ?¬)
       ("*" . ?×)
       ("/" . ?÷))
     :group 'prettify-symbols
     :type '(alist :key-type string :value-type character)
     :options '("and" "or" "/="
                ("<=" (const :tag "≤" ?≤))
                (">=" (const :tag "≥" ?≥))))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]