From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Maksim Kislyakov Newsgroups: gmane.emacs.devel Subject: Why does Emacs's source tar archive contain *.elc files? Date: Wed, 17 Jul 2024 15:45:48 +0300 Message-ID: <141f27f6-9e8e-49dc-a0f3-ecbf882f2f14@kmaksim.dev> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37149"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jul 17 15:01:13 2024 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 1sU4HR-0009Tn-9H for ged-emacs-devel@m.gmane-mx.org; Wed, 17 Jul 2024 15:01:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sU4Ge-0004kO-2f; Wed, 17 Jul 2024 09:00:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sU44q-0004rG-TE for emacs-devel@gnu.org; Wed, 17 Jul 2024 08:48:13 -0400 Original-Received: from smtpout7.timeweb.ru ([92.53.116.145]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sU44e-0008Ti-Mj for emacs-devel@gnu.org; Wed, 17 Jul 2024 08:48:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kmaksim.dev ; s=dkim; h=Content-Transfer-Encoding:Content-Type:Subject:From:To: MIME-Version:Date:Message-ID:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=5p4qf4JEdyXMwFGS1niWTzIZ5uAGwxFKlnEBqeHXXxE=; b=rPMY0fuo5NX7XriZqUGNaY/xvu CZQwAZ81UKQSST+9Rr/Uya5MgQMJxAZyrO9be8NqcgFG1X7WdRziHxy+DdcWdPgNuOdYPAlLbN1qB +Y6id+A2Il5xF+DkQERF29ApOpAl3O8cbGqjv12lF8IiVCqfu6P4/ijZx5Lens5/evaQ=; Original-Received: from [91.149.223.111] (helo=[10.255.255.4]) by smtp.timeweb.ru with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.95) (envelope-from ) id 1sU42X-0005E5-QU for emacs-devel@gnu.org; Wed, 17 Jul 2024 15:45:49 +0300 Content-Language: en-US, ru Received-SPF: pass client-ip=92.53.116.145; envelope-from=mail@kmaksim.dev; helo=smtpout7.timeweb.ru X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 17 Jul 2024 09:00:13 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:321749 Archived-At: Good day,  I was playing around compiling Emacs from sources. At some point, I have found out that '*.tar' files with Emacs sources contain '*.elc' files. As far as I understand, 'elc' is byte-compiled version of 'el' file. - Why does the tar archive contain compiled sources? That seems strange. Source code archive (which you use to compile program) contains compiled code. - Also, what will happen if I apply some patch before compiling Emacs? 'el' file's modification time will be newer that corresponding 'elc' file's modification time.