summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2026-05-03Per #27: Add opinionated mode-line entry pointsexternals/breadcrumbJoão Távora
* breadcrumb.el (breadcrumb-opinionated-mlf): New defcustom. (breadcrumb-opinionated-diminished-modes): New defcustom. (bc--saved-mlf, bc--saved-lighters): New variables. (bc--diminish): New function. (breadcrumb-opinionated-mode): New global minor mode. * README.md: Fix "is a global mode" grammar. Add "An opinionated mode line" section.
2026-05-02Trim whitespace off imenu path nodesJoão Távora
Modes such as the new markdown-ts-mode have dirty imenu entries. It's a bug there, but it doesn't hurt much to trim them here anyways. * breadcrumb.el (breadcrumb-imenu-crumbs): Tweak.
2026-01-10Close #31: Switch to base buffer when updating imenuDenis Zubarev
Fix #30. It is done to assure that imenu is updated only once for all indirect buffers. * breadcrumb.el (bc--ipath-alist): switch to base buffer. Co-authored-by: João Távora <joaotavora@gmail.com>
2026-01-10Fix #18: Add a bc--cached-project-rootJoão Távora
Fix #46. * breadcrumb.el (bc--project-crumbs-1): Tweak. (bc--cached-project-root): New variable.
2026-01-10Close #47: Try project-name instead of root directory basenameAaron L. Zeng
project-name's default implementation is equivalent to the previous code, so no behavior change is expected unless the project type overrides the project-name method. * breadcrumb.el (bc--project-crumbs-1): Tweak.
2025-02-08Don't shorten non-file buffer namesJoão Távora
* breadcrumb.el (breadcrumb-project-crumbs): Don't shorten non-file buffer names.
2025-02-08* breadcrumb.el (bc--summarize): Fix docstring.João Távora
2023-11-26Close #24: Fix autoloaded 'register-definition-prefixes'Joseph Turner
* breadcrumb.el: Add correct register-definition-prefixes autoload so that "breadcrumb-" is registered as a prefix. Locally set autoload-compute-prefixes to nil so that "bc-" is not registered. Co-authored-by: Jonas Bernoulli <jonas@bernoul.li> Copyright-paperwork-except: yes
2023-11-21Close #24, #25: Add GNU Elpa info to README.mdHank Greenburg
* README.md : Add GNU Elpa info Copyright-paperwork-exempt: Yes
2023-11-07Fix #22: Work around org trouble when imenu-auto-rescan is tJoão Távora
Guess I can fix this, though imenu-auto-rescan is an absolutely dreadful idea anyway, at least for org. * breadcrumb.el (Version): Bumpt to 1.0.1 (bc--ipath-plain): Convert some markers to points.
2023-11-01Fix #20: Correct project name shortening for names with dots (#21)roife
Fix #20: Correctly shorten project names with dots Close #21. * breadcrumb.el (bc--project-crumbs-1): Use file-name-nondirectory. Copyright-paperwork-exempt: Yes
2023-09-13Fix #17: Sometimes the cdr of an imenu node is an overlayJoão Távora
Semantic/CEDET does this, apparently (I couldn't get it to in my machine). Anyway, the overlay strat is not as powerful as breadcrumb-region, since it only seems to apply to leaf nodes. So best to keep the code branching to bc--ipath-plain and catch the overlay there. * breadcrumb.el (bc--ipath-plain): Rework.
2023-09-06Bump version to 1.0.1João Távora
breadcrumb.el (Version): Bump to 1.0.1
2023-09-05Fix Elisp commentary formattingJoão Távora
* breadcrumb.el (bc--project-crumbs-1): Use file-name-base + directory-file-name.
2023-09-05Replace project-name with much faster and decent alternativeJoão Távora
* breadcrumb.el (bc--project-crumbs-1): Use file-name-base + directory-file-name.
2023-09-05* .elpaignore: Add a basic file (#15)Philip
2023-09-05Compute length of breadcrumbs dynamically by defaultJoão Távora
* breadcrumb.el (bc-project-max-length): Change default value. (bc-imenu-max-length): Change default value. (bc--length): New helper. (breadcrumb-imenu-crumbs): Use it. (breadcrumb-project-crumbs): Use it.
2023-09-04* breadcrumb.el (bc--format-ipath-node): Fix bugJoão Távora
2023-09-04Fix indentation in two placesJoão Távora
* breadcrumb.el (bc--summarize): (breadcrumb-local-mode): Fix indentation.
2023-09-04Clean up before ELPA submissionJoão Távora
* breadcrumb.el: general cleanup before ELPA submission
2023-09-04Work some more in the mode-line/header-line mouse interactionJoão Távora
* breadcrumb.el: (bc--format-ipath-node): Simplify,. (breadcrumb-imenu-crumbs): Simplify. (bc--format-project-node) (bc--project-crumbs-1): New helpers. (breadcrumb-project-crumbs): Rework.
2023-09-04Fancy it up with some facesJoão Távora
* breadcrumb.el (bc--format-ipath-node): Rename from bc--format-node. (bc-face, bc-imenu-crumbs-face, bc-imenu-leaf-face) (bc-project-crumbs-face, bc-project-base-face) (bc-project-leaf-face): Add some faces. (bc--summarize): Add docstring. (breadcrumb-project-crumbs) (breadcrumb-imenu-crumbs) (bc--header-line): Use faces.
2023-09-04Add capability to jump to siblingsJoão Távora
* breadcrumb.el (bc--ipath-rich): Compute breadcrumb-siblings (bc--ipath-plain): Compute breadcrumb-siblings (bc--format-node): Enhance (bc--goto): New helper. (breadcrumb-jump): Enhance.
2023-09-04Fix case when bc--ipath-alist results in something uselessJoão Távora
* breadcrumb.el (breadcrumb-imenu-crumbs): Fix
2023-05-17Fix #7: Select window before jumping around with breadcrumbsJoão Távora
* breadcrumb.el (bc--format-node): Fix.
2023-05-13Use longhand symbol forms for autoloaded functionsJoão Távora
* breadcrumb.el (breadcrumb-imenu-crumbs) (breadcrumb-project-crumbs) (breadcrumb-local-mode) (breadcrumb-mode) (breadcrumb-jump): Use longhand.
2023-05-13Change defcustom type fixnum into natnum (#4)Ruijie Yu
* breadcrumb.el (bc-project-max-length, bc-imenu-max-length): Fix.
2023-05-12* breadcrumb.el (bc-jump): Replace `M-x' by its function nameRuijie Yu
2023-05-12Minor changesRuijie Yu
* breadcrumb.el (bc--ipath-plain-cache): (bc--idle-timer): (bc--last-update-tick): Ensure the docstrings refer to full names of defined functions, otherwise docstrings cannot resolve the references. (bc--header-line): Same. Ensure a full stop in docstring line 1. (bc-jump): Avoid full stop in `user-error', prompted by flymake.
2023-05-12Add a README.md and a screenshotJoão Távora
* README.md: new file. * breadcrumb.el: Tweak. * screenshot.png: new file.
2023-05-12* breadcrumb.el: Fix todos add another oneJoão Távora
2023-05-12* breadcrumb.el: Add todo listJoão Távora
2023-05-12Initial commitJoão Távora