From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#40375: 27.0.50; yank unexpectedly depends on progn Date: Mon, 13 Apr 2020 18:16:26 -0400 Message-ID: <8736973ubp.fsf@gmail.com> 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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="42659"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.90 (gnu/linux) Cc: 40375@debbugs.gnu.org, schwab@linux-m68k.org To: Markus Triska Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 14 00:17:11 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 1jO7OB-000B1r-Cc for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 14 Apr 2020 00:17:11 +0200 Original-Received: from localhost ([::1]:49618 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jO7OA-0002qW-FH for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 13 Apr 2020 18:17:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45514) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jO7O3-0002qL-Ht for bug-gnu-emacs@gnu.org; Mon, 13 Apr 2020 18:17:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jO7O2-0005BF-Lg for bug-gnu-emacs@gnu.org; Mon, 13 Apr 2020 18:17:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49460) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jO7O2-0005BB-Il for bug-gnu-emacs@gnu.org; Mon, 13 Apr 2020 18:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jO7O2-0005Jq-Dz for bug-gnu-emacs@gnu.org; Mon, 13 Apr 2020 18:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 13 Apr 2020 22:17: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.158681620120415 (code B ref 40375); Mon, 13 Apr 2020 22:17:02 +0000 Original-Received: (at 40375) by debbugs.gnu.org; 13 Apr 2020 22:16:41 +0000 Original-Received: from localhost ([127.0.0.1]:32773 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jO7Ng-0005JD-MK for submit@debbugs.gnu.org; Mon, 13 Apr 2020 18:16:40 -0400 Original-Received: from mail-qk1-f181.google.com ([209.85.222.181]:37218) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jO7Nf-0005J0-M7 for 40375@debbugs.gnu.org; Mon, 13 Apr 2020 18:16:39 -0400 Original-Received: by mail-qk1-f181.google.com with SMTP id s63so7108578qke.4 for <40375@debbugs.gnu.org>; Mon, 13 Apr 2020 15:16:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=h7MbMv3M7mKCyPTWB45G1qqSTlnm06tPCZxOII0kHeU=; b=RSKQOwtwgB/CeCKfpd7c7+lCqWAo3gLa26Tjh12f9uyHwU9EekhXUWfajdDcKdlwgk pHf7NOHL2raOXWKi61yy0uZcWNHkKcrPvvbTctH9xw04Z6c0EnMt9S07yjDVNuHzyJJk JUo7u0r32aA+pIjePfX51j9lBKVxYplo1nEg/QavjgpBO05XzKPoEh6He5sxqhqF2z7X sPAKEUMty7un4f2H8X+ZH+niuBbZMOgXmq1hJ/PPhqF0RwKiWEjNNL0vzLu/ijUoHlo5 KatUbxNvghWHHKtV++z3HpV4+k0mp8DWuJBcIqaie8KfuNFjpR6wef279wCNoPFDOrx2 8Qqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=h7MbMv3M7mKCyPTWB45G1qqSTlnm06tPCZxOII0kHeU=; b=NME19JU8CL8cLtNRY8yL3MXqiFylRRgwgOpeofJii46JXE1E4A7WR0aphDYmTE8lWj b339I16V/Mcn4OwQxoIbN4KofvlW3nfoPGKRiOTi0oO8lu7kNl3MGhesRx9cubQ5MFqh NGbpOksyonIxXBEhzM1PnFx0jj8onwpV1WVNerlzS5IQH8W6cw63/8jiQqEgO46AbqTn GWKF2oTmvcIsaEZW3kDePNRWNNfWpWLmp4Lr4ktBd0c6u5TW8Db8R5NCc/AWTefr0fv6 hIsKKrH7j0rMB11s5SHkGG6l6pM28rYDjDCTnmNswTrWLHlXarClVGJOO4xz19sy58Yp v1MA== X-Gm-Message-State: AGi0PuYvkx9F0iQkuebP1AA5CCEH2zcdxoRoObC1HtcTl0R/nMRW1DZI ZH/Xf46bv/vF5AWnEbCp/Xg= X-Google-Smtp-Source: APiQypKVOL4DdfKW18YEVDkj5J3Kw4UOw18HSzYyqqZAtOv/HxeJTMEeLdEM+ZVxrMVaxOk6Sl8W/w== X-Received: by 2002:ae9:ee01:: with SMTP id i1mr18706790qkg.498.1586816194169; Mon, 13 Apr 2020 15:16:34 -0700 (PDT) Original-Received: from minid ([45.2.119.47]) by smtp.gmail.com with ESMTPSA id d23sm6215510qkj.26.2020.04.13.15.16.32 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 13 Apr 2020 15:16:32 -0700 (PDT) In-Reply-To: <877dyjb23g.fsf@metalevel.at> (Markus Triska's message of "Mon, 13 Apr 2020 21:46:43 +0200") 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:178334 Archived-At: Markus Triska writes: > Please consider documenting this in the description of `yank'. Other > than that, I consider this issue resolved. Does this look okay? (modulo a fill-paragraph which I've held off on just to make the patch easier to read) --- 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.