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

Delay when yanking or deleting to non-blackhole registers in daemon mode #6650

Closed
mgwio opened this issue Jul 21, 2016 · 2 comments
Closed
Labels
- Bug tracker - Running as daemon stale marked as a stale issue/pr (usually by a bot)

Comments

@mgwio
Copy link

mgwio commented Jul 21, 2016

Description :octocat:

Running emacs in daemon mode and connecting with emacsclient causes a delay when executing commands that store to the default (dd) or other non-blackhole register ("aD).

When run without daemon, this problem does not occur. When run with daemon/emacsclient, yank/delete to blackhole register ("_dd or "_yy or "_D...etc) does not observe this problem.

Here are a few clips of what I mean. The gifs are a bit choppy but I think the delay is still pretty evident in the ones using emacsclient. You can see that movement (jk), undo, and "_dX (blackhole register commands) still happen instantly.

With daemon in GUI (emacsclient)
daemoncap

Without daemon in GUI (emacs)
nondaemon

With daemon in terminal (emacsclient)
termdaemon

Reproduction guide 🪲

  • Start Emacs --daemon
  • Connect to instance with emacsclient (happens in both graphical and terminal)
  • Any yank or delete to a non-blackhole buffer

Observed behaviour: 👀 💔
Delayed operation by about a second, no matter file size

Expected behaviour: ❤️ 😄
Operation to happen 'instantly', a la vim or non-daemon emacs

System Info 💻

  • OS: darwin
  • Emacs: 25.1.50.2
  • Spacemacs: 0.105.21
  • Spacemacs branch: develop (rev. 9773ad6)
  • Graphic display: t
  • Distribution: spacemacs
  • Editing style: vim
  • Completion: ivy
  • Layers:
((auto-completion :variables auto-completion-enable-help-tooltip t auto-completion-return-key-behavior 'complete auto-completion-tab-key-behavior 'cycle)
 emacs-lisp erc git html ivy jade-theme nlinum osx
 (python :variables python-test-runner
         '(nose pytest))
 ranger)

Backtrace 🐾

<<BACKTRACE IF RELEVANT>>
@alexisvincent
Copy link

Can confirm same behavior.

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!

@github-actions github-actions bot added the stale marked as a stale issue/pr (usually by a bot) label Feb 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
- Bug tracker - Running as daemon stale marked as a stale issue/pr (usually by a bot)
Projects
None yet
Development

No branches or pull requests

3 participants