Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

One buffer missing when switching to project #175

Open
pataquets opened this issue Mar 6, 2023 · 1 comment
Open

One buffer missing when switching to project #175

pataquets opened this issue Mar 6, 2023 · 1 comment

Comments

@pataquets
Copy link

pataquets commented Mar 6, 2023

Expected behavior

When using helm-projectile from a non-project file, the project list appears.
After choosing a project, the Helm list with opened buffers and project files appears. At this point, the non-project file is still open in the only window visible.
Then, if a project with two files opened in their respective buffers is selected, the open buffers listing is missing one of the open files, where there should be two listed.
Happens also when only one file is open in the project, thus listing no open buffers.

Steps to reproduce the problem

  1. Open two project files in their respective buffers.
  2. Open another, non-project unrelated file in another buffer (e.g. *Messages*).
  3. Run helm-projectile (I run it via its <f6> keybind).
  4. Select the project corresponding to files opened in step 1.
  5. When the helm list presented afterwards with the project buffers and files, only one of the two open files is listed in the Project buffers section.

Note: if the error is not reproduced (which sometimes I experienced while writing these steps), try repeating twice. If files have not been visited before in the current session, first time seems to work OK.

Backtraces if necessary (M-x toggle-debug-on-error)

N/A

Environment & version information

(I've just updated packages before filing the issue and writing the repro steps)

  • helm-projectile version: 20221215.613, commit: 35a2111
  • helm version (in helm-pkg.el): "20230306.1500", helm-core: 3.9.0, commit emacs-helm/helm@128e162
  • projectile version (M-x projectile-version): 20230306.636
  • Emacs version (M-x emacs-version): GNU Emacs 28.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30, cairo version 1.15.10) of 2022-05-31
  • OS: Ubuntu Bionic
@shaynez
Copy link

shaynez commented Oct 26, 2023

as same as switch open project buffer command.

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

No branches or pull requests

2 participants