unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Daniel Fleischer <danflscr@gmail.com>
To: 62857@debbugs.gnu.org
Subject: bug#62857: CUA rectangle mode in occur edit mode
Date: Sat, 22 Apr 2023 17:14:54 +0300	[thread overview]
Message-ID: <m2o7ngdmw1.fsf@gmail.com> (raw)
In-Reply-To: <m27cudzc4u.fsf@gmail.com>

Eli Zaretskii [2023-04-22 Sat 12:06] wrote:

> Could you please post a recipe for reproducing this problem, starting
> from "emacs -Q"?

Recipe:

 - `find-file` some file with text. 
 - `M-x occur`  and search some string. 
 - Move to the occur results buffer. 
 - `e` to edit it using `occur-edit-mode`. 
 - Call `M-x cua-rectangle-mark-mode`. 
 - Create some multiline block (move cursor down and right).
 - Start inserting text, e.g. `a`. You get "Args out of range". 
 - continue inserting.
 - `M-x cua-rectangle-mark-mode` to exit the mode. 
 - Press C-c C-c to apply the changes. 
 - Now can exit the occur results buffer and/or move to the original file.
 - Original file wasn't changed during occur edit mode. 

-- 
Daniel Fleischer






  reply	other threads:[~2023-04-22 14:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-15 10:13 bug#62857: CUA rectangle mode in occur edit mode Daniel Fleischer
2023-04-22  9:06 ` Eli Zaretskii
2023-04-22 14:14   ` Daniel Fleischer [this message]
2023-04-22 16:31     ` Eli Zaretskii
2023-04-22 19:00       ` Daniel Fleischer
2023-04-22 19:28         ` Eli Zaretskii

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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=m2o7ngdmw1.fsf@gmail.com \
    --to=danflscr@gmail.com \
    --cc=62857@debbugs.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.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).