-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
"Selecting deleted buffer" error upon common commands #8729
Comments
Update: I'm trying to find a minimal example of something that breaks everything. I went from working state, to deleting rows from one org-mode table and pasting them below another org-mode table, and saved, and that resulted in breakage. I have a couple functions that run on save which I will also try commenting out from my config. |
A-ha! With these two functions no longer running after save, pasting rows and saving no longer breaks everything. These are the only
|
I've found that simply running |
The selecting deleted buffer happens to me from time to time as well and I cannot do a |
Killing a ranger buffer and closing the new frame that was opened, puts you in a state where a lot of key bindings show the message: Reproduction steps with the ranger layer installedOpen a ranger "session":
and a new frame opens, where the key bindings seem to work as expected. But when the new frame is closed:
The frame splits with the bottom window showing A lot of key bindings show these messages (without opening a new frame):
Sometimes it's also possible to get back to normal, without restarting, by pressing System Info 💻
(autohotkey markdown ranger emacs-lisp git github helm org syntax-checking version-control)
|
I'm unable to reproduce the "Selecting deleted buffer" issue with ranger. The steps above, seems to have been related to another ranger issue, where the middle column, didn't show any text for files and some folders. That issue was fixed a couple of days ago. |
Maybe this could be helpful:
|
I encountered this bug for the first time a few days ago. Mostly happens when working in org-mode, but can't nail it down any further yet. I can confirm that running Has anyone found a workaround that isn't "restart emacs"? |
This comment was marked as duplicate.
This comment was marked as duplicate.
This reproduces it for me every time:
|
Any call to customize-variable followed by Apply and Save triggers the bug for me. |
This comment was marked as duplicate.
This comment was marked as duplicate.
This occurs for me if I open a As above, having to kill the entire session and resurrect is... not fun. 😕 |
Turning off the Spacemacs layer |
Turning off the Spacemacs layer `nlinum` made my problem go away
I don't have this layer and I still have this problem :[
|
I was able to fix this my moving my |
I had the same problem, and triggering it only needs moving the cursor to some space character and wait for a few seconds. |
I get this when calling "cider-jack-in" and the command "sesman-quit" seems to fix it. |
Yes, it works. I cider-jack-in the cider-nrepl and then cider-connect to another repl, then I kill the latter buffer. When I cider-connect the latter repl again, the problem is produced. Then I new a frame, sesman-quit it, and cider-connect again, it works. |
I'm getting this error when invoking any agenda view. |
Opening org agenda views under the prefix:
works for me without any errors. Windows 1903#### System Info :computer: - OS: windows-nt - Emacs: 26.3 - Spacemacs: 0.300.0 - Spacemacs branch: develop (rev. c3f13d039) - Graphic display: t - Distribution: spacemacs - Editing style: vim - Completion: helm - Layers: ```elisp (autohotkey auto-completion command-log emacs-lisp git helm helpful html imenu-list (java :variables java-backend 'meghanda) javascript latex lsp (markdown :variables markdown-live-preview-engine 'vmd markdown-command "vmd") multiple-cursors (org :variables org-agenda-files '("~/org/notes.org")) pdf python (shell :variables shell-default-shell 'shell shell-default-height 30 shell-default-position 'bottom) spell-checking (syntax-checking :variables syntax-checking-enable-by-default nil) treemacs version-control) ``` - System configuration features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS THREADS LCMS2 @npit If you meant something else, then could you provide some reproduction steps. |
Currently, I'm getting the error when I invoke the GUI version of spacemacs, eg:
On the other hand, running FWIW, after the The system info:
|
I haven't been able to reproduce the error: But I'm able to reproduce the warning (In Linux, but not in Windows):
By first starting Spacemacs with a Gui client, then with a terminal client:
The warning is shown for a split second in the minibuffer during startup, then it's visible in the messages buffer. PopOS 19.10#### System Info :computer: - OS: gnu/linux - Emacs: 26.3.50 - Spacemacs: 0.300.0 - Spacemacs branch: develop (rev. 0a7ab7873) - Graphic display: t - Distribution: spacemacs - Editing style: vim - Completion: helm - Layers: ```elisp (auto-completion command-log emacs-lisp git helm markdown multiple-cursors (org :variables org-agenda-files '("~/org/notes.org")) pdf python (shell :variables shell-default-shell 'term shell-default-height 30 shell-default-position 'bottom) spell-checking syntax-checking treemacs version-control) ``` - System configuration features: XPM JPEG TIFF GIF PNG SOUND DBUS GSETTINGS GLIB NOTIFY LIBSELINUX GNUTLS FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS |
This comment was marked as duplicate.
This comment was marked as duplicate.
I have updated packages on the latest Can you:
Manjaro, System Info (Click to expand)#### System Info :computer: - OS: gnu/linux - Emacs: 27.1 - Spacemacs: 0.300.0 - Spacemacs branch: develop (rev. b606d82df) - Graphic display: t - Distribution: spacemacs - Editing style: vim - Completion: helm - Layers: ```elisp (emacs-lisp git helm lsp multiple-cursors org rust spell-checking syntax-checking version-control treemacs) ``` - System configuration features: XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER LCMS2 GMP Windows 10, System Info (Click to expand)#### System Info :computer: - OS: windows-nt - Emacs: 27.1 - Spacemacs: 0.300.0 - Spacemacs branch: develop (rev. b606d82df) - Graphic display: t - Distribution: spacemacs - Editing style: vim - Completion: helm - Layers: ```elisp (autohotkey emacs-lisp git helm javascript lsp multiple-cursors (org :variables org-agenda-files "c:/Users/username/org/notes.org") python rust spell-checking syntax-checking version-control treemacs) ``` - System configuration features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY W32NOTIFY ACL GNUTLS LIBXML2 HARFBUZZ ZLIB TOOLKIT_SCROLL_BARS MODULES THREADS JSON PDUMPER LCMS2 GMP |
This comment was marked as resolved.
This comment was marked as resolved.
Just hit this issue after: Running |
This comment was marked as duplicate.
This comment was marked as duplicate.
I had the same problem (mostly using |
For me |
After upgrading to emacs 28.0.90 the issue has gone! |
experiencing this issue when using tree-sitter. |
@bzy-debug Cannot reproduce. |
@bzy-debug I saw this (just with a vanilla config) but I think this gets fixed in more recent versions of emacs |
This happens to me too |
I cannot reproduce this anymore on emacs 29.3. Please tag me if you run into this issue again on emacs 29.3 and I will have a look into this. |
I can reproduce this on 29.4.
I compiled my Emacs using this guide on Ubuntu 22.04. |
"Selecting deleted buffer" error upon many commands (search, buffer, file, help...)
Description
Everything works normally on startup. But at some point --- I have not found the triggering condition --- commands like
SPC f f
orSPC b b
or even/
result in a "Selecting deleted buffer" message instead of the desired behavior.Reproduction guide 🪲
Observed behaviour: 👀 💔
"Selecting deleted buffer" is the response to many basic commands. Sometimes, but not always, one or more sometimes-incorrectly closed
(defun dotspacemacs/emacs-custom-settings ()) ...)
forms appear in the .spacemacs file, which I've been deleting manually to get the .spacemacs file to not crash so my configuration gets loaded correctly. Maybe this issue is like #7898 ?Expected behaviour: ❤️ 😄
Stuff works.
System Info 💻
Backtrace 🐾
The text was updated successfully, but these errors were encountered: