From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#21681: [PATCH] Fix formatting of lexical-binding at eof warning Date: Wed, 14 Oct 2015 12:56:28 -0400 Message-ID: References: <83fv1dxvmq.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1444841907 7741 80.91.229.3 (14 Oct 2015 16:58:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 Oct 2015 16:58:27 +0000 (UTC) Cc: 21681@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 14 18:58:16 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1ZmPNX-0006MF-AF for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Oct 2015 18:58:15 +0200 Original-Received: from localhost ([::1]:43579 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmPNV-00043X-Th for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Oct 2015 12:58:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41288) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmPMS-0003yQ-4k for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2015 12:57:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZmPMN-0000UE-AB for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2015 12:57:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60355) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmPMN-0000U6-6f for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2015 12:57:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZmPMM-0000eU-Kx for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2015 12:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 14 Oct 2015 16:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21681 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 21681-submit@debbugs.gnu.org id=B21681.14448417922470 (code B ref 21681); Wed, 14 Oct 2015 16:57:02 +0000 Original-Received: (at 21681) by debbugs.gnu.org; 14 Oct 2015 16:56:32 +0000 Original-Received: from localhost ([127.0.0.1]:51063 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZmPLr-0000dm-L9 for submit@debbugs.gnu.org; Wed, 14 Oct 2015 12:56:32 -0400 Original-Received: from mail-wi0-f175.google.com ([209.85.212.175]:34660) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZmPLp-0000dd-EN for 21681@debbugs.gnu.org; Wed, 14 Oct 2015 12:56:30 -0400 Original-Received: by wicgb1 with SMTP id gb1so137863050wic.1 for <21681@debbugs.gnu.org>; Wed, 14 Oct 2015 09:56:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=GL+vnhGkNxmNJXwdnLe/YErFoh80EH9BomwR0qqbzUo=; b=zMGHBKU8JUGZdTiDfOjET7N38r3SNMR88rSO8O4Ah29u6ZWz9/ZHhDBGHr1HrE7Rtk 6P7sAw68k6ch6/Kc++tYHdxMfgV+8ERUa6J94A4l8oKoo6tCbE+AZI9ME/L1BbiZV/wJ b/dsh9It5bEb/etf5dIzngvN/jofv/k+7rFa7cIyMAAt9rRmNdfNn6D/aLna2Oe9Z18j wYY4wMm5emt4jZRbVDtJQL73O2+rE7nfii21hWjeUXi49PAVYOpiAYim4MO/8jM0XtdH /f070PAoNBXT0PAGgSLrdvLE3DJrdFCf/Wcm2Y2ZvN+LAOOcHZqQu6rlJh4XYEK+wz5Y Nc7Q== X-Received: by 10.180.85.164 with SMTP id i4mr5978262wiz.54.1444841788579; Wed, 14 Oct 2015 09:56:28 -0700 (PDT) Original-Received: by 10.28.210.68 with HTTP; Wed, 14 Oct 2015 09:56:28 -0700 (PDT) In-Reply-To: <83fv1dxvmq.fsf@gnu.org> X-Google-Sender-Auth: yQf0rYsEKhUgFmxIZgW77sa1_FM X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:107612 Archived-At: On Wed, Oct 14, 2015 at 12:28 PM, Eli Zaretskii wrote: > Why 'files', and not something more concrete, like > 'file-local-variables'? The docstring for display-warning says the TYPE arg should be a custom group. display-warning doesn't actually enforce this, and it looks like the choice of symbol(s) is only relevant to warning-suppress-log-types. Perhaps the TYPE should be '(files local-variables) so the user can suppress it along with all files warnings or just suppress it on it's own, but display-warning only prints the 1st symbol of the list so the warning text itself wouldn't change.