From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Add prettify symbols to python-mode Date: Wed, 23 Sep 2015 21:46:06 +0200 Message-ID: <87bncs9awx.fsf@fencepost.gnu.org> References: <1442777283-27514-1-git-send-email-mvoteiza@udel.edu> <20150921005306.GA29147@holos> <87h9mlwt6l.fsf@Rainer.invalid> <83bnctliay.fsf@gnu.org> <83oagtjemn.fsf@gnu.org> <87oagt84e7.fsf@fencepost.gnu.org> <83mvwdjc5v.fsf@gnu.org> <87k2rh81c5.fsf@fencepost.gnu.org> <5602FFCF.4050805@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1443038180 24178 80.91.229.3 (23 Sep 2015 19:56:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Sep 2015 19:56:20 +0000 (UTC) Cc: xfq.free@gmail.com, Eli Zaretskii , Stromeko@nexgo.de, emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 23 21:56:20 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Zeq9E-0000Ph-UU for ged-emacs-devel@m.gmane.org; Wed, 23 Sep 2015 21:56:13 +0200 Original-Received: from localhost ([::1]:50357 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zeq9E-0006MI-EM for ged-emacs-devel@m.gmane.org; Wed, 23 Sep 2015 15:56:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60896) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zeq9A-0006Lr-Oy for emacs-devel@gnu.org; Wed, 23 Sep 2015 15:56:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zeq99-0007Jb-TT for emacs-devel@gnu.org; Wed, 23 Sep 2015 15:56:08 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:39642) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zeq96-0006bj-Gf; Wed, 23 Sep 2015 15:56:04 -0400 Original-Received: from localhost ([127.0.0.1]:52525 helo=lola) by fencepost.gnu.org with esmtp (Exim 4.82) (envelope-from ) id 1ZepzT-0006Xx-80; Wed, 23 Sep 2015 15:46:07 -0400 Original-Received: by lola (Postfix, from userid 1000) id 67C48E0F08; Wed, 23 Sep 2015 21:46:06 +0200 (CEST) In-Reply-To: <5602FFCF.4050805@cs.ucla.edu> (Paul Eggert's message of "Wed, 23 Sep 2015 12:38:55 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.10 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:190309 Archived-At: Paul Eggert writes: > On 09/23/2015 10:58 AM, David Kastrup wrote: >> Lisp_Object x[2]; >> x[0] = a; >> x[1] = b; >> return Fplus (2, x); >> >> does not resemble either a+b or (+ a b). > > Sure, but that's not using the C macros properly. Better is this: > > return CALLN (Fplus, a, b); > > which is not so far from (+ a b). dak@lola:/usr/local/tmp/emacs$ git grep CALLN src|wc -l 85 That's not exactly ubiquitous. And we have the self-estimate src/lisp.h: CALLN is overkill for simple usages like 'Finsert (1, &text);'. */ which actively discourages using a C macro when you can use a direct call. Emacs C just is pretty far from a "non-issue". Pretending otherwise is not useful. The number of people working on it will always be limited to people comfortable working with interpreters and non-native data types. -- David Kastrup