From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: doltes Newsgroups: gmane.emacs.help Subject: How to make most functions don't modify X CLIPBOARD? Date: Fri, 15 Jan 2021 17:31:09 -0500 Message-ID: <87im7xkf2q.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18507"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.4.14; emacs 27.1 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 15 23:36:17 2021 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 1l0XhY-0004iy-Hp for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 15 Jan 2021 23:36:16 +0100 Original-Received: from localhost ([::1]:36276 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l0XhX-0005gZ-Ji for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 15 Jan 2021 17:36:15 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50064) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l0XgU-0005fy-SK for help-gnu-emacs@gnu.org; Fri, 15 Jan 2021 17:35:12 -0500 Original-Received: from mail-qk1-x72d.google.com ([2607:f8b0:4864:20::72d]:44562) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l0XgO-0000mH-Ru for help-gnu-emacs@gnu.org; Fri, 15 Jan 2021 17:35:10 -0500 Original-Received: by mail-qk1-x72d.google.com with SMTP id v126so13270928qkd.11 for ; Fri, 15 Jan 2021 14:35:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=user-agent:from:to:subject:date:message-id:mime-version; bh=8GtcqD+HAIAkBwrW68+0y7vAf4wIwy0C6QHcTIWFDO8=; b=SUll1ZzqiRF/7PM02/j2p3d6pvXW3omLINQbHlPVqg/BIOmvOT4TaFKNVlh0Qpn/sa ekdsorJgpmx/X1eAY/fesrcMsEyMGb/NfP0VxeMZSDU/+4UVdgSYO3/ZBJ7Lf5f/nDD+ alG8Hm62yINVfe6Aae4npgABrnv00IC0hJyd6KyTL3DXJJTVjoyIurKaMf76dR9BoJAS /OE4+FPXMAV2yVSmJFBqAn11X0xb2r1GXSHk2kzsVOyrZmym1j9xrc+RHjrLXJ5ZU4KL Mcp4qbJW5pcuQH4yOnR9Egy9DVBSIvmQnYYf9tdYr08ZxUU8j94XZgxNP6ijOrZZtbHE h1WA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=8GtcqD+HAIAkBwrW68+0y7vAf4wIwy0C6QHcTIWFDO8=; b=i4scAArRX3DV35eCqpjvFTL+Lzrlw7mlH3v90xc7JHzsgcE/gzAO1a2C5KeoRbTuR7 2nmkQYmRn5flFeuUmmM6IHHUtrlmXgM5WmDKP5dCSaaN6+rQtqii0hL42zRUQQqgczps Uy4Br84sNh67lqzphccOkGGc2cagiEyuqdmA6eDtIHODqM/tt28vpwdkvcZ+HIidoXuI hJzXbbTIFldOTyJaSAJtQ5bzq2PiHthRHCQHOezAzl8Ez1BH3UZRUC2QMfWLrtC8WNcm tnUSEnXLiemfhdxKpHXKTBZfpHkHy/C0/sq2G8RiZksK6yJxHJpNc2y9faQDd1EuiFlo barg== X-Gm-Message-State: AOAM533TM0cV+DKKSoCoIavrDGyCN1/1D3PSADPgUqp1asHEWlRphSNl gOCf9WOnGGe74mESD0A9WkzoS5e3GeE= X-Google-Smtp-Source: ABdhPJwtemhpJPQrCzSs8qPsLJ573dcWlN7ljBnk7IDzhkBtpd08Pt9Qc73f+oEE1mfPk6GQIMJ44g== X-Received: by 2002:a37:a656:: with SMTP id p83mr15126513qke.208.1610750102717; Fri, 15 Jan 2021 14:35:02 -0800 (PST) Original-Received: from r1 ([190.239.232.181]) by smtp.gmail.com with ESMTPSA id j56sm5818835qtc.58.2021.01.15.14.35.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 14:35:02 -0800 (PST) Received-SPF: pass client-ip=2607:f8b0:4864:20::72d; envelope-from=doltes512@gmail.com; helo=mail-qk1-x72d.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.help:127267 Archived-At: System information + OS: Arch Linux + Display server: X Window System + Emacs version: GNU Emacs 27.1 I've noticed that the following functions insert the killed content to the CLIPBOARD. + kill-region (C-w) + kill-line (C-k) + kill-word (M-d) + backward-kill-word (M-DEL) The only function I want to be able to modify the CLIPBOARD is "kill-ring-save" (M-w). The reason I want to do this is because I suppose that whenever one of those functions (presented in the list above) is executed, the content is copied to both the "kill ring" and the CLIPBOARD, and I don't want my computer to use resources inserting something, into the X clipboard, which is not going to be pasted to another application. Is there any way to do this? P.S.: This is my first time participating in a mailing list. Please, let me know if I've done something wrong.