From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: New Package for GNU ELPA Date: Sun, 22 May 2016 10:20:53 -0700 (PDT) Message-ID: <3e952674-e16d-4203-8e20-1a4a096a142c@default> References: <87posef3dc.fsf@gnu.org> <5741E712.8040306@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1463937690 26196 80.91.229.3 (22 May 2016 17:21:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 22 May 2016 17:21:30 +0000 (UTC) To: =?utf-8?B?Q2zDqW1lbnQgUGl0LS1DbGF1ZGVs?= , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 22 19:21:17 2016 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 1b4X40-0005b5-SE for ged-emacs-devel@m.gmane.org; Sun, 22 May 2016 19:21:17 +0200 Original-Received: from localhost ([::1]:43966 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b4X3z-00067J-W6 for ged-emacs-devel@m.gmane.org; Sun, 22 May 2016 13:21:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36315) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b4X3r-00065T-GG for emacs-devel@gnu.org; Sun, 22 May 2016 13:21:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b4X3l-0001XP-Fp for emacs-devel@gnu.org; Sun, 22 May 2016 13:21:06 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:26726) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b4X3l-0001XK-6y for emacs-devel@gnu.org; Sun, 22 May 2016 13:21:01 -0400 Original-Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u4MHKxj2000636 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 22 May 2016 17:20:59 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id u4MHKwAK025823 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 22 May 2016 17:20:59 GMT Original-Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by aserv0122.oracle.com (8.13.8/8.13.8) with ESMTP id u4MHKsFs028891; Sun, 22 May 2016 17:20:55 GMT In-Reply-To: <5741E712.8040306@gmail.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6744.5000 (x86)] X-Source-IP: aserv0021.oracle.com [141.146.126.233] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:203942 Archived-At: > > '(("(\\(define-hook-helper\\)\\_>[ \t]*\\(\\(?:\\sw\\|\\s_\\)+\\)?" ... > > ("(\\(define-mode-hook-helper\\)\\_>[ \t]*\\(\\(?:\\sw\\|\\s_\\)+\\)= ?" ... >=20 > Is there a reason why these two macros aren't highlighted properly by > default? I don't think other packages do this. If this is a package in GNU ELPA, shouldn't its thingies have a package prefix? IOW, shouldn't `define(-mode)-hook-helper' be called something like `hkhlp-define(-mode)-hook-helper'? I'm not saying it should, as the rules for GNU ELPA packages are not clear to me. But if its packages follow the general rule then they should have a prefix, no? (And if they did have a pkg prefix then no, these macros would presumably not be highlighted by default.)