From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master 51e7e46: Font-lock elisp macros/special forms dynamically Date: Sun, 15 Mar 2015 15:15:57 -0400 Message-ID: References: <20150315082509.21193.18465@vcs.savannah.gnu.org> <55054CE9.6010702@dancol.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1426446995 11681 80.91.229.3 (15 Mar 2015 19:16:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 15 Mar 2015 19:16:35 +0000 (UTC) Cc: Tassilo Horn , emacs-devel@gnu.org To: Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 15 20:16:18 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 1YXE1J-0002wu-Ma for ged-emacs-devel@m.gmane.org; Sun, 15 Mar 2015 20:16:17 +0100 Original-Received: from localhost ([::1]:44498 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXE1I-0005sd-Vr for ged-emacs-devel@m.gmane.org; Sun, 15 Mar 2015 15:16:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57162) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXE15-0005qI-2I for emacs-devel@gnu.org; Sun, 15 Mar 2015 15:16:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YXE10-0000LV-VY for emacs-devel@gnu.org; Sun, 15 Mar 2015 15:16:03 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:3456) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXE10-0000LQ-RD; Sun, 15 Mar 2015 15:15:58 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArsTAPOG1lQXW5EB/2dsb2JhbABbgwaDX4VTwGUEAgKBDUQBAQEBAQF8hA0BBAFWIwULCw4mEhQYDSSIOAjOIwEBAQEGAgEfj3gHhCoFqzcigjKBWCKCcwEBAQ X-IPAS-Result: ArsTAPOG1lQXW5EB/2dsb2JhbABbgwaDX4VTwGUEAgKBDUQBAQEBAQF8hA0BBAFWIwULCw4mEhQYDSSIOAjOIwEBAQEGAgEfj3gHhCoFqzcigjKBWCKCcwEBAQ X-IronPort-AV: E=Sophos;i="5.09,536,1418101200"; d="scan'208";a="113622969" Original-Received: from 23-91-145-1.cpe.pppoe.ca (HELO ceviche.home) ([23.91.145.1]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 15 Mar 2015 15:15:58 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id DEF5466108; Sun, 15 Mar 2015 15:15:57 -0400 (EDT) In-Reply-To: <55054CE9.6010702@dancol.org> (Daniel Colascione's message of "Sun, 15 Mar 2015 02:12:09 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 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:183886 Archived-At: > Is it really a good idea to highlight *all* macros? Many are meant to be > used just like functions and have the same semantics. IMNSHO most of those are mistakes (should use compiler-macros instead). > Instead of updating a big macro regexp after load, there should be > a `declare' attribute that would let specific macros (and functions) > opt into being fontified specially. Maybe the other way around would be better: add a declaration that says "this macro faithfully mimicks the behavior of a function". > As it is, I'm going to have to disable this functionality locally. I must admit I haven't tried it out yet, so I'm not sure if I'll like the result. Stefan