From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#57147: bug#57148: 27.2; Problem with kill-new Date: Sat, 13 Aug 2022 17:56:20 +0800 Message-ID: <87wnbc5uwr.fsf@localhost> References: <25333.38874.190001.846318@gargle.gargle.HOWL> <87tu6i8fkv.fsf@localhost> <87lertmp9m.fsf_-_@gnus.org> <87lersvr7q.fsf@yahoo.com> <25335.4037.212955.551896@gargle.gargle.HOWL> <83lersmzyn.fsf@gnu.org> <87zgg85wj2.fsf@localhost> <877d3cv5ud.fsf@yahoo.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="4010"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 57148@debbugs.gnu.org, 57147@debbugs.gnu.org, larsi@gnus.org, alain.cochard@unistra.fr To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 13 11:56:41 2022 Return-path: Envelope-to: geb-bug-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 1oMnsm-0000rv-Qr for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 Aug 2022 11:56:40 +0200 Original-Received: from localhost ([::1]:60870 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oMnsl-0000LT-40 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 Aug 2022 05:56:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35090) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMnsC-0000I7-J6 for bug-gnu-emacs@gnu.org; Sat, 13 Aug 2022 05:56:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41759) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oMnsA-0005Xz-5I for bug-gnu-emacs@gnu.org; Sat, 13 Aug 2022 05:56:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oMns9-00033u-TY for bug-gnu-emacs@gnu.org; Sat, 13 Aug 2022 05:56:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Aug 2022 09:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57147 X-GNU-PR-Package: emacs Original-Received: via spool by 57147-submit@debbugs.gnu.org id=B57147.166038452911731 (code B ref 57147); Sat, 13 Aug 2022 09:56:01 +0000 Original-Received: (at 57147) by debbugs.gnu.org; 13 Aug 2022 09:55:29 +0000 Original-Received: from localhost ([127.0.0.1]:59741 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMnrc-000333-Q0 for submit@debbugs.gnu.org; Sat, 13 Aug 2022 05:55:29 -0400 Original-Received: from mail-pj1-f54.google.com ([209.85.216.54]:44786) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMnrY-00032i-V4; Sat, 13 Aug 2022 05:55:27 -0400 Original-Received: by mail-pj1-f54.google.com with SMTP id e8-20020a17090a280800b001f2fef7886eso2876866pjd.3; Sat, 13 Aug 2022 02:55:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc; bh=1WWUJPXkv6LNRfRt7XYT21VA7qY/scjfHbtXCj2GSrk=; b=Qsx8xdVAoDmGpCHZKDSV6MJG6xYLbYH0sM/Gh9q7IM8X8nQcOQ8P3ZJs03bUnBzeLy e4j9DnfTNNSNQey21HkU+eDZHsYAp5zfScIuJTObW6KgpxZqc6u9dHsXWAQYff2j5MHM PMSs7JT9aqx6mujojAzug/RcwzzQATTVqkiMnTuYsFHkurXMDr0liLv10S8HNGRNVOsh sl3Yl/S4R9CM2ikgsfXo92mY/XhX9CjgIwdDghMUsX3iNu1a4oZzB3l425YzBmcYygsj j6sQa+n+E/jBUeWZa1NGHiTeCxX3tMizeUGjP7RbDrIdqnvFtiGkynN/uvyJt2+V3w/l IMgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc; bh=1WWUJPXkv6LNRfRt7XYT21VA7qY/scjfHbtXCj2GSrk=; b=2uGmpVmObNSKj+RL2l7quYREpnsks4RdX0aTHtgu8Q+w6ktLt3FduYU3UceU5/slI6 Ldb6lYlsHd1YFasaC3dduVqEsSl4UEOi+vUc0vGgWrrll16rqxInGw5+khXoHUiiGsrl mmthLI8TtlCPtr9+6Tu9H/KhqesTNXhq1wz0eSl43gYDf2s7igGjZmMAUbLvOD8EjVhf 23oL/dQSVajuaLEUWvUEttTpLIbXUuKFPVlFoSF77COEU96/ZZk4LFN9z/oK4IJ3rOcj Jt47OUW/TQATd5PuZtw86qt9ADhxiJYhcmqmeYy+a9TYIDrOnOiEWL3VO0/c31M3mysy PeXg== X-Gm-Message-State: ACgBeo3xA6QDuzhYUoMy2VucAsuO0VofUPERwCaotYS0ruO13fOQAUDE zCjofe86MTuCPHTi0LYaRwc= X-Google-Smtp-Source: AA6agR7Fz9w6eS5oGCR6ptLFq7kRFnuiWmdWefIej1tZcQYGGfXlgPmMFDp1WEffVuFM6LVUD1YI+Q== X-Received: by 2002:a17:90b:1389:b0:1f3:a782:ab28 with SMTP id hr9-20020a17090b138900b001f3a782ab28mr8065102pjb.181.1660384519050; Sat, 13 Aug 2022 02:55:19 -0700 (PDT) Original-Received: from localhost ([2409:8a70:2bf:80b0:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id q6-20020a170902a3c600b0016c78f9f024sm3277178plb.104.2022.08.13.02.55.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Aug 2022 02:55:18 -0700 (PDT) In-Reply-To: <877d3cv5ud.fsf@yahoo.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:239504 Archived-At: Po Lu writes: > Thanks. I can't find the rest of this bug report inside > "gnus-read-ephemeral-bug-group", so could you please explain what the > problem is and how to reproduce it? I think that's because I accidentally replied to the report before it got registered by debbugs. Anyway, here is the recipe: 1. Create bug.el with the following contents: ---- (custom-set-variables '(select-enable-clipboard nil) '(select-enable-primary t)) (defun my/copy-const (beg end) (interactive "r") (setq deactivate-mark t) (kill-new "Constant string")) ---- 2. Create bug.org with the following contents: ---- * headline Hidden text inside * another headline ---- 3. emacs -Q -l /path/to/bug.el /path/to/bug.org 4. S- 5. Move point to bob, activate mark, and select down to the eob 6. M-x my/copy-const 7. C-y Expected: "Constant string" is inserted Observed: Selected region is inserted. -- Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92