From: Carlo Tambuatco <oraclmaster@gmail.com>
To: Philip Kaludercic <philipk@posteo.net>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Emacs 26.3 strange ESS init error regarding Projectile and project root.
Date: Thu, 17 Jun 2021 00:46:27 -0400 [thread overview]
Message-ID: <CAJb92Ew25gb-VTdSRunt-q-ckXvYDmNsQYTSLTpWKcnB5M=mBA@mail.gmail.com> (raw)
In-Reply-To: <87a6o2ornz.fsf@posteo.net>
Unfortunately, reinstalling ESS did not solve the problem. I even tried
uninstalling
and reinstalling emacs itself to no avail. I don't know when this problem
occurred
or why but the combination of ESS and emacs-26.3 simply does not work. For
some reason, the ESS package still gives me this error:
"project-root is already defined as something else than a generic function"
On Mon, Jun 7, 2021 at 7:11 AM Philip Kaludercic <philipk@posteo.net> wrote:
> Carlo Tambuatco <oraclmaster@gmail.com> writes:
>
> > "So try M-x package-reinstall ess M-x package-reinstall project"
> >
> > You mean reinstall ESS and projectile?
>
> That should be the easiest solution. And I don't think that projectile
> should be to blame here, this is related to project.el, the built-in
> package.
>
> > Should I force bytecode re-compilation,
> > ie: M-x byte-recompile-directory <ess-directory> M-x
> > byte-recompile-directory <projectile-directory>
> >
> > On Mon, Jun 7, 2021 at 6:16 AM Philip Kaludercic <philipk@posteo.net>
> wrote:
> >
> >> Carlo Tambuatco <oraclmaster@gmail.com> writes:
> >>
> >> > I have both ESS and projectile installed and I have projectile mode
> on by
> >> > default.
> >> >
> >> > From my init.el file:
> >> >
> >> > ;; Load projectile
> >> > (use-package projectile
> >> > :ensure t
> >> > :config
> >> > (define-key projectile-mode-map (kbd "C-x p")
> 'projectile-command-map)
> >> > (projectile-mode +1))
> >> >
> >> > Recently (as of about 1 day ago), emacs has been giving me this error
> >> > when call (require 'ess-site) in my ESS-init.el file, or whenever I
> try
> >> to
> >> > open an interactive R session via M-x R
> >> >
> >> > "project-root is already defined as something else than a generic
> >> function."
> >>
> >> project-root should be unrelated to projectile, what is going on is that
> >> somehow a regular function is being defined, that is generating a
> >> conflict with project-root, the generic function.
> >>
> >> I had an issue similar to this just yesterday, and while I did not quite
> >> understand what caused it, it seems that reinstalling the packages
> >> and/or forcing the bytecode to regenerate fixed it.
> >>
> >> So try M-x package-reinstall ess M-x package-reinstall project
> >>
> >> --
> >> Philip K.
> >>
>
> --
> Philip K.
>
next prev parent reply other threads:[~2021-06-17 4:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-07 6:57 Emacs 26.3 strange ESS init error regarding Projectile and project root Carlo Tambuatco
2021-06-07 10:16 ` Philip Kaludercic
2021-06-07 11:04 ` Carlo Tambuatco
2021-06-07 11:11 ` Philip Kaludercic
2021-06-17 4:46 ` Carlo Tambuatco [this message]
2021-06-17 7:56 ` Philip Kaludercic
2021-06-17 15:43 ` Carlo Tambuatco
2021-06-18 8:59 ` Philip Kaludercic
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAJb92Ew25gb-VTdSRunt-q-ckXvYDmNsQYTSLTpWKcnB5M=mBA@mail.gmail.com' \
--to=oraclmaster@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=philipk@posteo.net \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.