Install this version:
emerge -a =app-emacs/denote-4.2.3
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =app-emacs/denote-4.2.3
Or alternatively:
emerge --autounmask-write -a =app-emacs/denote-4.2.3
# automatically generated by g-sorcery
# please do not edit this file
EAPI=8
REPO_URI="https://elpa.gnu.org/packages/"
SOURCE_TYPE="tar"
REALNAME="denote"
DIGEST_SOURCES="yes"
inherit g-sorcery gs-elpa
DESCRIPTION="Simple notes with an efficient file-naming scheme"
HOMEPAGE="https://github.com/protesilaos/denote"
SRC_URI="${REPO_URI}${REALNAME}-${PV}.${SUFFIX}"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND=""
RDEPEND=""