From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#21072: Brave new mark-defun (and a testing tool) Date: Sun, 30 Apr 2017 12:10:36 -0400 Message-ID: References: <87o9ydrzkr.fsf@mbork.pl> <87efyze00g.fsf@jane> <87bmu2eoji.fsf@jane> <87wpcpw61w.fsf@jane> <83o9xdghmc.fsf@gnu.org> <87o9wkoald.fsf@jane> <87a881ofsu.fsf@jane> <87k272wh8x.fsf@users.sourceforge.net> <871st4aal7.fsf@jane> <87tw5l7v26.fsf@jane> <877f2hs1nw.fsf@users.sourceforge.net> <87zifa9ce5.fsf@jane> <87shl0pbcg.fsf@users.sourceforge.net> <87shky9ez8.fsf@jane> <8737cyotmt.fsf@users.sourceforge.net> <87h919yf5g.fsf@jane> <8737cpylcb.fsf@jane> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1493568676 19441 195.159.176.226 (30 Apr 2017 16:11:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 30 Apr 2017 16:11:16 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: 21072@debbugs.gnu.org, Noam Postavsky To: Marcin Borkowski Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Apr 30 18:11:12 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d4rRH-0004wm-8w for geb-bug-gnu-emacs@m.gmane.org; Sun, 30 Apr 2017 18:11:11 +0200 Original-Received: from localhost ([::1]:45212 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d4rRM-0003Gf-SF for geb-bug-gnu-emacs@m.gmane.org; Sun, 30 Apr 2017 12:11:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55423) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d4rRD-0003GO-H2 for bug-gnu-emacs@gnu.org; Sun, 30 Apr 2017 12:11:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d4rR8-0003Yj-Fz for bug-gnu-emacs@gnu.org; Sun, 30 Apr 2017 12:11:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49738) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d4rR8-0003Yd-CJ for bug-gnu-emacs@gnu.org; Sun, 30 Apr 2017 12:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d4rR8-0002v1-4J for bug-gnu-emacs@gnu.org; Sun, 30 Apr 2017 12:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Apr 2017 16:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21072 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21072-submit@debbugs.gnu.org id=B21072.149356865011202 (code B ref 21072); Sun, 30 Apr 2017 16:11:02 +0000 Original-Received: (at 21072) by debbugs.gnu.org; 30 Apr 2017 16:10:50 +0000 Original-Received: from localhost ([127.0.0.1]:47937 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d4rQw-0002ub-9N for submit@debbugs.gnu.org; Sun, 30 Apr 2017 12:10:50 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:45389) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d4rQu-0002uO-8D for 21072@debbugs.gnu.org; Sun, 30 Apr 2017 12:10:49 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0BcBgClCwZZ/3Z8oWxcGgEBAQECAQEBAQgBAQEBg1WFCIVahX+QWisBl1CGHgQCAoQ2RBQBAgEBAQEBAQFrKIUWAQQBViMFCwsOJhIUGA0kiioIsgWLDQEBAQcCJotYikgBBJ1TnXyGc5JpgUQ2IYEKLiAILodQJIlWAQEB X-IPAS-Result: A0BcBgClCwZZ/3Z8oWxcGgEBAQECAQEBAQgBAQEBg1WFCIVahX+QWisBl1CGHgQCAoQ2RBQBAgEBAQEBAQFrKIUWAQQBViMFCwsOJhIUGA0kiioIsgWLDQEBAQcCJotYikgBBJ1TnXyGc5JpgUQ2IYEKLiAILodQJIlWAQEB X-IronPort-AV: E=Sophos;i="5.37,396,1488862800"; d="scan'208";a="309709114" Original-Received: from 108-161-124-118.dsl.teksavvy.com (HELO ceviche.home) ([108.161.124.118]) by smtp.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 30 Apr 2017 12:10:42 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id BF9F7662C5; Sun, 30 Apr 2017 12:10:36 -0400 (EDT) In-Reply-To: <8737cpylcb.fsf@jane> (Marcin Borkowski's message of "Sun, 30 Apr 2017 17:19:16 +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: 208.118.235.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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:132129 Archived-At: > 1. What is the difference between (debug t) and (debug form body)? From > my understanding of the manual, there seems to be none. Indeed, no significant difference. > 2. I still don't fully get the `eval-and-compile' stuff. What exactly > happens when the file is compiled? During compilation, (eval-and-compile E) will be treated (i.e. compiled) just like E, except that E is evaluated along the way (so the definitions present in E are available during compilation). > I understand that its forms are not evaluated. They are. It's for `eval-when-compile` that they aren't. > But are the _defmacro_ forms evaluated during compilation? The defmacro forms are always evaluated (and byte-compiled) during compilation (as if they were implicitly wrapped inside an eval-and-compile). > 3. Do I get it correctly that the purpose of the `ignore' calls is to > silence the compiler warnings about `let'ting a variable which is then > not used in the body of `let'? Yes. Stfean