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: Adding a few more finder keywords Date: Mon, 08 Jun 2015 16:59:43 -0400 Message-ID: References: <87sia2l04r.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1433797232 398 80.91.229.3 (8 Jun 2015 21:00:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Jun 2015 21:00:32 +0000 (UTC) Cc: Artur Malabarba , emacs-devel To: Oleh Krehel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 08 23:00:23 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 1Z249O-0007aE-7X for ged-emacs-devel@m.gmane.org; Mon, 08 Jun 2015 23:00:06 +0200 Original-Received: from localhost ([::1]:60208 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z249N-0003wk-SP for ged-emacs-devel@m.gmane.org; Mon, 08 Jun 2015 17:00:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48567) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z249A-0003wc-Cw for emacs-devel@gnu.org; Mon, 08 Jun 2015 16:59:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z2495-0002YF-7V for emacs-devel@gnu.org; Mon, 08 Jun 2015 16:59:52 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:56465) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2495-0002Y5-2c for emacs-devel@gnu.org; Mon, 08 Jun 2015 16:59:47 -0400 Original-Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id t58KxhEM002900; Mon, 8 Jun 2015 16:59:43 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 84E7866166; Mon, 8 Jun 2015 16:59:43 -0400 (EDT) In-Reply-To: <87sia2l04r.fsf@gmail.com> (Oleh Krehel's message of "Mon, 08 Jun 2015 16:56:20 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5331=0 X-NAI-Spam-Version: 2.3.0.9393 : core <5331> : inlines <3172> : streams <1452222> : uri <1953141> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 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:187112 Archived-At: > I've just added `checkdoc-package-keywords' that checks if the current > file's keywords are in `finder-known-keywords'. It's possible to make A common usage is for a package's keywords to be a list of keywords (from most generic to most specific), where the most generic should indeed be among a predefined set, but where the most specific will often only occur in this one package (and maybe a couple others at most). In such a case checking that the keywords are within a know list is just a bad idea. We could decide that the specific keywords are unwanted, tho. This would probably work OK if package.el offers a search option that will search the packages's descriptions (since those specific keywords will most likely appear in the description as well). Of course, this search-based alternative can fall flat in some cases. E.g. for keywords like "url" or "git" which tend to appear in lots of package descriptions even if those packages have nothing to do with Git or with handling URLs. Stefan