From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id aK+pB5ayh2OARgEAbAwnHQ (envelope-from ) for ; Wed, 30 Nov 2022 20:44:22 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id iNuFB5ayh2P7RwEAauVa8A (envelope-from ) for ; Wed, 30 Nov 2022 20:44:22 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D3DA21BF27 for ; Wed, 30 Nov 2022 20:44:21 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p0Szo-0006p6-4A; Wed, 30 Nov 2022 14:43:52 -0500 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 1p0Szm-0006oo-BB for emacs-orgmode@gnu.org; Wed, 30 Nov 2022 14:43:50 -0500 Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p0Szk-0001oJ-Rc for emacs-orgmode@gnu.org; Wed, 30 Nov 2022 14:43:50 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1p0Szh-0009uc-9J for emacs-orgmode@gnu.org; Wed, 30 Nov 2022 20:43:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Nick Dokos Subject: Re: [BUG] Clipboard text pasted in two windows with a cloned buffer [9.6-pre ( @ /home/chomwitt/.config/emacs/elpa/org-9.6pre0.20221110.85807/)] Date: Wed, 30 Nov 2022 14:43:35 -0500 Message-ID: <87sfi0jkig.fsf@alphaville.usersys.redhat.com> References: <20221128122841.2246aa08@enous> <20221128144837.379e8a49@enous> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cancel-Lock: sha1:qvAmVJoRyItE/6qCYGfa7RgCHF4= Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 3 X-Spam_score: 0.3 X-Spam_bar: / X-Spam_report: (0.3 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1669837461; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=UzMnDUU0cz3FYZ41SHcpfaOk+D6LCUWVg/pBZMQjn5c=; b=P9d/7XVc1DDuJIkLVT41CPyx0m355Qyfxmnim6sw70a+OJCNl/lIz+K/EPQfHnK3I2s9cz E6DVGb4V+Z2plk1TTnwztetMraBRbjhp870APigmbxBD00DyfyHTEx/iP1f1QPn1pFFgMY YIfSQ4xNZfzl0rn9NsJoXjYxAIOiZ8BaYO2oZDar/pno9zohfbzGHXc9wCbgFnvtV24iRr 8OoNWyKIbdWwp3XhE4/T4Ld0r4Y+iqOVj/OX8jn5mWq3Usk/V9BWm108BfOT0QWuGXW+0p Xq2ERNxi4Y7a1haXDp2x/kVV/Pd7jYeAh9pkyySShUXg4VMhUkxwXpm0/AmfUQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669837461; a=rsa-sha256; cv=none; b=l3zdA/qTB3eFDzjfwq2AEJ80d9OrZ6c/gJ1156uxGklHvxL+IAPSd8avl9CdE6ufemrcHu khpZsPaAjCRe+Klr5VGuXZGgIZL3fLvmcYtjXbHoa1mdnbikYs14kDFpbM6iZohju6V3kc 6VU0rBtPlF+jkuiotzNw8UXmXlvWlqv0kn+vEJx7NaODDgeSToe7vaVWpkUHCPKsyHTks4 MkUx+qfSaJdsz/izB1D4Eea+IuanD6bhFWdZWSRMR9CyXAWQgoj1G5skl2ksC4T6+ss+XE cWgI8BjAB5kUhgzvHEtYn9yiiKLIafTad2Aciisogabw23Mw869qvPU5AU/X9Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 3.14 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: D3DA21BF27 X-Spam-Score: 3.14 X-Migadu-Scanner: scn0.migadu.com X-TUID: 5S8C8U6uHDh9 Alexandros Prekates writes: > On Mon, 28 Nov 2022 10:28:41 +0000 > Alexandros Prekates wrote: > > I come across another case : > > > WINDOW A ------ WINDOW B ----- > * FOO1 * FOO1 > ** goo2 ** goo2 > ** zoo2 ** zoo2 > bla > [[ <--- starting a link > bla > > > WINDOW A ------ WINDOW B ----- > * FOO1 * FOO1 > ** goo2 ** goo2 > ** zoo2 ** zoo2...http://foo.... > bla > [[http://foo.... <--- pasting a url > bla > I can confirm the behavior on GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.30, cairo version 1.17.4) of 2022-02-02 Although it is confusing and unfortunate, it is "just" a display error: if you switch to B and press TAB, the URL is in the right place, and pressing TAB again folds the heading correctly, producing what you expect. I suspect that it's not just an Org problem: it is probably caused when you paste into the middle of text that is invisible in the cloned buffer. I have not tried it out however. -- Nick "There are only two hard problems in computer science: cache invalidation, naming things, and off-by-one errors." -Martin Fowler