unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Mat <vibrysec@gmail.com>
Cc: 35581@debbugs.gnu.org
Subject: bug#35581: 25.3; freeze on `kill-new' x2: xclip + emacs server + 'emacsclient -nw'
Date: Tue, 25 Aug 2020 17:57:13 -0700	[thread overview]
Message-ID: <CADwFkmmAwbJQxsYWmAe+c-fkt1uM7TmUVnd2+rkuj4e=4Bn_JA@mail.gmail.com> (raw)
In-Reply-To: <CALB8YQgkbMwCaNy2akea3f-G4c_HYNwMw2RR=Tdt11B7etrNkA@mail.gmail.com> (Mat's message of "Sun, 5 May 2019 16:40:07 +0200")

Mat <vibrysec@gmail.com> writes:

> 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

I see you are using an old version of Emacs 25.3.1.  Can you reproduce
this on a recent version of Emacs, such as the recently released version
27.1?  If yes, could you please provide a step-by-step recipe for
reproducing it, starting from "emacs -Q"?

Thanks in advance.

Best regards,
Stefan Kangas





  reply	other threads:[~2020-08-26  0:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-05 14:40 bug#35581: 25.3; freeze on `kill-new' x2: xclip + emacs server + 'emacsclient -nw' Mat
2020-08-26  0:57 ` Stefan Kangas [this message]
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='CADwFkmmAwbJQxsYWmAe+c-fkt1uM7TmUVnd2+rkuj4e=4Bn_JA@mail.gmail.com' \
    --to=stefan@marxist.se \
    --cc=35581@debbugs.gnu.org \
    --cc=vibrysec@gmail.com \
    /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).