From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Elias_M=C3=A5rtenson?= Newsgroups: gmane.emacs.devel Subject: Re: compiler warnings for "unused" method specializers Date: Fri, 14 Oct 2016 21:01:33 +0800 Message-ID: References: <8737jz251z.fsf@ericabrahamsen.net> <87vawvxxc9.fsf@ericabrahamsen.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1140d3d4867b22053ed2d302 X-Trace: blaine.gmane.org 1476450127 12898 195.159.176.226 (14 Oct 2016 13:02:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 14 Oct 2016 13:02:07 +0000 (UTC) Cc: emacs-devel To: Eric Abrahamsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 14 15:02:02 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bv27a-0002Dv-J6 for ged-emacs-devel@m.gmane.org; Fri, 14 Oct 2016 15:01:58 +0200 Original-Received: from localhost ([::1]:47186 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bv27Y-0004F8-LA for ged-emacs-devel@m.gmane.org; Fri, 14 Oct 2016 09:01:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46858) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bv27J-0004Bb-Cl for emacs-devel@gnu.org; Fri, 14 Oct 2016 09:01:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bv27F-0003zN-6O for emacs-devel@gnu.org; Fri, 14 Oct 2016 09:01:40 -0400 Original-Received: from mail-qt0-x22a.google.com ([2607:f8b0:400d:c0d::22a]:33862) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bv27F-0003zA-1p for emacs-devel@gnu.org; Fri, 14 Oct 2016 09:01:37 -0400 Original-Received: by mail-qt0-x22a.google.com with SMTP id q7so74744540qtq.1 for ; Fri, 14 Oct 2016 06:01:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ZcnZ6DwYmYR7/hkUfIgyj1DLBKJXs1ij/ZRae4ULU3g=; b=hYLldyQ2sn8RzTW2x7AidDMIYUE/DKkKxvYu4OOlEh4MTBGQ7s+o/jdCJ2fzO+WNAW S5OW+/9FjPCEIUM+YexfBdBar8H/1gpN53OUfDXR9tBgGKucDk4vj+Po6dXi+V8z+rmM A0ObXcA7offtpStWm3FGpNFyF+qgtraTDvrY/6W0ojj4pLIsXoOYkNvBBpOfMTz2g4Kf ZC1PH9t5qdQve36k58KIYYEdqPahGk4vQhKv4+jDMBXx+5q00SdKNimgsbSawDK6DJNG 7rvhGTbxOrC0pvmUoTDdQQ1RdxgQYGya79Z6fCjGyy4TVyiiDZW5G4jvBipUo2pK81XT ZC+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ZcnZ6DwYmYR7/hkUfIgyj1DLBKJXs1ij/ZRae4ULU3g=; b=LkX2VGhVD/aSGIgJ5kNUUNbXSekGuUQ/jn3xxQyrixz8Hc10GIpey8n73LNohP+pr0 1UXW7xEnBCe7H74AKgaH1ybfjUh3rlBwRvX7RvAiP1L31Z34bJoVs4snY21X55esKqh4 l4R5lcSCJZgVUafzo0MnorhwM7HxYfoccrlnWteND+YrJJ3yE4+YNewQEMDkbloiYG2h 7DCXZ1om5z8vqeCYCN9uP2lyHXjB0PoQCZ4BaPHHPmwyShWbnn4WbrXEPXdqpJaeqmPM pttfXudxNRckHJGrNqY16hB+d1x0YawB53AUxfqreIkND2fo02wTuRNxZeuYOpnQ7lOE j9yw== X-Gm-Message-State: AA6/9RmQoZ6NmmkCi8S1A8Dn4cpSYEp/ieDytxPvJkFbTP3cSDpCu42yvJjvWBkaAN12BXyKGDbd6BFa39sZPQ== X-Received: by 10.200.34.145 with SMTP id f17mr12287840qta.149.1476450096398; Fri, 14 Oct 2016 06:01:36 -0700 (PDT) Original-Received: by 10.55.55.2 with HTTP; Fri, 14 Oct 2016 06:01:33 -0700 (PDT) Original-Received: by 10.55.55.2 with HTTP; Fri, 14 Oct 2016 06:01:33 -0700 (PDT) In-Reply-To: <87vawvxxc9.fsf@ericabrahamsen.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400d:c0d::22a 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:208241 Archived-At: --001a1140d3d4867b22053ed2d302 Content-Type: text/plain; charset=UTF-8 On 14 Oct 2016 2:25 pm, "Eric Abrahamsen" wrote: > > So maybe it's not worth adding extra compiler code to handle method > specializers, but it would be worth allowing multiple _s? I do like the > use of _ to say "this variable intentionally and permanently ignored". How about supporting CL-style ignore declarations? (defun foo (x) (declare (ignore x)) 1) --001a1140d3d4867b22053ed2d302 Content-Type: text/html; charset=UTF-8

On 14 Oct 2016 2:25 pm, "Eric Abrahamsen" <eric@ericabrahamsen.net> wrote:
>
> So maybe it's not worth adding extra compiler code to handle method
> specializers, but it would be worth allowing multiple _s? I do like the
> use of _ to say "this variable intentionally and permanently ignored".

How about supporting CL-style ignore declarations?

(defun foo (x) (declare (ignore x)) 1)

--001a1140d3d4867b22053ed2d302--