From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#40375: 27.0.50; yank unexpectedly depends on progn Date: Mon, 13 Apr 2020 15:44:53 -0700 (PDT) Message-ID: References: <851rp7nnyf.fsf@gmail.com> <87o8sbgkig.fsf@metalevel.at> <87r1wrjqdm.fsf@igel.home> <87a73fw9hy.fsf@metalevel.at> <83o8rvi6ah.fsf@gnu.org> <87y2qzusjj.fsf@metalevel.at> <83mu7fi3g4.fsf@gnu.org> <877dyjb23g.fsf@metalevel.at> <8736973ubp.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="39196"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 40375@debbugs.gnu.org, schwab@linux-m68k.org To: Noam Postavsky , Markus Triska Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 14 00:48: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 1jO7sC-000A2h-TO for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 14 Apr 2020 00:48:13 +0200 Original-Received: from localhost ([::1]:50042 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jO7sB-0005bg-PT for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 13 Apr 2020 18:48:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50205) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jO7s3-0005bL-JZ for bug-gnu-emacs@gnu.org; Mon, 13 Apr 2020 18:48:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jO7s2-0000BX-Ir for bug-gnu-emacs@gnu.org; Mon, 13 Apr 2020 18:48:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49492) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jO7s2-0000BR-Eh for bug-gnu-emacs@gnu.org; Mon, 13 Apr 2020 18:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jO7s2-00065m-DE for bug-gnu-emacs@gnu.org; Mon, 13 Apr 2020 18:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 13 Apr 2020 22:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40375 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: unreproducible Original-Received: via spool by 40375-submit@debbugs.gnu.org id=B40375.158681802723332 (code B ref 40375); Mon, 13 Apr 2020 22:48:02 +0000 Original-Received: (at 40375) by debbugs.gnu.org; 13 Apr 2020 22:47:07 +0000 Original-Received: from localhost ([127.0.0.1]:32805 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jO7r8-00064G-Um for submit@debbugs.gnu.org; Mon, 13 Apr 2020 18:47:07 -0400 Original-Received: from aserp2120.oracle.com ([141.146.126.78]:56688) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jO7r6-00063j-0f for 40375@debbugs.gnu.org; Mon, 13 Apr 2020 18:47:05 -0400 Original-Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 03DMeGlr015744; Mon, 13 Apr 2020 22:46:58 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=+03JHCAyoplWxP20vHcRwwhfI4QLKfLuGmYqArsbzUc=; b=p4JgBJBmjti+OBH4eR0x58y8XRtQT6uJeeO1Yfvl/99eAdzJxna7kuFrBq0WzOGa9ve7 62gyXIGyKjrhyV9wJrftjow5ciRV8+en66V4FTKVXOnfWLTku1m4+M2J283NMKwHD5q4 DmmuC7EKPw6YTgJWVkrd7NMWy6ORpIEcREVkLpbLmnMq91YXsdiDSEWTCR4RlfmvaPtq 3hroctnR5aZvrjbRL1ph2gobfHsvBnYKmwQUPr+IEHl5SwJfIqhAivuGMcooKotWakyI oJqoMm8gVCg8y0SRY8B/DM12qxeZXEZDzQ1iXr6AwpV24EmUkmWQXg3QPsDYnih0wRE3 lg== Original-Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by aserp2120.oracle.com with ESMTP id 30b5um191q-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 13 Apr 2020 22:46:57 +0000 Original-Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 03DMh4P6188658; Mon, 13 Apr 2020 22:44:57 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserp3030.oracle.com with ESMTP id 30cta89qmh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 13 Apr 2020 22:44:57 +0000 Original-Received: from abhmp0011.oracle.com (abhmp0011.oracle.com [141.146.116.17]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 03DMisRf018957; Mon, 13 Apr 2020 22:44:55 GMT In-Reply-To: <8736973ubp.fsf@gmail.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4966.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9590 signatures=668686 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 suspectscore=0 spamscore=0 adultscore=0 mlxscore=0 phishscore=0 mlxlogscore=842 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004130165 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9590 signatures=668686 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 clxscore=1011 bulkscore=0 mlxscore=0 mlxlogscore=884 lowpriorityscore=0 impostorscore=0 adultscore=0 phishscore=0 spamscore=0 suspectscore=0 malwarescore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004130164 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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:178335 Archived-At: > Does this look okay? (modulo a fill-paragraph which I've held off on > just to make the patch easier to read) >=20 > --- i/lisp/simple.el > +++ w/lisp/simple.el > @@ -5110,7 +5110,9 @@ yank-pop > (defun yank (&optional arg) > "Reinsert (\"paste\") the last stretch of killed text. > More precisely, reinsert the most recent kill, which is the > -stretch of killed text most recently killed OR yanked. Put point > +stretch of text most recently killed or yanked. Or text from the > +system clipboard if that was modified more recently (see > +`interprogram-paste-function'). Put point > at the end, and set mark at the beginning without activating it. > With just \\[universal-argument] as argument, put point at beginning, > and mark at end. > With argument N, reinsert the Nth most recent kill. Sorry for butting in here; just happened to see this in passing. Till now, it was OK to talk only about killing or yanking, as the source of= the text to be yanked ("the most recent kill"). But there's also copying text to the kill ring, as if it were killed. And = putting text on the kill ring is analogous to putting it onto the system cl= ipboard. In both cases you can get it to that saved-text place by killing/= cutting OR by copying. So to be parallel in the doc maybe we should say "text from the kill-ring o= r from the system clipboard if..." Users should have a good sense that the same kind of thing is involved: tex= t gets put on some save location (kill ring or clipboard), and then it gets= yanked from there. With your text above, it seems like only killing and y= anking is used for the kill ring, but killing or copying is used for the cl= ipboard. (If what I'm saying isn't clear to you, ignore it. It's not a big deal.)