Skip to content

Disambiguate process buffer names for same-named projects#1974

Open
bbatsov wants to merge 1 commit intomasterfrom
feature/1815-disambiguate-buffer-names
Open

Disambiguate process buffer names for same-named projects#1974
bbatsov wants to merge 1 commit intomasterfrom
feature/1815-disambiguate-buffer-names

Conversation

@bbatsov
Copy link
Owner

@bbatsov bbatsov commented Feb 15, 2026

  • When two projects share the same name (e.g. two clones of "foo", or two dirs both named "src"), shell/eshell/vterm buffers would collide because projectile-generate-process-name used only the project name
  • Now detects when a buffer with the same name already exists for a different project root and falls back to using the abbreviated project path in the buffer name

Fixes #1815
Fixes #1715

Fixes #1815
Fixes #1715

When two projects share the same name (e.g. both named "src"),
projectile-generate-process-name now detects the collision and
falls back to using the abbreviated project path in the buffer
name instead of just the project name.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

shell buffers for two copies of Git project have name collision projectile-run-eshell will not open new eshell buffer if a similar path eshell exists

1 participant