From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Manuel Giraud via Users list for the GNU Emacs text editor Newsgroups: gmane.emacs.help Subject: Re: multiple kill and paste from X clipboard Date: Fri, 12 Jan 2024 22:32:47 +0100 Message-ID: <87il3yqlts.fsf@ledu-giraud.fr> References: <874jfi1s5l.fsf@ledu-giraud.fr> Reply-To: Manuel Giraud Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38095"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Manuel Giraud via Users list for the GNU Emacs text editor To: orzodk Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 12 22:34:09 2024 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rOPAF-0009iG-1K for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 12 Jan 2024 22:34:07 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rOP9B-0008PI-O4; Fri, 12 Jan 2024 16:33:01 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rOP9A-0008Oy-HY for help-gnu-emacs@gnu.org; Fri, 12 Jan 2024 16:33:00 -0500 Original-Received: from ledu-giraud.fr ([51.159.28.247]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rOP98-0005Qg-8f for help-gnu-emacs@gnu.org; Fri, 12 Jan 2024 16:33:00 -0500 DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=+uIZL06L nxD0Z07YB2AaWgfN4sLW0/XMNubVMs8mKM0=; h=date:references:in-reply-to: subject:cc:to:from; d=ledu-giraud.fr; b=P922ZOmLfRk4IH2K8bBo57hJJPEk1z r1UliJM8UzgvoEn3xByH8Uvu0BqqElIBjOWBv5ufxE0PF5vPWRDFnjCw== DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=+uIZL06LnxD0Z07Y B2AaWgfN4sLW0/XMNubVMs8mKM0=; h=date:references:in-reply-to:subject: cc:to:from; d=ledu-giraud.fr; b=MxAiEQRTwFhq1eYJciVAqLTQG9H/eQdWfdusOF cugUrovqP08mYdN2cBouQkUIVoRpUdWSRlGUT3sckejlAOogGjpK8EbAR7evuo7dbQn1qd juFtxQZnjGIGzgisRBZLLNhMGWLIjSQcy5iIs5dMG0K0odhvh3jZ0YTuf83CLg/slP11Xf ayTsj7q+bZE1WlR9VeqYf/nGbPmp+PssasIh0pItsf7l0CjC/+EOxwMJ2LVtZEdGpW59hh ZrK8MeKdVXxyY/pEWb0SZwNs8UuGfAOSsEQXqPCD06vBCV4XfpWCkEfVBodOOIvqO5LYih yki8W+iNYcFTJ4n+pSdLaCQA== Original-Received: from computer ( [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 41d54b68 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Fri, 12 Jan 2024 22:32:54 +0100 (CET) In-Reply-To: (orzodk@fastmail.com's message of "Fri, 12 Jan 2024 13:12:01 -0700") Received-SPF: pass client-ip=51.159.28.247; envelope-from=manuel@ledu-giraud.fr; helo=ledu-giraud.fr X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:145722 Archived-At: orzodk writes: > Manuel Giraud via Users list for the GNU Emacs text editor > writes: > >> Hi, >> >> I'd like to be able to paste a serie of strings from Emacs to an >> external X program (e.g. a form with multiple entry in a web browser). >> >> I could put all the strings in the Emacs' kill-ring but then a paste in >> the other program will just retrieve the last killed string. Or maybe, >> Emacs could be informed that the last kill was paste externally and then >> proceed to kill the next item? >> >> How could I do that? > > This is a limitation of X not Emacs. Each time you kill a value Emacs > will put it into X's clipboard overwriting the previous value. A > clipboard manager will help with this by keeping the history around. I > personally use clipmenu but there are several tools to choose from. I > also bind C-M-v in the window manager to the command to display the > manager's history. Thanks. I've never used a clipboard manager so maybe I should now. I wish I could have a simpler Emacs only solution for this. I thought that maybe Emacs could be aware when the content is get from the primary selection or the clipboard. -- Manuel Giraud