From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 03 11:43:03 2011 Received: (at submit) by debbugs.gnu.org; 3 Feb 2011 16:43:03 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pl2Gs-0002zl-M0 for submit@debbugs.gnu.org; Thu, 03 Feb 2011 11:43:02 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pl257-0002gg-9n for submit@debbugs.gnu.org; Thu, 03 Feb 2011 11:30:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pl2DJ-0001ZJ-Ev for submit@debbugs.gnu.org; Thu, 03 Feb 2011 11:39:22 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:44803) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pl2DJ-0001YS-3S for submit@debbugs.gnu.org; Thu, 03 Feb 2011 11:39:21 -0500 Received: from [140.186.70.92] (port=52662 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pl2DG-0003Ur-QG for bug-gnu-emacs@gnu.org; Thu, 03 Feb 2011 11:39:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pl2DE-0001WR-N0 for bug-gnu-emacs@gnu.org; Thu, 03 Feb 2011 11:39:17 -0500 Received: from cosmos.phy.tufts.edu ([130.64.83.16]:58209) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pl2DE-0001Ud-Le for bug-gnu-emacs@gnu.org; Thu, 03 Feb 2011 11:39:16 -0500 Received: from kdo by cosmos.phy.tufts.edu ([local]:local) with local id 1Pl2D9-0000ni-5P - Using Exim-4.72 (MandrivaLinux) MTA (return-path ); Thu, 03 Feb 2011 11:39:11 -0500 Date: Thu, 03 Feb 2011 11:39:11 -0500 Message-Id: From: Ken Olum To: bug-gnu-emacs@gnu.org Subject: lisp-do-defun on defuns with trailing comments X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 130.64.83.16 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 03 Feb 2011 11:43:00 -0500 Cc: kdo@cosmos.phy.tufts.edu X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) If you say lisp-compile-defun on a defun which has a comment on the line with the final closing parenthesis, then your defun does not get compiled, because emacs sends lisp a form with some close parens added at the end of the comment, and naturally lisp does not read them. One cure for this would be to remove the line (skip-chars-backward " \t\n\r\f") ; Makes allegro happy from lisp-do-defun. Then emacs would keep the new line that terminates the comment at the end of the defun and put the close parens after that. Ken From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 11 20:17:52 2017 Received: (at control) by debbugs.gnu.org; 12 Jun 2017 00:17:52 +0000 Received: from localhost ([127.0.0.1]:41578 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dKD3I-0004Bk-0j for submit@debbugs.gnu.org; Sun, 11 Jun 2017 20:17:52 -0400 Received: from mail-it0-f51.google.com ([209.85.214.51]:35804) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dKD3G-0004BV-Fz for control@debbugs.gnu.org; Sun, 11 Jun 2017 20:17:50 -0400 Received: by mail-it0-f51.google.com with SMTP id m62so17556654itc.0 for ; Sun, 11 Jun 2017 17:17:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:mime-version; bh=fgCaVsC/4bpZP7vQ/3CYR/1ycf0hddFGWaOJIMWLH+c=; b=i/ik+jdhJFzCMj2UYYAxMtuOcq/q3QDdX1QUsIi7SOMFLHZTxryNWN6bKYZXj4dnq9 hcnwxeIBDSfmBsJnbJ0K6utYRr8Zg2Mn/UzAwzs8Qua2u7QTdiz0C5G+pxfrmVbc2wCU B1wz5OJ113tvcqNVALkoNphi7yE3qW51S3nXpbBM2ZDdEf1BGkRP4QSnUxJFc61UPwAK oadVvjO9NOhhYVAEID1RX59flD9oGW8hqMWarKI3hkw2GAWci4u6fczUm3zXlfS0XYXb SXsxTqVUpXckmVsBzKZSGWGLlRnMatxcgkC3alhuz89zZlYKSuQCmUyfXjUqZotZJu8a BaWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :mime-version; bh=fgCaVsC/4bpZP7vQ/3CYR/1ycf0hddFGWaOJIMWLH+c=; b=g33j4X7dTMXqpzF5wSXYk0t8ZwieIBZ2byX3gScCRZtT9PKG2Rf6CTD9iKWfluhqG7 X6hhThpmn1QZdW9tVcx5WSsLa+K0OfcyNm8dCiie5SFGOi/vea1L6sg2GKdywn8chvFA PLfSSxamulzjEsA1COT+IvmnE8Dcv6ZqrZiAG+nalbKRdgNOkqARLAw38N8sq2FqjDBw FGqA2M05QeYOLbtNZsxWWqfOdFpn7XSW2W9SVC9DzdI4Tb7fVBrZpAQaZIU+hT1TTzhV D024PhI49fOJDZx+rpcGWHflOYxkjI9s8NMyE20Z476nxJSATMBuxDZqwd8A0dGLac8o hgcg== X-Gm-Message-State: AODbwcCOf7K3HMBzso7akWbjczfD8KJ/3OJf/fjaxHgQSy20naFL+VQp Tun3Qq5PwdnyQurs X-Received: by 10.36.79.214 with SMTP id c205mr9479180itb.58.1497226664923; Sun, 11 Jun 2017 17:17:44 -0700 (PDT) Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id q83sm2088721ioi.52.2017.06.11.17.17.44 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 11 Jun 2017 17:17:44 -0700 (PDT) From: npostavs@users.sourceforge.net To: control@debbugs.gnu.org Subject: control message for bug #7974 Date: Sun, 11 Jun 2017 20:19:22 -0400 Message-ID: <87a85eukfp.fsf@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) tags 7974 + easy quit From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 03 12:08:20 2019 Received: (at 7974) by debbugs.gnu.org; 3 Oct 2019 16:08:20 +0000 Received: from localhost ([127.0.0.1]:40877 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iG3eO-0006Cw-8M for submit@debbugs.gnu.org; Thu, 03 Oct 2019 12:08:20 -0400 Received: from quimby.gnus.org ([80.91.231.51]:50918) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iG3eN-0006Co-2Q for 7974@debbugs.gnu.org; Thu, 03 Oct 2019 12:08:19 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iG3eJ-00011S-6j; Thu, 03 Oct 2019 18:08:17 +0200 From: Lars Ingebrigtsen To: Ken Olum Subject: Re: bug#7974: lisp-do-defun on defuns with trailing comments References: Date: Thu, 03 Oct 2019 18:08:14 +0200 In-Reply-To: (Ken Olum's message of "Thu, 03 Feb 2011 11:39:11 -0500") Message-ID: <87k19lizgx.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Ken Olum writes: > If you say lisp-compile-defun on a defun which has a comment on the > line with the final closing parenthesis, then your defun does not get > compiled, because emacs sends lisp a form with some clos [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 7974 Cc: 7974@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Ken Olum writes: > If you say lisp-compile-defun on a defun which has a comment on the > line with the final closing parenthesis, then your defun does not get > compiled, because emacs sends lisp a form with some close parens added > at the end of the comment, and naturally lisp does not read them. > > One cure for this would be to remove the line > > (skip-chars-backward " \t\n\r\f") ; Makes allegro happy > > from lisp-do-defun. Then emacs would keep the new line > that terminates the comment at the end of the defun and put the > close parens after that. But I guess that fix is there for a reason (that Allegro doesn't like trailing white space), so I've fixed this in Emacs 27 in a different manner that keeps the trailing comments out of the region altogether. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 03 12:08:24 2019 Received: (at control) by debbugs.gnu.org; 3 Oct 2019 16:08:24 +0000 Received: from localhost ([127.0.0.1]:40880 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iG3eS-0006DF-KE for submit@debbugs.gnu.org; Thu, 03 Oct 2019 12:08:24 -0400 Received: from quimby.gnus.org ([80.91.231.51]:50932) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iG3eQ-0006D5-QO for control@debbugs.gnu.org; Thu, 03 Oct 2019 12:08:23 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iG3eO-00011c-6v for control@debbugs.gnu.org; Thu, 03 Oct 2019 18:08:22 +0200 Date: Thu, 03 Oct 2019 18:08:20 +0200 Message-Id: <87imp5izgr.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #7974 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 7974 fixed close 7974 27.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 7974 fixed close 7974 27.1 quit From unknown Fri Aug 15 12:51:27 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 01 Nov 2019 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator