From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: multiple kill and paste from X clipboard Date: Fri, 12 Jan 2024 17:49:07 +0200 Message-ID: <83h6jiimbw.fsf@gnu.org> References: <874jfi1s5l.fsf@ledu-giraud.fr> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19925"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 12 16:49:48 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 1rOJn2-00050V-BI for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 12 Jan 2024 16:49:48 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rOJmY-00016b-Vn; Fri, 12 Jan 2024 10:49:19 -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 1rOJmW-00015W-Te for help-gnu-emacs@gnu.org; Fri, 12 Jan 2024 10:49:17 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rOJmW-0007QT-LB for help-gnu-emacs@gnu.org; Fri, 12 Jan 2024 10:49:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=flLjiNWOoUuCQinCc8BmH4jPjHF9wpMhTqOKfrfn5+M=; b=pGDHAnwUiuTt mh9uBuAAIhzzOkWOZL3J6hLJ3P2EYU6cOeA7sm8PvZCdsEVWPWfvBMHN1M6Lq0pCwalJeCerJaBwj 71IbIE+MgYyIF72GmKFGWZMNyKKe0CmfsTLzvMa0TBAjTR2IauKs8VYzBzZGxGmYIFqsPrME8lVnd b0R8IYSGvRi0CjHCaxX6tgYTz5Bv0JT4Jsgp8RB7AIHRpzV1FeOCVSIImi9ANxeb6vAu2Pb8w3Izv pVw1vra7i7BkPX2lwOnqe1pEjvdxuOAkL5gePvihfHH311HvhwadIrIUQevNz9t+bmWvw1a0Jf3NC GT1umDHIdsBtiJreM8T7BQ==; In-Reply-To: <874jfi1s5l.fsf@ledu-giraud.fr> (message from Manuel Giraud via Users list for the GNU Emacs text editor on Fri, 12 Jan 2024 16:35:18 +0100) 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:145718 Archived-At: > Date: Fri, 12 Jan 2024 16:35:18 +0100 > From: Manuel Giraud via Users list for the GNU Emacs text editor > > 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? Did you try using append-next-kill to make all the strings be a single large kill?