From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arthur Miller Newsgroups: gmane.emacs.devel Subject: Re: native-comp - Questions: eln-cache and subdirs.el? Date: Wed, 30 Sep 2020 13:49:02 +0200 Message-ID: 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="37556"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Andrea Corallo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Sep 30 13:50:04 2020 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 1kNacV-0009ez-OY for ged-emacs-devel@m.gmane-mx.org; Wed, 30 Sep 2020 13:50:03 +0200 Original-Received: from localhost ([::1]:56502 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kNacU-0007Sr-RP for ged-emacs-devel@m.gmane-mx.org; Wed, 30 Sep 2020 07:50:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37418) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kNabh-00070t-Du for emacs-devel@gnu.org; Wed, 30 Sep 2020 07:49:13 -0400 Original-Received: from mail-oln040092065088.outbound.protection.outlook.com ([40.92.65.88]:49924 helo=EUR01-HE1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kNabb-00059B-AW for emacs-devel@gnu.org; Wed, 30 Sep 2020 07:49:09 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=h4qXouQa1p5rtDwDmuF5c/Q1dabc+33LH1jLDfX3fu0jn6pPzanvoG/XKZDnhCEI2iznaPJOB3fx2E58FfFRuuz3v81g51oHduosEwzcEBE4XWci4hTL456BTDAajbpwISqJtENLotp0kpaDCQIt3OHsy5QWXTEs1ocOcdiwe2jz5hLdmY/m/RM2h7OQs7CZWG4iJP18Mc7UzWvmflkNPPk7jdW7sCz6j9YmSXIEXHJg3IALcDGcwocfLbozDzYO29p8j0FEawJY/QM3CvdeFtK1wUpec5mmxW+6A5F/hKSBhlBDFUZd9wv39SqWm3u/CmDjflYR3OAKqoZ1oqbhuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=iiYJkQ5iMdfU4Xg+4YhBZVs8KYFO1es6k/UGKcQLBFA=; b=Xlo5bmTRTQBR79QBZU/3OmNMT1VudE5m9d4BM8RyIYgMWSb+jROvMZ6Y3mSoo/n4T+83rK3tEfPeCimyws28WUnjhm7ogHCeakDe5jsUzzAuKurijfvYBgHFOiIU7xAoHOASjK8tatkLx8oNJyPp1B/gR8FZZa6ppqYlewIR9GoW1tr4DFSsh9v8hIl+CwL1N59PnSo/upym8LvPxuAOtvQZp336Us/L15CzuD5wc5gNA06kTlVW3GnC2qzU88jf0Bb5cLZTRvhxaJlcS4UiPHZJ8Y+ymMIpfY1etKm4BTOjdiY6QpkrBBKlI3AUvQeHxutFh0VMaMO3Q8HyVMEWFw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=iiYJkQ5iMdfU4Xg+4YhBZVs8KYFO1es6k/UGKcQLBFA=; b=b+ULRV6u6tLT6xCRuKpspa7Ja30UVHdqVRvJqzuuklogdKbLVLqOVkzMKN7qseXNdG8WyTJaa2oBkn/YM1W75d4B8vtmk0FEbRur3nAepwqDZlpSJxSXqEE8U8r9ADPHCZEA5WPiXxXU1znHXibFGcKa7+K8JbhlZ04PwY+01kSt6JUxwSFaJ3sRn+uMqYYZyfyjn7DIWrZ3RYDT8+3/mr3PJWCoojj3pqY+fLyYaGTebyPQaU34hFvx5BM/vjn+RWqL6FiWj5XODeJE6SZ2JABgHOAESIzIqj3K8rrf4UUyWDBrPRbG+skh1XOjJ+9zsgQzGHNhFZ1ByXuMyam05g== Original-Received: from VE1EUR01FT031.eop-EUR01.prod.protection.outlook.com (2a01:111:e400:7e19::46) by VE1EUR01HT039.eop-EUR01.prod.protection.outlook.com (2a01:111:e400:7e19::338) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.25; Wed, 30 Sep 2020 11:49:04 +0000 Original-Received: from VI1PR06MB4526.eurprd06.prod.outlook.com (2a01:111:e400:7e19::4b) by VE1EUR01FT031.mail.protection.outlook.com (2a01:111:e400:7e19::225) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.34 via Frontend Transport; Wed, 30 Sep 2020 11:49:04 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:E6A3E3C5EE8D285E3C6FC9BCA67533C25745A77CA2939F3D0BAD042067F39725; UpperCasedChecksum:E973146DDE831F64BBB5D6223B76EEC1103F8DB012CCED097E52069615A0B048; SizeAsReceived:7460; Count:46 Original-Received: from VI1PR06MB4526.eurprd06.prod.outlook.com ([fe80::b547:51cd:16c5:4487]) by VI1PR06MB4526.eurprd06.prod.outlook.com ([fe80::b547:51cd:16c5:4487%7]) with mapi id 15.20.3433.035; Wed, 30 Sep 2020 11:49:04 +0000 In-Reply-To: (Andrea Corallo's message of "Wed, 30 Sep 2020 10:51:39 +0000") X-TMN: [IzWRm7RrXjuRmXwnwRfrFxcMZfe11qvz] X-ClientProxiedBy: AM6P192CA0078.EURP192.PROD.OUTLOOK.COM (2603:10a6:209:8d::19) To VI1PR06MB4526.eurprd06.prod.outlook.com (2603:10a6:803:ac::17) X-Microsoft-Original-Message-ID: <87a6x7o575.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from pascal.homepc (90.230.29.56) by AM6P192CA0078.EURP192.PROD.OUTLOOK.COM (2603:10a6:209:8d::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.32 via Frontend Transport; Wed, 30 Sep 2020 11:49:03 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 46 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 4154033a-3b64-40b4-77aa-08d86536d437 X-MS-TrafficTypeDiagnostic: VE1EUR01HT039: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: PG5RccC13DRU3RoLavX5najy/pLaN3IFrrTymXPHR4bL1pY7Zt+mg6rcqCSl0V3Ed/9ztfKl57XrWOSk99EQFNEDyIwrsqSsbYoL5F9fV+anitfE3HShl+Va2EkKDE5gSbNXBH9r8zqwxQ6w6CdRevds/3cS375a4fvqKoBa3BNkW1A5N8EPmequsRVMODDauO8TOouAEbdBqLMEQEU3vQ== X-MS-Exchange-AntiSpam-MessageData: dps4WWMwacIDIBUQWGZS0FRcP1bBPHHJLKtIcBsHsI2g1NXiTpKEMO97EYIimlgyxshmNq4cSRixI8I7xIN1s4XBjlBMvpHUDZsEiSWVfE5RVbkcb65F9/z9NSgI8PbOF3MfiA7UGYVBitVUcl0ODA== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4154033a-3b64-40b4-77aa-08d86536d437 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Sep 2020 11:49:03.9607 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: VE1EUR01FT031.eop-EUR01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1EUR01HT039 Received-SPF: pass client-ip=40.92.65.88; envelope-from=arthur.miller@live.com; helo=EUR01-HE1-obe.outbound.protection.outlook.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/30 07:49:04 X-ACL-Warn: Detected OS = Windows NT kernel [generic] [fuzzy] X-Spam_score_int: -24 X-Spam_score: -2.5 X-Spam_bar: -- X-Spam_report: (-2.5 / 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, FREEMAIL_FROM=0.001, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.373, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham 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:256748 Archived-At: Andrea Corallo writes: > Arthur Miller writes: > >> I have something like 3 different eln-caches now >> >> 28.0.50-x86_64-pc-linux-gnu-8e48a483af0cc5adcb56147eb760a39f >> 2020-09-27 12:03 28.0.50-x86_64-pc-linux-gnu-cfb9403e84a6e99e5ac1bea6ab4abade >> 2020-08-21 17:21 x86_64-pc-linux-gnu-958646d5fbcc566c >> >> Are they all used or I can delete some? I also see that not all files >> are in all folders; > > Hi Arthur, > > if you have only one Emacs compiled you can always remove all of these > but the most recent. Well technically you could also remove all of them > and even eln-cache and it will recompile only what's needed in that case. Yes; thanks! >> About subdirs: >> >> since Emacs deprecated subdirs; are there plans to get rid of that >> mechanism later on, or it is it here to stay? I see in source code that >> content of all subidirs.el is same (I checked few) on my machine; it >> says: >> >> ;; In load-path, after this directory should come >> ;; certain of its subdirectories. Here we specify them. >> (normal-top-level-add-to-load-path '("eln-x86_64-pc-linux-gnu-600a7a2b93bc09d0" )) >> ;; Local Variables: >> ;; version-control: never >> ;; no-byte-compile: t >> ;; no-update-autoloads: t >> ;; End: >> >> Since Emacs screams about deprecation when compiling; maybe this could >> be saved into 'somefile.el' and then followed by a directory listing, or >> just as assoc list? >> >> Example: >> >> ;; In load-path, after this directory should come >> ;; certain of its subdirectories. Here we specify them. >> ;; Local Variables: >> ;; version-control: never >> ;; no-byte-compile: t >> ;; no-update-autoloads: t >> ;; End: >> ((dir1 . '(normal-top-level-add-to-load-path "eln-x86_64-pc-linux-gnu-600a7a2b93bc09d0" )) >> (dir2 . '(normal-top-level-add-to-load-path "eln-x86_64-pc-linux-gnu-600a7a2b93bc09d0" )) >> ( .... ) >> (dirN . '(normal-top-level-add-to-load-path "eln-x86_64-pc-linux-gnu-600a7a2b93bc09d0" ))) >> >> Maybe I missunderstand how this set of subdirs is ment to be specified, >> but maybe some similar mechanism is possible? > > Not sure I understand the interaction of subdirs with the native > compiler. The system is meant to be transparent and the .elc are still > there for now so any decision on this should not be influenced by the > .eln machinery I think. I am not sure I understand either :-); It can be the product of me running Emacs directly from the source folder; where I compile it. So it must be something in Emacs that produces those subdirs.el. I thought it was native compiler that is responsible for those. There is one in the lisp folder in emacs sources for each directory. I tried to remove them and then Emacs can not find anything :-), and they were back after I recompiled.