From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#17752: [Matthias Meulien] Re: bug#17752: 24.4.50; Scrolling other window while skeleton reads input inserts garbage Date: Sun, 06 Dec 2020 20:40:27 +0100 Message-ID: <87o8j6pvtg.fsf@gnus.org> References: <87oay0bgf5.fsf@gmail.com> Mime-Version: 1.0 Content-Type: message/rfc822 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40474"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) To: 17752@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 06 20:41:13 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1klzuC-000AQ7-SX for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 06 Dec 2020 20:41:13 +0100 Original-Received: from localhost ([::1]:39192 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klzuB-0000pz-Dn for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 06 Dec 2020 14:41:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51652) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klzu2-0000pp-Bt for bug-gnu-emacs@gnu.org; Sun, 06 Dec 2020 14:41:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39840) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1klzu1-0008BE-VU for bug-gnu-emacs@gnu.org; Sun, 06 Dec 2020 14:41:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1klzu1-0002sJ-Sv for bug-gnu-emacs@gnu.org; Sun, 06 Dec 2020 14:41:01 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <87oay0bgf5.fsf@gmail.com> Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Dec 2020 19:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17752 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 17752-submit@debbugs.gnu.org id=B17752.160728364411019 (code B ref 17752); Sun, 06 Dec 2020 19:41:01 +0000 Original-Received: (at 17752) by debbugs.gnu.org; 6 Dec 2020 19:40:44 +0000 Original-Received: from localhost ([127.0.0.1]:51386 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klztj-0002rf-SP for submit@debbugs.gnu.org; Sun, 06 Dec 2020 14:40:44 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:56990) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klzth-0002rO-Ad for 17752@debbugs.gnu.org; Sun, 06 Dec 2020 14:40:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From: Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=CQcujjcr1VhqaKNkyXhmXYRM+fW9oaWTD/nfpC23t8I=; b=p70p5SHgGtfX/ljv27Q8ZdNrYE cPsAWZTkR/eI0u6B4tK63ylBtNtqymIeM2AHHPBK4n/AtqkbdxpC/HTmyLcZJqPgWP/TCc0SKER63 KTL9WZBWAyP+RbHEtjPm4CaTv9Itju5EAo2+VU4upLhNIoAsSff4ids0NjdIrhWiclgA=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1klztU-0007Wr-Kt for 17752@debbugs.gnu.org; Sun, 06 Dec 2020 20:40:35 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEX98sP657fap5Cn a1T///9/WVUcAAAAAWJLR0QEj2jZUQAAAAd0SU1FB+QMBhMoAOKn8moAAAG6SURBVDjLhZTZkcQg DEQRk4CEEwCRwCLln9u2wAee/VjXVA3wrLtxSv89RVVFGCvaTom6WwNosWmJL8CHrbXO3fVLnD2R MJbl8cKEM/N1nvrtJAmeXAfNwOQ7IFIa+Iu4bjcR4qMGmCfu9bHILlQlycxKNlcfpwCrzLTHAGi0 fOcnOBK2AOkbICkjBpjO8l5gHsR67nQHNCiV01V7dXbcvnN9A2L6C1gQ4yqEXmDGEJ1WX8FTdq0x kb3yGUO7O4vobgEypAGoda3vdA2TcxthVV8WaEn3Yoe7vUAydAUm3XkbeeTl1LsVFlU0QB7G/eNj NqVY6rbi0wRuqHPOwL0djw4PnK9xUOHex9k4VPcTL58Osl5CKe3YAZCH/4TufcY1oik67pizYASU LVaR5zLLFX2DjKGf2GK9AJpHJCgbwuQzyEoH0sBbITV0gorrOWCC+iHxSiFMXDXoeQGZupnWH2Z0 NterMj44ACMzJilnW2JCoRaKKzaoaB/pvgOMqiry554Rwx4QogDAFWmIrc8oCEOguJ00Djd9tENI I86FO8bX2l8gaJfslwbfDjlNYIEGpdP3DYRLk/1pv7taMPY8hQ/oAAAAJXRFWHRkYXRlOmNyZWF0 ZQAyMDIwLTEyLTA2VDE5OjQwOjAwKzAwOjAw5J2qvQAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMC0x Mi0wNlQxOTo0MDowMCswMDowMJXAEgEAAAAASUVORK5CYII= X-Now-Playing: Aksak Maboul's _Figures (1)_: "Spleenetique" Content-Disposition: inline X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:195166 Archived-At: From: Matthias Meulien Date: Sun, 6 Dec 2020 18:18:55 +0100 Subject: Re: bug#17752: 24.4.50; Scrolling other window while skeleton reads input inserts garbage To: Lars Ingebrigtsen MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="==-=-=" --==-=-= Content-Type: multipart/alternative; boundary="===-=-=" --===-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Well, let's move to GMail web app... > 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 <=3D scroll two pages and reach an blank line where inserting a new class definition makes sense 4. M-x python-skeleton-class 5. C-M-S-v 6. C-M-S-v 7. Test <=3D I wrote this in the minibuffer where I was prompted since step= 4 for a class name as required by python-skeleton-class 8. Press RET The diff of the resulting file attached. As you can see it's not the expected result of python-skeleton-class. Le dim. 6 d=C3=A9c. 2020 =C3=A0 18:14, Matthias Meulien = a =C3=A9crit : > Here is the recipe again. Previous mail was sent using Gnus > through GMail. I usually have no troubles. I suppose the problem > came from inserted diff output; Thus this time I attached the diff > as a MIME part. > > > 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 <=3D 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 <=3D 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. > > > > Feel free to ask if it's still unclear. Regards, > > -- > Matthias > --=20 Matthias --===-=-= Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Well, let's move to GMail web app...

> Could you provide a step-by-step recipe, starting fro= m "emacs -Q"?

Steps to reproduce (I am now using GNU Ema= cs 28.0.50 (build 29, x86_64-pc-linux-gnu, GTK+ Version 3.24.5, cairo versi= on 1.16.0) of 2020-11-21), commit 789ee3e1d5 from master: =C2=A0

1. = M-x find-file /usr/lib/python3.7/copy.py RET

2. C-x C-w ~/test.py R= ET

3. C-v C-v C-u 15 C-n <=3D scroll two pages and reach an blan= k line where inserting a new class definition makes sense

4. M-x py= thon-skeleton-class

5. C-M-S-v

6. C-M-S-v

7. Test <= ;=3D I wrote this in the minibuffer where I was prompted since step 4 for a= class name as required by python-skeleton-class

8. Press RET= =C2=A0

The diff of the resulting file attache= d. As you can see it's not the expected result of python-skeleton-class= .

Le=C2=A0dim. 6 d=C3=A9c. 2020 =C3=A0=C2=A018:14, Matthias Meulien &l= t;orontee@gmail.com> a =C3=A9cr= it=C2=A0:
Here i= s the recipe again. Previous mail was sent using Gnus
through GMail. I usually have no troubles. I suppose the problem
came from inserted diff output; Thus this time I attached the diff
as a MIME part.

> 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=C2=A0 2. C-x C-w
~/test.py RET=C2=A0 3. C-v C-v C-u 15 C-n <=3D scroll two pages and reac= h
an blank line where inserting a new class definition makes sense
4. M-x python-skeleton-class=C2=A0 6. C-M-S-v=C2=A0 7. C-M-S-v=C2=A0 8. Tes= t <=3D I
wrote this in the minibuffer where I was prompted since step 4 for
a class name as required by python-skeleton-class=C2=A0 7. Press RET=C2=A0 =

Now the diff of the resulting file is the following. As you can
see it's not the expected result of python-skeleton-class.=C2=A0 =C2=A0=



Feel free to ask if it's still unclear.=C2=A0 =C2=A0Regards,

--
Matthias


--
Matthias
--===-=-=-- --==-=-= Content-Type: text/x-patch; name=temp.diff Content-ID: Content-Disposition: attachment; filename=temp.diff --- /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,5 +109,4 @@ return x return _reconstruct(x, None, *rv) - +class _copy_dispatch = d = {} def _copy_immutable(x): --==-=-=--