From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Merging native-comp and pgtk Date: Sat, 13 Feb 2021 22:30:47 +0200 Message-ID: <863934ee-00c9-388a-9e29-1ca81edeb962@yandex.ru> References: <07D5E64D-DAD0-45B3-B272-627A73D7CBAE@gmail.com> <87mtwhctte.fsf@gnus.org> <459A0475-E3E7-4159-82DF-93809CCF1E24@gmail.com> <87eehng52n.fsf@gnus.org> <87mtwbye5b.fsf@gmail.com> <87czx7ycva.fsf@tcd.ie> <87eehmyalr.fsf@gmail.com> <877dneoewi.fsf@tcd.ie> <875z2yy6z7.fsf@gmail.com> <878s7twq2t.fsf@gmail.com> <84adc238-c424-bb6b-da28-c4232172da5b@gmx.at> <87wnvcrze8.fsf@gnus.org> <87eehkfbab.fsf@gnu.org> <878s7sqiww.fsf@gnus.org> <87pn14ow7j.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23906"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 Cc: emacs-devel@gnu.org, Tassilo Horn To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Feb 13 21:32:01 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lB1aC-00066Q-T0 for ged-emacs-devel@m.gmane-mx.org; Sat, 13 Feb 2021 21:32:00 +0100 Original-Received: from localhost ([::1]:46248 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lB1aB-00027e-T0 for ged-emacs-devel@m.gmane-mx.org; Sat, 13 Feb 2021 15:31:59 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41492) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lB1ZA-0001dE-4W for emacs-devel@gnu.org; Sat, 13 Feb 2021 15:30:59 -0500 Original-Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]:51256) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lB1Z8-0003Hy-Au; Sat, 13 Feb 2021 15:30:55 -0500 Original-Received: by mail-wm1-x332.google.com with SMTP id u16so2798420wmq.1; Sat, 13 Feb 2021 12:30:51 -0800 (PST) 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=31kg8WZKTvRqeFpX1Ijlixlx0h3cpp5s/766y7D5j0g=; b=qfwPqx88m5ljrlK1jPibhR2IpNm2nJiOx66SZUiOTjjPilaJeUB/fbFt9KFE5AICoG IJlWNCeDMCB+IriHqGKNmG3r7QINMFKT7H1E7+WkKTduX4iSIM0sNurOar9/BN025jjW oUV0C58nTT+ASeymxzsFO2UkUJNyt8bEE9+nnkzORMl4+JN+tp3+NkLmwJTCJ9/GWVXx 9EKmokNoH8wOSWGDQaUxJ0qm2jkHStmTzBvOnvBlaoFoQPvoxLKZTC5k0D71Ct+LdiBU myG81NzKy2RixpF8jgtI39NufseTNf2sPEMFjK7iBoIKpaCrTRq44UCMjJDkA+AvdMxl BmiA== 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=31kg8WZKTvRqeFpX1Ijlixlx0h3cpp5s/766y7D5j0g=; b=U7WCnmzTlC+YLBP0Kq123bUhqx9bNb/ZcL+WNPKmr0FQTjVFTS1w5Kn/Eqazf+EFp7 fHhExgcBjnIMssmuhUhkUTh8QGQVdDLEvLGGsfSFO+ZybuWveMI86PluKb3JftK+6eji VwYnE9NH2igfWPhFENCdeI/25kfPQQTv9pKeqnlhM86n0xqtS6g69Z88tfEWzK3C4ag+ wp6B00pUfX8FcJcMnhgK0xpSi452+m2kq1xxBLHrqcvmSHvzp8bsftdLwI+XOa1P2QtO mu3pWutt6ELQ0wHPVN2MNSksBxtymqE2+SsSrGANEyqSgaoODD0IHPSFFAhCYXoy7l7M 9q/g== X-Gm-Message-State: AOAM532MP8F6pUUKSP8+V7Xe3JfpzD++QUEZqZMV9fL7eHJUsmt6z+Gr gvbotEeAP31c8csA/Wv5HTgXIMEv4Bk= X-Google-Smtp-Source: ABdhPJy/T3M3KIBwR8wCfH8rQTf5QUJ7Uds2rjfLFF/LufiWhRFY4ZADSrWucg6YJcbt+mLKBLQ5TQ== X-Received: by 2002:a7b:cb54:: with SMTP id v20mr7994958wmj.148.1613248249640; Sat, 13 Feb 2021 12:30:49 -0800 (PST) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id r12sm18033943wmg.44.2021.02.13.12.30.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 13 Feb 2021 12:30:49 -0800 (PST) In-Reply-To: <87pn14ow7j.fsf@gnus.org> Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::332; envelope-from=raaahh@gmail.com; helo=mail-wm1-x332.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:264653 Archived-At: On 13.02.2021 16:53, Lars Ingebrigtsen wrote: > The primary way Emacs is distributed is already-compiled, and these will > presumably have .eln files pre-installed. I think it makes some sense > in having the development version of Emacs behave more like what users > see normally, which means defaulting to compiling .eln files when saying > "make". But the actual people who compile Emacs for distribution are the minority, aren't they? So it might make sense to just document the advice to do full AOT when compiling for distribution, but default to lazy compilation. > But it would indeed make sense to be able to inhibit it if your build > machine isn't super-spiffy. Or, you know, if you update the code often enough and don't want to waste time on native-recompiling the world every time. Also, the lazy compilation approach seems to be the trickiest to get right, so I'd keep it the default even just to expose it to as many users as possible, to iron out whatever kinds could hide there.