[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: |
Stefan Monnier |
Subject: |
Re: ¬ notation for not? Ref: Add a couple cells to lisp-prettify-symbols-alist |
Date: |
Sun, 10 Jul 2016 17:05:04 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
> Perhaps doing it how calc manages its units would be satisfactory? The
> short of it being that `math-standard-units' and user-defined
> `math-additional-units' are used to build `math-units-table'. Though,
> for units there isn't a need to blacklist, and it sounds like a good
> option to have for prettify-symbols.
Whether the customization specifies what to include or what to exclude,
there is still the issue that specific mappings could be complex
(currently it's only (STRING . CHAR), but it'll likely need to be
extended at some point such that you can additionally specify some
predicate to check that the mapping is valid in a given context, or even
to dynamically decide which mapping to use depending on context).
So the mappings themselves should probably be regarded as "code" rather
than customization, and the customization interface should just let the
user select which mappings to (de)activate.
Stefan
- Re: ¬ notation for not? Ref: Add a couple cells to lisp-prettify-symbols-alist, (continued)
- Re: ¬ notation for not? Ref: Add a couple cells to lisp-prettify-symbols-alist, Mark Oteiza, 2016/07/10
- Re: ¬ notation for not? Ref: Add a couple cells to lisp-prettify-symbols-alist, Clément Pit--Claudel, 2016/07/10
- Re: ¬ notation for not? Ref: Add a couple cells to lisp-prettify-symbols-alist, Stefan Monnier, 2016/07/10
- Re: ¬ notation for not? Ref: Add a couple cells to lisp-prettify-symbols-alist, Clément Pit--Claudel, 2016/07/10
- RE: ¬ notation for not? Ref: Add a couple cells to lisp-prettify-symbols-alist, Drew Adams, 2016/07/10
- Re: ¬ notation for not? Ref: Add a couple cells to lisp-prettify-symbols-alist, Mark Oteiza, 2016/07/10
- Re: ¬ notation for not? Ref: Add a couple cells to lisp-prettify-symbols-alist,
Stefan Monnier <=
- Re: ¬ notation for not? Ref: Add a couple cells to lisp-prettify-symbols-alist, Ted Zlatanov, 2016/07/11
- Re: ¬ notation for not? Ref: Add a couple cells to lisp-prettify-symbols-alist, Stefan Monnier, 2016/07/11
Re: ¬ notation for not? Ref: Add a couple cells to lisp-prettify-symbols-alist, Clément Pit--Claudel, 2016/07/14
- Re: ¬ notation for not? Ref: Add a couple cells to lisp-prettify-symbols-alist, John Wiegley, 2016/07/14
- Re: ¬ notation for not? Ref: Add a couple cells to lisp-prettify-symbols-alist, Mark Oteiza, 2016/07/14
- Re: ¬ notation for not? Ref: Add a couple cells to lisp-prettify-symbols-alist, Kaushal Modi, 2016/07/14
- Re: ¬ notation for not? Ref: Add a couple cells to lisp-prettify-symbols-alist, Stefan Monnier, 2016/07/14
- Re: ¬ notation for not? Ref: Add a couple cells to lisp-prettify-symbols-alist, Ted Zlatanov, 2016/07/15
- RE: ¬ notation for not? Ref: Add a couple cells to lisp-prettify-symbols-alist, Drew Adams, 2016/07/15
- visual distinction for prettified symbols (was: ¬ notation for not? Ref: Add a couple cells to lisp-prettify-symbols-alist), Ted Zlatanov, 2016/07/15