unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Bozhidar Batsov <bozhidar@batsov.dev>
Cc: emacs-devel@gnu.org
Subject: Re: [nongnu] elpa/cider ff1de2bd22: [#3113] Hardcode cider-version as a workaround
Date: Wed, 29 Dec 2021 02:32:54 -0500	[thread overview]
Message-ID: <jwvbl0z7ts3.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <20211229070213.6826CC002EE@vcs2.savannah.gnu.org> (ELPA Syncer's message of "Wed, 29 Dec 2021 02:02:13 -0500 (EST)")

>     [#3113] Hardcode cider-version as a workaround
>     
>     I can't figure out why the auto-extraction of the version doesn't work.
[...]
> -(defconst cider-version
> -  (lm-version (or load-file-name buffer-file-name))
> +(defconst cider-version "1.2.0"
>    "The current version of CIDER.")

I suspect the problem may be that `load-file-name` will point at
`cider.elc` where `lm-version` won't find what you need.

You can try and use `package-get-version` (new in Emacs-27) which tries
to get this working.


        Stefan




       reply	other threads:[~2021-12-29  7:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <164076133315.20367.12022941883015497813@vcs2.savannah.gnu.org>
     [not found] ` <20211229070213.6826CC002EE@vcs2.savannah.gnu.org>
2021-12-29  7:32   ` Stefan Monnier [this message]
2021-12-29  7:50     ` [nongnu] elpa/cider ff1de2bd22: [#3113] Hardcode cider-version as a workaround Bozhidar Batsov
2021-12-29 18:45       ` Stefan Monnier

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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=jwvbl0z7ts3.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=bozhidar@batsov.dev \
    --cc=emacs-devel@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.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).