emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Stephen Eglen <sje30@cam.ac.uk>
To: emacs-orgmode@gnu.org
Subject: [BUG] warning message for straight-use-package [9.6 (9.6-gb2adb6 @ /Users/stephen/.emacs.d/straight/build/org/)]
Date: Fri, 30 Dec 2022 16:39:02 +0000	[thread overview]
Message-ID: <m2edsgq1t8.fsf@cam.ac.uk> (raw)

Hi,

I use straight.el for package management, and a recent package (I think
it was todoist.el) pulled in org-mode.  This then caused the warning
about mismatch between the org-mode in Emacs and the one from the repo.

I read the *Warning* and in particular this bit:

----------------------------------------------------------------------
3. New Org version is loaded using straight.el package manager and
   other package depending on Org is loaded before straight triggers
   loading of the newer Org version.

   It is recommended to put
    (straight-use-package ’org)
   early in the config.  Ideally, right after the straight.el
----------------------------------------------------------------------

so I copied the elisp straight into .emacs.  This then
generated an error, because the symbol 'org had been copied across as
’org.  

Checking the source, I see line 77 of org-macs.el has

     (straight-use-package 'org)

so I'm not sure what the fix is, but does anyone have any ideas on
providing a warning that uses the correct quote character?

Thanks, Stephen





Emacs  : GNU Emacs 29.0.50 (build 1, aarch64-apple-darwin21.6.0, NS appkit-2113.60 Version 12.5 (Build 21G72))
 of 2022-08-08
Package: Org mode version 9.6 (9.6-gb2adb6 @ /Users/stephen/.emacs.d/straight/build/org/)


             reply	other threads:[~2022-12-30 16:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-30 16:39 Stephen Eglen [this message]
2022-12-31  4:54 ` [BUG] warning message for straight-use-package [9.6 (9.6-gb2adb6 @ /Users/stephen/.emacs.d/straight/build/org/)] Richard Kim
2022-12-31 13:14 ` 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=m2edsgq1t8.fsf@cam.ac.uk \
    --to=sje30@cam.ac.uk \
    --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).