emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
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	[thread overview]
Message-ID: <87sfi0jkig.fsf@alphaville.usersys.redhat.com> (raw)
In-Reply-To: 20221128144837.379e8a49@enous

Alexandros Prekates <aprekates@posteo.net> writes:

> On Mon, 28 Nov 2022 10:28:41 +0000
> Alexandros Prekates <aprekates@posteo.net> 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



  reply	other threads:[~2022-11-30 19:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-28 10:28 [BUG] Clipboard text pasted in two windows with a cloned buffer [9.6-pre ( @ /home/chomwitt/.config/emacs/elpa/org-9.6pre0.20221110.85807/)] Alexandros Prekates
2022-11-28 12:48 ` Alexandros Prekates
2022-11-30 19:43   ` Nick Dokos [this message]
2022-12-04 13:21 ` Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sfi0jkig.fsf@alphaville.usersys.redhat.com \
    --to=ndokos@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).