-
Notifications
You must be signed in to change notification settings - Fork 14
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
emacs cannot paste unicode characters correctly #94
Comments
WIth clipboard, it does not reproduce. not clipboard issue, but kill-ring issue? |
Yes, is kill-ring issue... |
I fixed it in feature/pgtk on savannah. Please try it. |
It is indeed fixed in emacs,but there is still a problem. recording_2021-02-17-104952.mp4I currently only find chrom(e)ium has problems |
Don't think this is an issue from Emacs side. If you input some CJK You can using Chromium extensions like atomic-chrome |
I can copy normally from alacritty. recording_2021-02-17-174216.mp4(setq wl-copy-process nil)
(defun wl-copy (text)
(setq wl-copy-process (make-process :name "wl-copy"
:buffer nil
:command '("wl-copy" "-f" "-n")
:connection-type 'pipe))
(process-send-string wl-copy-process text)
(process-send-eof wl-copy-process))
(defun wl-paste ()
(if (and wl-copy-process (process-live-p wl-copy-process)) nil
(shell-command-to-string "wl-paste -t text -n 2>/dev/null")))
(setq interprogram-cut-function 'wl-copy)
(setq interprogram-paste-function 'wl-paste)
(setq confirm-kill-processes nil) If you change the default |
Nice. Indeed it works. @Makima0 Side question. Which input method software are you using |
@Makima0 Please tell me:
|
gtk3 recording_2021-02-17-232100.mp4 |
I installed sway 1.5.1 and downgraded chromium to 88.0.4324.146, but the issue does not reproduce. What OS do you use? And what is its version? |
I use the latest Arch Linux. |
Thanks for the OS and version. chromium on wayland?? I didn't know such a thing... |
confirmed. |
Run gtk3-demo, double-click I'll look for a work around. |
@Makima0 |
@masm11 The issue has been fixed, thank you very much! |
@declanqian reproduced. |
@declanqian I'm debugging. (setq x-select-request-type '(UTF8_STRING COMPOUND_TEXT STRING text/plain)) |
@declanqian Fixed in feature/pgtk on savannah. Please try it. |
Cool, it's working. @masm11 |
recording.mp4
emacs version https://github.com/emacs-mirror/emacs/tree/175ebb010477ff0e174fe5145154397f43dee2d2
Interim solution
The text was updated successfully, but these errors were encountered: