emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@posteo.net>
To: alain.cochard@unistra.fr
Cc: emacs-orgmode@gnu.org
Subject: Re: Problem installing Org using the Emacs packaging system
Date: Mon, 16 Dec 2024 19:08:49 +0000	[thread overview]
Message-ID: <87jzbzcuny.fsf@localhost> (raw)
In-Reply-To: <26434.1724.554991.978456@frac.u-strasbg.fr>

Alain.Cochard@unistra.fr writes:

> Hello.  An excerpt of the page 
>
> https://orgmode.org/manual/Installation.html
>
> is 
> ...
>    emacs -Q -batch -eval "(progn (require 'package) (package-initialize)
>    (package-refresh-contents) (package-upgrade 'org))"
>
> I have used the emacs batch command above on a number of machines but it
> always failed (see below), so I guess I am doing something wrong, but what?

I suspect that it is some kind of bug in Emacs 29.
It seems that the command is only properly working in Emacs 30.

I am not sure how I overlooked the problem. Maybe forgot to test things
on older Emacs somehow.

I think that we should:
1. Remove this from Org 9.7 manual (bugfix)
2. Add a note that the one-liner requires Emacs 30 in the Org 9.8-re
   manual (main)

> Anyway, is it correct that one does not need this command to avoid the
> above mentioned interferences, provided that a single Emacs session is
> running, and in which no org file has been visited (.org or otherwise)?

Yup.

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


  reply	other threads:[~2024-12-16 19:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-07  6:19 Patch to add a new org-archive hook and context info type John Wiegley
2024-11-23 16:45 ` Problem installing Org using the Emacs packaging system Alain.Cochard
2024-12-16 19:08   ` Ihor Radchenko [this message]
2024-12-18  3:24 ` Patch to add a new org-archive hook and context info type Liu Hui
  -- strict thread matches above, loose matches on Subject: below --
2024-12-08 10:57 Problem installing Org using the Emacs packaging system Alain.Cochard
2024-12-16 19:09 ` Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87jzbzcuny.fsf@localhost \
    --to=yantar92@posteo.net \
    --cc=alain.cochard@unistra.fr \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).