[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Add prettify symbols to python-mode
From: |
Eli Zaretskii |
Subject: |
Re: [PATCH] Add prettify symbols to python-mode |
Date: |
Wed, 23 Sep 2015 22:48:39 +0300 |
> From: David Kastrup <address@hidden>
> Cc: address@hidden, address@hidden, address@hidden
> Date: Wed, 23 Sep 2015 21:39:45 +0200
>
> > I thought by "working with Elisp data in C" you meant using Lisp data
> > structures passed to C functions, in which case the following is what
> > I had in mind (where 'value' is some Lisp data type):
> >
> > if (EQ (value, Qunspecified) || (EQ (value, QCignore_defface)))
> > return Qt;
> > else if (EQ (attribute, QCheight))
> > return INTEGERP (value) ? Qnil : Qt;
> > else if (CONSP (value) && EQ (XCAR (value), QCwhatever))
> > return XCDR (value);
> > else
> > return Qnil;
>
> Which is supposed to resemble perfectly ordinary C code or perfectly
> ordinary Lisp code?
No, it's supposed to be mnemonically easy to understand and write.
And yes, it's reasonably close to ordinary C code, IMO.
> You can call it a "non-issue" all you like, but it is limiting the
> number of people comfortable working with the Emacs C core. As long as
> Emacs is expressive enough outside of the core, that's not really
> limiting its usefulness all that much, but for things like new window
> systems, one clearly cannot get around investing into C.
I don't see it that way, but in any case, people should try overcoming
that obstacle. It's not very hard.
- Re: [PATCH] Add prettify symbols to python-mode, (continued)
- Re: [PATCH] Add prettify symbols to python-mode, Achim Gratz, 2015/09/23
- Re: [PATCH] Add prettify symbols to python-mode, Eli Zaretskii, 2015/09/23
- Re: [PATCH] Add prettify symbols to python-mode, David Kastrup, 2015/09/23
- Re: [PATCH] Add prettify symbols to python-mode, Xue Fuqiao, 2015/09/23
- Re: [PATCH] Add prettify symbols to python-mode, Eli Zaretskii, 2015/09/23
- Re: [PATCH] Add prettify symbols to python-mode, David Kastrup, 2015/09/23
- Re: [PATCH] Add prettify symbols to python-mode, Eli Zaretskii, 2015/09/23
- Re: [PATCH] Add prettify symbols to python-mode, David Kastrup, 2015/09/23
- Re: [PATCH] Add prettify symbols to python-mode, Eli Zaretskii, 2015/09/23
- Re: [PATCH] Add prettify symbols to python-mode, David Kastrup, 2015/09/23
- Re: [PATCH] Add prettify symbols to python-mode,
Eli Zaretskii <=
- Re: [PATCH] Add prettify symbols to python-mode, David Kastrup, 2015/09/23
- Re: [PATCH] Add prettify symbols to python-mode, Eli Zaretskii, 2015/09/23
- Re: [PATCH] Add prettify symbols to python-mode, David Kastrup, 2015/09/23
- Re: [PATCH] Add prettify symbols to python-mode, Paul Eggert, 2015/09/23
- Re: [PATCH] Add prettify symbols to python-mode, David Kastrup, 2015/09/23
- Re: [PATCH] Add prettify symbols to python-mode, Paul Eggert, 2015/09/23
- Re: [PATCH] Add prettify symbols to python-mode, David Kastrup, 2015/09/23
- Re: [PATCH] Add prettify symbols to python-mode, Stephen J. Turnbull, 2015/09/23
- Re: [PATCH] Add prettify symbols to python-mode, Xue Fuqiao, 2015/09/23
- Re: [PATCH] Add prettify symbols to python-mode, Eli Zaretskii, 2015/09/24