From: Mark Oteiza <mvoteiza@udel.edu>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: ¬ notation for not? Ref: Add a couple cells to lisp-prettify-symbols-alist
Date: Sun, 10 Jul 2016 11:20:36 -0400 [thread overview]
Message-ID: <87oa65eczf.fsf@udel.edu> (raw)
In-Reply-To: <jwv37nhh8hy.fsf-monnier+gmane.emacs.devel@gnu.org> (Stefan Monnier's message of "Sun, 10 Jul 2016 10:44:38 -0400")
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> Part of the inspiration for adding more things to some modes has been
>> that of the p-s-alist in tuareg.el:
>> https://github.com/ocaml/tuareg/blob/master/tuareg.el#L468
>
> FWIW, I don't much like the new "not" and "sqrt" thingies either, tho
> I wasn't bothered enough to turn them off either, so I can clearly live
> with them.
>
> I like ¬ in tuareg-mode, OTOH. Not sure exactly why my reaction is
> different in those two cases. Maybe the parentheses make a difference,
> or maybe it's the tradition to use longish names (and hence indent
> differently) in Lisp vs the tradition to use shortish names in ML?
I'd have to agree that it all looks better in ML
>> In any case, I don't feel strongly about it. One thing I just thought
>> of is making a mode's foo-prettify-symbols-alist a defcustom--perhaps
>> that will be nicer.
>
> There's a clear need for some customization, indeed. There isn't any
> right now partly because I couldn't come up with a good idea (e.g. the
> format of prettify-symbols-alist is likely to be extended in ways which
> are inconvenient for an end-user, and if the end-user customizes his
> var he won't benefit from later improved defaults).
>
> At some point I was tempted to add a `prettify-symbols-inhibit` which
> would contain a list of chars. E.g. I'd personally put √ globally in
> that list.
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.
next prev parent reply other threads:[~2016-07-10 15:20 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-10 4:44 ¬ notation for not? Ref: Add a couple cells to lisp-prettify-symbols-alist Kaushal Modi
2016-07-10 5:24 ` Mark Oteiza
2016-07-10 5:47 ` Mark Oteiza
2016-07-10 13:31 ` Andreas Röhler
2016-07-10 14:57 ` Eli Zaretskii
2016-07-10 14:35 ` Clément Pit--Claudel
2016-07-10 15:05 ` Stefan Monnier
2016-07-10 14:44 ` Stefan Monnier
2016-07-10 14:57 ` Clément Pit--Claudel
2016-07-10 15:04 ` Drew Adams
2016-07-10 15:20 ` Mark Oteiza [this message]
2016-07-10 21:05 ` Stefan Monnier
2016-07-11 13:35 ` Ted Zlatanov
2016-07-11 14:01 ` Stefan Monnier
2016-07-14 21:18 ` Clément Pit--Claudel
2016-07-14 21:32 ` John Wiegley
2016-07-14 22:31 ` Mark Oteiza
2016-07-14 22:36 ` Kaushal Modi
2016-07-15 0:20 ` Stefan Monnier
2016-07-15 14:12 ` Ted Zlatanov
2016-07-15 14:46 ` Drew Adams
2016-07-15 15:13 ` visual distinction for prettified symbols (was: ¬ notation for not? Ref: Add a couple cells to lisp-prettify-symbols-alist) Ted Zlatanov
2016-07-15 16:14 ` ¬ notation for not? Ref: Add a couple cells to lisp-prettify-symbols-alist Drew Adams
2016-07-15 14:50 ` Stefan Monnier
2016-07-15 15:03 ` Ted Zlatanov
2016-07-15 15:17 ` Stefan Monnier
2016-07-15 15:35 ` Ted Zlatanov
2016-07-17 18:31 ` Stefan Monnier
2016-07-18 14:12 ` Ted Zlatanov
2016-07-18 15:07 ` Stefan Monnier
2016-07-18 16:49 ` Ted Zlatanov
2016-07-15 15:26 ` Ted Zlatanov
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87oa65eczf.fsf@udel.edu \
--to=mvoteiza@udel.edu \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).