Giter Site home page Giter Site logo

Comments (4)

joaotavora avatar joaotavora commented on September 26, 2024 1

Easiest fix is no remove imenu-auto-rescan. Seems useless with breadcrumb anyway. But I'll see what can be done

from breadcrumb.

joaotavora avatar joaotavora commented on September 26, 2024 1

Fixed.

But imenu-auto-rescan is a dreadful idea for Org anyway. It's super slow and kicks in way more than it should.

from breadcrumb.

joaotavora avatar joaotavora commented on September 26, 2024

I can't reproduce this with latest Emacs master. Perhaps you need to provide an Emacs -Q recipe that I can try?

from breadcrumb.

roife avatar roife commented on September 26, 2024

I start Emacs with the -q flag, install the "breadcrumb" package, and evaluate the configuration for as shown below to enable auto-rescanning for imenu:

(use-package imenu
  :hook ((prog-mode conf-mode yaml-mode markdown-mode org-mode) . imenu-add-menubar-index)
  :config
  (setq imenu-auto-rescan t))

Afterward, I open an Org file, which contains the content mentioned earlier, and activate breadcrumb-local-mode. Then, I press the TAB key on the two second-level headlines (i.e., ** aa and ** ab). The file is folded as follows:

* a

** aa
** ab

At this point, the breadcrumb works correctly because it caches breadcrumb--ipath-plain-cache. However, if I enter anything that triggers the recalculation of breadcrumb--ipath-plain-cache, the folded headlines will cause the error to occur.

Furthermore, it seems that after a certain period of time, the cache appears to return to its normal functioning.

from breadcrumb.

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.