From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Towards a cleaner build: project.el Date: Thu, 13 Jun 2019 16:10:32 +0300 Message-ID: <53005f09-cc1f-abd2-ec41-a3645db0e57c@yandex.ru> References: <83zhn6zkgf.fsf@gnu.org> <83a7eo9nsh.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="217868"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 13 16:11:51 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 1hbQSB-000uTj-9R for ged-emacs-devel@m.gmane.org; Thu, 13 Jun 2019 16:11:47 +0200 Original-Received: from localhost ([::1]:40220 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbQS4-0007RB-UU for ged-emacs-devel@m.gmane.org; Thu, 13 Jun 2019 10:11:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49483) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbPib-0007fP-S9 for emacs-devel@gnu.org; Thu, 13 Jun 2019 09:24:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hbPVE-0000Os-Ba for emacs-devel@gnu.org; Thu, 13 Jun 2019 09:10:53 -0400 Original-Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]:33686) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hbPVD-0000G7-Qa for emacs-devel@gnu.org; Thu, 13 Jun 2019 09:10:52 -0400 Original-Received: by mail-wm1-x32f.google.com with SMTP id h19so6601430wme.0 for ; Thu, 13 Jun 2019 06:10:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=XHe7992hctciN9zaftkiFoNbgPCLUaQweDz7H98bPQ0=; b=NsO/BZSZls+LjBjsyjj1BgaaWY5D2oYIfqurQIfmD10RXDxnvqUwtY2ZhQVqdu60wf ALCzYodb8JtOvcG1J2J2S747uDghgZdujG4BtqmNVNpIz0fC9Irn6QfSOIsRF0DK3a/Y 0FXTYcWR+UfMIbouG9GHBxSR6Yu4sSkEXQQ0fYBeROfG+QOGR5P3tpu9kRr8ZHpyrCSe 76IrC9xF+Dao2NkslnXWhiPRC1JhIMTwT9Mvx8FzOzJQR+S18oYVJmEx2XW7NB7KQPN6 V0L1uMhr2losm86Rd9ROMCqdH2gSE6a/KM71YU1kpYxCJ8f4Z+NZ8S149Qz3aqm3fk++ 6bIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=XHe7992hctciN9zaftkiFoNbgPCLUaQweDz7H98bPQ0=; b=fZa1vakFU6OoIvZYWRVkUgJcM/dFC3A2GAs+V6dFAT/WCR047waq8VDygpjiL0A7oC yZldt46DEqWZML34xD9uIWkiADzIpq8+B3R20RhP1mm44O3ZJWDM/1TYgB/1XEYcxozS eBKra+0T+YXqiro9mnn0S19ILUnGFDrlYxVofh2HYWYLgfjuJWm8GpcrPu+fUj/4dpRv XVkWETiaEiDJz15KmsCuqKlS6Xy6kShqvJqUwzTQLBQ3o6pjSb4NwiiFJ6jUVL3A8UM+ Xuhc3ywMwaLp794HboGlIqGO+WA2rirSh6yN+IYMfmX814B0K4513cZ7L2Wt5156faUO EPfQ== X-Gm-Message-State: APjAAAV60sUiAMQpZ+zgsN4dexPAoyHxeA1JOnco8+y2y4DoAno6cpJO 4Mde0lrJnH417kIitrwFIUROOmLxAOU= X-Google-Smtp-Source: APXvYqyDXMoDT20TjzLXp/5/+z4YxgCCaQAiJKFui5pOJxIg5L1drtyX18Im56RPbblNxPhve30yJA== X-Received: by 2002:a7b:c766:: with SMTP id x6mr3957748wmk.40.1560431435492; Thu, 13 Jun 2019 06:10:35 -0700 (PDT) Original-Received: from [192.168.0.195] ([109.110.245.170]) by smtp.googlemail.com with ESMTPSA id b5sm2934614wru.69.2019.06.13.06.10.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Jun 2019 06:10:34 -0700 (PDT) In-Reply-To: Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::32f 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:237507 Archived-At: On 13.06.2019 15:58, Lars Ingebrigtsen wrote: > OK, then I think the right solution here is to just make project.el > require xref, and if you later change the functions, then we'll get a > new error at that point. Fine by me, but we've previously dealt with these warnings using declare-function, see (declare-function xref--show-xrefs "xref") (declare-function xref-backend-identifier-at-point "xref") (declare-function xref--find-ignores-arguments "xref")