From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master 51e7e46: Font-lock elisp macros/special forms dynamically Date: Sun, 15 Mar 2015 15:11:23 +0000 Message-ID: References: <20150315082509.21193.18465@vcs.savannah.gnu.org> <55054CE9.6010702@dancol.org> Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1426432310 16452 80.91.229.3 (15 Mar 2015 15:11:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 15 Mar 2015 15:11:50 +0000 (UTC) Cc: Tassilo Horn , emacs-devel To: Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 15 16:11:40 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 1YXACZ-00041G-IU for ged-emacs-devel@m.gmane.org; Sun, 15 Mar 2015 16:11:39 +0100 Original-Received: from localhost ([::1]:43685 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXACY-0002jo-GH for ged-emacs-devel@m.gmane.org; Sun, 15 Mar 2015 11:11:38 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47728) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXACM-0002ga-3M for emacs-devel@gnu.org; Sun, 15 Mar 2015 11:11:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YXACL-0005wu-CO for emacs-devel@gnu.org; Sun, 15 Mar 2015 11:11:26 -0400 Original-Received: from mail-lb0-x22d.google.com ([2a00:1450:4010:c04::22d]:36046) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXACK-0005wd-3O; Sun, 15 Mar 2015 11:11:24 -0400 Original-Received: by lbcds1 with SMTP id ds1so16755153lbc.3; Sun, 15 Mar 2015 08:11:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=oXsQisy/SSlA3JttC07SL5pvGqQtKptEObFVnoVYz8k=; b=k+4FCs00LJi1ZUqrPYS02+osNRkxonLBp3Any2O71XpXDGANxFcGYh83rwfyW6XLRp ToN7ngoCL9R6Mo6nidoMNpPJU0j/rHjRhyL8mQ5GAHgqa2Xi3UjlxlFzNTjCT4BKJ6He KW5C8pyY17AUi3QJzBbwZl69kzR1GubxRw3e5z20856DNAZVJ4swBo+I83W9bu1vE1zb OFDuVRZ1OiJJAVRVamrTTccrdL0PFSvNQCfRsFx8yIhmk80IzS4t1r+ufdAP2JOMVeIa 6/jBvionjgBVYSzEeyeesmc5B7zcyNIB0qXnW5jTLK/tDBgr7giVyFLUAlyadrwCqemB MluA== X-Received: by 10.152.121.33 with SMTP id lh1mr51318588lab.86.1426432283350; Sun, 15 Mar 2015 08:11:23 -0700 (PDT) Original-Received: by 10.112.207.225 with HTTP; Sun, 15 Mar 2015 08:11:23 -0700 (PDT) In-Reply-To: <55054CE9.6010702@dancol.org> X-Google-Sender-Auth: bIsP4gIeX2LCzgowWAI8az72Hbg X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::22d 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:183879 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. 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 it should be opt-out. Even if a macro is used similarly to a function, it behaves differently, and it's good to give the user a visual notification of that. (And if the macro behaves exactly like a function it should be a function).