From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id Xy6HEPKrpGH7KAEAgWs5BA (envelope-from ) for ; Mon, 29 Nov 2021 11:31:14 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id wOy1C/KrpGGcPwAA1q6Kng (envelope-from ) for ; Mon, 29 Nov 2021 10:31:14 +0000 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 446CD8332 for ; Mon, 29 Nov 2021 11:31:13 +0100 (CET) Received: from localhost ([::1]:53398 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mrdwG-0007gO-82 for larch@yhetil.org; Mon, 29 Nov 2021 05:31:12 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46714) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mrdv9-0007dv-Bw for emacs-orgmode@gnu.org; Mon, 29 Nov 2021 05:30:03 -0500 Received: from [2a00:1450:4864:20::42e] (port=33552 helo=mail-wr1-x42e.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mrdv4-0003Lz-OP for emacs-orgmode@gnu.org; Mon, 29 Nov 2021 05:30:03 -0500 Received: by mail-wr1-x42e.google.com with SMTP id d24so35703986wra.0 for ; Mon, 29 Nov 2021 02:29:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=SZRYmmJ5sFOs6zumrEF8XjB1ze1co0oi2ESmCnPn6jQ=; b=OImoAZkGM6gO0FCTLDE5rOcoDNqw2AEU7T35kl6JsIeLGgGUBk7E0NRnrMKYOr/3AF biIiOT0EySP2w0shEbN0G3q/p4SxDywr0vySbshCecPorTmvwGFQCidey/xNV21GePgR J3yELCEqUiCHVFSfJIbEfX1d5iPTQLZLmP/0NFOn1Lyhs6O3Str0grir9xsK0Yc1oH3Z WzG7fBpDQYgt+bA7AzULDERvMRxqO/Ko5uV0IdTbHEO/p+xIWW9b6yibPd/3/rRTsMyU Yi7oe/XqO/+BFiWr738Jr23sCIY4bSr+PzPJ3957fydUDxoNWQPHokk1C4FxAGhE5F+p 56Vw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=SZRYmmJ5sFOs6zumrEF8XjB1ze1co0oi2ESmCnPn6jQ=; b=I16Vq51RBL6saWVNhu67IMjWrVSljNAu81wdQ+yViRAEHm9Qh/IOa+s0xu7g3ZWn4p X940XPnBcPZ6jsW59VHkNbtGNUYdMb2GHhB66NUSLS/BFd7qtmGdjR50vFSCzfdHjOXl 16+R/P6oyqFAVbhjucCN/Ix5xq4ysSkR3rHdHx9d+j3mVUijAakMitz9ha3ISrVviUgo RsFQA5AHfm/FF7YljeXHzjElBSbLnQjQ10n7RTRYQD3mMzKXu9nroXNexcW2pfPHC06Q iFtgHsRz3wwXP6Tm5sltbNQyiD9p+m7AKESo8/Y/LVK6NNiWB4QUXiR0mS25oFK3i5lI SqtA== X-Gm-Message-State: AOAM531q7e2sBdNUs97qi2njCU65uVvnPRjcqI9+uQHC2HFrtPeUdGqp CXzm92Xw7K9QsLGdsz4/VZl2aOKJF4gEb2NnIg8= X-Google-Smtp-Source: ABdhPJwSrgrh6R2O/LaV0Y3KCVBnZ3tLqIpwilzI/Vp4RbjZwKmxDjHby+5bhL+QjUN/wKmOKn+s/afiBVrVZdtWlPU= X-Received: by 2002:a05:6000:1c2:: with SMTP id t2mr31451379wrx.378.1638181792947; Mon, 29 Nov 2021 02:29:52 -0800 (PST) MIME-Version: 1.0 References: <87a6hn7vqu.fsf@gmail.com> In-Reply-To: <87a6hn7vqu.fsf@gmail.com> From: "Alan E. Davis" Date: Mon, 29 Nov 2021 02:28:27 -0800 Message-ID: Subject: Re: Re-installing org-mode packages due to annoying message To: Tim Cross Content-Type: multipart/alternative; boundary="000000000000d8a3c805d1eaeb31" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::42e (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=lngndvs@gmail.com; helo=mail-wr1-x42e.google.com X-Spam_score_int: 29 X-Spam_score: 2.9 X-Spam_bar: ++ X-Spam_report: (2.9 / 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, FROM_LOCAL_NOVOWEL=0.5, HK_RANDOM_ENVFROM=0.731, HK_RANDOM_FROM=0.998, HTML_MESSAGE=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URI_DOTEDU=1.997 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: , Cc: org-mode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1638181873; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=SZRYmmJ5sFOs6zumrEF8XjB1ze1co0oi2ESmCnPn6jQ=; b=Ga8FxSkExhv+7MV5NqZ/751gUfxV2HeE4mBWZaSQPkr/Nsyd5h2wEWLGzSjEfn7WvXCE54 CNzskStourjZT/GmcPENE9gi1PdeUS+Dek7yfsmhtHKzPvnNnBLZuZkGKDOzA6eZxgKTyg CLf15Coa7/+eEI2y0Lx53GopRvHO9jZI3/YHB6sEq+bplPcGPBXPSHF9XwpWcC3yfthRw6 H2YvlrVh3niIynPRrkkYFQGT7Q8/20GGEJgpdDWDBJ8jsK0tNKHRi/7h9Dxe4CwruzegP4 1VrFqIr1SrcLYtFzEJXwY0xoGfybvVwazEPoMCDTSXfzfPdzbfz/VH4EBfIf/A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638181873; a=rsa-sha256; cv=none; b=pCv1B31zUNtQfNkixR7XUO+eJi1sEjJGSLNZZ7f6PUsgDQZvoh79Id6E+RQsXpRWnHtDmX 5Z6aXxrPzC8mlm29aJXpNe8JmgJxOblWgJHg+BPgJdgOR+cZIlCdC6VD0TQT8RO7DuZZ+q 8wv7zo0srpbn13HH1l924UMgzDwOMncdXsCzTIJY02pYXLzFpzmDzHTTExhKZfLV9FmY/3 SCIrSuCeRDU/mjnuvs0oiip2s2rk3kYEx3gxxDgLbv6eKJ0sUrkoNxdtmclvnTD8paexv8 rfDQuNPdUIZJAoZu+CRWoSAS4aYMAMlC1DClbUE4QuLFnkydfjJgEdCRt1c8LQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=OImoAZkG; dmarc=pass (policy=none) header.from=gmail.com; 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.11 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=OImoAZkG; dmarc=pass (policy=none) header.from=gmail.com; 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-Queue-Id: 446CD8332 X-Spam-Score: -3.11 X-Migadu-Scanner: scn0.migadu.com X-TUID: vrRCoPeGMEwC --000000000000d8a3c805d1eaeb31 Content-Type: text/plain; charset="UTF-8" Tim: I appreciate your thoughtful response. You went to a great deal of trouble, and answered, I think, most of the important questions I have with this issue. I use Arch Linux, and have been installing the AUR emacs-git package. Sure, I don't need to go beyond the current stable package. For now, I do. I have a few org-mode ancillary packages installed, some I am still uncertain of, and some of which are more essential. I have indeed installed some packages and also some code into my init file, without understanding what they do, because I want to test whether they will work for my needs. I plan to steal your initialization for use of packages, because mine is out of date, and I think this may solve the problem of the annoying message I refer to. The message is to the effect that one needs to install Org-mode from a different repo, because after version 9.5 (I think) the existing elpa repo will not be updated. I hope your simple code will solve that. I may just follow your advice and declare emac init bankruptcy (If I understand that correctly), and start by copying over the functions I have written and the configurations I have found essential. I have actually done that in the past. I appreciate that Emacs exists. I cannot overstate my appreciation for the work that Richard Stallman and the multitudes of programmers have put into making this tool and making it better. I see the need for cleaning out the garage once in a while, and I understand that Org-mode will be better served by consolidating the repositories. I have just not been able to understand the shop talk, I guess. Your example is really helpful. It is interesting that an old timer like yourself would reach for Spacemacs. I haven't, mostly because I don't think I need the modal model of Vi. The keybindings of Emacs or so convenient and intelligent I find them to be enough. Here's where I might have spent more time in the early days learning the basics better. One of the things I like about Emacs is that I can dance around a page of text, in a manner that the commercially produced text editors and word processors I know have not dared to implement. We are locked in to a dumbed down interface in all the software we encounter. I cannot think of one example just now, but maybe the way one can move back and forth over characters and words. I never learned Vi, except to be able to edit a simple config file if need be. I know I am over my head, and I have been so for the 30-ish years I have been using Emacs and for the time I have used Org-mode. It is more than I can do to keep up with the newer complexities that are cropping up. Yet, just like the plain text files, and the LaTeX source for my one publication, a lexicon of animal names, they live on while documents using the high priced tools are not longer readable or editable. And through all the changes, my little utilities for editing things that only I could probably care about, and I would not expect anyone to care to learn---they still work today. I love it! I appreciate your help. Alan Davis On Sun, Nov 28, 2021 at 2:38 PM Tim Cross wrote: > > "Alan E. Davis" writes: > > > I have just spent an hour trying to figure out what's going on with > ELPA, GNU ELPA, NONGNU ELPA packages. I am lost. > > > > A plethora of methods exist for installing org-mode and other packages; > it is unnecessary to list them, even if I could. > > > > I've been using Emacs and Org-mode for many years. I am not interested > in spending an hour of my time to learn a new way to install > > something that has been working well for me. I may not use org-mode > with the facility of a programmer who can whip off a quick utility > > in emacs lisp, but I have come to depend on the basic tools as a core of > my work flow. > > > > I have tried "use package", but I would prefer something > straightforward, like just list-packages then install. I don't understand > how to > > set up my init file (dot emacs) for various package repos. It was > working, that's all I needed. Now I get a 5 second delay each time I use > > org-mode. I cannot seem to find the information I need to fix this. On > reddit, on emacs wiki, on this list, I cannot find the magic search > > term. I see advice like "the maintainer has written a very clear > explanation of the issue" but,this very clear explanation does not help > > me understand what I need to do. > > > > I guess I need a formula, but I have cut and pasted two or three > different things into the top of my .init file. Perhaps I need to start > > again, but my .init file has been taking root for nearly 30 years; it's > burned into my muscle memory. > > > > I hope I will never have to write another email like this to get help > for something that should be simple. Maybe I will now have to install > > from git. I think I am already too far out at sea to abandon the > packages approach. I guess it serves me right for stepping off the > > beach. > > > > Hi Alan, > > sorry your feeling so frustrated. Unfortunately, in order to be able to > maintain org mode with the limited resources available, it has been > necessary to make some changes and as with most transitions, there can > be some rough bits to get through initially. In the long term, things > should actually be simpler with respect to org mode as there will be > no need to add any repositories to use org mode or the org contgrib > packages as they will be available in the default package.el > configuration (Emacs 28 has both GNU ELPA and the new NONGNU > repositories defined by default). > > It is difficult to provide you with any concrete help as you did not > include some important information in your message. Things which would > help include > > - What Emacs version are you using? Emacs comes with org built-in, so if > your running a reasonably recent version of Emacs, perhaps you don't > actually need to install org at all? > > - Do you use any org mode extensions or add on packages (those which are > not part of org mode or the org mode contrib packages)? > > - Is there a reason you need the latest version of org mode rather than > just using the version which comes bundled in Emacs? Many people just > stick with the version which is bundled with Emacs as it is stable and > requires no additional installation steps. > > - What is the annoying message you reference in the subject but failed > to include in the body of your message? > > The good news is that while there are many different ways of installing > packages, you really don't need any of them except those that come with > Emacs. I don't use straight, eget, or any of the many other package > management solutions for Emacs. I use just package.el and use-package, > which works on top of package.el (it can use straight and other package > managers, but your not required to). This gives you exactly what you > want - M-x list-packages, from where you can just select the packages > you want to install and install them. > > I would not advise installing from git. This will likely just make > things even more complicated as then you also need to make sure your > building from the right branch/tag - you don't want to run org from the > head of the main branch as this is the development branch, which is > likely not as stable as you want. > > Assuming you are running the current Emacs stable release (Emacs 27.2), > the only repository you have to add in your init file is the new nongnu > repository. You no longer require the orgmode.org/elpa repository. As > the GNU ELPA repository has been standard in Emacs for the last few > releases, you don't need to add anything in order to get the current org > mode. If you use some of the contrib packages, then you now need to > install the nongnu repository. This repository will be configured by > default for the next Emacs release (Emacs 28), but for versions prior to > that, you need to add https://elpa.nongnu.org/nongnu/ to the package > archives list. I have the following in my init.el file > > (require 'package) > > (setq package-archives '(("nongnu" . "https://elpa.nongnu.org/nongnu/ > ") > ("elpa" . "https://elpa.gnu.org/packages/") > ("melpa" . "https://melpa.org/packages/"))) > > (package-initialize) > (unless package-archive-contents > (package-refresh-contents)) > > (unless (package-installed-p 'use-package) > (package-install 'use-package)) > > (require 'use-package) > (setq use-package-always-ensure t) > > In the above, I have added the nongnu repository as well as the melpa > repository. You will also note I'm installing the use-package package, > which I find useful, but it is not required. The benefit of use package > is that to just do a basic package install with no additional > configuration, you can run > > (use-package package-name) > > and Emacs will ensure the package is installed at startup. Of course, > for many of my packages, the use-package form has additional sections > for :config, :init, :bindings etc, none of which are necessary for a > basic default installation. > > I add the MELPA repository because there are some packages I use which > are not in the main GNU ELPA or NONGNU repositories. As I'm not running > Emacs 28, I now only need to add MELPA as GNU ELPA and NONGNU are > already configured by default in Emacs 28. > > With the above configuration, I can install any of the packages I need > just by doing M-x list-packages and selecting what I want from the list > and then installing them. > > From your message, it sounds like you have a bit of code in your init > file you have copied from various sources, but which you are not 100% > clear about what it does. This is a bad position to be in because when > things stop working you don't know where to start to fix them. My advice > would be to either start with a clean init.el file and only add back the > bits you understand or go through your current init.el file and comment > out everything you don't understand and then uncomment bits if and when > you need them and only after you understand them. While > various forums like stackoverflow, readdit and mailing lists can be > valuable, the information they provide can easily be out of date and I > find is often just plain wrong. If your maintaining your own init.el > file, my rule of thumb is that nothing goes into the init.el file if I > don't understand it, regardless of how useful it might seem. > > The other thing you can try is to just use one of the pre-canned Emacs > configuration setups. This is actually what I do these days. After 30 > years of Emacs, I actually got tired of tweaking and fiddling with my > emacs configuration. I just want to use the editor to get things done. > Currently, I use spacemacs, which I really enjoy. I was a vi user for > many years and now realise I really like the modal editing model. > However, I also used Purcell's emacs.d and prelude, which I think are > both good setups. The disadvantage of this approach is that you do then > have to work within the confides of how these predefined setups work > rather than configure Emacs to follow your own bespoke workflow setup. > It is a balancing act and the approach which suits you will depend on > where you like to spend your time. For me, I've spent just a little time > getting familiar with spacemacs, a little more to work out how to tweak > the configuration and now, it all just works. > > I do also have a very basic standard installation of GNU Linux as a > virtual with a bare bones Eamcs setup (not using spacemacs), which I use > for testing purposes and sometimes to try and reproduce bugs reported by > others. This is another useful tool for testing and experimenting as ti > means I don't break my main Emacs setup when I want to try something > out. It also provides a convenient way to determine if some problem I'm > trying to diagnose is part of the canned setup I'm using (i.e. > spacemacs), part of my personal tweaks or a problem with the underlying > package. This is where the config for package.el I posted above comes > from. > > -- "As we enjoy great advantages from the inventions of others, we *should be glad of an opportunity to serve others* by any invention of ours, and this we should do freely and generously." ---Benjamin Franklin "This ignorance about the limits of the earth's ability to absorb pollutants should be reason enough for caution in the release of polluting substances." ---Meadows et al. 1972. Limits to Growth . (p. 81) --000000000000d8a3c805d1eaeb31 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Tim:

I appreciate your thoug= htful response.=C2=A0 You went to a great deal of trouble, and answered, I = think, most of the important questions I have with this issue.
I use Arch Linux, and have been installing the AUR emacs-git p= ackage.=C2=A0 Sure, I don't need to go beyond the current stable packag= e.=C2=A0 For now, I do.=C2=A0 I have a few org-mode ancillary packages inst= alled, some I am still uncertain of, and some of which are more essential.= =C2=A0

I have indeed installed some packages = and also some code into my init file, without understanding what they do, b= ecause I want to test whether they will work for my needs.=C2=A0 I plan to = steal your initialization for use of packages, because mine is out of date,= and I think this may solve the problem of the annoying message I refer to.= =C2=A0 The message is to the effect that one needs to install Org-mode from= a different repo, because after version 9.5 (I think) the existing elpa re= po will not be updated.=C2=A0 I hope your simple code will solve that. I ma= y just follow your advice and declare emac init bankruptcy (If I understand= that correctly), and start by copying over the functions I have written an= d the configurations I have found essential.=C2=A0 I have actually done tha= t in the past.=C2=A0

I appreciate that Emacs = exists.=C2=A0 I cannot overstate my appreciation for the work that Richard = Stallman and the multitudes of programmers have put into making this tool a= nd making it better.=C2=A0 I see the need for cleaning out the garage once = in a while, and I understand that Org-mode will be better served by consoli= dating the repositories.=C2=A0 I have just not been able to understand the = shop talk, I guess.=C2=A0 Your example is really helpful.=C2=A0
<= div>
It is interesting that an old timer like yourself would = reach for Spacemacs.=C2=A0 I haven't, mostly because I don't think = I need the modal model of Vi.=C2=A0 The keybindings of Emacs or so convenie= nt and intelligent I find them to be enough.=C2=A0 Here's where I might= have spent more time in the early days learning the basics better.=C2=A0 O= ne of the things I like about Emacs is that I can dance around a page of te= xt, in a manner that the commercially produced text editors and word proces= sors I know have not dared to implement.=C2=A0 We are locked in to a dumbed= down interface in all the software we encounter.=C2=A0 I cannot think of o= ne example just now, but maybe the way one can move back and forth over cha= racters and words.=C2=A0 I never learned Vi, except to be able to edit a si= mple config file if need be.

I know I am over my h= ead, and I have been so for the 30-ish years I have been using Emacs and fo= r the time I have used Org-mode.=C2=A0 It is more than I can do to keep up = with the newer complexities that are cropping up.=C2=A0 Yet, just like the = plain text files, and the LaTeX source for my one publication, a lexicon of= animal names, they live on while documents using the high priced tools are= not longer readable or editable.=C2=A0 And through all the changes, my lit= tle utilities for editing things that only I could probably care about, and= I would not expect anyone to care to learn---they still work today.=C2=A0 = I love it!

I appreciate your help.=C2=A0

Alan Davis

On Sun, Nov 28, 2021 at 2:38 PM Ti= m Cross <theophilusx@gmail.com<= /a>> wrote:
<= br> "Alan E. Davis" <lngndvs@gmail.com> writes:

> I have just spent an hour trying to figure out what's going on wit= h ELPA, GNU ELPA, NONGNU ELPA packages.=C2=A0 I am lost.
>
> A plethora of methods exist for installing org-mode and other packages= ; it is unnecessary to list them, even if I could.
>
> I've been using Emacs and Org-mode for many years.=C2=A0 I am not = interested in spending an hour of my time to learn a new way to install
> something that has been working well for me.=C2=A0 I may not use org-m= ode with the facility of a programmer who can whip off a quick utility
> in emacs lisp, but I have come to depend on the basic tools as a core = of my work flow.
>
> I have tried "use package",=C2=A0 but I would prefer somethi= ng straightforward, like just list-packages then install.=C2=A0 I don't= understand how to
> set up my init file (dot emacs) for various package repos.=C2=A0 It wa= s working, that's all I needed.=C2=A0 Now I get a 5 second delay each t= ime I use
> org-mode.=C2=A0 I cannot seem to find the information I need to fix th= is.=C2=A0 On reddit, on emacs wiki, on this list, I cannot find the magic s= earch
> term.=C2=A0 I see advice like "the maintainer has written a very = clear explanation of the issue" but,this very clear explanation does n= ot help
> me understand what I need to do.
>
> I guess I need a formula, but I have cut and pasted two or three diffe= rent things into the top of my .init file.=C2=A0 Perhaps I need to start > again, but my .init file has been taking root for nearly 30 years; it&= #39;s burned into my muscle memory.
>
> I hope I will never have to write another email like this to get help = for something that should be simple.=C2=A0 Maybe I will now have to install=
> from git.=C2=A0 I think I am already too far out at sea to abandon the= packages approach.=C2=A0 I guess it serves me right for stepping off the > beach.
>

Hi Alan,

sorry your feeling so frustrated. Unfortunately, in order to be able to
maintain org mode with the limited resources available, it has been
necessary to make some changes and as with most transitions, there can
be some rough bits to get through initially. In the long term, things
should actually be simpler with respect to org mode as there will be
no need to add any repositories to use org mode or the org contgrib
packages as they will be available in the default package.el
configuration (Emacs 28 has both GNU ELPA and the new NONGNU
repositories defined by default).

It is difficult to provide you with any concrete help as you did not
include some important information in your message. Things which would
help include

- What Emacs version are you using? Emacs comes with org built-in, so if =C2=A0 your running a reasonably recent version of Emacs, perhaps you don&#= 39;t
=C2=A0 actually need to install org at all?

- Do you use any org mode extensions or add on packages (those which are =C2=A0 not part of org mode or the org mode contrib packages)?

- Is there a reason you need the latest version of org mode rather than
=C2=A0 just using the version which comes bundled in Emacs? Many people jus= t
=C2=A0 stick with the version which is bundled with Emacs as it is stable a= nd
=C2=A0 requires no additional installation steps.

- What is the annoying message you reference in the subject but failed
=C2=A0 to include in the body of your message?

The good news is that while there are many different ways of installing
packages, you really don't need any of them except those that come with=
Emacs. I don't use straight, eget, or any of the many other package
management solutions for Emacs. I use just package.el and use-package,
which works on top of package.el (it can use straight and other package
managers, but your not required to). This gives you exactly what you
want - M-x list-packages, from where you can just select the packages
you want to install and install them.

I would not advise installing from git. This will likely just make
things even more complicated as then you also need to make sure your
building from the right branch/tag - you don't want to run org from the=
head of the main branch as this is the development branch, which is
likely not as stable as you want.

Assuming you are running the current Emacs stable release (Emacs 27.2),
the only repository you have to add in your init file is the new nongnu
repository. You no longer require the orgmode.org/elpa repository. As
the GNU ELPA repository has been standard in Emacs for the last few
releases, you don't need to add anything in order to get the current or= g
mode. If you use some of the contrib packages, then you now need to
install the nongnu repository. This repository will be configured by
default for the next Emacs release (Emacs 28), but for versions prior to that, you need to add https://elpa.nongnu.org/nongnu/ to the pack= age
archives list. I have the following in my init.el file

=C2=A0 =C2=A0 (require 'package)

=C2=A0 =C2=A0 (setq package-archives '(("nongnu" . "https://elpa.nongnu.org/nongnu/")
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0("elpa" . "https://elpa.= gnu.org/packages/")
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0("melpa" . "https://melpa.o= rg/packages/")))

=C2=A0 =C2=A0 (package-initialize)
=C2=A0 =C2=A0 (unless package-archive-contents
=C2=A0 =C2=A0 =C2=A0 (package-refresh-contents))

=C2=A0 =C2=A0 (unless (package-installed-p 'use-package)
=C2=A0 =C2=A0 =C2=A0 (package-install 'use-package))

=C2=A0 =C2=A0 (require 'use-package)
=C2=A0 =C2=A0 (setq use-package-always-ensure t)

In the above, I have added the nongnu repository as well as the melpa
repository. You will also note I'm installing the use-package package,<= br> which I find useful, but it is not required. The benefit of use package
is that to just do a basic package install with no additional
configuration, you can run

(use-package package-name)

and Emacs will ensure the package is installed at startup. Of course,
for many of my packages, the use-package form has additional sections
for :config, :init, :bindings etc, none of which are necessary for a
basic default installation.

I add the MELPA repository because there are some packages I use which
are not in the main GNU ELPA or NONGNU repositories. As I'm not running=
Emacs 28, I now only need to add MELPA as GNU ELPA and NONGNU are
already configured by default in Emacs 28.

With the above configuration, I can install any of the packages I need
just by doing M-x list-packages and selecting what I want from the list
and then installing them.

>From your message, it sounds like you have a bit of code in your init
file you have copied from various sources, but which you are not 100%
clear about what it does. This is a bad position to be in because when
things stop working you don't know where to start to fix them. My advic= e
would be to either start with a clean init.el file and only add back the bits you understand or go through your current init.el file and comment
out everything you don't understand and then uncomment bits if and when=
you need them and only after you understand them. While
various forums like stackoverflow, readdit and mailing lists can be
valuable, the information they provide can easily be out of date and I
find is often just plain wrong. If your maintaining your own init.el
file, my rule of thumb is that nothing goes into the init.el file if I
don't understand it, regardless of how useful it might seem.

The other thing you can try is to just use one of the pre-canned Emacs
configuration setups. This is actually what I do these days. After 30
years of Emacs, I actually got tired of tweaking and fiddling with my
emacs configuration. I just want to use the editor to get things done.
Currently, I use spacemacs, which I really enjoy. I was a vi user for
many years and now realise I really like the modal editing model.
However, I also used Purcell's emacs.d and prelude, which I think are both good setups. The disadvantage of this approach is that you do then
have to work within the confides of how these predefined setups work
rather than configure Emacs to follow your own bespoke workflow setup.
It is a balancing act and the approach which suits you will depend on
where you like to spend your time. For me, I've spent just a little tim= e
getting familiar with spacemacs, a little more to work out how to tweak
the configuration and now, it all just works.

I do also have a very basic standard installation of GNU Linux as a
virtual with a bare bones Eamcs setup (not using spacemacs), which I use for testing purposes and sometimes to try and reproduce bugs reported by others. This is another useful tool for testing and experimenting as ti
means I don't break my main Emacs setup when I want to try something out. It also provides a convenient way to determine if some problem I'm=
trying to diagnose is part of the canned setup I'm using (i.e.
spacemacs), part of my personal tweaks or a problem with the underlying
package. This is where the config for package.el I posted above comes
from.



--
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "As we enjoy great advantages from the inv= entions of others, we should be glad of an opportunity to serve others by any invention of ours, and this we should do freely and generously."=C2=A0=C2=A0 ---Benjamin Franklin

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "= This ignorance about the limits of the earth's ability to absorb
=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pollutants should be reason enough for ca= ution in the release
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 of polluting s= ubstances."
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0=C2=A0 ---Meadows et al.=C2=A0=C2=A0 19= 72.=C2=A0 Limits to Growth. =C2=A0=C2=A0 =C2=A0 (p. 81)=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
=
--000000000000d8a3c805d1eaeb31--