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: Wed, 01 Apr 2020 12:57:28 -0400 Message-ID: <851rp7nnyf.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="22300"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (windows-nt) Cc: 40375@debbugs.gnu.org To: Markus Triska Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 01 18:58:15 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 1jJggw-0005fi-BD for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 01 Apr 2020 18:58:14 +0200 Original-Received: from localhost ([::1]:34900 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJggv-0006Rl-D9 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 01 Apr 2020 12:58:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39509) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJggl-0006Ok-3c for bug-gnu-emacs@gnu.org; Wed, 01 Apr 2020 12:58:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jJggk-0006cY-5Y for bug-gnu-emacs@gnu.org; Wed, 01 Apr 2020 12:58:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55286) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jJggk-0006c1-28 for bug-gnu-emacs@gnu.org; Wed, 01 Apr 2020 12:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jJggk-0006Lx-1K for bug-gnu-emacs@gnu.org; Wed, 01 Apr 2020 12:58: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: Wed, 01 Apr 2020 16:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40375 X-GNU-PR-Package: emacs Original-Received: via spool by 40375-submit@debbugs.gnu.org id=B40375.158576026124349 (code B ref 40375); Wed, 01 Apr 2020 16:58:01 +0000 Original-Received: (at 40375) by debbugs.gnu.org; 1 Apr 2020 16:57:41 +0000 Original-Received: from localhost ([127.0.0.1]:38599 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJggP-0006Kf-Ab for submit@debbugs.gnu.org; Wed, 01 Apr 2020 12:57:41 -0400 Original-Received: from mail-qt1-f179.google.com ([209.85.160.179]:43732) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJggN-0006K4-3f for 40375@debbugs.gnu.org; Wed, 01 Apr 2020 12:57:39 -0400 Original-Received: by mail-qt1-f179.google.com with SMTP id a5so603949qtw.10 for <40375@debbugs.gnu.org>; Wed, 01 Apr 2020 09:57: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=tv5PpLjdhB6Sd0wpfhvC2FCjUrH0ipy2wue3yf752fo=; b=i3vlcdA1q6mwXbI5QwyYimdoqqr4Rxq0LuMOq0gSZDHrX1QwURTMeYb6b7MH6eX+JF m9dQkqxUYgq7RtiLPThMIGTRcsJrSyoSe9YEjsWpUzRJ9o2fRHDw14ReyamUPgWzlfNt HsxXu761UOIVTbpTC/RMUksxaYEXMGezfdDIp69/grm/Ivvfr0iIu4hsHdFTL5HDKeHg hZPeiC3vQCat07VFk7wmTKcBNosl8BJUrv+RIeCVtu3GnvgvIZJVWSezHIlnKZzeW16p YfqNq8iHqh1d0gm39RbVFrL5FZSlwK6cIIyWkb390kbO0pWS3r6rHyjNMK7/zA8oIKER 5dDw== 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=tv5PpLjdhB6Sd0wpfhvC2FCjUrH0ipy2wue3yf752fo=; b=DLKgumk2lBZyinlt29RAoehAGPptn6AXz5OwGyn39J/H4iOr+VH1inW9KHIQFsdwly fllX+BLvOV92jfn/qhYGyzZ9sq+IQsWp2hxTpRN3LX6wXh3bqD3cb3n8LLCjhGt42vy3 gwsZWjSRwIbYE9ELrr2GNZWx50VV9OiDViFyaQOcGenWG5fX4QTecGa7w6V5hfmt2i69 7Bfq55DlOFMP02qoCoh9gUAhnal+xnudc+P+KK9Ou5o+NPFuP0H0r9iQaPVF8u00BaaS aYLeYQkazkvOYZHFg8wyhxsqhZQUG/hGRuXiL9Bzx8rVPl7VqKmzFbZUZWrS7HfXOwq8 qCNg== X-Gm-Message-State: ANhLgQ1+LbSvO07wwTc9fX9uTxRUsL4pgTG0VHEzlDny/ItVtC1hGcw2 feu6fEmjtl/pOJBfKlHJO8z5oAJEKyY= X-Google-Smtp-Source: ADFU+vuusz5uihqoIxH+gIx9e1y9SloOes6RD+No7S1yIl2GaQRKukDhKYVaBBN8E8QiRc6X1LYAqA== X-Received: by 2002:aed:3ae9:: with SMTP id o96mr11163488qte.28.1585760252130; Wed, 01 Apr 2020 09:57:32 -0700 (PDT) Original-Received: from vhost2 (CPE001143542e1f-CMf81d0f809fa0.cpe.net.cable.rogers.com. [99.230.38.42]) by smtp.gmail.com with ESMTPSA id f14sm1746227qtp.55.2020.04.01.09.57.28 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 01 Apr 2020 09:57:28 -0700 (PDT) In-Reply-To: (Markus Triska's message of "Wed, 01 Apr 2020 18:14:46 +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:177948 Archived-At: Markus Triska writes: > $ emacs -Q yank.el --eval='(eval-buffer)' A simpler reproducer is (erase-buffer) (message "hello") will print nothing, whereas (progn (erase-buffer) (message "hello")) prints "hello". The problem is the first case erases the code which calls message before it is read in.