From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.devel Subject: Re: Towards a cleaner build Date: Sun, 9 Jun 2019 12:15:47 -0400 Message-ID: References: <83zhn6zkgf.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="91569"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Eli Zaretskii , Stefan Monnier , Emacs developers To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 09 18:16:18 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ha0US-000NiI-Rt for ged-emacs-devel@m.gmane.org; Sun, 09 Jun 2019 18:16:17 +0200 Original-Received: from localhost ([::1]:36848 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1ha0UR-0003Xz-BI for ged-emacs-devel@m.gmane.org; Sun, 09 Jun 2019 12:16:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48408) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1ha0UN-0003Xt-4m for emacs-devel@gnu.org; Sun, 09 Jun 2019 12:16:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ha0UM-0000iK-71 for emacs-devel@gnu.org; Sun, 09 Jun 2019 12:16:11 -0400 Original-Received: from mail-ot1-x32c.google.com ([2607:f8b0:4864:20::32c]:46486) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ha0UI-0000fy-6b; Sun, 09 Jun 2019 12:16:06 -0400 Original-Received: by mail-ot1-x32c.google.com with SMTP id z23so6166509ote.13; Sun, 09 Jun 2019 09:16:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=fj5N9AEjEb9cfdc3FFMbA6zmofO6pj0qMg17DAnRta8=; b=mV0hr7rMgxU9goz6T+cqDGS0Ow5idgMc0QPtZBLZ9XK/eY/G0GdcxSiEcZ74BTgGcS 2hwl/gtFt2SJnPzxpWbshZzopTNeleGRW3eKrNjkxFy6ASxsvH0+1tH+fsEsoLWTwI43 EFtt4wxdGQfEplE7cyTsVxGtI4w6hCWlLod/an7UGQJnIas2vwbIUXJ4+EhgsryOb9WO 3lT8Xv1dUAkW1z6zGmXld94NyVFVFZC187vBHGtbsJZesnshl3j+RL5H+CNJ7VQ5Q+Fj CnKHtQxu6lJhDUj49NpBUWYopKFB7J5AS+5UCYSooeMNSnedRmbyKxnnDaCKurw6BXq1 Gbdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fj5N9AEjEb9cfdc3FFMbA6zmofO6pj0qMg17DAnRta8=; b=YY2bayLGHx40VZGblIs4t1I1sEPvBqn5aOj9PR9MzDhJVq6Pqcm1OslfF8qjih2u0z q1pv6etZowWQ9QIouZFYfzyoqS3SA2uOphg8y8c2Yp2P+a8xd0jxrN4R24NkMIe9Fy+a mW72/PCETo6ui6yD9kpuiNQ84clI9PsFCRayy8YoW8uVYNpH90AB9rrEsC/nPnV9PfNi 4plR1LGeEtqARAm/+3Us1Nmu2syjFO4gZ7Lrt8LT2F+lF7D+JMGl/zuVpE1OAtjloSCT QwmS09oojx1OKjR49gbWahfOk7UN0EqwjQkE297Bd/1G+Ql1iBD+p0mH5rnJWEFAtxwg GWLA== X-Gm-Message-State: APjAAAXJM3C92TxngrT047oz/gUJs+YvEwBOnV83T++FrJpel649Gzec cmmrTH75ydlLVLPmxNbtwYYAC2L2sl0blE0+0Cg= X-Google-Smtp-Source: APXvYqwBAt+sxM4ef7QK5R7Vrm/PYYu25YHRga3Opk9Mzm9CwceSgOri8l7YAnalK4BZl4FjGEEkUvqGflVlemLoXKM= X-Received: by 2002:a9d:6007:: with SMTP id h7mr25626210otj.368.1560096964504; Sun, 09 Jun 2019 09:16:04 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::32c X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:237350 Archived-At: On Sun, 9 Jun 2019 at 11:40, Lars Ingebrigtsen wrote: > (with-suppressed-warnings ((lexical prefixless)) > (defvar prefixless)) It's a bit funny that the warning is named 'lexical', when it's about a non-lexical variable. > (with-suppressed-warnings ((obsolete obsolete)) > (obsolete)) > (with-suppressed-warnings ((obsolete obsolete-variable)) > obsolete-variable) We might want to support suppressing the warning for obsolete functions and variables separately? > (with-suppressed-warnings ((mapcar mapcar)) > (mapcar #'list '(1 2 3))) This is the 'mapcar called for effect' one, right? Could we group it with 'value returned from (+ 1 2) is unused' for (progn (+ 1 2) nil)? Even though the byte compiler implementation might have them seperate, I think they're pretty much the same thing from the point of view of an elisp author.