all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Chris Waters <xtifr.w@gmail.com>
Cc: 60823@debbugs.gnu.org
Subject: bug#60823: 28.2; string-rectangle cancel can leave garbage from preview
Date: Sun, 15 Jan 2023 09:03:31 +0200	[thread overview]
Message-ID: <834jss6zzw.fsf@gnu.org> (raw)
In-Reply-To: <CAC_DSq4g3bb5g0B_zSxDoVA82a_nyZ_p-ObBnOasRWBpMyzVkg@mail.gmail.com> (message from Chris Waters on Sat, 14 Jan 2023 17:00:46 -0800)

> From: Chris Waters <xtifr.w@gmail.com>
> Date: Sat, 14 Jan 2023 17:00:46 -0800
> 
> Steps to reproduce, starting with 'emacs -Q':
> 
> 1. Go to the scratch buffer OR create a new
> buffer with 'C-x b foo RET'. (Tested both ways.)
> 2. Press 'C-SPACE' or 'C-x SPACE' to set the mark. (Tested both ways.)
> 3. Press RET.
> 4. Press 'C-x r t' (string-rectangle), then type 'foo', but do NOT press
> RET! A preview will appear in the original buffer, showing two instances
> of the string "foo", as expected.
> 5. Press 'C-x o' or click in the main window (tested both ways). This is
> the step which triggers the bug!
> 6. Press 'ESC ESC ESC' to cancel.
> 
> Expected results: the preview instances of the string "foo" in the
> original buffer should disappear, as they do if you skip step 5.
> 
> Actual results: the preview instances of the string "foo" do NOT
> disappear, and cannot be removed by any obvious means. Attempting to
> delete them simply deletes the newlines between them. Nor can you return
> to the minibuffer via 'C-x o'; the string-rectangle command has truly
> been cancelled.

I can reproduce this in Emacs 28, but not in Emacs 29 or 30.  So I
guess we already fixed this bug in some way.  Can you try the
development code in the Emacs Git repository and see if the problem is
indeed solved in your configuration as well?

Thanks.





  reply	other threads:[~2023-01-15  7:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-15  1:00 bug#60823: 28.2; string-rectangle cancel can leave garbage from preview Chris Waters
2023-01-15  7:03 ` Eli Zaretskii [this message]
2023-01-20  3:41   ` Chris Waters
2023-01-20  7:11     ` 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

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

  git send-email \
    --in-reply-to=834jss6zzw.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=60823@debbugs.gnu.org \
    --cc=xtifr.w@gmail.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.