Git Product home page Git Product logo

Comments (4)

Wilfred avatar Wilfred commented on July 20, 2024 1

It's really strange that it's happening on Emacs 27, as project-root was added in Emacs 28 and the fallback logic should run:

deadgrep/deadgrep.el

Lines 1543 to 1549 in f65a20d

(cond ((fboundp 'project-root)
;; This function was defined in Emacs 28.
(setq root (project-root project)))
(t
;; Older Emacsen.
(-when-let (roots (project-roots project))
(setq root (car roots))))))

I'm going to close this as I'm not sure anything is wrong with deadgrep, but don't hesitate to reopen if you have a repro of if I've missed something.

from deadgrep.

Wilfred avatar Wilfred commented on July 20, 2024

What version of Emacs are you using?

from deadgrep.

DanielChabrowski avatar DanielChabrowski commented on July 20, 2024

Just had the same happen on emacs 27.1 after upgrading some packages - sorry, don't remember which ones exactly.

Firstly, I removed all the *.elc files from my emacs.d and that made the issue disappear. Then called M-x byte-recompile-directory and had some issue with use-package that simply removing init.elc 'fixed' and everything works as it did.

Looks like the issue is related to byte-compilation rather than deadgrep's repo.

Cheers.

from deadgrep.

DanielChabrowski avatar DanielChabrowski commented on July 20, 2024

Could this be possibly related to this?
https://github.com/bbatsov/projectile/blob/271007c6611fcb08ddd326d7de9727c2ad5ef265/projectile.el#L6134

Today I've noticed that if I run anything projectile related first and then call deadgrep, the message appears again.

from deadgrep.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.