[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: |
Drew Adams |
Subject: |
RE: ¬ notation for not? Ref: Add a couple cells to lisp-prettify-symbols-alist |
Date: |
Fri, 15 Jul 2016 07:46:56 -0700 (PDT) |
> SM> Hopefully someone will work on adding support for user-customization so
> SM> we can have other options than "include it for all, or include it for
> SM> none".
>
> I proposed tagging each prettification entry, so the user can customize
> the tags. You said it was not right; what kind of customization are you
> proposing? I hope we agree on it here before it gets committed.
And I proposed guarding prettification not only by checking
`prettify-symbols-alist' for a match, by also by ensuring
that the function or variable of a match is not `fboundp'
or `boundp'.
At least do so optionally (i.e., customization).
E.g., ensure that "¬" does not name a symbol that has a
function or variable value. If `¬' is already bound to some
function or variable then you probably do not want to alias
function `not' to it.
Emacs allows most characters in function and variable names.
Just because `prettify-symbols-alist' might have an entry for
a given string, that does not mean that the user wants to
clobber any existing function or variable that has that name.
- 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, 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 <=
- visual distinction for prettified symbols (was: ¬ notation for not? Ref: Add a couple cells to lisp-prettify-symbols-alist), Ted Zlatanov, 2016/07/15
- ¬ notation for not? Ref: Add a couple cells to lisp-prettify-symbols-alist, Drew Adams, 2016/07/15
Re: ¬ notation for not? Ref: Add a couple cells to lisp-prettify-symbols-alist, Stefan Monnier, 2016/07/15
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, Stefan Monnier, 2016/07/15
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, Stefan Monnier, 2016/07/17
Re: ¬ notation for not? Ref: Add a couple cells to lisp-prettify-symbols-alist, Ted Zlatanov, 2016/07/18
Re: ¬ notation for not? Ref: Add a couple cells to lisp-prettify-symbols-alist, Stefan Monnier, 2016/07/18
Re: ¬ notation for not? Ref: Add a couple cells to lisp-prettify-symbols-alist, Ted Zlatanov, 2016/07/18