From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id gPz4AtpUQ2Tm4AAASxT56A (envelope-from ) for ; Sat, 22 Apr 2023 05:30:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id qH7+AtpUQ2T8jAAA9RJhRA (envelope-from ) for ; Sat, 22 Apr 2023 05:30:34 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8023A393DF for ; Sat, 22 Apr 2023 05:30:28 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pq3wB-00074Y-Ji; Fri, 21 Apr 2023 23:29:23 -0400 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 1pq3wA-00073v-CE for emacs-orgmode@gnu.org; Fri, 21 Apr 2023 23:29:22 -0400 Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pq3w8-0004pH-QG for emacs-orgmode@gnu.org; Fri, 21 Apr 2023 23:29:21 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1pq3w6-0007qu-UX for emacs-orgmode@gnu.org; Sat, 22 Apr 2023 05:29:18 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Max Nikulin Subject: Re: Why am I being told to use "straight.el"? Date: Sat, 22 Apr 2023 10:29:12 +0700 Message-ID: References: <87ildpbmgs.fsf@yandex.com> <87edodbc54.fsf@yandex.com> <87h6t9dxav.fsf@yandex.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Content-Language: en-US In-Reply-To: <87h6t9dxav.fsf@yandex.com> Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -4 X-Spam_score: -0.5 X-Spam_bar: / X-Spam_report: (-0.5 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FORGED_MUA_MOZILLA=2.309, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NICE_REPLY_A=-3.297, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682134228; a=rsa-sha256; cv=none; b=tsQnUJ5a11rlaqW74UO6LEhlzylOZnAHoZpe4CMkR21wRYji6x0VPdB3eLCZdVjkR4+flF DsPxOf1/ERrSe7PzE+ORKnNsawcAysiBoGXd3SKt3uX8T15AApcBtgXSrGWGpjEXJnChOd YppZbGHOTBSlKgm4GUGCseamn4SHXbNrKml0pvsMsdJXWcbZZ76a8gW1bEwnKp4Qd7/YE2 ks2fbNcx1uTLb6jtVAoW62cYBDpAooIzRTk+lYsVcUkfYPPt7bY4tE+EqUM9khrp9aTr51 RbaFzZmGBvPnEEGdKdCNpVkZtfvsGF2jy6Sum/dE3TUBdEvJymsfNHsfEy+rJQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1682134228; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=trrbqMh6vIhmg+Bz4i/rZaAuskjVMAlNdOe1C1n0HQY=; b=iF+sDOZgzFsGZoSX+dk1a7NBxTpq/HWlcLnVijAe167Ksi18g85WgGTYOces3590zxXSLI rFwyH6rEK4nu7+fhoJkHbZn+3LFmPJnmx3FWFqtUqbjnl86uRqq6dPwA3KcqiyhFoeWPee fs7Q0gJMJg5508Y7OGcxHrtqPvrYreIMHmxPIcZfTQB7fDdo3CSMQX2sL5FqX/+6T3WMvh v/wPcjgeQLmZxhvyajJw0oAZfEfHST6n4YiflDAJm+lPDLEY8fwhhQUDYmfdYZdQ9OfxDj nV3voWs71P1mtxafapvu7RfFWxxNG5GLz1OHdZ/6B4bOBRxbm2cZcey2Oq4pwg== X-Migadu-Spam-Score: -0.61 X-Spam-Score: -0.61 X-Migadu-Queue-Id: 8023A393DF X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-TUID: D3rQkkdXTU8e On 21/04/2023 23:17, Colin Baxter wrote: > > I will address the other points in your reply the next time I update > org-mode. In the meantime, I can answer some of your other questions > immediately. Thanks for info. I have asked for org git branch. I am almost sure it is main, but to be sure git -C ~/git/org-mode branch --show-current git -C ~/git/org-mode describe If the issue was caused by specific order of file changes, even in the current state output of the following command may be used for attempt to replay updates by git checkout + make git -C ~/git/org-mode reflog --max-count 20 > GNU Emacs 30.0.50 (build 1, i686-pc-linux-gnu, X toolkit, cairo version > 1.14.8, Xaw3d scroll bars) of 2023-04-19. I assume you build it yourself. Do you run emacs binary from source+build tree or from install tree (make install)? The latter has .el.gz files instead of .el, and at least in Emacs-28 it affects behavior of compilation of ELPA packages by package.el. Another point is that the origin of your issue might be in built-in version of Org. It has `org-assert-version' as well. Perhaps there is a bug in make rules for Org in Emacs tree. Could you, please, try the following for your *current* emacs build? emacs -Q -l org-agenda > 1. emacs Till `org-reload' C-c C-x ! at the step 10 org is not involved. Does you init file loads some Org component or some Org buffer is created at startup? To be sure M-: (featurep 'org) I assume that ~/git/org-mode/lisp is added to `load-path' in your init file. > 2. M-x vc-dir > 3. Navigate to ~/git/org-mode. > 4. + (to pull) > 5. M-x compile > 6. make clean > 7. make I am sorry for my ignorance, I usually run make from a terminal independent of emacs. Doesn't M-x compile runs make, so I expect it is the same as make; make clean; make and it is a bit strange for me. > 8. In an eshell buffer navigate to ~/git/emacs/lisp. > Typo! I meant navigate to ~/git/org-mode/lisp. > 9. rm *.elc Why did you decided to manually delete *.elc files? I have lost at which step you got the warning. I expect that "make clean" should remove .elc files. > 10. Open any org-mode file or buffer and do C-c C-x ! `org-reload' immediately after removing of .elc files sounds strange for me. At least since previous command was "make", not "make clean", org-loaddefs.el should exist at this moment, so uncompiled version should be loaded, but prefix argument should be used to load Org uncompiled C-u C-c C-x ! If org has not been loaded before the step 10, then `org-reload' should-not be necessary at all. > 11. Return to vc-dir or eshell > 12. make clean > 13. make > 15. Return to org-mode buffer and do C-c C-x ! again. > 16. Update complete, usually with no warnings or errors. Is org-loaddefs loaded from ~/git/org-mode/lisp? It is a sanity check for working Org and more interesting when it is broken. (car (assoc "/org-loaddefs.el" load-history (lambda (a b) (string-match-p b a)))) However I am unsure if it is relevant to your case. Next time when you get that warning, please, confirm that emacs -Q -L ~/git/org-mode/lisp -l org-agenda is not affected, so the problem is solely with reloading of updated version without emacs restart.