From unknown Mon Aug 18 19:29:46 2025 X-Loop: help-debbugs@gnu.org Subject: bug#41857: Clarify browser / emacs kill-ring interaction more Resent-From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Jun 2020 17:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41857 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 41857@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159215486214038 (code B ref -1); Sun, 14 Jun 2020 17:15:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 Jun 2020 17:14:22 +0000 Received: from localhost ([127.0.0.1]:44436 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jkWD8-0003eM-Go for submit@debbugs.gnu.org; Sun, 14 Jun 2020 13:14:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:40380) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jkWD4-0003e0-JU for submit@debbugs.gnu.org; Sun, 14 Jun 2020 13:14:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39104) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jkWD4-0000me-EQ for bug-gnu-emacs@gnu.org; Sun, 14 Jun 2020 13:14:18 -0400 Received: from dog.birch.relay.mailchannels.net ([23.83.209.48]:56284) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jkWD2-0004tz-Il for bug-gnu-emacs@gnu.org; Sun, 14 Jun 2020 13:14:18 -0400 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 3DB83321368 for ; Sun, 14 Jun 2020 17:14:14 +0000 (UTC) Received: from pdx1-sub0-mail-a27.g.dreamhost.com (100-96-14-14.trex.outbound.svc.cluster.local [100.96.14.14]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id DA1A3320B17 for ; Sun, 14 Jun 2020 17:14:13 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from pdx1-sub0-mail-a27.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.8); Sun, 14 Jun 2020 17:14:14 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Eight-Minister: 2b93554d0d46fd9f_1592154854117_1360220210 X-MC-Loop-Signature: 1592154854117:2503301397 X-MC-Ingress-Time: 1592154854117 Received: from pdx1-sub0-mail-a27.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a27.g.dreamhost.com (Postfix) with ESMTP id A2E657F231 for ; Sun, 14 Jun 2020 10:14:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=jidanni.org; bh=muRYmZfGh0E4hRDR/K 8hF71H5bA=; b=aRCWWV67lCrsn0Jo6xMLz5w6EkPhHlrGUI6qq3aLe2IeHaQJB2 /y65NQ+YJoi2wqGduWpxJAKS6Xc4e38g9h8cXZsbEgsn3eNIlTghkWYgT17x4iYc VE3TudJcryMp/YvPzGW7Vke5iyb89oUKKkCZFx/s91ZciqYx3iDH6eHc0= Received: from jidanni.org (114-41-23-189.dynamic-ip.hinet.net [114.41.23.189]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a27.g.dreamhost.com (Postfix) with ESMTPSA id 150757F22D for ; Sun, 14 Jun 2020 10:14:12 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a27 From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Date: Mon, 15 Jun 2020 01:02:56 +0800 Message-ID: <87sgexshq7.5.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 0 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduhedrudeiiedgudduvdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfggtgfgsehtkeertddttdejnecuhfhrohhmpejnnjjnucffrghnucflrggtohgsshhonhcuoehjihgurghnnhhisehjihgurghnnhhirdhorhhgqeenucggtffrrghtthgvrhhnpedvvdevveduffefleegtddvheevgeevtdehheeikeelveegkeehgfeggfeludegleenucfkphepuddugedrgedurddvfedrudekleenucevlhhushhtvghrufhiiigvpedunecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehjihgurghnnhhirdhorhhgpdhinhgvthepuddugedrgedurddvfedrudekledprhgvthhurhhnqdhprghthheppeeruhhtfhdqkeerueerheeimhfphefnihehhegsveekreepucffrghnucflrggtohgsshhonhcuoehjihgurghnnhhisehjihgurghnnhhirdhorhhgqedpmhgrihhlfhhrohhmpehjihgurghnnhhisehjihgurghnnhhirdhorhhgpdhnrhgtphhtthhopegsuhhgqdhgnhhuqdgvmhgrtghssehgnhhurdhorhhg Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=23.83.209.48; envelope-from=jidanni@jidanni.org; helo=dog.birch.relay.mailchannels.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/14 13:14:12 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -30 X-Spam_score: -3.1 X-Spam_bar: --- X-Spam_report: (-3.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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) (info "(emacs) Primary Selection") says: Under X, whenever the region is active (*note Mark::), the text in the region is saved in the primary selection. This applies regardles= s of whether the region was made by dragging or clicking the mouse (*no= te Mouse Commands::), or by keyboard commands (e.g., by typing =E2=80=98= C-=E2=80=99 and moving point; *note Setting Mark::). This isn't clear if it is talking only about actions within emacs, or also e.g., actions within a browser. Also within a browser we talk about 'highlighting' and 'copying text'. Anyway, it should also add a section: If you often find yourself sending people emails with "Grandma's new account number is: [old account number]" because you copied the new number from a browser while having the old one still in your kill ring and they looked too similar so you didn't realize... then you need to setq ... And, (info "(emacs) Clipboard")'s Yank commands, such as =E2=80=98C-y=E2=80=99 (=E2=80=98yank=E2=80=99= ), also use the clipboard. If another application =E2=80=9Cowns=E2=80=9D the clipboard=E2=80=94i.e.= , if you cut or copied text there more recently than your last kill command in Emacs=E2=80=94then= Emacs yanks from the clipboard instead of the kill ring. should mention when this does not apply. And (info "(emacs) Primary Selection") To insert the primary selection into an Emacs buffer, click =E2=80= =98mouse-2=E2=80=99 (=E2=80=98mouse-yank-primary=E2=80=99) where you want to insert it. = *Note Mouse Commands::. should mention how to use C-y to insert it if one is not happy being forced to use the mouse. Anyway these sections are describing somethings that have unfortunately grown very complex, so normal users have little hope of understanding them fully. emacs-version "26.3" From unknown Mon Aug 18 19:29:46 2025 X-Loop: help-debbugs@gnu.org Subject: bug#41857: Clarify browser / emacs kill-ring interaction more Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 Aug 2020 10:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41857 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Cc: 41857@debbugs.gnu.org Received: via spool by 41857-submit@debbugs.gnu.org id=B41857.159662424811507 (code B ref 41857); Wed, 05 Aug 2020 10:45:02 +0000 Received: (at 41857) by debbugs.gnu.org; 5 Aug 2020 10:44:08 +0000 Received: from localhost ([127.0.0.1]:50000 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3Gtz-0002zX-Re for submit@debbugs.gnu.org; Wed, 05 Aug 2020 06:44:08 -0400 Received: from quimby.gnus.org ([95.216.78.240]:39224) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3Gty-0002ys-3c for 41857@debbugs.gnu.org; Wed, 05 Aug 2020 06:44:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=CBbcxrVgB+fYxA32zzxWDP1nDSKla/sq79AvNuR6/mk=; b=pbFoKD1UJVbbOHWaHjX4ndBAj8 dRBf0X/dxhm9kQB35wTki1Y+jU3EIzCgf0Xs5ud7Q+joPgaErY0dePT/H4RxlySWVaFAk1kEgfWGf qAZi5h1RGmCA8Ge9x33in232FP4vtAyduZNQowcAKezoxgMrfvu1JfJ+uJWpIYMSo12Y=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k3Gto-0003h2-8L; Wed, 05 Aug 2020 12:43:59 +0200 From: Lars Ingebrigtsen References: <87sgexshq7.5.fsf@jidanni.org> Date: Wed, 05 Aug 2020 12:43:54 +0200 In-Reply-To: <87sgexshq7.5.fsf@jidanni.org> ("=?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson"'s message of "Mon, 15 Jun 2020 01:02:56 +0800") Message-ID: <87v9hxbcet.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson writes: > (info "(emacs) Primary Selection") says: > > Under X, whenever the region is active (*note Mark::), the text in > the region is saved in the primary selection. This applies regardless > of whether t [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) =E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson writes: > (info "(emacs) Primary Selection") says: > > Under X, whenever the region is active (*note Mark::), the text in > the region is saved in the primary selection. This applies regardless > of whether the region was made by dragging or clicking the mouse (*no= te > Mouse Commands::), or by keyboard commands (e.g., by typing =E2=80=98= C-=E2=80=99 > and moving point; *note Setting Mark::). > > This isn't clear if it is talking only about actions within emacs, or > also e.g., actions within a browser. > Also within a browser we talk about 'highlighting' and 'copying text'. The Emacs manual talks about Emacs (unless otherwise noted), so I don't think there's anything to clarify here. > And, (info "(emacs) Clipboard")'s > > Yank commands, such as =E2=80=98C-y=E2=80=99 (=E2=80=98yank=E2=80= =99), also use the clipboard. If > another application =E2=80=9Cowns=E2=80=9D the clipboard=E2=80=94i.e.= , if you cut or copied text > there more recently than your last kill command in Emacs=E2=80=94then= Emacs > yanks from the clipboard instead of the kill ring. > > should mention when this does not apply. I think it does apply? > And (info "(emacs) Primary Selection") > > To insert the primary selection into an Emacs buffer, click =E2=80= =98mouse-2=E2=80=99 > (=E2=80=98mouse-yank-primary=E2=80=99) where you want to insert it. = *Note Mouse > Commands::. > > should mention how to use C-y to insert it if one is not happy being > forced to use the mouse. I've added this to Emacs 28. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 05 06:44:13 2020 Received: (at control) by debbugs.gnu.org; 5 Aug 2020 10:44:13 +0000 Received: from localhost ([127.0.0.1]:50003 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3Gu5-0002zo-3h for submit@debbugs.gnu.org; Wed, 05 Aug 2020 06:44:13 -0400 Received: from quimby.gnus.org ([95.216.78.240]:39240) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3Gu3-0002zP-Ew for control@debbugs.gnu.org; Wed, 05 Aug 2020 06:44:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=fLPuCUWZqhiP9+9h4tm+HRRfykm9wqAAuSUzJEPwIIY=; b=ZAVw2ogTa4croUEcWiudCuRA+X jO9xFDGKz7a/tyBlWMTOCwGUSNiDT4AfHopvwWgyT1jK1qJt1K2LVGPR5DiA6RSm8Hsf03JumHuZm r7KTsqr23tsLVApfXF7NU7sr3K7b0que69zJrjkXFSwenMOTZ3HsCnUkcLcZmd9cnsNU=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k3Gtv-0003jS-KY for control@debbugs.gnu.org; Wed, 05 Aug 2020 12:44:05 +0200 Date: Wed, 05 Aug 2020 12:44:02 +0200 Message-Id: <87tuxhbcel.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #41857 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 41857 fixed close 41857 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 41857 fixed close 41857 28.1 quit