From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.help Subject: Re: Native compilation Date: Wed, 22 Dec 2021 17:01:25 +0100 Message-ID: <87czloy6ga.fsf@telefonica.net> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3742"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: "help-gnu-emacs@gnu.org" To: dxlcstar Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 22 17:03:31 2021 Return-path: Envelope-to: geh-help-gnu-emacs@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 1n045T-0000nC-D0 for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 22 Dec 2021 17:03:31 +0100 Original-Received: from localhost ([::1]:38792 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n045S-00042i-1E for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 22 Dec 2021 11:03:30 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:51674) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n043h-00042X-Em for help-gnu-emacs@gnu.org; Wed, 22 Dec 2021 11:01:41 -0500 Original-Received: from relayout01.e.movistar.es ([86.109.101.201]:46801 helo=relayout01-redir.e.movistar.es) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n043X-0003pY-Cd for help-gnu-emacs@gnu.org; Wed, 22 Dec 2021 11:01:37 -0500 Original-Received: from sky (234.red-88-17-68.dynamicip.rima-tde.net [88.17.68.234]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: 981711563@telefonica.net) by relayout01.e.movistar.es (Postfix) with ESMTPSA id 4JJyjy2mFwzfdPV; Wed, 22 Dec 2021 17:01:26 +0100 (CET) In-Reply-To: (dxlcstar@protonmail.com's message of "Wed, 22 Dec 2021 14:41:26 +0000") X-TnetOut-Country: IP: 88.17.68.234 | Country: ES X-TnetOut-Information: AntiSPAM and AntiVIRUS on relayout01 X-TnetOut-MsgID: 4JJyjy2mFwzfdPV.A167F X-TnetOut-SpamCheck: no es spam, clean X-TnetOut-From: ofv@wanadoo.es X-TnetOut-Watermark: 1640793687.08517@SSUJwggZ0S10CTLPxwCQtA Received-SPF: softfail client-ip=86.109.101.201; envelope-from=ofv@wanadoo.es; helo=relayout01-redir.e.movistar.es X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:135020 Archived-At: dxlcstar writes: > I hope this is not an extremely dumb question. > > After installing emacs (mater branch) with native compilation enabled, running > it for the first time invokes deferred compilation for the packages > that I call and use, and eln-cache is populated. > > But, subsequent invocations of emacs doesn't seem to start deferred > compilation at all for lisp packages that I didn't use the first time. > > I think I am missing something very basic - any suggestions ? First, check that those packages are really being ignored by native-comp: if the package has source file foo.el, go to the eln-cache directory and see if there is foo-####.eln. Also, check that the source files of those packages are byte-compiled (to .elc). That's a requirement for generating native code.