emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@gnu.org>
To: Hannu Koivisto <azuhoo@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: copy-rectangle-to-register problem with org-indent [9.3.5 (9.3.5-elpa @ ~/.emacs.d/elpa/org-20200212/)]
Date: Thu, 13 Feb 2020 02:05:32 +0100	[thread overview]
Message-ID: <87eeuz5mar.fsf@gnu.org> (raw)
In-Reply-To: <c04c047b-9c22-16e1-9e41-f81f0a303a9d@gmail.com> (Hannu Koivisto's message of "Wed, 12 Feb 2020 19:48:50 +0200")

Hi Hannu,

Hannu Koivisto <azuhoo@gmail.com> writes:

> Summary: if org-indent-mode is enabled, copy-rectangle-to-register
> seems to copy "indentation" in addition to the actual rectangle, even
> if the rectangle is not in the beginning or end of any line.

Well, this is a real problem, but I have no idea how to prevent this
behavior.  I'd be interested if someone finds a solution.

We could also ask on emacs-devel@ whether `copy-rectangle-to-register'
(and friends) should not take care of stripping wrap/line-prefix props
from the copied text.

-- 
 Bastien

      reply	other threads:[~2020-02-13  1:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-12 17:48 Bug: copy-rectangle-to-register problem with org-indent [9.3.5 (9.3.5-elpa @ ~/.emacs.d/elpa/org-20200212/)] Hannu Koivisto
2020-02-13  1:05 ` Bastien [this message]

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=87eeuz5mar.fsf@gnu.org \
    --to=bzg@gnu.org \
    --cc=azuhoo@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).