From: Mat <vibrysec@gmail.com>
To: 35581@debbugs.gnu.org
Subject: bug#35581: 25.3; freeze on `kill-new' x2: xclip + emacs server + 'emacsclient -nw'
Date: Sun, 5 May 2019 16:40:07 +0200 [thread overview]
Message-ID: <CALB8YQgkbMwCaNy2akea3f-G4c_HYNwMw2RR=Tdt11B7etrNkA@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 4548 bytes --]
1. run X gui emacs
2. install ~xclip~ package
3. ~M-x xclip-mode~
4. ~M-x server-start~
5. ~(kill-new "adaf")~
6. run ~emacsclient -nw~ from terminal.
7. ~(kill-new "sss")~
Emacs freezes.
Configuration used:
(setq save-interprogram-paste-before-kill t)
(require 'package)
(let* ((no-ssl (and (memq system-type '(windows-nt ms-dos)) ;; add melpa
repo: either through ssl or non-ssl.
(not (gnutls-available-p))))
(url (concat (if no-ssl "http" "https") "://melpa.org/packages/")))
(add-to-list 'package-archives (cons "melpa" url) t))
(package-initialize)
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(package-selected-packages (quote (xclip))))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)
`save-interprogram-paste-before-kill' makes extra action: current value X
clipboard is stored to kill-ring, before new value is put there.
I use xclip commandline tool to talk to X clipboard from emacs.
In GNU Emacs 25.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.30)
of 2018-04-28 built on wla-64
Windowing system distributor 'The X.Org Foundation', version 11.0.11906000
System Description: Ubuntu 18.04.2 LTS
Configured using:
'configure --with-xwidgets --with-x-toolkit=gtk3'
Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GSETTINGS NOTIFY GNUTLS
LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11
XWIDGETS
Important settings:
value of $LC_MONETARY: pl_PL.UTF-8
value of $LC_NUMERIC: pl_PL.UTF-8
value of $LC_TIME: pl_PL.UTF-8
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8-unix
Major mode: Lisp Interaction
Minor modes in effect:
xclip-mode: t
tooltip-mode: t
global-eldoc-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Xclip mode enabled
You can run the command ‘xclip-mode’ with M-x xc RET
Xclip mode enabled
user-error: Beginning of history; no preceding item
"aaa"
When done with this frame, type C-x 5 0
Waiting for process to die...done
Quit
funcall-interactively: End of buffer
Load-path shadows:
None found.
Features:
(shadow sort mail-extr emacsbug message dired format-spec rfc822 mml
mml-sec password-cache epg gnus-util mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047
rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils term/xterm
xterm server cus-start cus-load xclip finder-inf package epg-config seq
byte-opt gv bytecomp byte-compile cl-extra help-mode easymenu cconv
cl-loaddefs pcase cl-lib time-date mule-util tooltip eldoc electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list newcomment elisp-mode lisp-mode prog-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core frame cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help
simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces
cus-face macroexp files text-properties overlay sha1 md5 base64 format
env code-pages mule custom widget hashtable-print-readable backquote
dbusbind inotify dynamic-setting system-font-setting font-render-setting
xwidget-internal move-toolbar gtk x-toolkit x multi-tty
make-network-process emacs)
Memory information:
((conses 16 223260 11365)
(symbols 48 26193 0)
(miscs 40 103 93)
(strings 32 58202 20290)
(string-bytes 1 1400022)
(vectors 16 19159)
(vector-slots 8 536861 4288)
(floats 8 202 564)
(intervals 56 246 0)
(buffers 976 19))
[-- Attachment #2: Type: text/html, Size: 5074 bytes --]
next reply other threads:[~2019-05-05 14:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-05 14:40 Mat [this message]
2020-08-26 0:57 ` bug#35581: 25.3; freeze on `kill-new' x2: xclip + emacs server + 'emacsclient -nw' Stefan Kangas
2020-10-01 12:50 ` Stefan Kangas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CALB8YQgkbMwCaNy2akea3f-G4c_HYNwMw2RR=Tdt11B7etrNkA@mail.gmail.com' \
--to=vibrysec@gmail.com \
--cc=35581@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).