Skip to content

Commit 4654a2f

Browse files
Ionut Adrian CiolanCopilot
andcommitted
docs: add JonasThowsen/fff.el as starting point + attribution note
- Exista deja implementare functionala: https://github.com/JonasThowsen/fff.el - Problema: struct offsets hardcodate, risc mismatch la upgrade - Plan: fork -> fix cbindgen -> PR inapoi la autor - Nota etica: credit explicit la Jonas in orice derivat Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 80cc8f9 commit 4654a2f

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

docs/emacs-integration-plan.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,15 @@ fff.nvim are un backend Rust de înaltă calitate (`fff-core`) izolat de fronten
1212

1313
**MCP nu necesită nicio modificare**`fff-mcp` funcționează deja ca subprocess și se conectează la orice client MCP din Emacs (`gptel`, `mcp.el`).
1414

15+
### Punct de pornire: JonasThowsen/fff.el
16+
17+
**⚠️ Nu pornim de la zero.** Există deja o implementare funcțională:
18+
- **Repo**: https://github.com/JonasThowsen/fff.el
19+
- **Ce face**: FFI direct la `libfff_c` + `consult` UI (`fff-find-file`, `fff-grep`, `fff-grep-fuzzy`), distribuit ca Nix flake, activ la 2026-04-15
20+
- **Problema identificată**: struct offsets hardcodate (`offset 0, 8, 32, 104, 120`) — risc de mismatch silențios la fiecare upgrade upstream
21+
- **Plan**: fork → fix struct offsets via `cbindgen` generat automat → PR înapoi la Jonas (codul e al lui, fix-ul îi aparține)
22+
- **Etică**: menționăm explicit autorul în orice derivat, nu preluăm fără credit
23+
1524
---
1625

1726
## 0. Clarificare esențială: fff în Neovim NU se integrează în Telescope

0 commit comments

Comments
 (0)