From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 eKMwJ0oDRGQ5JgEASxT56A (envelope-from ) for ; Sat, 22 Apr 2023 17:54:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id IExAJkoDRGQoogAAG6o9tA (envelope-from ) for ; Sat, 22 Apr 2023 17:54:50 +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 27D0BF1B3 for ; Sat, 22 Apr 2023 17:54:50 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pqFYd-0003VC-NW; Sat, 22 Apr 2023 11:53:51 -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 1pqFYb-0003V0-Kr for emacs-orgmode@gnu.org; Sat, 22 Apr 2023 11:53:49 -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 1pqFYZ-0003Se-Ts for emacs-orgmode@gnu.org; Sat, 22 Apr 2023 11:53:49 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1pqFYW-000ADC-Un for emacs-orgmode@gnu.org; Sat, 22 Apr 2023 17:53:44 +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 22:53:36 +0700 Message-ID: References: <87ildpbmgs.fsf@yandex.com> <87edodbc54.fsf@yandex.com> <87h6t9dxav.fsf@yandex.com> <87354swe10.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: <87354swe10.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: 8 X-Spam_score: 0.8 X-Spam_bar: / X-Spam_report: (0.8 / 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.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NICE_REPLY_A=-2.047, 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-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682178890; a=rsa-sha256; cv=none; b=sEs6ajWTKmVvclonSSTY8DGNjNrnjqxHAxYrJffDQtc6ubYkOWt6fBwI9PqbPsTNOD9XiH q934vwl5JTM3W6yXjjEFbsUQjQEI+gAGOpSXtwRsvU/Rk0B/fpeTR5g6g5c6at1Jf+6lBI BYyZUnYXU/O62juVV81vnNyepcMfLMOF6BU0PFI/qDolJEJPK8QX6XBlQx85YDdJEY/ZmN NeAZuzTtFObFLZ3tGSfwTwbKFF27qeMQqvr+/PJ0B3BQ1HFbqwWnHUvkr7rLau6ozG67Up cFuUM2ZhRIKPTD0/h0qFX/PS6aDgm1Axdg+Vw4pHajyD3HaSmmV5NppBesOgbw== 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=1682178890; 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=kjjirq5/yQAK3gekRbNBNwkCK4cu5eSy1cDMs7fKgJo=; b=A3glxTzMCEDX2RYE1igKGGWECDTyNtgDGfZWjwFeMPi7jjovBFwYTYs3E9mYZ41RdfiszU bdUeWMk7mbmNaqQsPdGk3dhjOFjpiPrz3vLY+XnGd2W1bnyw1ZVy2wJ7nQZk9EV2Zl8oND IaWErgxZuOaAydrpfHJGJ7vBFqboTXpT/jKqDulr6T7BTJMQEh/mNyg/gryP39DA3qqTYa qpmf1KnQe1Kv19GWeSxYt/nfDAR+7Ei1GCkjGHJhpT3wtm7uacr367Mnae0yQ0X+stwK6i zw8VxKqLdEb/Jeo4p9i0zjnzlKXFgLihX4vi20ryUE0IJIn+GSTki4qNsz82nQ== X-Migadu-Scanner: scn1.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-Migadu-Spam-Score: 3.49 X-Spam-Score: 3.49 X-Migadu-Queue-Id: 27D0BF1B3 X-TUID: Gj0MBj+PygqI On 22/04/2023 14:51, Colin Baxter wrote: >>>>>> Max Nikulin writes: > > > On 21/04/2023 23:17, Colin Baxter wrote: > > > emacs -Q -l org-agenda > > Only message and scratch buffers present. C-h e to check messages, but since errors or warnings buffer does not appear it should be OK. > >> 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) > > "No match." I would expect either nil or t. Did you press M-x that is `execute-extended-command' instead of M-: that is `eval-expression'? Alternatively you may execute in in the *scratch* buffer (featurep 'org) and C-j or C-x C-e when cursor is immediately after the closing parenthesis. > >> 2. M-x vc-dir 3. Navigate to ~/git/org-mode. 4. + (to > >> pull) 5. M-x compile 6. make clean 7. make > In the case of build org-mode, I first select "make clean" from the > history of "M-x compile". Then I do "M-x compile" again and select "make" > from the history. The effect is the same using the terminal, except the > outputs are now contained in emacs buffers. Thank you for explanation. For some reason I believed that M-x compile invokes make without additional prompt. So make clean; make sounds perfectly reasonable. > >> 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. > > If I don't delete the elc files in ~/git/org-mode/lisp after the first > build then I do get errors. Do you mean that it happens on each update? No .elc files should survive "make clean". I have not tried to reproduce it accordingly to your steps, but I have seen something strange related to .el and .elc files while experimenting with package.el. https://orgmode.org/worg/dev/org-build-system.html#orgd21575b "Compatibility and Convenience" and https://orgmode.org/worg/org-faq.html#keeping-current-with-Org-mode-development suggests that make uncompiled may be a shorter path to the same point. However accordingly to your description I expect that you do not have Org loaded yet. If you can not load compiled org now it should cause an error after emacs restart as well. > > Is org-loaddefs loaded from ~/git/org-mode/lisp? It is a sanity > > check for working Org and more interesting when it is broken. > > I think it must be because ~/git/org-mode/ is the first org-mode found > and not the org-mode within emacs itself. How can I check? (car (assoc "/org-loaddefs.el" load-history (lambda (a b) (string-match-p b a)))) Evaluate it e.g. in the *scratch* buffer by C-j I removed parts of your message where I do not have questions concerning provided info. Thank you for it. You enumerated 16 steps, but It is still unclear to me at which one you got the warning mentioning straight.el. Sorry for annoyance. Certainly you need working Org, but I am interested in a recipe that leads to broken state despite it looks like a valid way to update org.