From: Matthias Meulien <orontee@gmail.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 17752@debbugs.gnu.org
Subject: bug#17752: 24.4.50; Scrolling other window while skeleton reads input inserts garbage
Date: Sat, 05 Dec 2020 17:58:34 +0100 [thread overview]
Message-ID: <87o8j85gw5.fsf@gmail.com> (raw)
In-Reply-To: <87zh2thjo6.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 04 Dec 2020 12:53:13 +0100")
Hi Lars,
Thanks for your time.
> Could you provide a step-by-step recipe, starting from "emacs
> -Q"?
Steps to reproduce (I am now using GNU Emacs 28.0.50 (build 29,
x86_64-pc-linux-gnu, GTK+ Version 3.24.5, cairo version 1.16.0) of
2020-11-21), commit 789ee3e1d5 from master: 1. M-x find-file
/usr/lib/python3.7/copy.py RET
2. C-x C-w ~/test.py RET
3. C-v C-v C-u 15 C-n <= scroll two pages and reach an blank line
where
inserting a new class definition makes sense
4. M-x python-skeleton-class
6. C-M-S-v
7. C-M-S-v
8. Test <= I wrote this in the minibuffer where I was prompted
since
step 4 for a class name as required by python-skeleton-class
7. Press RET Now the diff of the resulting file is the following.
As you can see it's not the expected result of
python-skeleton-class. --- /usr/lib/python3.7/copy.py 2020-07-25
15:03:44.000000000 +0200 +++ /home/matthias/test.py 2020-12-05
17:53:35.503140351 +0100 @@ -46,6 +46,10 @@
to control pickling: they can define methods called
__getinitargs__(), __getstate__() and __setstate__(). See the
documentation for module "pickle" for information on these
methods.
+Test: +"""""" + +
""" import types
@@ -105,7 +109,7 @@
return x
return _reconstruct(x, None, *rv)
- +class
_copy_dispatch = d = {} def _copy_immutable(x):
Diff finished. Sat Dec 5 17:53:44 2020
Feel free to ask if it's still unclear.
Regards,
--
Matthias
next prev parent reply other threads:[~2020-12-05 16:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-10 21:31 bug#17752: 24.4.50; Scrolling other window while skeleton reads input inserts garbage Matthias
2020-12-04 11:53 ` Lars Ingebrigtsen
2020-12-05 16:58 ` Matthias Meulien [this message]
2020-12-06 13:41 ` Lars Ingebrigtsen
2020-12-06 19:40 ` bug#17752: [Matthias Meulien] " Lars Ingebrigtsen
2020-12-07 15:37 ` Lars Ingebrigtsen
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=87o8j85gw5.fsf@gmail.com \
--to=orontee@gmail.com \
--cc=17752@debbugs.gnu.org \
--cc=larsi@gnus.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).